ELECTRONIC DEVICE, PERIPHERAL DEVICES AND CONTROL METHOD THEREFOR
An electronic device is disclosed. The electronic device may include a first speaker configured to output a first audio signal, a second speaker configured to output a second audio signal, a communicator configured to communicate with a peripheral device, and a processor configured to receive information related to a time at which the first audio signal is received and a time at which the second audio signal is received from the peripheral device which receives the first audio signal and the second audio signal and to determine a distance to and a direction of the peripheral device with reference to the electronic device based on the received information.
Latest Samsung Electronics Patents:
- Organic electroluminescence device
- Semiconductor devices including stack structure having gate region and insulating region
- Organic light emitting diode display device with barrier wall and method of manufacturing the same
- Electronic device for managing embedded subscriber identification module and method for same
- Semiconductor devices with varying support structures and data storage systems including the same
The present disclosure relates to an electronic device, peripheral devices and a control method thereof, more particularly, to an electronic device which can output audio, peripheral devices and a control method thereof.
BACKGROUND ARTWith the development of an electronic technology, various types of electronic devices have been developed and distributed. Recently, a variety of types of electronic devices including a TV are used in general homes. Such electronic devices continue to include various functions according to user's needs.
Particularly, a peripheral device such as a remote controller often includes a microphone as the function such as a voice recognition, etc. is added to a remote controller.
DETAILED DESCRIPTION FOR THE INVENTION Problem to SolveAn aspect of example embodiments relates to an electronic device, peripheral devices and a control method thereof, which identifies the position of each device using the electronic device which can output audio and the peripheral devices which can receive audio and utilizes the identified information in various ways.
Means to Solve the ProblemAccording to an example embodiment, an electronic device is provided, the electronic device including a first speaker configured to output a first audio signal, a second speaker configured to output a second audio signal, a communicator configured to communicate with a peripheral device, and a processor configured to receive information related to the time at which the first audio signal is received and the time at which the second audio signal is received from the peripheral device which receives the first audio signal and the second audio signal and to determine the distance to and the direction of the peripheral device with reference to the electronic device based on the received information.
The electronic device may further include a storage configured to store information on a predetermined target position which corresponds to the peripheral device, wherein the processor may determine whether the peripheral device is positioned at the target position based on the distance and the direction, and if the peripheral device is not positioned at the target position, the processor may provide the movement information of the peripheral device for arranging the peripheral device at the target position.
The received information may be the information which records the state that the first audio signal and the second audio signal different from the first audio signal are sequentially received through a microphone provided in the peripheral device.
The received information may also include the information of the time at which the first audio signal and the second audio signal different from the first audio signal are sequentially received through the microphone provided in the peripheral device.
The processor may output the first audio signal and the second audio signal simultaneously in response to receiving a reference signal from the peripheral device.
The processor may determine the distance and the direction based on first time information and second time information which are obtained from the received information and which indicate the time at which the first audio signal is received and the time at which the second audio signal is received in the peripheral device, respectively, and third time information which indicates a time difference between the time at which the reference signal is received and the time at which the first audio signal and the second audio signal are output.
The first speaker and the second speaker may be arranged on the right side and the left side of the electronic device, respectively, and the processor may calculate a right side distance by multiplying a time difference between the first time information and the third time information by a velocity value of an audio signal, calculate a left side distance by multiplying a time difference between the second time information and the third time information by a velocity value of an audio signal, and determine the distance and the direction based on the calculated right and left side distances and a distance between the first speaker and the second speaker.
The processor may also output the first audio signal and the second audio signal simultaneously according to a predetermined event, and determine the distance and the direction based on the first time information and the second time information which are obtained from the received information and which indicate the time at which the first audio signal is received and the time at which the second audio signal is received in the peripheral device, respectively, and fourth information which indicates the time at which the event occurs.
The movement information may be the information on a relative position of the peripheral device with reference to the electronic device.
The electronic device may further include a display, and the processor may display through the display a UI screen which indicates the relative position.
The processor may determine whether the peripheral device is positioned at the target position, and display through the display a UI screen which displays movement information of the peripheral device which is for arranging the peripheral device at the target position if the peripheral device is not positioned at the target position.
The peripheral device may include a first external speaker and a second external speaker, and in response to determining that the second external speaker is positioned closer to a target position corresponding to the first external speaker than the first external speaker based on the information related to the time at which the first audio signal is received and the time at which the second audio signal is received from the first external speaker and the second external speaker, respectively, the processor may provide movement information of the second external speaker which is for arranging the second external speaker at the target position corresponding to the first external speaker, and in response to the second external speaker being arranged at the target position corresponding to the first external speaker, the processor may transmit a control signal for operating the second external speaker as the first external speaker to the second external speaker.
In response to the peripheral device being positioned at the target position, the processor may provide information informing that the peripheral device is arranged at the target position.
At least one of the first audio signal and the second audio signal may include identification information for pairing with the peripheral device.
A method for controlling an electronic device including a first speaker and a second speaker is also provided, the method including outputting a first audio signal and a second audio signal through the first speaker and the second speaker, receiving information related to the time at which the first audio signal is received and the time at which the second audio signal is received from a peripheral device which receives the first audio signal and the second audio signal, and determining a distance to and a direction of the peripheral device with reference to the electronic device based on the received information.
The method may further include storing information on a predetermined target position corresponding to the peripheral device, and the determining may include determining whether the peripheral device is positioned at the target position based on the distance and the direction, and providing movement information of the peripheral device which is for arranging the peripheral device at the target position if the peripheral device is not positioned at the target position.
The outputting the first audio signal and the second audio signal may include outputting the first audio signal and the second audio signal simultaneously in response to receiving a reference signal from the peripheral device.
The determining may include determining the distance and the direction based on first time information and second time information which are obtained from the received information and which indicate the time at which the first audio signal is received and the time at which the second audio signal is received in the peripheral device, respectively, and third time information which indicates a time difference between the time at which the reference signal is received and the time at which the first audio signal and the second audio signal are output.
The first speaker and the second speaker may be arranged on the right side and the left side of the electronic device, and the determining may include calculating a right side distance by multiplying a time difference between the first time information and the third time information by a velocity value of an audio signal, calculating a left side distance by multiplying a time difference between the second time information and the third time information by a velocity value of an audio signal, and determining the distance and the direction based on the calculated right and left side distances and a distance between the first speaker and the second speaker.
A peripheral device which communicates with an electronic device including a plurality of speakers is provided, the peripheral device including an audio receiver, a communicator configured to communicate with the electronic device and a processor configured to, in response to a first audio signal and a second audio signal which are output from each of a plurality of speakers provided in the electronic device being received sequentially through the audio receiver, obtain first time information and second time information which indicate the time at which the first audio signal is received and the time at which the second audio signal is received, respectively, from the information which records the received audio signals, and determine a distance to and a direction of the peripheral device with reference to the electronic device based on the first time information and the second time information.
Effect of InventionAccording to various example embodiments, the functions added to a peripheral device, etc. can be utilized in various ways, thereby improving user convenience.
Before describing the present disclosure specifically, a description method of the disclosure and drawings will be provided.
With respect to the terms used in an example embodiment of the disclosure, general terms currently and widely used are selected in view of function with respect to the disclosure. However, the terms may vary according to an intention of a technician practicing in the pertinent art, an advent of new technology, etc. In specific cases, terms may be chosen arbitrarily, and in this case, definitions thereof will be described in the description of the corresponding disclosure. Accordingly, the terms used in the description should not necessarily be construed as simple names of the terms, but be defined based on meanings of the terms and overall contents of the present disclosure.
Also, the same reference numerals or symbols described in the attached drawings denote parts or elements that actually perform the same functions. For convenience of explanation and understanding, the same reference numerals or symbols are used in describing different embodiments. That is, the same reference numerals in a plurality of drawings do not necessarily mean that the drawings are directed to one same embodiment.
Further, terms including ordinal number such as “first,” “second,” and so on may be used in the description and the claims to distinguish the elements from one another. These terms are used only for the purpose of differentiating one component from another, without limitation thereto. For example, used orders, arrangement orders, or the like of elements that are combined with these ordinal numbers may not be limited by the numbers. If necessary, the numerical expressions may be exchanged between components.
A singular term includes a plural form unless otherwise indicated. The terms, “include,” “comprise,” “is configured to,” etc. of the description are used to indicate the presence of features, numbers, steps, operations, elements, parts or combination thereof, and do not exclude the possibilities of combination or addition of one or more features, numbers, steps, operations, elements, parts or combination thereof.
In an example embodiment, ‘a module’ or ‘a unit’ performs at least one function or operation, and may be realized as hardware, software, or combination thereof. Further, except the “modules” or “units” that have to be implemented by certain hardware, a plurality of “modules” or a plurality of “units” may be integrated into at least one module and realized as at least one processor (not illustrated).
In an exemplary embodiment, in the case where a part is “connected” to another part, the case also includes a case where the part is “electrically connected” to the other part with another element interposed therebetween. In addition, it will be understood that, when a certain part “includes” a certain element, the certain part may not exclude another element but may further include another element unless this term is defined otherwise.
Hereinafter, the present disclosure will be described in detail with reference to the accompanying drawings.
According to
The electronic device 100 may be implemented as a device which has at least two speakers which output different audio. For example, the electronic device 100 may be implemented as a smart TV as illustrated in
The plurality of peripheral devices 200-1, 200-2, 200-3 and 200-4 may be implemented as a device including a microphone which can receive audio output from the electronic device 100. For example, the plurality of peripheral devices 200-1, 200-2, 200-3 and 200-4 may be implemented as the electronic and electric products which are used in a certain space such as home or an office. The plurality of peripheral devices 200-1, 200-2, 200-3 and 200-4 may be implemented to be able to perform bidirectional communication with the electronic device 100. According to an example embodiment, the plurality of peripheral devices 200-1, 200-2, 200-3 and 200-4 may perform unidirectional communication with the electronic device 100, and it will be described later.
The home system 100 may also be implemented as a home network system which connects the plurality of peripheral devices 200-1, 200-2, 200-3 and 200-4 as one system and performs bidirectional communication between the peripheral devices, but is not limited thereto. The home system 100 may be implemented by any system in which a plurality of devices can be connected via a network and be controlled.
The electronic device 100 may communicate with a gateway device, a network server, a controller, etc., or may be implemented to include a function of at least one of gateway device, a network server, a controller, etc. and to control overall operations of a plurality of devices in a network system.
Meanwhile, if the home system 1000 as illustrated in
According to an example embodiment, different audio may be output through two speakers provided in the electronic device 100, and the position of a peripheral device may be identified through the process of receiving the audio from the peripheral device, and various services may be provided based on the identified position. Hereinafter, various example embodiments will be described with reference to the drawings.
According to
The first speaker 111 may output a first audio signal.
The second speaker 112 may output a second audio signal which is different from the first audio signal. One of a frequency, a band, a pitch, a tinebre and a duration of the second audio signal may be different from those of the first audio signal. For example, the first audio signal output from the first speaker 111 may have the frequency of 10 Hz, and the second audio signal output from the second speaker 112 may have the frequency of 20 Hz.
The first speaker 111 and the second speaker 112 may be configured to convert an electric pulse into a sound wave, and be implemented as an electro-dynamic type, that is, a dynamic type, which is classified according to a principle and a method of converting an electric signal into a sound wave. However, the embodiments of the first speaker 111 and the second speaker 112 are not limited thereto, and the first speaker 111 and the second speaker 112 may be implemented as an electrostatic type, a dielectric type, a magnetostrictive type, or the like.
The first speaker 111 and the second speaker 112 may be implemented by a multi-way system in which a range of the reproduction band is divided into low, middle, and high ranges, and each of the divided ranges are allocated to an appropriate speaker. For example, in the case of a three-way system in which the reproduction band is shared between three types of speakers, the first speaker 111 and the second speaker 112 may be implemented to include a tweeter which reproduces a high frequency acoustic signal, a midrange speaker which reproduces an intermediate frequency acoustic signal, a woofer which reproduces a low frequency acoustic signal, and the like. In this case, the first speaker 111 and the second speaker 112 may be implemented as two speakers among the three speakers.
The first speaker 111 and the second speaker 112 may be configured to be spaced from each other with equal to or more than a predetermined distance. For example, if the electronic device 100 is implemented as a digital TV, the first speaker 111 and the second speaker 112 may be embedded in the right end and in the left end, respectively, but are not limited thereto. For example, the first speaker 111 and the second speaker 112 may also be implemented by separate speakers which are attached to the electronic device 100 on the condition that it is possible to know the attached positions.
The communicator 120 may communicate with the peripheral device 200 including a microphone. The communicator 120 may communicate with the peripheral device 200 by various communication methods such as Bluetooth, Wi-Fi, ZigBee, IR (Infrared), serial interface, universal serial bus (USB), near field communicator (NFC), or the like.
For example, when a predetermined event occurs, the communicator 120 may communicate with the external speaker 200 by a predefined communication method, and the electronic device 100 may enter the interlocked state. The interlocking may refer to every state in which communication is available, such as the operations of initializing communication, forming a network, device-pairing, etc. between the electronic device 100 and the peripheral device 200. For example, the device identification information such as a pin code of the peripheral device 200 may be provided to the electronic device 100, and the procedure of pairing between the two devices may be performed accordingly. For example, when a predetermined event occurs in the electronic device 100 and in the peripheral device 200, the peripheral device 200 may search the electronic device 100 using the digital living network alliance (DLNA) technique, and the electronic device 100 and the peripheral device 200 may be paired and enter the interlocked state.
The communicator 120 may transmit the device identification information such as a pin code which is based on a sound wave to the peripheral device 200, and perform the pairing. When the peripheral device 200 receives the pin code, the pairing may be performed by the pin being automatically input.
The pairing with the peripheral device 200 may be performed using a Bluetooth communication, etc., and the wireless network connection information, such as Wi-Fi, may be transmitted to the paired peripheral device 200 and the peripheral device 200 may be connected via the wireless network. Once the peripheral device 200 is connected via the wireless network, the communicator 120 may receive the information related to the product type and the position analyzed in the peripheral device 200 from the peripheral device 200.
The processor may control overall operations of the electronic device 100.
The processor 130 may receive through the communicator 120 the information of the time at which the first audio signal and the second audio signal are received from the peripheral device 200 which receives by a microphone the first audio signal and the second audio signal output through the first speaker 111 and the second speaker 112. The processor 130 may determine the distance to and the direction of the peripheral device 200 with reference to the electronic device 100 based on the received information.
The received information may be the file in which the state that the first audio signal and the second audio signal are sequentially received through the microphone provided in the peripheral device 200 is recorded (or recorded in sound or captured), or may include the information of the time at which the first audio signal and the second audio signal are sequentially received through the microphone provided in the peripheral device 200. In other words, the peripheral device 200 may record the state that the first audio signal and the second audio signal are sequentially received through the microphone provided in the peripheral device 200, and the peripheral device 200 may transmit the recorded information as it is to the electronic device 100, or may analyze the recorded information, obtain the information of the time at which the first audio signal and the second audio signal are sequentially received, and transmit the obtained time information to the electronic device 100.
When a reference signal (or a trigger signal) is received from the peripheral device 200, the processor 130 may output the first audio signal and the second audio signal simultaneously. In this case, the peripheral device 200 may transmit the reference signal to the electronic device 100, and operate in a recording mode. In other words, the peripheral device may start recording the audio signals. The reference signal may be received via radio frequency (RF) communication such as Bluetooth (BT), but is not limited thereto.
The processor 130 may calculate the difference between the time point at which the reference signal is received and the time points at which the first audio signal and the second audio signal are output.
The processor 130 may determine the distance to and the direction of the peripheral device 200 with reference to the position of the electronic device 100 based on the time information according to such operations as above.
The processor 130 may determine the distance to and the direction of the peripheral device 200 based on first time information and second time information which are obtained from the received information and which indicate the time at which the first audio signal is received and the second audio signal is received in the peripheral device 200, respectively, and third time information on a time difference between the time (or the time at which the reference signal is received in the electronic device 100) at which the reference signal is output from the peripheral device 200 and the time at which the first audio signal and the second audio signal are output.
For example, the processor 130 may calculate the right distance by multiplying a time difference between the first time information and the third time information by a velocity value of an audio signal. By the same method, the processor 130 may also calculate the left distance by multiplying a time difference between the second time information and the third time information by a velocity value of an audio signal. The processor 130 may determine the distance to and the direction of the peripheral device 200 based on the calculated right and left distances and the distance between the first speaker 111 and the second speaker 112.
However, the embodiment is not limited to the above example, but according to another example embodiment, the processor 130 may output the first audio signal and the second audio signal simultaneously, and determine the distance based on the first time information and the second time information which are obtained from the received information and which indicate the time at which the first audio signal is received and the time at which the second audio signal are received in the peripheral device 200, respectively, and the third time information of the time at which an event occurs. For example, if the time is synchronized between the electronic device 100 and the peripheral device 200, the electronic device 100 may transmit the signal requesting an audio signal recording to the peripheral device 200 and output an audio signal after a predetermined time, and determine the distance based on the time information received from the peripheral device 200. For example, if the time at which the electronic device 100 outputs an audio signal is A, and the time at which the peripheral device 200 receives the first audio signal and the time at which the peripheral device 200 receives the second audio signal are B and C, respectively, the right distance and the left distance may be calculated by multiplying B−A (B minus A) by a velocity value of the audio signal and multiplying C−A (C minus A) by a velocity value of the audio signal, respectively.
The processor 130 may provide various services based on the distance to and the direction of the external device 200 which are obtained according to the various example embodiments as above. For example, if the peripheral device 200 is implemented as a remote controller, the processor 130 may provide the services such as searching for a remote controller and determining the oriented direction and the oriented position of a remote controller according to an absolute coordinate method, and if the peripheral device 200 is implemented as a home theater speaker, the processor 130 may provide the services such as an HTS (Home Theater System) easy setup service, a service of forming a network between IoT devices in a home network, various services through detection of the position of an electronic appliance (e.g., an air conditioner, a robotic vacuum cleaner).
For example, if the electronic device 100 is implemented as a TV and the peripheral device 200 is implemented as a pointing device, the processor 130 may convert the distance to and the direction of the peripheral device 200 into X and Y coordinates on the screen of the electronic device 100 by applying a signal processing algorithm to the distance and the direction. After that, the processor 130 may map the converted X and Y coordinates to the X and Y coordinates of a pointing object on the UI screen of the display device 100 and designate the coordinates of the pointing object.
The position of a pointing object may be designated using the designated coordinates as described above. In this case, the position to which the peripheral device 200 is oriented may be determined on the screen based on the assumption that the peripheral device 200 is oriented to the screen at its position. Accordingly, the pointing object may be displayed by an absolute coordinate method according to a trigger signal.
The processor 130 may control the overall operations of the electronic device 100′.
The processor 130 may include a RAM 131, a ROM 132, a main CPU 133, a graphic processor 134, a first to nth interfaces 135-1 to 135-n and a bus 136.
The RAM 131, the ROM 132, the main CPU 133, the graphic processor 134, and the first to nth interfaces 135-1 to 135-n may be connected to one another via the bus 136.
The first to nth interfaces 135-1 to 135-n may be connected with the elements described above. One of the interfaces may be a network interface which is connected with an external device via a network.
The main CPU 133 may access to the storage 150, and perform booting using an operating system (O/S) stored in the storage 150, and perform various operations using programs, contents, data, etc. stored in the storage 150.
In the ROM 132, a command set for booting a system, etc. may be stored. Once a turn-on command is input and power is supplied, the main CPU 133 may copy the O/S stored in the storage 150 to the RAM 131 according to a stored command, and execute the O/S and boot a system. Once the booting is completed, the main CPU 133 may copy various application programs stored in the storage 150 to the RAM 131, and execute the application programs copied to the RAM 131 and perform various operations.
The graphic processor 134 may generate a screen including various objects such as an icon, an image, text, etc., which is, for example, a screen including a pointing object, using a computation unit (not illustrated) and a rendering unit (not illustrated). The computation unit (not illustrated) may calculate the attribute values such as coordinate values, a shape, a size, a size, color, etc. with which each object is displayed according to a layout of a screen based on a received control command. The rendering unit (not illustrated) may generate screens of various layouts which include an object based on the attribute values calculated by the computation unit (not illustrated). The screen generated in the rendering unit (not illustrated) may be displayed in a user interface area of the display 140.
The operation of the processor 130 as described above may also be performed by a program stored in the storage 150 as illustrated in
The storage 150 may store various data such as an operating system (O/S) software module for driving the electronic device 100′, and a variety of multimedia content. As illustrated in
The processor 130 may receive a signal from the peripheral device 200 using the communication module 151, and transmit the signal to the peripheral device 200.
For example, the processor 130 may receive a reference signal from the peripheral device 200 using the communication module 130, and transmit to the peripheral device 200 a signal including the information of the time at which audio signals are output through the first speaker 111 and the second speaker 112.
The processor 130 may process a signal received from the peripheral device 200 or process a signal to be transmitted to the peripheral device 200 using the signal processing module 152.
For example, when the file in which the reception state of the first audio signal and the second audio signal is recorded is received from the peripheral device 200, the processor 130 may process the file to the state that the position calculation module 153 can analyze using the signal processing module 152.
The storage 150 may store the information on the target position corresponding to the peripheral device 200. The target position may refer to the most optimal position where the peripheral device 200 should be positioned. The target position may be a relative position with reference to the electronic device 100, and may be set in a certain direction and with a certain distance from the electronic device 100 and be stored. The processor 130 may determine whether the peripheral device 200 is positioned at the target position using the information on the target position stored in the storage 150, and if the position of the peripheral device 200 is not consistent with the target position, the processor 130 may provide the information of the movement of the peripheral device 200 for arranging the peripheral device 200 at the target position.
The processor 130 may receive the position information of the peripheral device 200 from the peripheral device 200 through the communicator 120, and determine whether the peripheral device 200 is positioned at the target position according to the received position information. If it is determined that the peripheral device 200 is not positioned at the target position, the processor 130 may provide the movement information of the peripheral device 200 for positioning the peripheral device 200 at the target position.
The movement information may include the information on the current position of the peripheral device 200 and the information on the pre-stored target position at which the peripheral device 200 should be positioned. The movement information may also include the information on the direction and the distance to the target position from the peripheral device 200.
The processor 130 may calculate the position of the external device 200, which is the distance to and the direction of the external device 200, using the position calculation module 153 based on the value processed by the signal processing module 152.
The display 140 may provide various content screens. The content screen may include an application execution screen which includes various contents such as an image, a video, text, music, etc. and a graphic user interface screen (GUI), or the like. The electronic device 100′ including the display 140 may be referred to as a display device.
The processor 130 may display through the display 140 a UI screen indicating a relative position of the peripheral device 200 with reference to the electronic device 100 based on the calculated distance to and direction of the peripheral device 200. The UI screen may be implemented in various forms such as an image, a video, text, or the like. Meanwhile, the display 140 may be implemented as a liquid crystal display panel (LCD), an organic light emitting diodes (OLED), etc., but is not limited thereto. The display 140 may also be implemented as a flexible display, a transparent display, or the like.
For example, the processor 130 may display a 2D or 3D space layout including the devices connected to a home network, and provide the position of the peripheral device 200 in the space layout. Accordingly, the space layout may include the information on at least one of home devices connected to a home network, and the information may include the information for identifying a home device in the form of text (e.g., a name of a home device) or an image (e.g., an actual image or an exterior image of a home device, or an icon). The space layout may be made based on the information of the position and the device type of each home device. For example, a virtual space layout may be created based on the position information and the device type of each home device connected to a home network, and the space layout may be updated based on the position information that is input whenever an existing home device is disconnected from the home network or a new home device is connected.
The display 140 may be implemented as various types of displays such as a liquid crystal display panel (LCD), an organic light emitting diodes (OLED), a liquid crystal on silicon (LCoS), a digital light processing (DLP), or the like. The display 140 may also include a driving circuit which can be implemented as a-si TFT, low temperature poly silicon (LTPS), TFT, organic TFT (OTFT), a backlight unit, or the like.
The electronic device 100′ may further include an audio processor 160 which processes audio data, a video processor 170 which processes video data, and a user interface 180 including a camera which photographs a still image or films a video and a microphone which receives a user voice or other sounds and converts the sounds into audio data, etc. For example, the processor 130 may control the audio processor 160 to process the first audio signal and the second audio signal which are output through the first speaker 111 and the second speaker 112.
According to
The audio receiver 210 may be implemented to include at least one microphone which receives the first audio signal and the second audio signal output from the electronic device 100.
The communicator 220 may communicate with the electronic device 100, and the specific configuration of the communicator 220 may be similar with the configuration of the communicator 120, and thus, the communicator 220 will not be described in detail.
According to an example embodiment, when the first audio signal and the second audio signal different from the first audio signal, which are output from each of the plurality of speakers provided in the electronic device 100, are received through the audio receiver 210 sequentially, the processor 230 may record the received audio signals and transmit the recording information to the electronic device 100. In this case, the processor 230 may transmit to the electronic device 100 a trigger signal which allows the electronic device 100 to output an audio signal according to a predetermined event (e.g., a predetermined button input). In other words, the processor 230 may perform an operation corresponding to the operation of the electronic device 100 illustrated in
However, according to another example embodiment, the peripheral device 200 may determine its distance and direction by itself with reference to the position of the electronic device 100, and provide the determined information to the electronic device 100 if necessary.
According to another example embodiment, when the first audio signal and the second audio signal different from the first audio signal, which are output from each of the plurality of speakers provided in the electronic device 100, are received through the audio receiver 210 sequentially, the processor 230 may record the received audio signals, obtains the time at which the first audio signal is received and the time at which the second audio signal is received, and determine the distance to and the direction of the peripheral device 200 with reference to the electronic device 100 based on the obtained times. In this case, the processor 230 may transmit to the electronic device 100 a trigger signal which allows the electronic device 100 to output an audio signal.
For example, the processor 230 may determine the distance to and the direction of the peripheral device 200 based on the first time information and the second time information which are obtained from the recorded file and which indicate the time at which the peripheral device receives the first audio signal and the time at which the peripheral device receives the second audio signal, respectively, and the third time information which indicates the time difference between the time at which a reference signal is received and the time at which the first audio signal and the second audio signal are output. In this case, the third time information may be obtained from the electronic device 100, or obtained from the processor 230 after the processor 230 calculates the time difference between the time at which the peripheral device 200 receives the first audio signal and the time at which the peripheral device 200 receives the second audio signal.
For example, the processor 230 may calculate the right distance by multiplying the time difference between the first time information and the third time information by a velocity value of an audio signal. By the same method, the processor may calculate the left distance by multiplying the time difference between the second time information and the third time information by a velocity value of an audio signal. The processor 230 may determine the distance to and the direction of the electronic device 100 based on the calculated right and left distances.
However, the embodiment is not limited to the above example, and according to another example embodiment, the processor 130 of the electronic device 100 may output the first audio signal and the second audio signal simultaneously according to a predetermined event after transmitting a signal requesting an audio signal recording to the external speaker 200.
The operations of the processor 230 may be performed by the programs stored in the storage 240.
In the storage 240, a signal processing algorithm for processing a received signal may be stored. Also, according to different example embodiments, various data such as operating system (O/S) software for driving the electronic device 100, a signal processing algorithm for performing the calculations relating to various detection signals, etc. may be stored in the storage 240.
The detail configuration of the processor 230 is similar to the configuration of the processor 130 of the electronic device 100′ (
If the peripheral device 200 is implemented as a pointing device according to an example embodiment, various sensors (e.g., an acceleration sensor, a geomagnetic sensor, a gyro sensor, etc.) for sensing the movement of the peripheral device 200 may be further included.
In this case, the processor 230 may perform various calculations according to diverse sensing signals. For example, the processor 230 may perform a pre-processing to a sensor value received from various sensors and transmit the sensor values to the electronic device 100. For instance, the processor 230 may perform a pre-processing such as converting the sensor value converted into a digital value into an actual physical amount, adjusting each separate axes of the acceleration sensor, the geomagnetic sensor and the gyro sensor to one defined axis, removing electrical noises of the sensors and unintended high frequency movement through a low bandwidth pass filtering, and the like. However, in some cases, the calculations may be performed according to the algorithm for processing a detected signal, and the calculated value may be transmitted to the electronic device 100.
If the peripheral device 200 is implemented as a pointing device, a power button for receiving a user command for powering on and off, a centering button for displaying a pointing object on a screen of the electronic device 100 and setting a reference position, etc. may be further included. For example, when the peripheral device 200 is turned on, the peripheral device 200 may perform pairing with the electronic device 100. After the pairing is completed, when a user presses the centering button (not illustrated), a pointing object may be displayed on the center of the screen of the display of the electronic device 100.
The example embodiment in which the peripheral device 200 determines the distance and the direction will be described with reference to
According to
In this case, the electronic device 100 which receives the reference signal may output a first audio signal and a second audio signal different from the first audio signal through a right and left speakers, and transmit to the peripheral device 200 the time information of the time difference D2 between the time at which the reference signal is received and the time at which the audio signal is output.
In this case, as illustrated in
In this case, the peripheral device 200 may calculate the distance to and the direction of the peripheral device 200 with reference to the electronic device 100 based on the value calculated by subtracting D2 from the time difference (D1R) between the time at which the reference signal is output and the time at which the first audio signal is received through a microphone, that is, D1R−D2 (D1R minus D2), and the value calculated by subtracting D2 from the time difference (D1L) between the time at which the reference signal is output and the time at which the second audio signal is received through a microphone, that is, D1L−D2 (D1L minus D2).
For example, referring to
According to an example embodiment, if a user wants to know the position of a movable peripheral device, which is, for example, the position of a remote controller, the user can select the menu for locating a remote controller and be provided with the corresponding service.
When the distance to and the direction of the remote controller, which is the position of the remote controller, is determined by the aforementioned method, the electronic device 100 may provide the information on the position of the remote controller as a UI screen of various methods as illustrated in
According to
When the electronic device 100 receives the reference signal, different audio signals may be output through a plurality of speakers (S930).
The peripheral device 200 may record the audio signals received through a microphone in the recording mode (S940).
The peripheral device 200 may transmit the information in which the sequentially received different audio signals are recorded to the electronic device 100 (S950).
The electronic device 100 may determine the position of the peripheral device 200 by analyzing the recording information received from the peripheral device 200 (S960).
As the detail operations of each operation has already been described, the detailed description therefor will not be repeated.
According to
When the electronic device 100 receives a reference signal, different audio signals may be output through a plurality of speakers (S1030).
The peripheral device 200 may record the audio signals received through a microphone in the recording mode (S1040).
The electronic device 100 may transmit to the electronic device 100 the time information of the time difference between the time at which the reference signal is received and the time at which the audio signal is output (S1050).
The peripheral device 200 may determine the position of the peripheral device 200 by analyzing the time information received from the electronic device 100 and the recording information in which the audio signals are recorded (S1060).
As the detail operations of each operation has already been described, the detailed description therefor will not be repeated.
For example, it is assumed that a user connects the four speakers 1110, 1120, 1130 and 1140 to configure the audio output system 1000.′
The display device 100 may determine whether the connection is properly set by measuring the distance to and the direction of each speaker, and provide a feedback service accordingly. For example, if the leftmost speaker 1110 and the rightmost speaker 1140 are not connected properly, the electronic device 100 may measure the distance between the speakers and the direction of the speakers and provide the notification that the connection is not properly set to a user, or in some cases, the electronic device 100 may automatically change the connection setting. Meanwhile, in the above example embodiment, it may be assumed that a microphone is provided in each speaker, but the embodiment is not limited thereto. The technical concept of the present disclosure may be applied with only two speakers and one microphone, and thus, if a microphone is provided in the electronic device 100, the relative positions of the display device 100 and the four speakers 1110, 1120, 1130 and 1140 may be determined based on the audio signal output from each speaker and the position of each speaker.
The home theater system includes a plurality of external speakers which are arranged on the side or on the back with reference to the hearing position, and the plurality of external speakers improves the 3D sound effect. The plurality of external speakers are usually configured with a front speaker L, a front speaker R, a center speaker, a rear speaker L, a rear speaker R and a subwoofer, and the basic purpose of the arrangement of the home theater system is to arrange the speakers at the optimal position in the home environment similarly to the arrangement of the speakers in the theater.
However, in the case of installing an existing home theater system, it would be difficult for an ordinary user to know each position of external speakers, and accordingly, the user may arrange each speaker referring to the manual. However, even though the user refers to the manual, there is the problem that it is difficult for the user to know exactly how far the speakers should be placed apart from each other and in what direction the speakers should be placed. Therefore, according to an example embodiment, it may be possible to guide an ordinary user to arrange the external speakers easily and conveniently without any help from an expert.
As illustrated in
The external speaker 200 may be implemented as a speaker including a microphone which can receive an audio signal output from the display device 100, and may be implemented to perform bidirectional communication with the display device 100. However, in some example embodiments, the external speaker 200 may perform unidirectional communication with the display device 100, and the example embodiment will be described later.
For example, the plurality of speakers 200 may be implemented as surround speakers configuring the home theater system 1000.′ For instance, as illustrated in
The home theater system 1000′ according to an example embodiment may be implemented as a home network system which can connect the display device 100 and the plurality of speakers 200-1 to 200-8 as one system and perform bidirectional communication, but is not limited thereto. The home theater system 1000′ may be implemented by any system in which a plurality of devices can be connected via a network and be control.
In the above example, the display device 100 may communicate with a gateway device, a network server, a controller, etc., or may be implemented to include a gateway device, a network server, a controller, etc. and control overall operations of a plurality of devices in the network system.
Meanwhile, when an ordinary user installs such a home theater system, it would be difficult for the user to know how far each of the external speakers 200-1 to 200-8 should be placed apart from each other and in what direction the speakers should be placed with reference to the display device 100, and also be difficult to know the type of each external speaker 200-1 to 200-8. According to an example embodiment, the exact calculation of the current position of each external speaker 200-1 to 200-8 should be preceded to guide the proper position for each speaker, and the position of each external speaker 200-1 to 200-8 may be calculated based on the triangulation using an audio signal as a basic principle.
According to an example embodiment, different audio may be output through the two speakers provided in the display device 100, and the positions of the external speakers may be identified based on the triangulation according to the process in which different audio is received in each of the external speaker 200-1 to 200-8 which are placed around the electronic device 100, and various UI services for arranging the speakers properly based on the identified positions may be provided. Hereinafter, various example embodiments will be described in detail with reference to the drawings.
Referring to
Also, referring to
In this case, the external speaker 200-8 which receives the reference signal may output an audio signal, and transmit to the display device 100-2 the time information of time difference D3 between the time at which the reference signal is received and the time at which the audio signal is output. The processor 130 of the display device 100-2 may calculate the distance to and the direction of the external speaker 200-8 with reference to the display device 100-2 based on the value calculated by subtracting D3 from the time difference (D2R) between the time at which the reference signal is output and the time at which the audio signal is received through the microphone, that is, D2R−D3 (D2R minus D3), and the value calculated by subtracting D3 from the time difference (D2L) between the time at which the reference signal is output and the time at which the audio signal is received through the microphone, that is, D2L−D3 (D2L minus D3).
Referring to
According to another example embodiment, the electronic device 100 may further include a photographing unit (not illustrated). The processor 130 may photograph the external speaker by the photographing unit, and obtain the position information of the external speaker 200 through the image frame in which the photographed external speaker is included. The processor 130 may determine the distance and the direction between the electronic device 100 and the external speaker 200 by the obtained position information.
It has been described that the external speaker 200 determines the distance to and the direction of the external speaker 200 in
As illustrated in
The external speaker 200 may include the microphone 210, the communicator 220, the processor 230, the audio processor 250 and the speaker 260. Hereinafter, the detailed description for the elements which are overlapped with the elements illustrated in
The external speaker 200 may transmit a reference signal which allows the display device 100 to output an audio signal through the communicator 220. The reference signal may be transmitted by an IR communication method or by a Bluetooth communication method. When the communicator 120 of the display device 100 receives a reference signal, the processor 130 of the display device 100 may convert a currently output audio signal into a first audio signal and a second audio signal which have different frequencies through the audio processor 160, and output the first audio signal and the second audio signal using the first speaker 111 and the second speaker 112. When the external speaker 200 detects the audio signals through the microphone 210, the audio processor 250 may classify the audio signals as the first audio signal and the second audio signal according to each frequency band.
The processor 230 of the external speaker 200 may determine the position including the direction of and the distance to the external speaker 200 with reference to the display device 100 using the information of the time at which each audio signal is detected, and transmit the information related to the determined position to the display device 100 through the communicator 220.
The processor 130 of the display device 100 may display through the display 140 a UI screen which displays the movement information of the external speaker 200 for arranging the external speaker 200 at the target position stored in the storage 150 based on the received information related to the position.
First, a user may select an easy setup service for installing the audio output system 100 on a UI displayed on the electronic device 100 (S1605).
The electronic device 100 may output the first audio signal and the second audio signal different from the first audio signal through the first speaker 111 and the second speaker 112 (S1610). The electronic device 100 may add to at least one of the first audio signal and the second audio signal a pin code which is based on a sound wave for pairing with the external speaker 200, and transmit the audio signals.
When the external speaker 200 receives the pin code from the received audio signal, the system may be converted into a pairing mode (S1620), and the electronic device 100 may be paired with the external speaker 200 as the pin code is automatically input (S1625). When the pairing is completed, the electronic device 100 may transmit wireless network connection information including the information of AP of Wi-Fi, etc. to the external speaker 200 (S1630), and the external speaker 200 may set the wireless network based on the received wireless network connection information (S1635).
The external speaker 200 may calculate the relative position of the external speaker 200 with reference to the electronic device 100 by the triangulation based on the time difference between the time at which the first audio signal is received and the second audio signal is received (S1640). The external speaker 200 may transmit the information related to the type and the calculated position of the external speaker 200 to the electronic device 100 (S1645), and the electronic device 100 may determine whether the current position of the external speaker 200 is consistent with the target position based on the information related to the type and the calculated position of the external speaker 200 (S1650).
If the current position of the external speaker 200 is not consistent with the target position, the electronic device 100 may display a UI which displays the movement information of the external speaker 200 for arranging the external speaker 200 at the target position, and if the current position of the external speaker 200 is consistent with the target position, the electronic device 100 may display a UI which indicates that the external speaker 200 is arranged at the target position (S1655).
As illustrated in
Meanwhile, the other electronic device 300 which does not have authority for pairing may also transmit the BD ADDR to the external speaker 200-1 present inside the home according to the scanning of the BT discovery signal, but the external speaker 200-1 may not receive the audio signal and the pin code based on a wave sound which are output from the other electronic device 300 due to the barrier such as a wall, etc. and accordingly, the pairing with the other electronic device 300 may be prevented.
When the pairing is performed, the electronic device 100 may transmit an encoded setting value of the electronic device 100 to the external speaker 200-1. For example, the electronic device 100 may transmit wireless network connection information, etc. such as the information on the currently connected wireless AP, or the like, to the external speaker 200-1. When the external speaker 200-1 is connected via a wireless network, the external speaker 200-1 may transmit the information on the type and the position of the external speaker 200-1 to the electronic device 100.
If the electronic device 100 includes the display 140, the processor 130 may display a user interface (UI) screen which displays the movement information of the external speaker 200 for arranging the external speaker 200 at the target position if the position of the external speaker 200 is not consistent with the target position corresponding to the external speaker 200. The UI screen may be a screen which displays the determined position of the external speaker 200 and the proper position at which the external speaker 200 should be arranged. The UI screen may also be the phrase which guides the direction to which the external speaker 200 should be moved and the distance in which the external speaker 200 should be placed. The movement information may include the information on the current position of the external speaker 200 and the information on the target position for arranging the external speaker 200.
The UI may display a 2D or 3D space layout, and may display the position of the external speaker 200 with reference to the display device 100 in the space layout. If the external speaker 200 is plural, the position of each external speaker 200 may be displayed. The space layout is the identification information related to the external speaker 200, and in the space layout, text (e.g., the type of speakers and the information on the left and right) or an image (e.g., the real images, the exterior images or an icon of the speakers) may be displayed.
As illustrated in
If the position of the external speaker 200 is consistent with the target position set in the external speaker 200, the processor 130 may display a UI screen which indicates that the external speaker 200 is positioned at the target position properly as the external speaker 200 is displayed properly.
As illustrated in
The movement information may also include the information of the direction of and the distance to the target position corresponding to each of the external speakers 200-1 to 200-5.
As illustrated in
The processor 130 may also output through at least one of the first speaker 111 and the second speaker 112 a voice which guides a user to move each of the external speakers 200-1 to 200-5 to the corresponding target position.
The processor 130 may control the operations of each of the external speakers 200-1 to 200-5 based on the information on the position of each of the external speakers 200-1 to 200-5. For example, the processor 130 may receive the position information of the first external speaker 200-1 and of the second external speaker 200-2 from the first external speaker 200-1 and the second external speaker 200-2, respectively, through the communicator 120. If it is determined that the second external speaker 200-2 is positioned closer to the target position which corresponds to the first external speaker 200-1 than the first external speaker 200-1, the movement information of the second external speaker 200-2 for arranging the second external speaker 200-2 at the target position corresponding to the first external speaker 200-1 may be provided. Also, when second external speaker 200-2 is arranged at the target position corresponding to the first external speaker 200-1, the processor 130 may transmit a control signal for operating the second external speaker 200-2 as the first external speaker 200-1. Accordingly, the second external speaker 200-2 may operate as the first external speaker 200-1.
By the same method, the processor 130 may provide the movement information of the first external speaker 200-1 for arranging the first external speaker 200-1 at the target position corresponding to the second external speaker 200-2, and accordingly, the first external speaker 200-1 may operate as the second external speaker 200-2.
If it is determined that the left rear speaker 200-4 is positioned closer to the target position 1205 which corresponds to the right rear speaker 200-5 than the right rear speaker 200-5, a UI which displays the movement information for arranging the left rear speaker 200-4 at the target position 1205 corresponding to the right rear speaker 200-5. Such UI may be displayed as illustrated in
Also, as illustrated in
The processor 130 may also transmit the movement information for arranging the external speaker 200 at the target position to the external display device connected through the communicator 120 via cable or wirelessly. The external display device which receives the movement information may display the UI screen described above, and the effect thereof will be the same as described.
The movement information may be provided by the external speaker 200. For example, the external speaker 200 may determine whether the external speaker 200 is positioned at the target position by itself, and only if it is positioned at the target position, the external speaker 200 may output an alarm sound for a user to know that the external speaker 200 is positioned at the proper position. Also, the external speaker 200 may include an LED, and if the external speaker 200 is positioned at the target position, the external speaker 200 may output light of a certain color to the LED. Accordingly, a user may see the light of the LED and know whether the external speaker 200 is positioned at the proper position.
According to the control method of the electronic device illustrated in
The information related to the time at which the first audio signal is received and the time at which the second audio signal is received from the peripheral device 200 which receives the first audio signal and the second audio signal (S2020). The received information may include the information in which the state that the first audio signal and the second audio signal are sequentially received through a microphone provided in the peripheral device 200 is recorded or the information which includes the information of the time at which the first audio signal is received and the time at which the second audio signal is received sequentially.
The distance to and the direction of the peripheral device 200 may be determined with reference to the electronic device 100 based on the received information (S2030).
In operation S2030, the distance and the direction may be determined based on first time information and second time information which are obtained from the received information and which indicate the time at which the first audio signal is received and the time at which the second audio signal is received in the peripheral device, respectively, and third time information which indicates the time difference between the time at which the reference signal is received and the time at which the first audio signal and the second audio signal are output.
The first speaker and the second speaker may be implemented as the speakers which are arranged on the right and left of the electronic device 100, and in operation S2030, the right side distance may be calculated by multiplying the time difference between the first time information and the third time information by a velocity value of the audio signal, and the left side distance may be calculated by multiplying the time difference between the second time information and the third time information by a velocity value of the audio signal. Also, the distance and the direction may be determined based on the calculated right and left side distances and the distance between the first speaker and the second speaker.
The electronic device 100 may provide various services based on the position information of the peripheral device 200 obtained by the above-described method.
According to the control method of the peripheral device illustrated in
The first time information and the second time information which indicate the time at which the first audio signal is received and the time at which the second audio signal is received, respectively, may be obtained from the information in which the received audio signals are recorded (S2120).
The distance to and the direction of the peripheral device 200 may be determined with reference to the electronic device 100 based on the obtained first time information and second time information (S2130).
The peripheral device 200 may receive from the electronic device 100 the third time information of the time difference between the time at which a reference signal is received, and the time at which the first audio signal is output and the time at which the second audio signal is output.
In operation S2130, the distance and direction may be determined based on the first to third time information.
The position information of an external speaker may be received from the external speaker (S2210). The electronic device may output the first audio signal and the second audio signal through the first speaker and the second speaker, respectively, and receive the first audio signal and the second audio signal.
Whether the external speaker is positioned at the target position may be determined based on pre-stored information on the target position corresponding to the external speaker and the received position information (S2220).
If the external speaker is not positioned at the target position, the movement information for arranging the external speaker at the target position may be provided (S2230). The movement information may include the information on the current position of the external speaker and the information on the target position for arranging the external speaker. The movement information may also include the information on the direction of and the distance to the target position from the external speaker.
The movement information may be provided by displaying a UI screen which displays the movement information of the external speaker. The movement information may also be provided by outputting a voice which guides a user to move the external speaker to the target position through at least one of the first speaker and the second speaker.
The audio signals output from an external speaker through the first microphone and the second microphone may be received (S2310). If the external speakers are plural, the audio signals may be received from the plurality of external speakers in a predetermined order.
The position of the external speaker may be determined based on the time at which the first microphone receives the audio signal and the time at which the second microphone receives the audio signal (S2320).
Whether the external speaker is positioned at the target position may be determined based on predetermined information on the target position corresponding to the external speaker (S2330).
If the external speaker is not positioned at the target position, the movement information of the external speaker for arranging the external speaker at the target position may be provided (S2340). If the external speaker is plural, the movement information of the external speaker for arranging the external speaker which currently outputs a current audio signal among the sequentially output audio signals at the corresponding target position may be provided.
According to the above-described various example embodiments, the position of each device may be determined using the electronic device which can output audio and the peripheral device which can receive audio, and the position information may be used in a variety of services. Also, when an ordinary user installs an audio output system such as a home theater, the user can arrange an external speaker at the proper position conveniently without any help from an expert.
The control method of an electronic device and a peripheral device according to the aforementioned various example embodiments may be implemented by a program, and the program may be provided to a display system.
For example, the non-transitory computer readable medium in which the program which performs the operation of outputting the first audio signal and the second audio signal different from the first audio signal through the first speaker and the second speaker, the operation of receiving the information related to the time at which the first audio signal is received and the time at which the second audio signal is received from the peripheral device which receives the first audio signal and the second audio signal through the microphone, and the operation of determining the distance to and the direction of the peripheral device with reference to the electronic device based on the received information is stored may be provided.
A non-transitory computer readable medium may refer to a machine-readable medium or device that stores data semi-permanently and not for a short period of time, such as a register, cache, memory, or the like. The specific examples of the non-transitory computer readable medium may be a compact disc (CD), a digital versatile disc (DVD), a hard disk, a Blu-ray disc, a universal serial bus (USB) stick, a memory card, a ROM, etc.
The foregoing exemplary embodiments are merely exemplary and are not to be construed as limiting the present disclosure. The description of the example embodiments is intended to be illustrative, and not to limit the scope of the disclosure, as defined by the appended claims, and many alternatives, modifications, and variations will be apparent to those skilled in the art.
INDUSTRIAL APPLICABILITYClaims
1. An electronic device comprising:
- a first speaker configured to output a first audio signal;
- a second speaker configured to output a second audio signal;
- a communicator configured to communicate with a peripheral device; and
- a processor configured to:
- receive information related to a time at which the first audio signal is received and a time at which the second audio signal is received, from the peripheral device which receives the first audio signal and the second audio signal, and
- determine a distance to the peripheral device and a direction of the peripheral device with reference to the electronic device based on the received information.
2. The electronic device of claim 1, further comprising:
- a storage configured to store information on a predetermined target position which corresponds to the peripheral device,
- wherein the processor determines whether the peripheral device is positioned at the target position based on the distance and the direction and if the peripheral device is not positioned at the target position, the processor provides movement information of the peripheral device which is for arranging the peripheral device at the target position.
3. The electronic device of claim 1, wherein the received information is information which records the state that the first audio signal and the second audio signal different from the first audio signal are sequentially received through a microphone provided in the peripheral device.
4. The electronic device of claim 1, wherein the received information includes information of a time at which the first audio signal and the second audio signal different from the first audio signal are sequentially received through the microphone provided in the peripheral device.
5. The electronic device of claim 1, wherein the processor outputs the first audio signal and the second audio signal simultaneously in response to receiving a reference signal from the peripheral device.
6. The electronic device of claim 5, wherein the processor determines the distance and the direction based on first time information and second time information which are obtained from the received information and which indicate a time at which the first audio signal is received and a time at which the second audio signal is received in the peripheral device, respectively, and third time information which indicates a time difference between a time at which the reference signal is received and a time at which the first audio signal and the second audio signal are output.
7. The electronic device of claim 6, wherein the first speaker and the second speaker are provided in a right side and a left side of the electronic device, respectively, and the processor calculates a right side distance by multiplying a time difference between the first time information and the third time information by a velocity value of an audio signal, calculates a left side distance by multiplying a time difference between the second time information and the third time information by a velocity value of an audio signal, and determines the distance and the direction based on the calculated right and left side distances and a distance between the first speaker and the second speaker.
8. The electronic device of claim 1, wherein the processor outputs the first audio signal and the second audio signal simultaneously according to a predetermined event, and determines the distance and the direction based on the first time information and the second time information which are obtained from the received information and which indicate a time at which the first audio signal is received and a time at which the second audio signal is received in the peripheral device, respectively, and fourth information which indicates a time at which the event occurs.
9. The electronic device of claim 2, wherein the movement information is information on a relative position of the peripheral device with reference to the electronic device.
10. The electronic device of claim 9, further comprising:
- a display;
- wherein the processor displays a UI screen which indicates the relative position through the display.
11. The electronic device of claim 10, wherein the processor determines whether the peripheral device is positioned at the target position, and displays through the display a UI screen which displays movement information of the peripheral device which is for arranging the peripheral device at the target position if the peripheral device is not positioned at the target position.
12. The electronic device of claim 2, wherein the peripheral device includes a first external speaker and a second external speaker, and in response to determining that the second external speaker is positioned closer to a target position corresponding to the first external speaker than the first external speaker based on the information related to the time at which the first audio signal is received and the time at which the second audio signal is received from the first external speaker and the second external speaker, respectively, the processor provides movement information of the second external speaker which is for arranging the second external speaker at the target position corresponding to the first external speaker, and in response to the second external speaker being arranged at the target position corresponding to the first external speaker, the processor transmits a control signal for operating the second external speaker as the first external speaker to the second external speaker.
13. The electronic device of claim 2, wherein in response to the peripheral device being positioned at the target position, the processor provides information informing that the peripheral device is arranged at the target position.
14. A method for controlling an electronic device including a first speaker and a second speaker, the method comprising:
- outputting a first audio signal and a second audio signal through the first speaker and the second speaker;
- receiving information related to a time at which the first audio signal is received and a time at which the second audio signal is received, from a peripheral device which receives the first audio signal and the second audio signal; and
- determining a distance to the peripheral device and a direction of the peripheral device with reference to the electronic device based on the received information.
15. A peripheral device which communicates with an electronic device including
- a plurality of speakers, the peripheral device comprising:
- an audio receiver;
- a communicator configured to communicate with the electronic device; and
- a processor configured to:
- in response to a first audio signal and a second audio signal which are output from each of a plurality of speakers provided in the electronic device being received sequentially through the audio receiver,
- obtain first time information and second time information which indicate a time at which the first audio signal is received and a time at which the second audio signal is received, respectively, from the information which records the received audio signals, and
- determine a distance to the peripheral device and a direction of the peripheral device with reference to the electronic device based on the first time information and the second time information.
Type: Application
Filed: Jun 9, 2016
Publication Date: Mar 29, 2018
Patent Grant number: 10349171
Applicant: SAMSUNG ELECTRONICS CO., LTD. (Suwon-si)
Inventors: Seung-il YOON (Yongin-si), Kyoung-Shin JIN (Yongin-si), Hyun-kyu YUN (Seoul)
Application Number: 15/560,342