WO2022030860A1 - Electronic device for controlling target electronic device in iot environment, and method related thereto - Google Patents

Electronic device for controlling target electronic device in iot environment, and method related thereto Download PDF

Info

Publication number
WO2022030860A1
WO2022030860A1 PCT/KR2021/009762 KR2021009762W WO2022030860A1 WO 2022030860 A1 WO2022030860 A1 WO 2022030860A1 KR 2021009762 W KR2021009762 W KR 2021009762W WO 2022030860 A1 WO2022030860 A1 WO 2022030860A1
Authority
WO
WIPO (PCT)
Prior art keywords
electronic device
target electronic
target
found
iot server
Prior art date
Application number
PCT/KR2021/009762
Other languages
French (fr)
Korean (ko)
Inventor
이강수
송기섭
Original Assignee
삼성전자 주식회사
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 삼성전자 주식회사 filed Critical 삼성전자 주식회사
Publication of WO2022030860A1 publication Critical patent/WO2022030860A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
    • H04L67/125Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks involving control of end-device applications over a network
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/16Sound input; Sound output
    • GPHYSICS
    • G08SIGNALLING
    • G08CTRANSMISSION SYSTEMS FOR MEASURED VALUES, CONTROL OR SIMILAR SIGNALS
    • G08C23/00Non-electrical signal transmission systems, e.g. optical systems
    • G08C23/04Non-electrical signal transmission systems, e.g. optical systems using light waves, e.g. infrared
    • GPHYSICS
    • G16INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR SPECIFIC APPLICATION FIELDS
    • G16YINFORMATION AND COMMUNICATION TECHNOLOGY SPECIALLY ADAPTED FOR THE INTERNET OF THINGS [IoT]
    • G16Y40/00IoT characterised by the purpose of the information processing
    • G16Y40/30Control
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/75Indicating network or usage conditions on the user display
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/005Discovery of network devices, e.g. terminals
    • GPHYSICS
    • G08SIGNALLING
    • G08CTRANSMISSION SYSTEMS FOR MEASURED VALUES, CONTROL OR SIMILAR SIGNALS
    • G08C2201/00Transmission systems of control signals via wireless link
    • G08C2201/90Additional features
    • G08C2201/92Universal remote control

Definitions

  • Various embodiments disclosed in this document relate to a technology for registering and controlling a target electronic device in an Internet of things (IoT) environment.
  • IoT Internet of things
  • IoT In the IoT environment, intelligent services that create new values in human life by collecting and analyzing data generated from connected objects can be provided.
  • IoT is a smart home, smart building, smart city, smart car or connected car, smart grid, health care, smart home appliance, or advanced medical service field through convergence and compounding between existing IT (information technology) technology and various industries. can be applied
  • a target electronic device (or may be referred to as a 'target device') included in the IoT environment may be controlled in various ways.
  • an infrared (IR) device such as an artificial intelligence (AI) speaker may control the target electronic device by transmitting an IR signal to the target electronic device.
  • the function of controlling the target electronic device through the IR device may be referred to as an 'IR control function'.
  • an IoT server or a cloud server managing the target electronic device may control the target electronic device by directly transmitting a command signal to the target electronic device.
  • the function of controlling the target electronic device through the IoT server may be referred to as a 'cloud control function'.
  • the IoT server may allocate a virtual ID (identifier) to a target electronic device registered in the IoT server.
  • the target electronic device may be registered in the IoT server as an IR controlee device that can be controlled by the IR control function or registered in the IoT server as a cloud controlee device that can be controlled by the cloud control function. Therefore, even if the same target electronic device, the IoT server may generate different IDs depending on the type of control function. When different IDs are generated in the same target electronic device, the IoT server may not recognize the corresponding target electronic device as the same device.
  • the IR signal may not receive a feedback signal from the target electronic device due to the nature of the protocol, and in the absence of the IR signal, a situation may occur in which the target electronic device cannot be controlled.
  • An electronic device includes at least one communication circuit, a display, a processor operatively connected to the at least one communication circuit and the display, and a memory operatively connected to the processor.
  • the processor receives a first user input requesting registration of an IR (infrared) controlled device
  • the IR controlled device means a device controlled by the IR device
  • a device that searches for a target electronic device using the at least one communication circuit identifies that the found target electronic device is a cloud control target device
  • the cloud control target device is controlled by an IoT server and may store instructions for outputting a first user interface (UI) indicating that the found target electronic device is the cloud control target device through the display.
  • UI user interface
  • the server included in the IoT environment includes a communication interface configured to communicate with an electronic device, a processor operatively connected to the communication interface, and a memory operatively connected to the processor,
  • the memory stores a database for a target electronic device registered as a cloud control target device in the server, and the processor performs a first request to register a target electronic device found by the electronic device as an IR control target device.
  • a registration request message is received from the electronic device, and the first registration request message includes information on at least one of a device type, a manufacturer, a model name, and a unique identifier (UID) of the searched target electronic device, and the first registration Based on the information included in the request message and the database stored in the memory, it is identified that the found target electronic device is a cloud control target device, and a first response message indicating that the found target electronic device is the cloud control target device is generated. It may be set to be transmitted to the electronic device.
  • UID unique identifier
  • the method of the electronic device includes the operation of receiving a first user input requesting registration of an IR control target device, the IR control target device means a device controlled by the IR device, An operation of searching for a target electronic device, an operation of identifying that the found target electronic device is a cloud control target device, the cloud control target device means a device controlled by an IoT server, and the searched target electronic device is the cloud control target device It may include outputting a first user interface indicating that it is a device.
  • the electronic device may guide the user to register the target electronic device, which the user wants to register as the IR control target device, as the cloud control target device.
  • the electronic device may recognize a device registered as an IR control target device and a device registered as a cloud control target device as the same device.
  • the electronic device may compensate for the shortcomings of the IR control function through the cloud control function.
  • FIG. 1 is a block diagram of an electronic device in a network environment, according to various embodiments of the present disclosure
  • FIG 2 illustrates an IoT system according to various embodiments.
  • FIG. 3 illustrates an IoT system for controlling a target electronic device according to various embodiments.
  • FIG. 4 is a flowchart illustrating an operation of an electronic device for guiding registration of a target electronic device according to various embodiments of the present disclosure
  • FIG. 5 illustrates a user interface for guiding registration of a target electronic device according to various embodiments of the present disclosure
  • FIG. 6 is a flowchart illustrating an operation of an electronic device for registering a target electronic device according to various embodiments of the present disclosure
  • FIG. 7 is a signal flow diagram for identifying whether a target electronic device supports a cloud function, according to various embodiments of the present disclosure
  • FIG. 8 is a flowchart illustrating an operation of an electronic device for identifying whether a target electronic device is a control target device according to various embodiments of the present disclosure
  • FIG. 9 is a signal flow diagram for identifying whether a target electronic device is a control target device according to various embodiments of the present disclosure.
  • FIG. 10 is a signal flow diagram for registering a target electronic device as an IR control target device according to various embodiments of the present disclosure
  • FIG. 11 illustrates another example of a user interface for guiding registration of a target electronic device according to various embodiments of the present disclosure
  • FIG. 12 illustrates a user interface for controlling a target electronic device according to various embodiments of the present disclosure
  • FIG. 13 is a block diagram and a flowchart for controlling a target electronic device according to various embodiments of the present disclosure
  • FIG. 14 illustrates a signal flow diagram for processing a channel change command in accordance with various embodiments.
  • 15 is a flowchart illustrating an operation of an IoT server for processing a channel change command according to various embodiments of the present disclosure
  • FIG. 1 is a block diagram of an electronic device 101 in a network environment 100 according to various embodiments.
  • an electronic device 101 communicates with an electronic device 102 through a first network 198 (eg, a short-range wireless communication network) or a second network 199 . It may communicate with the electronic device 104 or the server 108 through (eg, a long-distance wireless communication network). According to an embodiment, the electronic device 101 may communicate with the electronic device 104 through the server 108 .
  • a first network 198 eg, a short-range wireless communication network
  • a second network 199 e.g., a second network 199
  • the electronic device 101 may communicate with the electronic device 104 through the server 108 .
  • the electronic device 101 includes a processor 120 , a memory 130 , an input module 150 , a sound output module 155 , a display module 160 , an audio module 170 , and a sensor module ( 176), interface 177, connection terminal 178, haptic module 179, camera module 180, power management module 188, battery 189, communication module 190, subscriber identification module 196 , or an antenna module 197 may be included.
  • at least one of these components eg, the connection terminal 178
  • may be omitted or one or more other components may be added to the electronic device 101 .
  • some of these components are integrated into one component (eg, display module 160 ). can be
  • the processor 120 for example, executes software (eg, a program 140) to execute at least one other component (eg, a hardware or software component) of the electronic device 101 connected to the processor 120 . It can control and perform various data processing or operations. According to one embodiment, as at least part of data processing or operation, the processor 120 converts commands or data received from other components (eg, the sensor module 176 or the communication module 190 ) to the volatile memory 132 . may be stored in the volatile memory 132 , and may process commands or data stored in the volatile memory 132 , and store the result data in the non-volatile memory 134 .
  • software eg, a program 140
  • the processor 120 converts commands or data received from other components (eg, the sensor module 176 or the communication module 190 ) to the volatile memory 132 .
  • the volatile memory 132 may be stored in the volatile memory 132 , and may process commands or data stored in the volatile memory 132 , and store the result data in the non-volatile memory 134 .
  • the processor 120 is the main processor 121 (eg, a central processing unit or an application processor) or a secondary processor 123 (eg, a graphic processing unit, a neural network processing unit) a neural processing unit (NPU), an image signal processor, a sensor hub processor, or a communication processor).
  • the main processor 121 e.g, a central processing unit or an application processor
  • a secondary processor 123 eg, a graphic processing unit, a neural network processing unit
  • NPU neural processing unit
  • an image signal processor e.g., a sensor hub processor, or a communication processor.
  • the main processor 121 e.g, a central processing unit or an application processor
  • a secondary processor 123 eg, a graphic processing unit, a neural network processing unit
  • NPU neural processing unit
  • an image signal processor e.g., a sensor hub processor, or a communication processor.
  • the main processor 121 e.g, a central processing unit or an application processor
  • a secondary processor 123
  • the auxiliary processor 123 is, for example, on behalf of the main processor 121 while the main processor 121 is in an inactive (eg, sleep) state, or the main processor 121 is active (eg, executing an application). ), together with the main processor 121, at least one of the components of the electronic device 101 (eg, the display module 160, the sensor module 176, or the communication module 190) It is possible to control at least some of the related functions or states.
  • the co-processor 123 eg, an image signal processor or a communication processor
  • may be implemented as part of another functionally related component eg, the camera module 180 or the communication module 190. have.
  • the auxiliary processor 123 may include a hardware structure specialized for processing an artificial intelligence model.
  • Artificial intelligence models can be created through machine learning. Such learning may be performed, for example, in the electronic device 101 itself on which artificial intelligence is performed, or may be performed through a separate server (eg, the server 108).
  • the learning algorithm may include, for example, supervised learning, unsupervised learning, semi-supervised learning, or reinforcement learning, but in the above example not limited
  • the artificial intelligence model may include a plurality of artificial neural network layers.
  • Artificial neural networks include deep neural networks (DNNs), convolutional neural networks (CNNs), recurrent neural networks (RNNs), restricted boltzmann machines (RBMs), deep belief networks (DBNs), bidirectional recurrent deep neural networks (BRDNNs), It may be one of deep Q-networks or a combination of two or more of the above, but is not limited to the above example.
  • the artificial intelligence model may include, in addition to, or alternatively, a software structure in addition to the hardware structure.
  • the memory 130 may store various data used by at least one component of the electronic device 101 (eg, the processor 120 or the sensor module 176 ).
  • the data may include, for example, input data or output data for software (eg, the program 140 ) and instructions related thereto.
  • the memory 130 may include a volatile memory 132 or a non-volatile memory 134 .
  • the program 140 may be stored as software in the memory 130 , and may include, for example, an operating system 142 , middleware 144 , or an application 146 .
  • the input module 150 may receive a command or data to be used in a component (eg, the processor 120 ) of the electronic device 101 from the outside (eg, a user) of the electronic device 101 .
  • the input module 150 may include, for example, a microphone, a mouse, a keyboard, a key (eg, a button), or a digital pen (eg, a stylus pen).
  • the sound output module 155 may output a sound signal to the outside of the electronic device 101 .
  • the sound output module 155 may include, for example, a speaker or a receiver.
  • the speaker can be used for general purposes such as multimedia playback or recording playback.
  • the receiver may be used to receive an incoming call. According to one embodiment, the receiver may be implemented separately from or as part of the speaker.
  • the display module 160 may visually provide information to the outside (eg, a user) of the electronic device 101 .
  • the display module 160 may include, for example, a control circuit for controlling a display, a hologram device, or a projector and a corresponding device.
  • the display module 160 may include a touch sensor configured to sense a touch or a pressure sensor configured to measure the intensity of a force generated by the touch.
  • the audio module 170 may convert a sound into an electric signal or, conversely, convert an electric signal into a sound. According to an embodiment, the audio module 170 acquires a sound through the input module 150 , or an external electronic device (eg, a sound output module 155 ) connected directly or wirelessly with the electronic device 101 . A sound may be output through the electronic device 102 (eg, a speaker or headphones).
  • an external electronic device eg, a sound output module 155
  • a sound may be output through the electronic device 102 (eg, a speaker or headphones).
  • the sensor module 176 detects an operating state (eg, power or temperature) of the electronic device 101 or an external environmental state (eg, user state), and generates an electrical signal or data value corresponding to the sensed state. can do.
  • the sensor module 176 may include, for example, a gesture sensor, a gyro sensor, a barometric pressure sensor, a magnetic sensor, an acceleration sensor, a grip sensor, a proximity sensor, a color sensor, an IR (infrared) sensor, a biometric sensor, It may include a temperature sensor, a humidity sensor, or an illuminance sensor.
  • the interface 177 may support one or more designated protocols that may be used by the electronic device 101 to directly or wirelessly connect with an external electronic device (eg, the electronic device 102 ).
  • the interface 177 may include, for example, a high definition multimedia interface (HDMI), a universal serial bus (USB) interface, an SD card interface, or an audio interface.
  • HDMI high definition multimedia interface
  • USB universal serial bus
  • SD card interface Secure Digital Card
  • the connection terminal 178 may include a connector through which the electronic device 101 can be physically connected to an external electronic device (eg, the electronic device 102 ).
  • the connection terminal 178 may include, for example, an HDMI connector, a USB connector, an SD card connector, or an audio connector (eg, a headphone connector).
  • the haptic module 179 may convert an electrical signal into a mechanical stimulus (eg, vibration or movement) or an electrical stimulus that the user can perceive through tactile or kinesthetic sense.
  • the haptic module 179 may include, for example, a motor, a piezoelectric element, or an electrical stimulation device.
  • the camera module 180 may capture still images and moving images. According to an embodiment, the camera module 180 may include one or more lenses, image sensors, image signal processors, or flashes.
  • the power management module 188 may manage power supplied to the electronic device 101 .
  • the power management module 188 may be implemented as, for example, at least a part of a power management integrated circuit (PMIC).
  • PMIC power management integrated circuit
  • the battery 189 may supply power to at least one component of the electronic device 101 .
  • battery 189 may include, for example, a non-rechargeable primary cell, a rechargeable secondary cell, or a fuel cell.
  • the communication module 190 is a direct (eg, wired) communication channel or a wireless communication channel between the electronic device 101 and an external electronic device (eg, the electronic device 102, the electronic device 104, or the server 108). It can support establishment and communication performance through the established communication channel.
  • the communication module 190 may include one or more communication processors that operate independently of the processor 120 (eg, an application processor) and support direct (eg, wired) communication or wireless communication.
  • the communication module 190 is a wireless communication module 192 (eg, a cellular communication module, a short-range wireless communication module, or a global navigation satellite system (GNSS) communication module) or a wired communication module 194 (eg, : It may include a LAN (local area network) communication module, or a power line communication module).
  • GNSS global navigation satellite system
  • a corresponding communication module among these communication modules is a first network 198 (eg, a short-range communication network such as Bluetooth, wireless fidelity (WiFi) direct, or infrared data association (IrDA)) or a second network 199 (eg, legacy It may communicate with the external electronic device 104 through a cellular network, a 5G network, a next-generation communication network, the Internet, or a computer network (eg, a telecommunication network such as a LAN or a WAN).
  • a first network 198 eg, a short-range communication network such as Bluetooth, wireless fidelity (WiFi) direct, or infrared data association (IrDA)
  • a second network 199 eg, legacy It may communicate with the external electronic device 104 through a cellular network, a 5G network, a next-generation communication network, the Internet, or a computer network (eg, a telecommunication network such as a LAN or a WAN).
  • a telecommunication network
  • the wireless communication module 192 uses the subscriber information (eg, International Mobile Subscriber Identifier (IMSI)) stored in the subscriber identification module 196 within a communication network such as the first network 198 or the second network 199 .
  • the electronic device 101 may be identified or authenticated.
  • the wireless communication module 192 may support a 5G network after a 4G network and a next-generation communication technology, for example, a new radio access technology (NR).
  • NR access technology includes high-speed transmission of high-capacity data (eMBB (enhanced mobile broadband)), minimization of terminal power and access to multiple terminals (mMTC (massive machine type communications)), or high reliability and low latency (URLLC (ultra-reliable and low-latency) -latency communications)).
  • eMBB enhanced mobile broadband
  • mMTC massive machine type communications
  • URLLC ultra-reliable and low-latency
  • the wireless communication module 192 may support a high frequency band (eg, mmWave band) to achieve a high data rate, for example.
  • a high frequency band eg, mmWave band
  • the wireless communication module 192 includes various technologies for securing performance in a high-frequency band, for example, beamforming, massive multiple-input and multiple-output (MIMO), all-dimensional multiplexing. It may support technologies such as full dimensional MIMO (FD-MIMO), an array antenna, analog beam-forming, or a large scale antenna.
  • the wireless communication module 192 may support various requirements specified in the electronic device 101 , an external electronic device (eg, the electronic device 104 ), or a network system (eg, the second network 199 ).
  • the wireless communication module 192 may include a peak data rate (eg, 20 Gbps or more) for realizing eMBB, loss coverage (eg, 164 dB or less) for realizing mMTC, or U-plane latency for realizing URLLC ( Example: downlink (DL) and uplink (UL) each 0.5 ms or less, or round trip 1 ms or less).
  • a peak data rate eg, 20 Gbps or more
  • loss coverage eg, 164 dB or less
  • U-plane latency for realizing URLLC
  • the antenna module 197 may transmit or receive a signal or power to the outside (eg, an external electronic device).
  • the antenna module 197 may include an antenna including a conductor formed on a substrate (eg, a PCB) or a radiator formed of a conductive pattern.
  • the antenna module 197 may include a plurality of antennas (eg, an array antenna). In this case, at least one antenna suitable for a communication method used in a communication network such as the first network 198 or the second network 199 is connected from the plurality of antennas by, for example, the communication module 190 . can be selected. A signal or power may be transmitted or received between the communication module 190 and an external electronic device through the selected at least one antenna.
  • other components eg, a radio frequency integrated circuit (RFIC)
  • RFIC radio frequency integrated circuit
  • the antenna module 197 may form a mmWave antenna module.
  • the mmWave antenna module comprises a printed circuit board, an RFIC disposed on or adjacent to a first side (eg, bottom side) of the printed circuit board and capable of supporting a designated high frequency band (eg, mmWave band); and a plurality of antennas (eg, an array antenna) disposed on or adjacent to a second side (eg, top or side) of the printed circuit board and capable of transmitting or receiving signals of the designated high frequency band. can do.
  • peripheral devices eg, a bus, general purpose input and output (GPIO), serial peripheral interface (SPI), or mobile industry processor interface (MIPI)
  • GPIO general purpose input and output
  • SPI serial peripheral interface
  • MIPI mobile industry processor interface
  • the command or data may be transmitted or received between the electronic device 101 and the external electronic device 104 through the server 108 connected to the second network 199 .
  • Each of the external electronic devices 102 or 104 may be the same as or different from the electronic device 101 .
  • all or a part of operations executed in the electronic device 101 may be executed in one or more external electronic devices 102 , 104 , or 108 .
  • the electronic device 101 may perform the function or service itself instead of executing the function or service itself.
  • one or more external electronic devices may be requested to perform at least a part of the function or the service.
  • One or more external electronic devices that have received the request may execute at least a part of the requested function or service, or an additional function or service related to the request, and transmit a result of the execution to the electronic device 101 .
  • the electronic device 101 may process the result as it is or additionally and provide it as at least a part of a response to the request.
  • cloud computing distributed computing, mobile edge computing (MEC), or client-server computing technology may be used.
  • the electronic device 101 may provide an ultra-low latency service using, for example, distributed computing or mobile edge computing.
  • the external electronic device 104 may include an Internet of things (IoT) device.
  • Server 108 may be an intelligent server using machine learning and/or neural networks.
  • the external electronic device 104 or the server 108 may be included in the second network 199 .
  • the electronic device 101 may be applied to an intelligent service (eg, smart home, smart city, smart car, or health care) based on 5G communication technology and IoT-related technology.
  • FIG. 2 shows an IoT system 200 . At least some of the components of FIG. 2 may be omitted, and components not shown may be further included.
  • the IoT system 200 includes a plurality of data networks 216 or 246 (eg, the first network 198 or the second network 199 of FIG. 1 ) connectable. including electronic devices.
  • the IoT system 200 includes a first IoT server 210 (eg, the server 108 of FIG. 1 ), a first node 220 , a voice assistance server 230 , It may include at least one of the second IoT server 240 (eg, the server 108 of FIG. 1 ), the second node 250 , or the devices 221,222,223,224,225,236,237,251,252,253.
  • the first IoT server 210 includes a communication interface 211 (eg, the interface 177 or communication module 190 of FIG. 1 ), a processor 212 (eg, the processor of FIG. 1 ) 120), or the storage unit 213 (eg, the memory 130 of FIG. 1).
  • the second IoT server 240 is a communication interface 241 (eg, the interface 177 or communication module 190 of FIG. 1 ), a processor 242 (eg, the processor 120 of FIG. 1 ), or storage It may include at least one of the units 243 (eg, the memory 130 of FIG. 1 ).
  • the voice assistant server 230 includes a communication interface 231 (eg, interface 177 or communication module 190 of FIG.
  • IoT server in this document, for example, based on a data network (eg, data network 216 or data network 246), a relay device (eg, the first node 220 or the second node ( 250)), or directly without a relay device, remotely control and/or monitor one or more devices (eg, devices 221,222,223,224,225,251,252,253).
  • a “device” herein means a sensor, home appliance, office electronic device, or A device for performing a process, the type is not limited.
  • a device that receives the control command and performs an operation corresponding to the control command may be referred to as a “target device” or a “target electronic device”.
  • the IoT server may be referred to as a central server in that it selects a target device from among a plurality of devices and provides a control command.
  • the first IoT server 210 may communicate with the devices 221 , 222 , and 223 through the data network 216 .
  • the data network 216 may refer to a network for long-distance communication, such as, for example, the Internet or a computer network (eg, LAN or WAN), or may include a cellular network.
  • the first IoT server 210 may be connected to the data network 216 through the communication interface 211 .
  • the communication interface 211 may include a communication device (or a communication module) for supporting communication of the data network 216 , and may be integrated into one component (eg, a single chip), or may include a plurality of separate components. It can be implemented with components (eg, a plurality of chips).
  • the first IoT server 210 may communicate with the devices 221 , 222 , and 223 through the first node 220 .
  • the first node 220 may receive data from the first IoT server 210 through the data network 216 and transmit the received data to at least some of the devices 221 , 222 , and 223 .
  • the first node 220 may receive data from at least some of the devices 221 , 222 , and 223 , and transmit the received data to the first IoT server 210 through the data network 216 .
  • the first node 220 may serve as a bridge between the data network 216 and the devices 221 , 222 , 223 .
  • the first node 220 is illustrated as one, but this is merely exemplary, and the number is not limited.
  • a “node” in this document may be an edge computing system, or may be a hub device.
  • the first node 220 may support wired and/or wireless communication of the data network 216 , and may also support wired and/or wireless communication with the devices 221 , 222 , and 223 .
  • the first node 220 is a short-range communication network such as at least one of Bluetooth, Wi-Fi, Wi-Fi direct, Z-wave, Zig-bee, Insteon, X10, or IrDA (infrared data association). Although it can be connected to the devices 221 , 222 , and 223 through the communication type, there is no limitation.
  • the first node 220 may be located (or located) within an environment, such as, for example, a home, an office, a factory, a building, an off-site branch, or other type of premises. Accordingly, the devices 221 , 222 , and 223 may be monitored and/or controlled by the service provided by the first IoT server 210 , and the devices 221 , 222 , and 223 may directly connect to the first IoT server 210 . It may not be required to have the capability of full network communication (eg Internet communication) for Devices 221 , 222 , 223 are shown as implemented as electronic devices within a home environment, such as, for example, light switches, proximity sensors, or temperature sensors, although this is illustrative and not restrictive.
  • full network communication eg Internet communication
  • the first IoT server 210 may support direct communication with the devices 224 and 225 .
  • direct communication may refer to communication not through a relay device such as the first node 220, for example, communication through a cellular communication network and/or a data network.
  • the first IoT server 210 may transmit a control command to at least some of the devices 221 , 222 , 223 , 224 and 225 .
  • the "control command” may mean data that causes a controllable device to perform a specified operation, and the specified operation is an operation performed by the device, including output of information, sensing of information, reporting of information, Alternatively, it may include management (eg, deletion, or creation) of information, and there is no limitation on the type.
  • the processor 212 generates a control command from an external (eg, at least some of the voice assistant server 230 , the second IoT server 240 , the external system 260 , or the devices 221 , 222 223 , 224 , 225 ). It is possible to obtain information (or a request) to perform the operation, and generate a control command based on the obtained information. Alternatively, the processor 212 may generate a control command based on a result of monitoring at least some of the devices 221 , 222 , 223 , 224 and 225 satisfying a specified condition. The processor 212 may control the communication interface 211 to transmit a control command to the target device.
  • an external eg, at least some of the voice assistant server 230 , the second IoT server 240 , the external system 260 , or the devices 221 , 222 223 , 224 , 225 . It is possible to obtain information (or a request) to perform the operation, and generate a control command based on the
  • the processor 212 , the processor 232 , or the processor 242 is a central processing unit (CPU), a digital signal processor (DSP), an application processor (AP), a communication processor (CP), or the like. It may be implemented as a combination of one or more of a general-purpose processor, a graphic processing unit (GPU), a graphics-only processor such as a vision processing unit (VPU), or an artificial intelligence-only processor such as a neural processing unit (NPU).
  • a general-purpose processor a graphic processing unit (GPU), a graphics-only processor such as a vision processing unit (VPU), or an artificial intelligence-only processor such as a neural processing unit (NPU).
  • GPU graphic processing unit
  • VPU vision processing unit
  • NPU neural processing unit
  • the processor 212 executes instructions stored in the memory 213 and is not limited as long as it is an arithmetic means capable of outputting the executed result.
  • the processor 212 may configure a web-based interface based on the API 214 or expose a resource managed by the first IoT server 210 to the outside. .
  • the web-based interface may support communication between the first IoT server 210 and an external web service, for example.
  • the processor 212 may, for example, allow an external system 260 to control and/or access the devices 221 , 222 , 223 .
  • External system 260 may be, for example, an independent system that is not associated with, or is not part of, system 200 .
  • the external system 260 may be, for example, an external server or a web site.
  • the processor 212 may expose an API endpoint (eg, a universal resource locator (URL)) based on the API 214 to the outside.
  • the first IoT server 210 may transmit a control command to a target device among the devices 221 , 222 , and 223 .
  • the description of the communication interface 241, the processor 242, and/or the storage unit 243 (eg, the API 244, and/or the database 245) of the second IoT server 240 Substantially the same as the description of the communication interface 211 , the processor 212 , and/or the storage 213 (eg, the API 214 , and/or the database 215 ) of the first IoT server 210 . can do.
  • the description of the second node 250 may be substantially the same as the description of the first node 220 .
  • the second IoT server 240 may transmit a control command to a target device among the devices 251,252 and 253 .
  • the first IoT server 210 and the second IoT server 240 may be operated by the same service provider in one embodiment, but may be operated by different service providers in another embodiment.
  • the voice assistant server 230 may transmit/receive data to and from the first IoT server 210 through the data network 216 .
  • the communication interface 231 communicates with the smart phone 236 (eg, the electronic device 101 of FIG. 1 ) or the AI speaker 237 through a data network (not shown) and/or a cellular network (not shown). can be done
  • the smart phone 236 or the AI speaker 237 may include a microphone, obtain a user voice, convert it into a voice signal, and transmit the voice signal to the voice assistant server 230 .
  • the processor 232 may receive a voice signal from the smart phone 236 or the AI speaker 237 through the communication interface 231 .
  • the processor 232 may process the received voice signal based on the stored model 234 .
  • the processor 232 may generate (or confirm) a control command using the processing result based on information stored in the database 235 .
  • the storage units 213 , 233 , and 243 may include a flash memory type, a hard disk type, a multimedia card micro type, and a card type memory (eg, SD or XD memory, etc.), RAM (random access memory), SRAM (static random access memory), ROM (read-only memory), EEPROM (electrically erasable programmable read-only memory), PROM (programmable read-only) memory), a magnetic memory, a magnetic disk, and an optical disk may include at least one type of non-transitory storage medium, and the type is not limited.
  • a 'target electronic device' may include various electronic devices (eg, home appliances) that can be controlled in an IoT environment.
  • the IoT server 310 , the voice assistant server 320 , the electronic device 330 , and the AI speaker 340 are the first IoT server 210 (or the second IoT server) of FIG. 2 , respectively. 240)), the voice assistant server 230, the smart phone 236, and the AI speaker 237 may include the same or similar configuration, and may perform the same or similar functions as these.
  • the AI speaker 340 is an example of an IR device, and the IR device capable of transmitting an IR signal is not limited to the AI speaker 340 .
  • the memory of the IoT server 310 stores an account database (DB) 312 , a device DB 314 , and a program DB 316 .
  • the account DB 312 may include account information corresponding to at least one or more users using the IoT environment or account information corresponding to a user group.
  • the user account of the electronic device 330 and the user account of the AI speaker 340 included in the account DB 312 may be the same.
  • the device DB 314 may include information on at least one target electronic device (eg, the target electronic device 350 ) corresponding to the user account.
  • the device DB 314 may include a device type (eg, a TV, a refrigerator, a washing machine, a light, an air conditioner, or a fan) of the at least one target electronic device, and an area (eg, a living room) in which the at least one target electronic device is located. , room, bathroom, kitchen, or hallway), a manufacturer or brand of at least one target electronic device, a model name of at least one target electronic device, at least one target electronic device unique identifier (UID) and/or at least one may include at least one of information on a control function (eg, an IR control function or a cloud control function) supported by the target electronic device.
  • the program DB 316 may include information on content (or a broadcast program) output from the target electronic device 350 such as a TV.
  • the program DB 316 may include channel information, channel use history information, or a channel schedule.
  • the IoT server 310 may acquire a user command for controlling the target electronic device 350 based on various methods.
  • the IoT server 310 may obtain a user command through a user's voice input.
  • the AI speaker 340 may obtain a voice input from the user.
  • the AI speaker 340 may transmit the acquired voice input to the voice assistant server 320 .
  • 3 illustrates an example of acquiring a user's voice input through the AI speaker 340, although not shown, according to another embodiment, the electronic device 330 acquires a voice input and transmits the acquired voice input to a voice assistant server It can be transmitted to (320).
  • the voice assistant server 320 may analyze the user command corresponding to the voice input and transmit the analyzed user command to the IoT server 310 in operation 303 .
  • the IoT server 310 may obtain a user command through the user interface 304 provided by the electronic device 330 .
  • the electronic device 330 receives a user input for controlling the target electronic device 350 through the user interface 304 , and in operation 305 , transmits information corresponding to the received user input to the IoT server 310 . can be sent to
  • the IoT server 310 may control the target electronic device 350 based on various methods.
  • the control function for controlling the target electronic device 350 may include a cloud control function and an IR control function.
  • the IR control function allows an IR device such as the AI speaker 340 (eg, a device supporting an IR function or an IR protocol) to transmit an IR signal (or a signal based on the IR protocol) to the target electronic device 350 to target the target electronic device 350 . It may be referred to as a function of controlling the electronic device 350 .
  • the IoT server 310 may transmit a command signal corresponding to the user command to the AI speaker 340 .
  • the AI speaker 340 may transmit an IR signal corresponding to the received command signal to the target electronic device 350 .
  • the cloud control function may be referred to as a function in which the IoT server 309 directly transmits a control command signal to the target electronic device 350 to control the target electronic device 350 .
  • the IoT server 310 may directly transmit a command signal corresponding to a user command to the target electronic device 310 .
  • the cloud control function may be based, for example, on an open connectivity foundation (OCF) standard or based on a message queuing telemetry transfer (MQTT) protocol.
  • the electronic device 330 may obtain information on the device type (eg, TV), manufacturer (or brand), and/or model name of the IR control target device that the user wants to register through a user input.
  • the electronic device 330 may control the AI speaker 340 to transmit an IR signal including a specified command (eg, change channel) using a protocol based on the selected device type, manufacturer, and/or model name.
  • the electronic device 330 may request the AI speaker 340 to transmit an IR signal including a specified command through the IoT server 310 .
  • the electronic device 330 may use the AI speaker 340 through a short-range communication network (eg, the first network 198 of FIG.
  • the AI speaker 340 may receive a protocol based on the device type, manufacturer (or brand) and/or model name of the IR control target device from the IoT server 310 .
  • the target electronic device 350 may perform a specified command included in the IR signal received from the AI speaker 340 .
  • the user of the electronic device 330 may visually confirm that the target electronic device 350 normally performs the specified command.
  • the electronic device 330 may obtain a user input corresponding to a user's confirmation and request the IoT server 310 to register the target electronic device 350 .
  • the IoT server 310 allocates an identifier (ID) to the target electronic device 350 , and controls the target electronic device 350 based on the ID of the AI speaker 340 and the ID of the target electronic device 350 . can do.
  • ID identifier
  • the electronic device 330 does not use an IR signal through the AI speaker 340 but through data exchange with the IoT server 310 , the target electronic device 350 ) can be registered as a cloud control target device.
  • the electronic device 330 searches for the target electronic device 350 through the cloud control application or service, and sets the target electronic device 350 to the IoT server based on the account of the electronic device 330 or the user's account. 310) as a cloud control target device.
  • the target electronic device 350 Since the method of registering the cloud control target device and the IR control target device are different from each other, when the user wants to register the target electronic device 350 as the IR control target device, the target electronic device 350 performs the cloud control function. Even if it can support or is already registered in the IoT server 310 as a cloud control target device, the IoT server 310 performs the ID of the target electronic device 350 according to the cloud control function and the target electronic device 350 according to the IR control function. ) can be created differently. If the ID of the target electronic device 350 is generated differently, the IoT server 310 may not recognize the target electronic device 350 as a single device. In addition, since the target electronic device 350 cannot transmit a feedback signal for the IR signal due to the characteristics of the IR protocol, the electronic device 330 or the user of the electronic device 330 checks whether the target electronic device 350 operates normally. It may not be easy.
  • the electronic device 330 sets the target electronic device 350 to the cloud control target device. , or if it has already been registered in the IoT server 310 as a cloud control target device, it may guide the target electronic device 350 to be controlled as a cloud control target device.
  • the IoT server 310 controls the target electronic device 350 based on information stored in the device DB 314 and the program DB 316 , and an error occurs or additional information is required. In this case, feedback may be provided to the electronic device 330 .
  • the IoT server 310 performs the AI speaker 340 and/or the electronic device Feedback may be provided at 330 .
  • 4 to 5 describe an operation for guiding registration of a target electronic device according to various embodiments of the present disclosure.
  • 4 is a flowchart illustrating an operation of an electronic device for guiding registration of a target electronic device.
  • 5 illustrates a user interface for guiding registration of a target electronic device.
  • the operations illustrated in FIG. 4 may be performed by the electronic device 330 of FIG. 3 or by at least one component included in the electronic device 330 of FIG. 3 .
  • the processor of the electronic device eg, the processor 120 of FIG. 1
  • the electronic device may receive a first user input requesting registration of an IR control target device (eg, user input 511 of FIG. 5 ).
  • the electronic device receives a user input for requesting addition of an IR-controlled device on the first screen 501 output through a display (eg, at least a part of the display module 160 of FIG. 1 ).
  • (511) can be received.
  • the user executes an application for IR control in the electronic device and performs a device addition function to register at least a target electronic device (eg, the target electronic device 350 of FIG. 3 ) as an IR control target device.
  • action can be performed for
  • the application for IR control may be an application related to an external electronic device that generates an IR control signal (eg, the AI speaker 340 of FIG. 3 ).
  • the first user input may include an input multiple times.
  • the electronic device receives a user input for selecting at least one of the device type, manufacturer (or brand) and/or model name of the device the user wants to register. can be obtained additionally.
  • the electronic device displays a first list 512 indicating a plurality of device types on the second screen 502 , and one device type (eg: A user input 513 for selecting TV) may be received.
  • the electronic device displays a second list 514 indicating a plurality of brands corresponding to the selected device type on the third screen 503 , and in the second list 514 , one brand (eg, brand 1 ( A user input 515 for selecting Brand 1)) may be received.
  • the electronic device displays a screen including at least one model name based on a brand (eg, Brand 1) corresponding to the user input 515 , and one model name may receive an input from a user who selects .
  • the electronic device searches for a target electronic device (eg, the target electronic device 350 of FIG. 3 ) in response to the first user input.
  • the electronic device may search for a target electronic device corresponding to the device type and brand selected by the user inputs 513 and 515 .
  • the electronic device may search for a target electronic device based on a short-range communication protocol other than IR communication.
  • the short-range communication protocol may include, for example, a Bluetooth communication protocol.
  • the electronic device may identify that the found target electronic device is a cloud control target device. For example, the electronic device transmits registration information (eg, device type, manufacturer, and/or model name) of the found target electronic device to the IoT server (eg, the IoT server 310 of FIG. 3 ), and the searched target electronic device Information indicating whether the device is a cloud control target device may be received from the IoT server.
  • registration information eg, device type, manufacturer, and/or model name
  • the electronic device may output a first UI indicating that the found target electronic device is a cloud control target device.
  • the electronic device may output the first UI 516 on the fourth screen 504 .
  • the first UI 516 may include information notifying that the target electronic device selected to request registration of the IR control target device is an electronic device capable of operating as the cloud control target device.
  • the first UI 516 may include information on whether to register the selected target electronic device as an IR control target device or as a cloud control target device to request registration of the IR control target device. have.
  • the first UI 516 may display that the target electronic device selected to request registration of the IR control target device is registered as the cloud control target device.
  • the electronic device searches for a device selected by the device type, manufacturer (or brand), and/or model name by the user
  • the electronic device may be determined by the device type, manufacturer (or brand). ) and a model name, after searching for at least one target electronic device through a plurality of communication protocols, one target electronic device may be selected from among the at least one searched target electronic device according to a user input.
  • the electronic device After receiving the user input 511 requesting addition of the IR control target device, the electronic device obtains information on at least one target electronic device from the at least one target electronic device through a short-range communication protocol, Device types, manufacturers, and/or model names of at least one target electronic device may be identified based on the obtained information.
  • the electronic device activates at least one communication module (eg, the communication module 180 of FIG. 1 ) in response to receiving the user input 511 and searches for at least one target electronic device
  • a signal eg, a beacon signal
  • a response signal may be received from at least one target electronic device.
  • the electronic device outputs a list (eg, the first list 512 or the second list 514 ) indicating the device type and/or manufacturer of at least one target electronic device through the display, and selects one device from the output list.
  • User inputs 513 and 515 for selecting a type and/or brand may be received.
  • the electronic device may identify whether the target electronic device selected by the user input is a cloud control target device.
  • the electronic device transmits registration information (eg, at least one of device type, manufacturer, model name, and/or UID) of the target electronic device selected based on user inputs 513 and 515 to the IoT server (eg, IoT of FIG. 3 )
  • the information may be transmitted to the server 310 ) and information indicating whether the selected target electronic device is a cloud control target device may be received from the IoT server.
  • FIG. 6 is a flowchart illustrating an operation of an electronic device for registering a target electronic device according to various embodiments of the present disclosure; The operations illustrated in FIG. 6 may be performed by the electronic device 330 of FIG. 3 or by at least one component included in the electronic device 330 of FIG. 3 . The operations illustrated in FIG. 6 may be performed after operation 420 of FIG. 4 .
  • the electronic device may identify the device type of the found target electronic device (eg, the target electronic device 350 of FIG. 3 ).
  • information indicating the device type of the target electronic device may be obtained while the electronic device searches for the target electronic device.
  • the electronic device may receive a data packet indicating the device type of the target electronic device from the target electronic device.
  • the electronic device may acquire the device type of the target electronic device based on a user input for selecting the device type of the target electronic device (eg, user inputs 513 and 515 of FIG. 5 ).
  • the electronic device may perform subsequent operations only with respect to the target electronic device indicating the same device type as the device type (eg, TV) selected by the user.
  • the electronic device may identify whether the device to be registered by the user and the target electronic device found by the electronic device are the same by determining that the found target electronic device is a control target device.
  • An example for determining that the found target electronic device is a control target device will be described later with reference to FIGS. 8 to 9 .
  • the electronic device may receive information indicating that the found target electronic device is a device supporting a cloud control function from an IoT server (eg, the IoT server 310 of FIG. 3 ). For example, the electronic device transmits registration information (eg, at least one of device type, manufacturer, model name, and/or UID) of the found target electronic device to the IoT server, and the target electronic device found from the IoT server performs a cloud control function. Information indicating that it is a supported device may be received from the IoT server. As another example, the electronic device may receive information indicating that the found target electronic device is a device previously registered in the IoT server from the IoT server.
  • registration information eg, at least one of device type, manufacturer, model name, and/or UID
  • the electronic device may output a first UI (eg, the first UI 516 of FIG. 5 ) indicating that the found target electronic device is a device supporting the cloud control function. For example, it may indicate that the found target electronic device may operate as a cloud control target device or is registered as a cloud control target device.
  • a first UI eg, the first UI 516 of FIG. 5
  • the electronic device may identify whether a user input requesting to register the found target electronic device as an IR control target device is received.
  • the electronic device sets the searched target electronic device as an IR A procedure for registering as a control target device may be performed.
  • the electronic device selects the found target electronic device It can be registered as a cloud-controlled device. If the found target electronic device is already registered as the cloud control target device, the electronic device may end the procedure of registering the found target electronic device as the cloud control target device.
  • FIG. 7 is a signal flow diagram for identifying whether a target electronic device supports a cloud function, according to various embodiments of the present disclosure; The operations of FIG. 7 may be, for example, an example of operation 630 of FIG. 6 .
  • the electronic device 701 (eg, the electronic device 330 of FIG. 3 ) includes registration information on the found target electronic device (eg, the target electronic device 350 of FIG. 3 ). may transmit a first registration request message to the IoT server 702 (eg, the IoT server 310 of Fig. 3).
  • the registration information may include, for example, the device type, manufacturer (or brand) of the searched target electronic device, Information on at least one of a model name and/or UID may be included.
  • the IoT server 702 may identify whether the found target electronic device supports the cloud control function based on registration information included in the first registration request message. For example, the IoT server 702 detects a database (eg, the device DB 314 of FIG. 3 ) stored in the IoT server 702 , and thus the device type, manufacturer, and/or model name indicated by the registration information is cloud It can be identified whether the control function is supported. For another example, the IoT server 702 detects a database (eg, the device DB 314 of FIG. 3 ) stored in the IoT server 702 , thereby indicating the device type, manufacturer, model name and/or registration information indicated by the IoT server 702 . It may be identified whether a target electronic device matching at least one of UIDs is registered.
  • a database eg, the device DB 314 of FIG. 3
  • the IoT server 702 may transmit a first response message in response to the first registration request message.
  • the first response message may include, for example, information indicating that the device type, manufacturer, and/or model name of the found target electronic device supports the cloud control function.
  • the first response message may include information on whether the found target electronic device is registered as a cloud control target.
  • FIG. 8 to 9 illustrate an operation for identifying whether a target electronic device is a control target device, according to various embodiments.
  • FIG. 8 is a flowchart illustrating an operation of an electronic device for identifying whether a target electronic device is a control target device.
  • the operations shown in FIG. 8 may be performed by the electronic device 330 of FIG. 3 or by at least one component included in the electronic device 330 of FIG. 3 .
  • the operations illustrated in FIG. 8 may be an example of operation 620 of FIG. 6 .
  • the electronic device may request to transmit an IR signal to the target electronic device through an AI speaker (eg, the AI speaker 340 of FIG. 3 ).
  • the electronic device may request an AI speaker to transmit an IR signal to the target electronic device through the IoT server (eg, the IoT server 310 of FIG. 3 ).
  • the IR signal may include a specified command (eg, change channel).
  • operation 810 may be performed before the electronic device searches for a target electronic device.
  • operation 810 may be performed when a plurality of target electronic devices are found.
  • the electronic device may request a response signal from the target electronic device through a short-range communication protocol.
  • operation 820 may be performed together with operation 420 of FIG. 4 .
  • a signal transmitted to search for a target electronic device may include information requesting a response signal.
  • the electronic device may receive a response signal from the target electronic device. Since the target electronic device cannot transmit an IR signal, the electronic device may receive a response signal from the target electronic device through a short-range communication protocol.
  • the electronic device may identify whether the received response signal includes at least part of the same information as the IR signal transmitted in operation 810 . For example, the electronic device may identify whether the received response signal includes information about a specified command included in the IR signal.
  • the electronic device may determine that the target electronic device that has transmitted the response signal is the IR control target device. In other words, the electronic device may identify that the target electronic device including at least part of the same information as the IR signal among the target electronic devices found through the short-range communication protocol is the same as the IR control target device that the user wants to register.
  • the electronic device determines that the target electronic device that has transmitted the response signal is not the IR control target device.
  • 9 is a signal flow diagram for identifying whether a target electronic device is a control target device.
  • a first target electronic device 902 may refer to a device capable of supporting an IR control function (eg, the target electronic device 350 of FIG. 3 ).
  • the second target electronic device 903 may mean a device that cannot support a specified IR control function.
  • the first target electronic device 902 and the second target electronic device 903 may be different device types or may support different IR protocols.
  • the electronic device 901 may transmit a transmission command signal to the IR device 904 (eg, the AI speaker 340 of FIG. 3 ).
  • the transmit command signal may include information instructing the IR device 904 to transmit a command signal based on the IR protocol (eg, the IR signal of FIG. 8 ).
  • the IR device 904 may transmit a command signal (eg, the IR signal of FIG. 8 ) based on the IR protocol to the first target electronic device 902 .
  • the command signal may include, for example, a designated command (eg, change channel).
  • the IR device 904 may transmit the same signal as the command signal transmitted to the first target electronic device 902 to the second target electronic device 903 .
  • operations 910 and 915 may be performed as one operation.
  • the IR device 904 may transmit a specified command (eg, change a channel) in a specified direction (eg, one or more directions) a specified number of times (eg, one or more times).
  • the first target electronic device 902 may process the received IR signal.
  • the first target electronic device 902 may identify the specified command by processing the IR signal, and store at least a portion of the specified command for a specified time.
  • the second target electronic device 903 since the second target electronic device 903 does not support the IR protocol supported by the electronic device 901 , it may not be able to process the received IR signal (operation 922 ).
  • the electronic device 901 may transmit a response request signal to the found target electronic devices 902 and 903 .
  • the electronic device 901 may transmit a response request signal based on a short-range communication protocol (eg, Bluetooth) using a communication module (eg, the communication module 190 of FIG. 1 ).
  • the electronic device 901 may simultaneously perform operations 925 and 930 .
  • the electronic device 910 may broadcast a response request signal.
  • the first target electronic device 902 may transmit a pre-stored specified command to the electronic device 901 together with a response signal.
  • the response signal may be transmitted based on a short-range communication protocol.
  • the first target electronic device 902 may reduce unnecessary storage space consumption by deleting the specified command after transmitting the response signal.
  • the second target electronic device 903 may transmit a response signal to the electronic device 901 based on a short-range communication protocol. Since the second target electronic device 903 failed to process the received IR signal, the response signal transmitted from the second target electronic device 903 may not include a designated command for processing the IR signal (eg, For example, 'empty' or 'fail' information included).
  • the electronic device 901 is a device for registering the first target electronic device 902 as an IR control target device based on the received response signal and for registering the second target electronic device 903 as an IR control target device It can be determined that it is not a device.
  • 10 to 11 illustrate an operation for registering a target electronic device as an IR control target device according to various embodiments of the present disclosure.
  • FIG. 10 is a signal flow diagram for registering a target electronic device as an IR control target device. 11 illustrates a user interface for guiding registration of a target electronic device. The operations illustrated in FIG. 10 may be performed after operation 660 of FIG. 6 .
  • the electronic device 1001 (eg, the electronic device 330 of FIG. 3 ) transmits a second registration request message to the IoT server 1002 (eg, the IoT server 310 of FIG. 3 ).
  • the second registration request message may include information requesting to register a target electronic device (eg, the target electronic device 350 of FIG. 3 ) as an IR control target device.
  • the second registration request message may include information on at least one of a device type, a manufacturer, a brand, a model name, and/or a UID of the target electronic device.
  • the second registration request message may include information on an area in which the target electronic device is located.
  • a region may be, for example, a virtual space allocated in a home or office, such as a bedroom, a kitchen, a living room, or a bathroom.
  • the electronic device 1001 may register at least one virtual space in the IoT server 1002 and transmit information about the virtual space in which the target electronic device is located in the second registration request message.
  • the IoT server 1002 may identify whether a device having the same device type as the found target electronic device exists in the area including the location of the found target electronic device. For example, the IoT server 1002 may retrieve a database (eg, the device DB 314 or the account DB 312 of FIG. 3 ) in response to receiving the second registration request message. If a target electronic device (eg, a TV) located in a specific area (eg, living room) is already registered in the IoT server 1002 as a cloud control target device, the IoT server 1002 is the target indicated by the second registration request message. A device having the same area and device type as the electronic device may be identified as already existing.
  • a target electronic device eg, a TV
  • a specific area eg, living room
  • the IoT server 1002 registers the searched target electronic device as an IR control target device, and in operation 1035, the IoT server 1002 performs registration A message indicating completion may be transmitted to the electronic device 1001 .
  • the IoT server 1002 may transmit a second response message 1015 to the electronic device 1001 .
  • the second response message 1015 may include information indicating that a device having the same device type as the found target electronic device exists in the same area as the area in which the searched target electronic device is located. For example, the existence of a device having the same device type as the found target electronic device in the same area as the area in which the searched target electronic device is located includes that the target electronic device is registered in the IoT server 1002 with the cloud control function can do.
  • the electronic device 1001 may output a second UI for guiding registration of the target electronic device based on the second response message received from the IoT server 1002 and receive a second user input.
  • the electronic device 1001 displays a second UI 1110 indicating that a device of the same type exists in the area of the searched (or selected) target electronic device on the fifth screen 1101 of the display. ) can be printed.
  • the electronic device 1001 sends a third registration request message to the IoT server (1002) can be transmitted.
  • the third registration request message may include, for example, information that is at least partially identical to that of the second registration request message.
  • the IoT server 1002 may determine a priority for a cloud control function and an IR control function among functions of the target electronic device. According to an embodiment, the IoT server 1002 may determine a priority based on at least one of a user's setting of the electronic device 1001 , a user's preference, or a use history. According to an embodiment, the priority of the IR control function may be set higher than the priority of the cloud control function. For example, the user may set the IR control function to be preferentially used as a method for controlling the function of the target electronic device registered as the cloud control function. When the priority is determined, the IoT server 1002 may register the found target electronic device as an IR control target device, and transmit a message indicating that registration of the IR control target device is completed in operation 1035 .
  • FIG. 12 illustrates a user interface for controlling a target electronic device according to various embodiments of the present disclosure
  • the target electronic device eg, the target electronic device 350 of FIG. 3
  • the electronic device eg, the electronic device 330 of FIG. 3
  • the target electronic device may enable the target electronic device to support the cloud control function.
  • the electronic device may output an application screen 1200 for controlling target electronic devices included in the IoT environment through the display.
  • the application screen 1200 may include graphic user interfaces (GUIs) 1201 , 1202 , 1203 , and 1204 indicating information on a plurality of target electronic devices.
  • GUIs graphic user interfaces
  • the electronic device displays a control screen of the target electronic device corresponding to the selected GUI (eg, 1210, 1220, 1230, or 1240) can provide
  • the GUIs 1201 , 1202 , 1203 , and 1204 included in the application screen 1200 may indicate control functions supported by the target electronic device.
  • the first GUI 1201 may indicate that the target electronic device (eg, a fan) supports an IR control function.
  • the second GUI 1202 may indicate that the target electronic device (eg, air conditioner) supports both an IR control function and a cloud control function (eg, OCF).
  • the application screen 1200 may further include a GUI 1205 for an IR device (eg, an AI speaker) to control the target electronic device through an IR control function.
  • an IR device eg, an AI speaker
  • the IoT server 310 is an IR device (eg, an AI speaker) can request to transmit a signal to control a target electronic device (eg, a fan) that supports only the IR control function.
  • the display of the electronic device may include a rollable or foldable display.
  • the electronic device may display a user interface (eg, the application screen 1200) differently based on a rollable or foldable state of the display. For example, in a state in which the display of the electronic device is rolled or folded (eg, the display area of the display is visually reduced when the user looks at it), the application screen including the GUIs 1201 , 1202 , 1203 , and 1204 . Only (1200) can be displayed.
  • the application screen 1200 including the GUIs 1201 , 1202 , 1203 , and 1204 .
  • control screens eg, 1210 , 1220 , 1230 , or 1240 .
  • 13 to 15 illustrate an operation for controlling a target electronic device according to various embodiments of the present disclosure.
  • 13 to 15 exemplify an operation of controlling a specified operation (eg, changing a channel) of the target electronic device 1304 (eg, TV) based on the cloud control function, but the device type of the target electronic device and the target electronic device Operations that may be performed are not limited to the example illustrated in FIG. 13 .
  • FIG. 13 shows a block diagram and a flowchart for controlling a target electronic device.
  • the AI speaker 1301 , the voice assistance server 1302 , the IoT server 1303 , and the target electronic device 1304 are the AI speaker 340 and the voice assistance server 320 of FIG. 3 , respectively.
  • the IoT server 310 , and the target electronic device 350 may perform the same or similar functions, and may include the same or similar configuration as these.
  • the voice assistance server 1302 and the IoT server 1303 may be configured as one server.
  • the voice assistance server 1302 may include a voice recognition module 1304 , a language understanding module 1305 , and a utterance processing module 1306 for each function.
  • the 'modules' included in the voice assistance server 1302 may include hardware or software.
  • the modules included in the voice assistance server 1302 may be a part of the model 234 stored in the storage 233 of FIG. 2 , or may be an instruction set executed by the processor 232 . .
  • the controller 1307, the communication interface 1309, the device DB 1308, and the program DB 1310 included in the IoT server 1303 are the processor 212, the communication interface 211 of FIG. The same or similar functions to the device DB 314 and the program DB 316 may be performed.
  • the AI speaker 1301 may receive a voice input (eg, 'play xxx program') from the user.
  • a voice input eg, 'play xxx program'
  • the AI speaker 340 may transmit the received voice input to the voice recognition module 1304 of the voice assistance server 1302 .
  • the voice recognition module 1304 may convert the received voice input into text data, and transmit the converted data to the language understanding module 1305 in operation 1325 .
  • the language understanding module 1305 may analyze a natural language corresponding to the voice input through the transmitted data, and transmit the analysis result to the function-specific speech processing module 1306 in operation 1330 .
  • the function-specific speech processing module 1306 may recognize a function intended by the natural language through pre-learned data. In operation 1335 , the function-specific speech processing module 1306 may transmit data indicated by the recognized user intention to the controller 1307 of the IoT server 1303 .
  • the controller 1307 may determine whether the user intent can be performed based on the received data. For example, the controller 1307 may determine whether the target electronic device 1304 indicated by the user intention exists, whether the target electronic device 1304 supports a cloud control function, or a channel corresponding to the user intention exists. . To determine whether the user intention can be performed, the controller 1307 may load data from the device DB 1308 in operation 1340 , and load data from the program DB 1310 in operation 1345 . An example of an operation of determining whether a user intention can be performed will be described later with reference to FIG. 15 . If it is determined that the user intention can be performed, the controller 1307 may transmit a command signal corresponding to the user intention to the communication interface 1309 in operation 1350 . In operation 1355 , the communication interface 1309 may transmit a command signal to the target electronic device 1304 . In one embodiment, the communication interface 1309 may transmit a command signal based on the OCF standard.
  • the IoT server 1303 determines whether the user intention corresponding to the voice input can be performed based on the database (eg, the device DB 1308 and the program DB 1310) stored in the IoT server 1402, so that the user intention is You can provide feedback if it cannot be done.
  • the database eg, the device DB 1308 and the program DB 1310 stored in the IoT server 1402, so that the user intention is You can provide feedback if it cannot be done.
  • a signal flow diagram for providing feedback is described below in FIG. 14 .
  • FIG. 14 shows a signal flow diagram for processing a channel change command.
  • the AI speaker 1401 in response to a user input (eg, voice input), in operation 1405 , the AI speaker 1401 (eg, the AI speaker 1301 of FIG. 13 ) sends a channel change command to the IoT server 1402 ( Example: It can be transmitted to the IoT server 1303 of FIG. 13 ).
  • the channel change command may be transmitted to the IoT server 1402 based on the method shown in FIG. 13 .
  • the channel change command is transmitted to an electronic device such as a smartphone (eg, 330 in FIG. 3 ) may be transmitted to the IoT server 1402 through
  • the electronic device receives a user's voice input requesting a channel change or receives a touch input through a GUI (eg, 1240 in FIG. 12 ), and sends a channel change command corresponding to the received input to the IoT server 1402 ) can be passed as
  • the electronic device may transmit the channel change command directly to the IoT server 1402 or through the AI speaker 1402 or a voice assistant server (eg, 320 in FIG. 3 ).
  • the IoT server 1402 may process the received command.
  • the IoT server 1402 may process a command based on the operation of the controller 1307 shown in FIG. 13 .
  • the IoT server 1402 may transmit a feedback message to the AI speaker 1401 .
  • the feedback message may indicate, for example, that the target electronic device does not exist, that the target electronic device cannot support a cloud control function, or that a channel corresponding to a user intention does not exist.
  • the feedback message may include, for example, voice feedback.
  • the IoT server 1402 may transmit a feedback message to the electronic device (eg, 330 of FIG. 3 ).
  • the IoT server 1402 may transmit a feedback message through the AI speaker 1402 or directly to the electronic device.
  • the feedback message transmitted to the electronic device may include at least one of voice, video, vibration, and LED.
  • FIG. 15 is a flowchart illustrating an operation of an IoT server for processing a channel change command. The operations shown in FIG. 15 may be performed by the IoT server 1303 of FIG. 13 or may be performed by the controller 1307 .
  • the IoT server may receive a channel change command.
  • the IoT server receives a channel change command based on a touch input from an electronic device (eg, the electronic device 330 of FIG. 3 ) or a voice assistance server (eg, the voice assistance server 320 of FIG. 3 ).
  • a channel change command based on a voice command may be received from the electronic device (eg, the electronic device 330 of FIG. 3 ) or an AI speaker (eg, the AI speaker 1301 of FIG. 13 ).
  • the IoT server may identify whether a target electronic device (eg, a TV) corresponding to the channel change command exists. For example, the IoT server may identify whether a device capable of performing a channel change command exists by detecting a device DB (eg, the device DB 1308 of FIG. 13 ). If the target electronic device corresponding to the channel change command does not exist, in operation 1535 , the IoT server may transmit a feedback message.
  • a target electronic device eg, a TV
  • the IoT server may transmit a feedback message.
  • the IoT server may identify whether the target electronic device supports the cloud control function. For example, the IoT server may identify whether the target electronic device supports the cloud control function by detecting the function of the target electronic device stored in the device DB. If the target electronic device does not support the cloud control function, the IoT server may transmit a feedback message in operation 1535 .
  • the IoT server may identify whether a channel corresponding to the command exists. For example, by detecting the program DB (eg, the program DB 1310 of FIG. 13 ), the IoT server may identify whether a channel on which a program (eg, an xxx program) intended by the user is being broadcast exists. If there is no channel corresponding to the command, in operation 1535 , the IoT server may transmit a feedback message.
  • the program DB eg, the program DB 1310 of FIG. 13
  • the IoT server may identify whether a channel on which a program (eg, an xxx program) intended by the user is being broadcast exists. If there is no channel corresponding to the command, in operation 1535 , the IoT server may transmit a feedback message.
  • the IoT server may select one channel from among a plurality of channel numbers corresponding to the command. For example, the IoT server may select a channel based on at least one of a user setting or a usage history. If there is only one channel corresponding to the command, the IoT server may not perform operation 1525 .
  • the IoT server may transmit a signal instructing to change to the selected channel to the target electronic device.
  • the IoT server may generate and transmit an IR signal for changing the channel of the target electronic device to the AI speaker.
  • the electronic device (eg, the electronic device 330 of FIG. 3 ) according to an embodiment includes at least one communication circuit (eg, the wireless communication module 192 of FIG. 1 ) and a display (eg, FIG. 1 ). of a display module 160), a processor operatively coupled to the at least one communication circuit and the display (eg, the processor 120 of FIG. 1), and a memory operatively coupled to the processor (eg, FIG. 1 memory 130), wherein, when executed, the processor receives a first user input requesting registration of an IR-controlled device, and the IR-controlled device is controlled by the IR device.
  • the processor receives a first user input requesting registration of an IR-controlled device, and the IR-controlled device is controlled by the IR device.
  • the cloud control target device means a device controlled by an IoT server (eg, the IoT server 310 of FIG. 3 ), and a first indicating that the found target electronic device is the cloud control target device
  • Instructions for outputting a user interface eg, the first UI 516 of FIG. 5 ) through the display may be stored.
  • the processor transmits a first registration request message including information on the device type and manufacturer of the found target electronic device to the IoT server, and the device type of the found target electronic device and receiving a first response message indicating that the manufacturer supports the cloud control function from the IoT server, and identifying the found target electronic device as the cloud control target device based on the received first response message have.
  • the instructions may cause the processor to search for the target electronic device based on a Bluetooth communication protocol, and receive a data packet from the target electronic device while searching for the target electronic device. .
  • the instructions receive, before the processor searches for the target electronic device, a second user input for selecting a device type of the target electronic device, and determines that the device type indicated by the data packet is the It is possible to identify whether the device type is the same as the device type selected by the second user input, and determine whether the found target electronic device is a control target device based on a command included in the data packet.
  • the instructions transmit, before the processor searches for the target electronic device, an IR signal including a specified command, and the command included in the data packet is included in the IR signal. It is possible to determine whether the found target electronic device is the control target device based on whether a specified command and at least a part thereof are identical to each other.
  • the instructions include, when the processor receives a third user input requesting to register the searched target electronic device as the IR control target device while the first UI is output, the searched target electronic device If a procedure for registering a device as the IR control target device is performed, and the third user input is not received while the first UI is output, the searched target electronic device can be registered as the cloud control target device have.
  • the instructions include information on a device type of the found target electronic device and a region in which the target electronic device is located in order for the processor to perform a procedure for registering the IR control target device
  • a second registration request message is transmitted to the IoT server, and a second response message indicating that a device having the same device type as the found target electronic device exists in the same area as the area in which the searched target electronic device is located is transmitted to the IoT server and a second UI indicating that a device having the same device type as the found target electronic device exists in the same area as the area in which the searched target electronic device is located (eg, the second UI 1110 of FIG. 11 ) may be output through the display.
  • the instructions include: receiving, by the processor, a fourth user input requesting registration of the found target electronic device, and requesting registration of the found target electronic device while the second UI is output
  • a third registration request message may be transmitted to the IoT server, and a message indicating that the found target electronic device is registered as the IR control target device may be received from the IoT server.
  • the instructions are configured by the processor in a graphical user interface (eg, GUIs 1201 , 1202 , 1203 of FIG. 12 , or 1204)) may be output through the display.
  • a graphical user interface eg, GUIs 1201 , 1202 , 1203 of FIG. 12 , or 1204
  • the electronic device further includes a microphone configured to receive a voice input
  • the instructions include: the processor obtains a voice input for requesting a channel change of the target electronic device through the microphone; A channel change command corresponding to the acquired voice input may be transmitted to the IoT server, and a feedback message for the channel change command may be received from the IoT server.
  • a server included in the IoT environment according to an embodiment disclosed in this document is a communication interface configured to communicate with an electronic device (eg, the electronic device 330 of FIG. 3 ).
  • an electronic device eg, the electronic device 330 of FIG. 3
  • a processor operatively coupled with the communication interface
  • a memory operatively coupled with the processor (eg, storage of FIG. 2 ) unit 213), wherein the memory stores a database for a target electronic device (eg, the target electronic device 350 of FIG.
  • a first registration request message for requesting registration of the target electronic device found by the electronic device as an IR control target device is received from the electronic device, and the first registration request message includes a device type and a manufacturer of the found target electronic device. , a model name and information on at least one of a unique identifier (UID), and based on the information included in the first registration request message and the database stored in the memory, identifying that the found target electronic device is a cloud control target device and a first response message indicating that the found target electronic device is the cloud control target device may be configured to be transmitted to the electronic device.
  • UID unique identifier
  • the processor after transmitting the first response message, receives a second registration request message requesting registration of the found target electronic device from the electronic device, and the second registration request message includes information on the device type, manufacturer, and location of the searched target electronic device, and an area in which the searched target electronic device is located based on information included in the second registration request message and a database stored in the memory It is identified that a device having the same device type as the found target electronic device exists in the same area as the detected target electronic device, and a device having the same device type as the found target electronic device exists in the same area as the area in which the searched target electronic device is located. It may be configured to transmit the indicated second response message to the electronic device.
  • the processor after transmitting the second response message, receives a third registration request message requesting registration of the found target electronic device from the electronic device, and Priority of the cloud control function and the IR control function may be determined among functions, and a message indicating that the found target electronic device is registered as the IR control target device may be configured to be transmitted to the electronic device.
  • the processor receives a channel change command for the target electronic device, and based on the received channel change command and a database stored in the memory, the target electronic device corresponding to the channel change command It may be configured to identify whether there exists, to identify whether a target electronic device corresponding to the channel change command supports the cloud control function, and to identify whether a channel corresponding to the channel change command exists.
  • the processor may be configured to be configured to be configured to be configured to be configured such that a target electronic device corresponding to the channel change command does not exist, a target electronic device corresponding to the channel change command does not support the cloud control function, or the channel change command If there is no channel corresponding to , it may be configured to transmit a feedback message.
  • the method of the electronic device includes an operation (eg, the electronic device 330 of FIG. 3 ) of receiving a first user input requesting registration of an IR control target device (eg, of FIG. 4 )
  • the IR control target device refers to a device controlled by an IR device, and searching for a target electronic device (eg, operation 420 in FIG. 4 ) is performed when the searched target electronic device is cloud-controlled
  • searching for a target electronic device eg, operation 420 in FIG. 4
  • searching for a target electronic device eg, operation 420 in FIG. 4
  • an operation of identifying a target device eg, operation 430 of FIG.
  • the cloud control target device refers to a device controlled by an IoT server, and a first indicating that the found target electronic device is the cloud control target device It may include an operation of outputting a user interface (eg, operation 440 of FIG. 4 ).
  • the identifying that the found target electronic device is the cloud control target device includes transmitting a first registration request message including information on the device type and manufacturer of the found target electronic device to the IoT server. operation (eg, operation 705 of FIG. 7 ), and an operation of receiving a first response message indicating that the device type and manufacturer of the found target electronic device support the cloud control function from the IoT server (eg, operation of FIG. 7 ) 715), and identifying that the found target electronic device is the cloud control target device based on the received first response message.
  • the searching for the target electronic device includes searching for the target electronic device based on a Bluetooth communication protocol and receiving a data packet from the target electronic device, Before searching for a device, transmitting an IR signal including a specified command (eg, operation 810 in FIG. 8 ), and the command included in the data packet is at least a portion of the specified command included in the IR signal
  • the method may further include an operation (eg, operation 840 of FIG. 8 ) of determining whether the found target electronic device is a control target device based on whether .
  • the method when receiving a second user input requesting registration of the found target electronic device as the IR control target device while the first UI is output, sets the searched target electronic device to the IR The method further comprising performing a procedure for registering as a control target device, wherein performing the procedure for registering the found target electronic device as the IR control target device includes: a device type of the found target electronic device and the target An operation of transmitting a second registration request message including information on an area in which the electronic device is located to the IoT server (eg, operation 1005 of FIG.
  • the searched target in the same area as the area in which the electronic device is located An operation of receiving a second response message indicating that a device having the same device type as that of the electronic device exists from the IoT server (eg, operation 1015 of FIG. 10 ), in the same area as the area in which the searched target electronic device is located Outputting a second UI indicating that a device having the same device type as the target electronic device exists, and receiving a third user input requesting registration of the found target electronic device while the second UI is output , an operation of transmitting a third registration request message requesting registration of the found target electronic device to the IoT server (eg, operation 1025 of FIG. 10 ), and indicating that the found target electronic device is registered as the IR control target device It may include an operation of receiving a message from the IoT server (eg, operation 1035 of FIG. 10 ).
  • the method may further include outputting a graphic user interface indicating that the registered target electronic device is the IR control target device and the cloud control target device.
  • the electronic device may have various types of devices.
  • the electronic device may include, for example, a portable communication device (eg, a smart phone), a computer device, a portable multimedia device, a portable medical device, a camera, a wearable device, or a home appliance device.
  • a portable communication device eg, a smart phone
  • a computer device e.g., a smart phone
  • a portable multimedia device e.g., a portable medical device
  • a camera e.g., a portable medical device
  • a camera e.g., a portable medical device
  • a camera e.g., a portable medical device
  • a wearable device e.g., a smart bracelet
  • a home appliance device e.g., a home appliance
  • first, second, or first or second may be used simply to distinguish the element from other elements in question, and may refer to elements in other aspects (e.g., importance or order) is not limited. It is said that one (eg, first) component is “coupled” or “connected” to another (eg, second) component, with or without the terms “functionally” or “communicatively”. When referenced, it means that one component can be connected to the other component directly (eg by wire), wirelessly, or through a third component.
  • module used in various embodiments of this document may include a unit implemented in hardware, software, or firmware, and is interchangeable with terms such as, for example, logic, logic block, component, or circuit.
  • a module may be an integrally formed part or a minimum unit or a part of the part that performs one or more functions.
  • the module may be implemented in the form of an application-specific integrated circuit (ASIC).
  • ASIC application-specific integrated circuit
  • one or more instructions stored in a storage medium may be implemented as software (eg, the program 140) including
  • a processor eg, processor 120
  • a device eg, electronic device 101
  • the one or more instructions may include code generated by a compiler or code executable by an interpreter.
  • the device-readable storage medium may be provided in the form of a non-transitory storage medium.
  • 'non-transitory' only means that the storage medium is a tangible device and does not contain a signal (eg, electromagnetic wave), and this term refers to the case where data is semi-permanently stored in the storage medium and It does not distinguish between temporary storage cases.
  • a signal eg, electromagnetic wave
  • the method according to various embodiments disclosed in this document may be provided as included in a computer program product.
  • Computer program products may be traded between sellers and buyers as commodities.
  • the computer program product is distributed in the form of a machine-readable storage medium (eg compact disc read only memory (CD-ROM)), or via an application store (eg Play StoreTM) or on two user devices ( It can be distributed (eg downloaded or uploaded) directly between smartphones (eg: smartphones) and online.
  • a part of the computer program product may be temporarily stored or temporarily created in a machine-readable storage medium such as a memory of a server of a manufacturer, a server of an application store, or a relay server.
  • each component (eg, module or program) of the above-described components may include a singular or a plurality of entities, and some of the plurality of entities may be separately disposed in other components. have.
  • one or more components or operations among the above-described corresponding components may be omitted, or one or more other components or operations may be added.
  • a plurality of components eg, a module or a program
  • the integrated component may perform one or more functions of each component of the plurality of components identically or similarly to those performed by the corresponding component among the plurality of components prior to the integration. .
  • operations performed by a module, program, or other component are executed sequentially, in parallel, repeatedly, or heuristically, or one or more of the operations are executed in a different order, or omitted. or one or more other operations may be added.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Theoretical Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Physics & Mathematics (AREA)
  • General Health & Medical Sciences (AREA)
  • Health & Medical Sciences (AREA)
  • Computing Systems (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Human Computer Interaction (AREA)
  • General Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Medical Informatics (AREA)
  • Telephonic Communication Services (AREA)

Abstract

An electronic device comprises: at least one communication circuit; a display; a processor operatively connected to the at least one communication circuit and the display; and a memory operatively connected to the processor. The memory may store instructions enabling, during execution, the processor to: receive a first user input for requesting the registration of an IR controlee device, the IR controlee device meaning a device controlled by an IR device; discover a target electronic device using the at least one communication circuit; identify that the discovered target electronic device is a cloud controlee device, the cloud controlee device meaning a device controlled by an IoT server; and output, through the display, a first user interface indicating that the discovered target electronic device is the cloud controlee device.

Description

IOT 환경에서 타겟 전자 장치를 제어하기 위한 전자 장치 및 그에 관한 방법Electronic device for controlling target electronic device in IOT environment and method related thereto
본 문서에 개시되는 다양한 실시예들은 IoT(internet of things) 환경에서 타겟 전자 장치를 등록 및 제어하는 기술과 관련된다.Various embodiments disclosed in this document relate to a technology for registering and controlling a target electronic device in an Internet of things (IoT) environment.
IoT 환경에서, 연결된 사물들로부터 생성된 데이터를 수집, 분석하여 인간의 삶에 새로운 가치를 창출하는 지능형 서비스가 제공될 수 있다. IoT는 기존의 IT(information technology) 기술과 다양한 산업 간의 융합 및 복합을 통하여 스마트 홈, 스마트 빌딩, 스마트 시티, 스마트 카 혹은 커넥티드 카, 스마트 그리드, 헬스 케어, 스마트 가전, 또는 첨단 의료 서비스 분야에 응용될 수 있다. In the IoT environment, intelligent services that create new values in human life by collecting and analyzing data generated from connected objects can be provided. IoT is a smart home, smart building, smart city, smart car or connected car, smart grid, health care, smart home appliance, or advanced medical service field through convergence and compounding between existing IT (information technology) technology and various industries. can be applied
IoT 환경에 포함된 타겟 전자 장치(또는, '타겟 디바이스'로 참조될 수 있다)는 다양한 방식으로 제어될 수 있다. 예를 들어, AI(artificial intelligence) 스피커와 같은 IR(infrared) 장치는 IR 신호를 타겟 전자 장치에게 전송함으로써 타겟 전자 장치를 제어할 수 있다. IR 장치를 통해 타겟 전자 장치를 제어하는 기능은 'IR 제어 기능'으로 참조될 수 있다. 다른 예를 들어, 타겟 전자 장치를 관리하는 IoT 서버 또는 클라우드 서버가 타겟 전자 장치에게 직접 명령 신호를 전송함으로써 타겟 전자 장치를 제어할 수 있다. IoT 서버를 통해 타겟 전자 장치를 제어하는 기능은 '클라우드 제어 기능'으로 참조될 수 있다. A target electronic device (or may be referred to as a 'target device') included in the IoT environment may be controlled in various ways. For example, an infrared (IR) device such as an artificial intelligence (AI) speaker may control the target electronic device by transmitting an IR signal to the target electronic device. The function of controlling the target electronic device through the IR device may be referred to as an 'IR control function'. As another example, an IoT server or a cloud server managing the target electronic device may control the target electronic device by directly transmitting a command signal to the target electronic device. The function of controlling the target electronic device through the IoT server may be referred to as a 'cloud control function'.
IoT 서버는 IoT 서버에 등록되는 타겟 전자 장치에게 가상의 ID(identifier)를 할당할 수 있다. 타겟 전자 장치는 IR 제어 기능으로 제어될 수 있는 IR 제어 대상 장치(IR controlee device)로 IoT 서버에 등록되거나 클라우드 제어 기능으로 제어될 수 있는 클라우드 제어 대상 장치(cloud controlee device)로 IoT 서버에 등록될 수 있으므로, IoT 서버는 동일한 타겟 전자 장치라도 제어 기능의 타입(type)에 따라서 서로 다른 ID를 생성하는 상황이 발생할 수 있다. 동일한 타겟 전자 장치에 서로 다른 ID가 생성되면, IoT 서버는 해당 타겟 전자 장치를 동일한 장치로 인식하지 못할 수 있다. The IoT server may allocate a virtual ID (identifier) to a target electronic device registered in the IoT server. The target electronic device may be registered in the IoT server as an IR controlee device that can be controlled by the IR control function or registered in the IoT server as a cloud controlee device that can be controlled by the cloud control function. Therefore, even if the same target electronic device, the IoT server may generate different IDs depending on the type of control function. When different IDs are generated in the same target electronic device, the IoT server may not recognize the corresponding target electronic device as the same device.
또한, IR 신호는 프로토콜의 특성상 타겟 전자 장치로부터 피드백 신호를 수신하지 못하며, IR 장치가 없는 경우 타겟 전자 장치를 제어하지 못하는 상황이 발생할 수 있다.In addition, the IR signal may not receive a feedback signal from the target electronic device due to the nature of the protocol, and in the absence of the IR signal, a situation may occur in which the target electronic device cannot be controlled.
본 문서에 개시되는 일 실시 예에 따른 전자 장치는, 적어도 하나의 통신 회로, 디스플레이, 상기 적어도 하나의 통신 회로 및 상기 디스플레이와 작동적으로 연결되는 프로세서, 및 상기 프로세서와 작동적으로 연결되는 메모리를 포함하고, 상기 메모리는, 실행 시, 상기 프로세서가, IR(infrared) 제어 대상 장치의 등록을 요청하는 제1 사용자 입력을 수신하고, 상기 IR 제어 대상 장치는 IR 장치에 의하여 제어되는 장치를 의미하고, 상기 적어도 하나의 통신 회로를 이용하여 타겟 전자 장치를 검색하고, 상기 검색된 타겟 전자 장치가 클라우드(cloud) 제어 대상 장치임을 식별(identify)하고, 상기 클라우드 제어 대상 장치는 IoT 서버에 의하여 제어되는 장치를 의미하고, 및 상기 검색된 타겟 전자 장치가 상기 클라우드 제어 대상 장치임을 나타내는 제1 사용자 인터페이스(user interface, UI)를 상기 디스플레이를 통해 출력하도록 하는 인스트럭션들을 저장할 수 있다. An electronic device according to an embodiment disclosed in this document includes at least one communication circuit, a display, a processor operatively connected to the at least one communication circuit and the display, and a memory operatively connected to the processor. wherein, when the memory is executed, the processor receives a first user input requesting registration of an IR (infrared) controlled device, the IR controlled device means a device controlled by the IR device, , a device that searches for a target electronic device using the at least one communication circuit, identifies that the found target electronic device is a cloud control target device, and the cloud control target device is controlled by an IoT server and may store instructions for outputting a first user interface (UI) indicating that the found target electronic device is the cloud control target device through the display.
본 문서에 개시되는 일 실시 예에 따른 IoT 환경에 포함된 서버는, 전자 장치와 통신하도록 구성된 통신 인터페이스, 상기 통신 인터페이스와 작동적으로 연결된 프로세서, 및 상기 프로세서와 작동적으로 연결된 메모리를 포함하고, 상기 메모리는, 상기 서버에 클라우드 제어 대상 장치로 등록된 타겟 전자 장치에 대한 데이터베이스를 저장하고, 상기 프로세서는, 상기 전자 장치에 의하여 검색된 타겟 전자 장치를 IR 제어 대상 장치로 등록하기를 요청하는 제1 등록 요청 메시지를 상기 전자 장치로부터 수신하고, 상기 제1 등록 요청 메시지는 상기 검색된 타겟 전자 장치의 장치 타입, 제조사, 모델명 또는 UID(unique identifier) 중 적어도 하나에 대한 정보를 포함하고, 상기 제1 등록 요청 메시지에 포함된 정보 및 상기 메모리에 저장된 데이터베이스에 기반하여, 상기 검색된 타겟 전자 장치가 클라우드 제어 대상 장치임을 식별하고, 및 상기 검색된 타겟 전자 장치가 상기 클라우드 제어 대상 장치임을 나타내는 제1 응답 메시지를 상기 전자 장치에게 전송하도록 설정될 수 있다. The server included in the IoT environment according to an embodiment disclosed in this document includes a communication interface configured to communicate with an electronic device, a processor operatively connected to the communication interface, and a memory operatively connected to the processor, The memory stores a database for a target electronic device registered as a cloud control target device in the server, and the processor performs a first request to register a target electronic device found by the electronic device as an IR control target device. A registration request message is received from the electronic device, and the first registration request message includes information on at least one of a device type, a manufacturer, a model name, and a unique identifier (UID) of the searched target electronic device, and the first registration Based on the information included in the request message and the database stored in the memory, it is identified that the found target electronic device is a cloud control target device, and a first response message indicating that the found target electronic device is the cloud control target device is generated. It may be set to be transmitted to the electronic device.
본 문서에 개시되는 일 실시 예에 따른 전자 장치의 방법은 IR 제어 대상 장치의 등록을 요청하는 제1 사용자 입력을 수신하는 동작, 상기 IR 제어 대상 장치는 IR 장치에 의하여 제어되는 장치를 의미하고, 타겟 전자 장치를 검색하는 동작, 상기 검색된 타겟 전자 장치가 클라우드 제어 대상 장치임을 식별하는 동작, 상기 클라우드 제어 대상 장치는 IoT 서버에 의하여 제어되는 장치를 의미하고 및 상기 검색된 타겟 전자 장치가 상기 클라우드 제어 대상 장치임을 나타내는 제1 사용자 인터페이스를 출력하는 동작을 포함할 수 있다.The method of the electronic device according to an embodiment disclosed in this document includes the operation of receiving a first user input requesting registration of an IR control target device, the IR control target device means a device controlled by the IR device, An operation of searching for a target electronic device, an operation of identifying that the found target electronic device is a cloud control target device, the cloud control target device means a device controlled by an IoT server, and the searched target electronic device is the cloud control target device It may include outputting a first user interface indicating that it is a device.
본 문서에 개시되는 다양한 실시 예들에 따르면, 전자 장치는 사용자가 IR 제어 대상 장치로 등록하기를 원하는 타겟 전자 장치를 클라우드 제어 대상 장치로 등록하도록 가이드 할 수 있다. According to various embodiments of the present disclosure, the electronic device may guide the user to register the target electronic device, which the user wants to register as the IR control target device, as the cloud control target device.
본 문서에 개시되는 다양한 실시 예들에 따르면, 전자 장치는 IR 제어 대상 장치로 등록된 장치와 클라우드 제어 대상 장치로 등록된 장치를 동일한 장치로 인식할 수 있다. According to various embodiments disclosed herein, the electronic device may recognize a device registered as an IR control target device and a device registered as a cloud control target device as the same device.
본 문서에 개시되는 다양한 실시 예들에 따르면, 전자 장치는 IR 제어 기능의 단점을 클라우드 제어 기능을 통해 보완할 수 있다. According to various embodiments disclosed in this document, the electronic device may compensate for the shortcomings of the IR control function through the cloud control function.
이 외에, 본 문서를 통해 직접적 또는 간접적으로 파악되는 다양한 효과들이 제공될 수 있다.In addition, various effects directly or indirectly identified through this document may be provided.
도 1은, 다양한 실시예들에 따른, 네트워크 환경 내의 전자 장치의 블록도이다.1 is a block diagram of an electronic device in a network environment, according to various embodiments of the present disclosure;
도 2는 다양한 실시예들에 따른 IoT 시스템을 도시한다. 2 illustrates an IoT system according to various embodiments.
도 3은 다양한 실시예들에 따라 타겟 전자 장치를 제어하기 위한 IoT 시스템을 도시한다. 3 illustrates an IoT system for controlling a target electronic device according to various embodiments.
도 4는 다양한 실시예들에 따라 타겟 전자 장치의 등록을 가이드 하기 위한 전자 장치의 동작 흐름도를 도시한다. 4 is a flowchart illustrating an operation of an electronic device for guiding registration of a target electronic device according to various embodiments of the present disclosure;
도 5는 다양한 실시예들에 따라 타겟 전자 장치의 등록을 가이드 하기 위한 사용자 인터페이스를 도시한다. 5 illustrates a user interface for guiding registration of a target electronic device according to various embodiments of the present disclosure;
도 6은 다양한 실시예들에 따라 타겟 전자 장치를 등록하기 위한 전자 장치의 동작 흐름도를 도시한다. 6 is a flowchart illustrating an operation of an electronic device for registering a target electronic device according to various embodiments of the present disclosure;
도 7은 다양한 실시예들에 따라 타겟 전자 장치가 클라우드 기능을 지원하는지를 식별하기 위한 신호 흐름도를 도시한다. 7 is a signal flow diagram for identifying whether a target electronic device supports a cloud function, according to various embodiments of the present disclosure;
도 8은 다양한 실시예들에 따라 타겟 전자 장치가 제어 대상 장치인지를 식별하기 위한 전자 장치의 동작 흐름도를 도시한다. 8 is a flowchart illustrating an operation of an electronic device for identifying whether a target electronic device is a control target device according to various embodiments of the present disclosure;
도 9는 다양한 실시예들에 따라 타겟 전자 장치가 제어 대상 장치인지를 식별하기 위한 신호 흐름도를 도시한다. 9 is a signal flow diagram for identifying whether a target electronic device is a control target device according to various embodiments of the present disclosure;
도 10은 다양한 실시예들에 따라 타겟 전자 장치를 IR 제어 대상 장치로 등록하기 위한 신호 흐름도를 도시한다. 10 is a signal flow diagram for registering a target electronic device as an IR control target device according to various embodiments of the present disclosure;
도 11은 다양한 실시예들에 따라 타겟 전자 장치의 등록을 가이드 하기 위한 사용자 인터페이스의 다른 예를 도시한다.11 illustrates another example of a user interface for guiding registration of a target electronic device according to various embodiments of the present disclosure;
도 12는 다양한 실시예들에 따라 타겟 전자 장치를 제어하기 위한 사용자 인터페이스를 도시한다. 12 illustrates a user interface for controlling a target electronic device according to various embodiments of the present disclosure;
도 13은 다양한 실시예들에 따라 타겟 전자 장치를 제어하기 위한 블록도 및 흐름도를 도시한다. 13 is a block diagram and a flowchart for controlling a target electronic device according to various embodiments of the present disclosure;
도 14는 다양한 실시예들에 따라 채널 변경 명령을 처리하기 위한 신호 흐름도를 도시한다. 14 illustrates a signal flow diagram for processing a channel change command in accordance with various embodiments.
도 15는 다양한 실시예들에 따라 채널 변경 명령을 처리하기 위한 IoT 서버의 동작 흐름도를 도시한다. 15 is a flowchart illustrating an operation of an IoT server for processing a channel change command according to various embodiments of the present disclosure;
도면의 설명과 관련하여, 동일 또는 유사한 구성요소에 대해서는 동일 또는 유사한 참조 부호가 사용될 수 있다.In connection with the description of the drawings, the same or similar reference numerals may be used for the same or similar components.
이하, 본 발명의 다양한 실시 예가 첨부된 도면을 참조하여 기재된다. 그러나, 이는 본 발명을 특정한 실시 형태에 대해 한정하려는 것이 아니며, 본 발명의 실시 예의 다양한 변경(modification), 균등물(equivalent), 및/또는 대체물(alternative)을 포함하는 것으로 이해되어야 한다.Hereinafter, various embodiments of the present invention will be described with reference to the accompanying drawings. However, this is not intended to limit the present invention to specific embodiments, and it should be understood that various modifications, equivalents, and/or alternatives of the embodiments of the present invention are included.
도 1은, 다양한 실시예들에 따른, 네트워크 환경(100) 내의 전자 장치(101)의 블록도이다. 도 1을 참조하면, 네트워크 환경(100)에서 전자 장치(101)는 제 1 네트워크(198)(예: 근거리 무선 통신 네트워크)를 통하여 전자 장치(102)와 통신하거나, 또는 제 2 네트워크(199)(예: 원거리 무선 통신 네트워크)를 통하여 전자 장치(104) 또는 서버(108)와 통신할 수 있다. 일실시예에 따르면, 전자 장치(101)는 서버(108)를 통하여 전자 장치(104)와 통신할 수 있다. 일실시예에 따르면, 전자 장치(101)는 프로세서(120), 메모리(130), 입력 모듈(150), 음향 출력 모듈(155), 디스플레이 모듈(160), 오디오 모듈(170), 센서 모듈(176), 인터페이스(177), 연결 단자(178), 햅틱 모듈(179), 카메라 모듈(180), 전력 관리 모듈(188), 배터리(189), 통신 모듈(190), 가입자 식별 모듈(196), 또는 안테나 모듈(197)을 포함할 수 있다. 어떤 실시예에서는, 전자 장치(101)에는, 이 구성요소들 중 적어도 하나(예: 연결 단자(178))가 생략되거나, 하나 이상의 다른 구성요소가 추가될 수 있다. 어떤 실시예에서는, 이 구성요소들 중 일부들(예: 센서 모듈(176), 카메라 모듈(180), 또는 안테나 모듈(197))은 하나의 구성요소(예: 디스플레이 모듈(160))로 통합될 수 있다.1 is a block diagram of an electronic device 101 in a network environment 100 according to various embodiments. Referring to FIG. 1 , in a network environment 100 , an electronic device 101 communicates with an electronic device 102 through a first network 198 (eg, a short-range wireless communication network) or a second network 199 . It may communicate with the electronic device 104 or the server 108 through (eg, a long-distance wireless communication network). According to an embodiment, the electronic device 101 may communicate with the electronic device 104 through the server 108 . According to an embodiment, the electronic device 101 includes a processor 120 , a memory 130 , an input module 150 , a sound output module 155 , a display module 160 , an audio module 170 , and a sensor module ( 176), interface 177, connection terminal 178, haptic module 179, camera module 180, power management module 188, battery 189, communication module 190, subscriber identification module 196 , or an antenna module 197 may be included. In some embodiments, at least one of these components (eg, the connection terminal 178 ) may be omitted or one or more other components may be added to the electronic device 101 . In some embodiments, some of these components (eg, sensor module 176 , camera module 180 , or antenna module 197 ) are integrated into one component (eg, display module 160 ). can be
프로세서(120)는, 예를 들면, 소프트웨어(예: 프로그램(140))를 실행하여 프로세서(120)에 연결된 전자 장치(101)의 적어도 하나의 다른 구성요소(예: 하드웨어 또는 소프트웨어 구성요소)를 제어할 수 있고, 다양한 데이터 처리 또는 연산을 수행할 수 있다. 일실시예에 따르면, 데이터 처리 또는 연산의 적어도 일부로서, 프로세서(120)는 다른 구성요소(예: 센서 모듈(176) 또는 통신 모듈(190))로부터 수신된 명령 또는 데이터를 휘발성 메모리(132)에 저장하고, 휘발성 메모리(132)에 저장된 명령 또는 데이터를 처리하고, 결과 데이터를 비휘발성 메모리(134)에 저장할 수 있다. 일실시예에 따르면, 프로세서(120)는 메인 프로세서(121)(예: 중앙 처리 장치 또는 어플리케이션 프로세서) 또는 이와는 독립적으로 또는 함께 운영 가능한 보조 프로세서(123)(예: 그래픽 처리 장치, 신경망 처리 장치(NPU: neural processing unit), 이미지 시그널 프로세서, 센서 허브 프로세서, 또는 커뮤니케이션 프로세서)를 포함할 수 있다. 예를 들어, 전자 장치(101)가 메인 프로세서(121) 및 보조 프로세서(123)를 포함하는 경우, 보조 프로세서(123)는 메인 프로세서(121)보다 저전력을 사용하거나, 지정된 기능에 특화되도록 설정될 수 있다. 보조 프로세서(123)는 메인 프로세서(121)와 별개로, 또는 그 일부로서 구현될 수 있다.The processor 120, for example, executes software (eg, a program 140) to execute at least one other component (eg, a hardware or software component) of the electronic device 101 connected to the processor 120 . It can control and perform various data processing or operations. According to one embodiment, as at least part of data processing or operation, the processor 120 converts commands or data received from other components (eg, the sensor module 176 or the communication module 190 ) to the volatile memory 132 . may be stored in the volatile memory 132 , and may process commands or data stored in the volatile memory 132 , and store the result data in the non-volatile memory 134 . According to an embodiment, the processor 120 is the main processor 121 (eg, a central processing unit or an application processor) or a secondary processor 123 (eg, a graphic processing unit, a neural network processing unit) a neural processing unit (NPU), an image signal processor, a sensor hub processor, or a communication processor). For example, when the electronic device 101 includes the main processor 121 and the sub-processor 123 , the sub-processor 123 may use less power than the main processor 121 or may be set to be specialized for a specified function. can The auxiliary processor 123 may be implemented separately from or as a part of the main processor 121 .
보조 프로세서(123)는, 예를 들면, 메인 프로세서(121)가 인액티브(예: 슬립) 상태에 있는 동안 메인 프로세서(121)를 대신하여, 또는 메인 프로세서(121)가 액티브(예: 어플리케이션 실행) 상태에 있는 동안 메인 프로세서(121)와 함께, 전자 장치(101)의 구성요소들 중 적어도 하나의 구성요소(예: 디스플레이 모듈(160), 센서 모듈(176), 또는 통신 모듈(190))와 관련된 기능 또는 상태들의 적어도 일부를 제어할 수 있다. 일실시예에 따르면, 보조 프로세서(123)(예: 이미지 시그널 프로세서 또는 커뮤니케이션 프로세서)는 기능적으로 관련 있는 다른 구성요소(예: 카메라 모듈(180) 또는 통신 모듈(190))의 일부로서 구현될 수 있다. 일실시예에 따르면, 보조 프로세서(123)(예: 신경망 처리 장치)는 인공지능 모델의 처리에 특화된 하드웨어 구조를 포함할 수 있다. 인공지능 모델은 기계 학습을 통해 생성될 수 있다. 이러한 학습은, 예를 들어, 인공지능이 수행되는 전자 장치(101) 자체에서 수행될 수 있고, 별도의 서버(예: 서버(108))를 통해 수행될 수도 있다. 학습 알고리즘은, 예를 들어, 지도형 학습(supervised learning), 비지도형 학습(unsupervised learning), 준지도형 학습(semi-supervised learning) 또는 강화 학습(reinforcement learning)을 포함할 수 있으나, 전술한 예에 한정되지 않는다. 인공지능 모델은, 복수의 인공 신경망 레이어들을 포함할 수 있다. 인공 신경망은 심층 신경망(DNN: deep neural network), CNN(convolutional neural network), RNN(recurrent neural network), RBM(restricted boltzmann machine), DBN(deep belief network), BRDNN(bidirectional recurrent deep neural network), 심층 Q-네트워크(deep Q-networks) 또는 상기 중 둘 이상의 조합 중 하나일 수 있으나, 전술한 예에 한정되지 않는다. 인공지능 모델은 하드웨어 구조 이외에, 추가적으로 또는 대체적으로, 소프트웨어 구조를 포함할 수 있다. The auxiliary processor 123 is, for example, on behalf of the main processor 121 while the main processor 121 is in an inactive (eg, sleep) state, or the main processor 121 is active (eg, executing an application). ), together with the main processor 121, at least one of the components of the electronic device 101 (eg, the display module 160, the sensor module 176, or the communication module 190) It is possible to control at least some of the related functions or states. According to an embodiment, the co-processor 123 (eg, an image signal processor or a communication processor) may be implemented as part of another functionally related component (eg, the camera module 180 or the communication module 190). have. According to an embodiment, the auxiliary processor 123 (eg, a neural network processing device) may include a hardware structure specialized for processing an artificial intelligence model. Artificial intelligence models can be created through machine learning. Such learning may be performed, for example, in the electronic device 101 itself on which artificial intelligence is performed, or may be performed through a separate server (eg, the server 108). The learning algorithm may include, for example, supervised learning, unsupervised learning, semi-supervised learning, or reinforcement learning, but in the above example not limited The artificial intelligence model may include a plurality of artificial neural network layers. Artificial neural networks include deep neural networks (DNNs), convolutional neural networks (CNNs), recurrent neural networks (RNNs), restricted boltzmann machines (RBMs), deep belief networks (DBNs), bidirectional recurrent deep neural networks (BRDNNs), It may be one of deep Q-networks or a combination of two or more of the above, but is not limited to the above example. The artificial intelligence model may include, in addition to, or alternatively, a software structure in addition to the hardware structure.
메모리(130)는, 전자 장치(101)의 적어도 하나의 구성요소(예: 프로세서(120) 또는 센서 모듈(176))에 의해 사용되는 다양한 데이터를 저장할 수 있다. 데이터는, 예를 들어, 소프트웨어(예: 프로그램(140)) 및, 이와 관련된 명령에 대한 입력 데이터 또는 출력 데이터를 포함할 수 있다. 메모리(130)는, 휘발성 메모리(132) 또는 비휘발성 메모리(134)를 포함할 수 있다. The memory 130 may store various data used by at least one component of the electronic device 101 (eg, the processor 120 or the sensor module 176 ). The data may include, for example, input data or output data for software (eg, the program 140 ) and instructions related thereto. The memory 130 may include a volatile memory 132 or a non-volatile memory 134 .
프로그램(140)은 메모리(130)에 소프트웨어로서 저장될 수 있으며, 예를 들면, 운영 체제(142), 미들 웨어(144) 또는 어플리케이션(146)을 포함할 수 있다. The program 140 may be stored as software in the memory 130 , and may include, for example, an operating system 142 , middleware 144 , or an application 146 .
입력 모듈(150)은, 전자 장치(101)의 구성요소(예: 프로세서(120))에 사용될 명령 또는 데이터를 전자 장치(101)의 외부(예: 사용자)로부터 수신할 수 있다. 입력 모듈(150)은, 예를 들면, 마이크, 마우스, 키보드, 키(예: 버튼), 또는 디지털 펜(예: 스타일러스 펜)을 포함할 수 있다. The input module 150 may receive a command or data to be used in a component (eg, the processor 120 ) of the electronic device 101 from the outside (eg, a user) of the electronic device 101 . The input module 150 may include, for example, a microphone, a mouse, a keyboard, a key (eg, a button), or a digital pen (eg, a stylus pen).
음향 출력 모듈(155)은 음향 신호를 전자 장치(101)의 외부로 출력할 수 있다. 음향 출력 모듈(155)은, 예를 들면, 스피커 또는 리시버를 포함할 수 있다. 스피커는 멀티미디어 재생 또는 녹음 재생과 같이 일반적인 용도로 사용될 수 있다. 리시버는 착신 전화를 수신하기 위해 사용될 수 있다. 일실시예에 따르면, 리시버는 스피커와 별개로, 또는 그 일부로서 구현될 수 있다.The sound output module 155 may output a sound signal to the outside of the electronic device 101 . The sound output module 155 may include, for example, a speaker or a receiver. The speaker can be used for general purposes such as multimedia playback or recording playback. The receiver may be used to receive an incoming call. According to one embodiment, the receiver may be implemented separately from or as part of the speaker.
디스플레이 모듈(160)은 전자 장치(101)의 외부(예: 사용자)로 정보를 시각적으로 제공할 수 있다. 디스플레이 모듈(160)은, 예를 들면, 디스플레이, 홀로그램 장치, 또는 프로젝터 및 해당 장치를 제어하기 위한 제어 회로를 포함할 수 있다. 일실시예에 따르면, 디스플레이 모듈(160)은 터치를 감지하도록 설정된 터치 센서, 또는 상기 터치에 의해 발생되는 힘의 세기를 측정하도록 설정된 압력 센서를 포함할 수 있다. The display module 160 may visually provide information to the outside (eg, a user) of the electronic device 101 . The display module 160 may include, for example, a control circuit for controlling a display, a hologram device, or a projector and a corresponding device. According to an embodiment, the display module 160 may include a touch sensor configured to sense a touch or a pressure sensor configured to measure the intensity of a force generated by the touch.
오디오 모듈(170)은 소리를 전기 신호로 변환시키거나, 반대로 전기 신호를 소리로 변환시킬 수 있다. 일실시예에 따르면, 오디오 모듈(170)은, 입력 모듈(150)을 통해 소리를 획득하거나, 음향 출력 모듈(155), 또는 전자 장치(101)와 직접 또는 무선으로 연결된 외부 전자 장치(예: 전자 장치(102))(예: 스피커 또는 헤드폰)를 통해 소리를 출력할 수 있다.The audio module 170 may convert a sound into an electric signal or, conversely, convert an electric signal into a sound. According to an embodiment, the audio module 170 acquires a sound through the input module 150 , or an external electronic device (eg, a sound output module 155 ) connected directly or wirelessly with the electronic device 101 . A sound may be output through the electronic device 102 (eg, a speaker or headphones).
센서 모듈(176)은 전자 장치(101)의 작동 상태(예: 전력 또는 온도), 또는 외부의 환경 상태(예: 사용자 상태)를 감지하고, 감지된 상태에 대응하는 전기 신호 또는 데이터 값을 생성할 수 있다. 일실시예에 따르면, 센서 모듈(176)은, 예를 들면, 제스처 센서, 자이로 센서, 기압 센서, 마그네틱 센서, 가속도 센서, 그립 센서, 근접 센서, 컬러 센서, IR(infrared) 센서, 생체 센서, 온도 센서, 습도 센서, 또는 조도 센서를 포함할 수 있다. The sensor module 176 detects an operating state (eg, power or temperature) of the electronic device 101 or an external environmental state (eg, user state), and generates an electrical signal or data value corresponding to the sensed state. can do. According to an embodiment, the sensor module 176 may include, for example, a gesture sensor, a gyro sensor, a barometric pressure sensor, a magnetic sensor, an acceleration sensor, a grip sensor, a proximity sensor, a color sensor, an IR (infrared) sensor, a biometric sensor, It may include a temperature sensor, a humidity sensor, or an illuminance sensor.
인터페이스(177)는 전자 장치(101)가 외부 전자 장치(예: 전자 장치(102))와 직접 또는 무선으로 연결되기 위해 사용될 수 있는 하나 이상의 지정된 프로토콜들을 지원할 수 있다. 일실시예에 따르면, 인터페이스(177)는, 예를 들면, HDMI(high definition multimedia interface), USB(universal serial bus) 인터페이스, SD카드 인터페이스, 또는 오디오 인터페이스를 포함할 수 있다.The interface 177 may support one or more designated protocols that may be used by the electronic device 101 to directly or wirelessly connect with an external electronic device (eg, the electronic device 102 ). According to an embodiment, the interface 177 may include, for example, a high definition multimedia interface (HDMI), a universal serial bus (USB) interface, an SD card interface, or an audio interface.
연결 단자(178)는, 그를 통해서 전자 장치(101)가 외부 전자 장치(예: 전자 장치(102))와 물리적으로 연결될 수 있는 커넥터를 포함할 수 있다. 일실시예에 따르면, 연결 단자(178)는, 예를 들면, HDMI 커넥터, USB 커넥터, SD 카드 커넥터, 또는 오디오 커넥터(예: 헤드폰 커넥터)를 포함할 수 있다.The connection terminal 178 may include a connector through which the electronic device 101 can be physically connected to an external electronic device (eg, the electronic device 102 ). According to an embodiment, the connection terminal 178 may include, for example, an HDMI connector, a USB connector, an SD card connector, or an audio connector (eg, a headphone connector).
햅틱 모듈(179)은 전기적 신호를 사용자가 촉각 또는 운동 감각을 통해서 인지할 수 있는 기계적인 자극(예: 진동 또는 움직임) 또는 전기적인 자극으로 변환할 수 있다. 일실시예에 따르면, 햅틱 모듈(179)은, 예를 들면, 모터, 압전 소자, 또는 전기 자극 장치를 포함할 수 있다.The haptic module 179 may convert an electrical signal into a mechanical stimulus (eg, vibration or movement) or an electrical stimulus that the user can perceive through tactile or kinesthetic sense. According to an embodiment, the haptic module 179 may include, for example, a motor, a piezoelectric element, or an electrical stimulation device.
카메라 모듈(180)은 정지 영상 및 동영상을 촬영할 수 있다. 일실시예에 따르면, 카메라 모듈(180)은 하나 이상의 렌즈들, 이미지 센서들, 이미지 시그널 프로세서들, 또는 플래시들을 포함할 수 있다.The camera module 180 may capture still images and moving images. According to an embodiment, the camera module 180 may include one or more lenses, image sensors, image signal processors, or flashes.
전력 관리 모듈(188)은 전자 장치(101)에 공급되는 전력을 관리할 수 있다. 일실시예에 따르면, 전력 관리 모듈(188)은, 예를 들면, PMIC(power management integrated circuit)의 적어도 일부로서 구현될 수 있다.The power management module 188 may manage power supplied to the electronic device 101 . According to an embodiment, the power management module 188 may be implemented as, for example, at least a part of a power management integrated circuit (PMIC).
배터리(189)는 전자 장치(101)의 적어도 하나의 구성요소에 전력을 공급할 수 있다. 일실시예에 따르면, 배터리(189)는, 예를 들면, 재충전 불가능한 1차 전지, 재충전 가능한 2차 전지 또는 연료 전지를 포함할 수 있다.The battery 189 may supply power to at least one component of the electronic device 101 . According to one embodiment, battery 189 may include, for example, a non-rechargeable primary cell, a rechargeable secondary cell, or a fuel cell.
통신 모듈(190)은 전자 장치(101)와 외부 전자 장치(예: 전자 장치(102), 전자 장치(104), 또는 서버(108)) 간의 직접(예: 유선) 통신 채널 또는 무선 통신 채널의 수립, 및 수립된 통신 채널을 통한 통신 수행을 지원할 수 있다. 통신 모듈(190)은 프로세서(120)(예: 어플리케이션 프로세서)와 독립적으로 운영되고, 직접(예: 유선) 통신 또는 무선 통신을 지원하는 하나 이상의 커뮤니케이션 프로세서를 포함할 수 있다. 일실시예에 따르면, 통신 모듈(190)은 무선 통신 모듈(192)(예: 셀룰러 통신 모듈, 근거리 무선 통신 모듈, 또는 GNSS(global navigation satellite system) 통신 모듈) 또는 유선 통신 모듈(194)(예: LAN(local area network) 통신 모듈, 또는 전력선 통신 모듈)을 포함할 수 있다. 이들 통신 모듈 중 해당하는 통신 모듈은 제 1 네트워크(198)(예: 블루투스, WiFi(wireless fidelity) direct 또는 IrDA(infrared data association)와 같은 근거리 통신 네트워크) 또는 제 2 네트워크(199)(예: 레거시 셀룰러 네트워크, 5G 네트워크, 차세대 통신 네트워크, 인터넷, 또는 컴퓨터 네트워크(예: LAN 또는 WAN)와 같은 원거리 통신 네트워크)를 통하여 외부의 전자 장치(104)와 통신할 수 있다. 이런 여러 종류의 통신 모듈들은 하나의 구성요소(예: 단일 칩)로 통합되거나, 또는 서로 별도의 복수의 구성요소들(예: 복수 칩들)로 구현될 수 있다. 무선 통신 모듈(192)은 가입자 식별 모듈(196)에 저장된 가입자 정보(예: 국제 모바일 가입자 식별자(IMSI))를 이용하여 제 1 네트워크(198) 또는 제 2 네트워크(199)와 같은 통신 네트워크 내에서 전자 장치(101)를 확인 또는 인증할 수 있다. The communication module 190 is a direct (eg, wired) communication channel or a wireless communication channel between the electronic device 101 and an external electronic device (eg, the electronic device 102, the electronic device 104, or the server 108). It can support establishment and communication performance through the established communication channel. The communication module 190 may include one or more communication processors that operate independently of the processor 120 (eg, an application processor) and support direct (eg, wired) communication or wireless communication. According to one embodiment, the communication module 190 is a wireless communication module 192 (eg, a cellular communication module, a short-range wireless communication module, or a global navigation satellite system (GNSS) communication module) or a wired communication module 194 (eg, : It may include a LAN (local area network) communication module, or a power line communication module). A corresponding communication module among these communication modules is a first network 198 (eg, a short-range communication network such as Bluetooth, wireless fidelity (WiFi) direct, or infrared data association (IrDA)) or a second network 199 (eg, legacy It may communicate with the external electronic device 104 through a cellular network, a 5G network, a next-generation communication network, the Internet, or a computer network (eg, a telecommunication network such as a LAN or a WAN). These various types of communication modules may be integrated into one component (eg, a single chip) or may be implemented as a plurality of components (eg, multiple chips) separate from each other. The wireless communication module 192 uses the subscriber information (eg, International Mobile Subscriber Identifier (IMSI)) stored in the subscriber identification module 196 within a communication network such as the first network 198 or the second network 199 . The electronic device 101 may be identified or authenticated.
무선 통신 모듈(192)은 4G 네트워크 이후의 5G 네트워크 및 차세대 통신 기술, 예를 들어, NR 접속 기술(new radio access technology)을 지원할 수 있다. NR 접속 기술은 고용량 데이터의 고속 전송(eMBB(enhanced mobile broadband)), 단말 전력 최소화와 다수 단말의 접속(mMTC(massive machine type communications)), 또는 고신뢰도와 저지연(URLLC(ultra-reliable and low-latency communications))을 지원할 수 있다. 무선 통신 모듈(192)은, 예를 들어, 높은 데이터 전송률 달성을 위해, 고주파 대역(예: mmWave 대역)을 지원할 수 있다. 무선 통신 모듈(192)은 고주파 대역에서의 성능 확보를 위한 다양한 기술들, 예를 들어, 빔포밍(beamforming), 거대 배열 다중 입출력(massive MIMO(multiple-input and multiple-output)), 전차원 다중입출력(FD-MIMO: full dimensional MIMO), 어레이 안테나(array antenna), 아날로그 빔형성(analog beam-forming), 또는 대규모 안테나(large scale antenna)와 같은 기술들을 지원할 수 있다. 무선 통신 모듈(192)은 전자 장치(101), 외부 전자 장치(예: 전자 장치(104)) 또는 네트워크 시스템(예: 제 2 네트워크(199))에 규정되는 다양한 요구사항을 지원할 수 있다. 일실시예에 따르면, 무선 통신 모듈(192)은 eMBB 실현을 위한 Peak data rate(예: 20Gbps 이상), mMTC 실현을 위한 손실 Coverage(예: 164dB 이하), 또는 URLLC 실현을 위한 U-plane latency(예: 다운링크(DL) 및 업링크(UL) 각각 0.5ms 이하, 또는 라운드 트립 1ms 이하)를 지원할 수 있다.The wireless communication module 192 may support a 5G network after a 4G network and a next-generation communication technology, for example, a new radio access technology (NR). NR access technology includes high-speed transmission of high-capacity data (eMBB (enhanced mobile broadband)), minimization of terminal power and access to multiple terminals (mMTC (massive machine type communications)), or high reliability and low latency (URLLC (ultra-reliable and low-latency) -latency communications)). The wireless communication module 192 may support a high frequency band (eg, mmWave band) to achieve a high data rate, for example. The wireless communication module 192 includes various technologies for securing performance in a high-frequency band, for example, beamforming, massive multiple-input and multiple-output (MIMO), all-dimensional multiplexing. It may support technologies such as full dimensional MIMO (FD-MIMO), an array antenna, analog beam-forming, or a large scale antenna. The wireless communication module 192 may support various requirements specified in the electronic device 101 , an external electronic device (eg, the electronic device 104 ), or a network system (eg, the second network 199 ). According to an embodiment, the wireless communication module 192 may include a peak data rate (eg, 20 Gbps or more) for realizing eMBB, loss coverage (eg, 164 dB or less) for realizing mMTC, or U-plane latency for realizing URLLC ( Example: downlink (DL) and uplink (UL) each 0.5 ms or less, or round trip 1 ms or less).
안테나 모듈(197)은 신호 또는 전력을 외부(예: 외부의 전자 장치)로 송신하거나 외부로부터 수신할 수 있다. 일실시예에 따르면, 안테나 모듈(197)은 서브스트레이트(예: PCB) 위에 형성된 도전체 또는 도전성 패턴으로 이루어진 방사체를 포함하는 안테나를 포함할 수 있다. 일실시예에 따르면, 안테나 모듈(197)은 복수의 안테나들(예: 어레이 안테나)을 포함할 수 있다. 이런 경우, 제 1 네트워크(198) 또는 제 2 네트워크(199)와 같은 통신 네트워크에서 사용되는 통신 방식에 적합한 적어도 하나의 안테나가, 예를 들면, 통신 모듈(190)에 의하여 상기 복수의 안테나들로부터 선택될 수 있다. 신호 또는 전력은 상기 선택된 적어도 하나의 안테나를 통하여 통신 모듈(190)과 외부의 전자 장치 간에 송신되거나 수신될 수 있다. 어떤 실시예에 따르면, 방사체 이외에 다른 부품(예: RFIC(radio frequency integrated circuit))이 추가로 안테나 모듈(197)의 일부로 형성될 수 있다. The antenna module 197 may transmit or receive a signal or power to the outside (eg, an external electronic device). According to an embodiment, the antenna module 197 may include an antenna including a conductor formed on a substrate (eg, a PCB) or a radiator formed of a conductive pattern. According to an embodiment, the antenna module 197 may include a plurality of antennas (eg, an array antenna). In this case, at least one antenna suitable for a communication method used in a communication network such as the first network 198 or the second network 199 is connected from the plurality of antennas by, for example, the communication module 190 . can be selected. A signal or power may be transmitted or received between the communication module 190 and an external electronic device through the selected at least one antenna. According to some embodiments, other components (eg, a radio frequency integrated circuit (RFIC)) other than the radiator may be additionally formed as a part of the antenna module 197 .
다양한 실시예에 따르면, 안테나 모듈(197)은 mmWave 안테나 모듈을 형성할 수 있다. 일실시예에 따르면, mmWave 안테나 모듈은 인쇄 회로 기판, 상기 인쇄 회로 기판의 제 1 면(예: 아래 면)에 또는 그에 인접하여 배치되고 지정된 고주파 대역(예: mmWave 대역)을 지원할 수 있는 RFIC, 및 상기 인쇄 회로 기판의 제 2 면(예: 윗 면 또는 측 면)에 또는 그에 인접하여 배치되고 상기 지정된 고주파 대역의 신호를 송신 또는 수신할 수 있는 복수의 안테나들(예: 어레이 안테나)을 포함할 수 있다.According to various embodiments, the antenna module 197 may form a mmWave antenna module. According to one embodiment, the mmWave antenna module comprises a printed circuit board, an RFIC disposed on or adjacent to a first side (eg, bottom side) of the printed circuit board and capable of supporting a designated high frequency band (eg, mmWave band); and a plurality of antennas (eg, an array antenna) disposed on or adjacent to a second side (eg, top or side) of the printed circuit board and capable of transmitting or receiving signals of the designated high frequency band. can do.
상기 구성요소들 중 적어도 일부는 주변 기기들간 통신 방식(예: 버스, GPIO(general purpose input and output), SPI(serial peripheral interface), 또는 MIPI(mobile industry processor interface))을 통해 서로 연결되고 신호(예: 명령 또는 데이터)를 상호간에 교환할 수 있다.At least some of the components are connected to each other through a communication method between peripheral devices (eg, a bus, general purpose input and output (GPIO), serial peripheral interface (SPI), or mobile industry processor interface (MIPI)) and a signal ( eg commands or data) can be exchanged with each other.
일실시예에 따르면, 명령 또는 데이터는 제 2 네트워크(199)에 연결된 서버(108)를 통해서 전자 장치(101)와 외부의 전자 장치(104)간에 송신 또는 수신될 수 있다. 외부의 전자 장치(102, 또는 104) 각각은 전자 장치(101)와 동일한 또는 다른 종류의 장치일 수 있다. 일실시예에 따르면, 전자 장치(101)에서 실행되는 동작들의 전부 또는 일부는 외부의 전자 장치들(102, 104, 또는 108) 중 하나 이상의 외부의 전자 장치들에서 실행될 수 있다. 예를 들면, 전자 장치(101)가 어떤 기능이나 서비스를 자동으로, 또는 사용자 또는 다른 장치로부터의 요청에 반응하여 수행해야 할 경우에, 전자 장치(101)는 기능 또는 서비스를 자체적으로 실행시키는 대신에 또는 추가적으로, 하나 이상의 외부의 전자 장치들에게 그 기능 또는 그 서비스의 적어도 일부를 수행하라고 요청할 수 있다. 상기 요청을 수신한 하나 이상의 외부의 전자 장치들은 요청된 기능 또는 서비스의 적어도 일부, 또는 상기 요청과 관련된 추가 기능 또는 서비스를 실행하고, 그 실행의 결과를 전자 장치(101)로 전달할 수 있다. 전자 장치(101)는 상기 결과를, 그대로 또는 추가적으로 처리하여, 상기 요청에 대한 응답의 적어도 일부로서 제공할 수 있다. 이를 위하여, 예를 들면, 클라우드 컴퓨팅, 분산 컴퓨팅, 모바일 에지 컴퓨팅(MEC: mobile edge computing), 또는 클라이언트-서버 컴퓨팅 기술이 이용될 수 있다. 전자 장치(101)는, 예를 들어, 분산 컴퓨팅 또는 모바일 에지 컴퓨팅을 이용하여 초저지연 서비스를 제공할 수 있다. 다른 실시예에 있어서, 외부의 전자 장치(104)는 IoT(internet of things) 기기를 포함할 수 있다. 서버(108)는 기계 학습 및/또는 신경망을 이용한 지능형 서버일 수 있다. 일실시예에 따르면, 외부의 전자 장치(104) 또는 서버(108)는 제 2 네트워크(199) 내에 포함될 수 있다. 전자 장치(101)는 5G 통신 기술 및 IoT 관련 기술을 기반으로 지능형 서비스(예: 스마트 홈, 스마트 시티, 스마트 카, 또는 헬스 케어)에 적용될 수 있다. According to an embodiment, the command or data may be transmitted or received between the electronic device 101 and the external electronic device 104 through the server 108 connected to the second network 199 . Each of the external electronic devices 102 or 104 may be the same as or different from the electronic device 101 . According to an embodiment, all or a part of operations executed in the electronic device 101 may be executed in one or more external electronic devices 102 , 104 , or 108 . For example, when the electronic device 101 is to perform a function or service automatically or in response to a request from a user or other device, the electronic device 101 may perform the function or service itself instead of executing the function or service itself. Alternatively or additionally, one or more external electronic devices may be requested to perform at least a part of the function or the service. One or more external electronic devices that have received the request may execute at least a part of the requested function or service, or an additional function or service related to the request, and transmit a result of the execution to the electronic device 101 . The electronic device 101 may process the result as it is or additionally and provide it as at least a part of a response to the request. For this, for example, cloud computing, distributed computing, mobile edge computing (MEC), or client-server computing technology may be used. The electronic device 101 may provide an ultra-low latency service using, for example, distributed computing or mobile edge computing. In another embodiment, the external electronic device 104 may include an Internet of things (IoT) device. Server 108 may be an intelligent server using machine learning and/or neural networks. According to an embodiment, the external electronic device 104 or the server 108 may be included in the second network 199 . The electronic device 101 may be applied to an intelligent service (eg, smart home, smart city, smart car, or health care) based on 5G communication technology and IoT-related technology.
도 2는 IoT 시스템(200)을 도시한다. 도 2의 구성 요소 중 적어도 일부는 생략될 수도 있으며, 도시되지 않은 구성 요소가 더 포함되도록 구현될 수도 있다. 2 shows an IoT system 200 . At least some of the components of FIG. 2 may be omitted, and components not shown may be further included.
도 2를 참조하면, 일 실시예에 따른 IoT 시스템(200)은, 데이터 네트워크(216 또는 246)(예: 도 1의 제1 네트워크(198) 또는 제2 네트워크(199))에 연결 가능한 복수의 전자 장치들을 포함한다. 예를 들어, IoT 시스템(200)은 제1 IoT 서버(210)(예: 도 1의 서버(108)), 제1 노드(node)(220), 보이스 어시스턴트(voice assistance) 서버(230), 제2 IoT 서버(240)(예: 도 1의 서버(108)), 제2 노드(250), 또는 디바이스들(221,222,223,224,225,236,237,251,252,253) 중 적어도 하나를 포함할 수 있다. Referring to FIG. 2 , the IoT system 200 according to an embodiment includes a plurality of data networks 216 or 246 (eg, the first network 198 or the second network 199 of FIG. 1 ) connectable. including electronic devices. For example, the IoT system 200 includes a first IoT server 210 (eg, the server 108 of FIG. 1 ), a first node 220 , a voice assistance server 230 , It may include at least one of the second IoT server 240 (eg, the server 108 of FIG. 1 ), the second node 250 , or the devices 221,222,223,224,225,236,237,251,252,253.
일 실시예에 따라서, 제1 IoT 서버(210)는, 통신 인터페이스(211)(예: 도 1의 인터페이스(177) 또는 통신 모듈(190)), 프로세서(212)(예: 도 1의 프로세서(120)), 또는 저장부(213)(예: 도 1의 메모리(130)) 중 적어도 하나를 포함할 수 있다. 제2 IoT 서버(240)는, 통신 인터페이스(241)(예: 도 1의 인터페이스(177) 또는 통신 모듈(190)), 프로세서(242)(예: 도 1의 프로세서(120)), 또는 저장부(243)(예: 도 1의 메모리(130)) 중 적어도 하나를 포함할 수 있다. 보이스 어시스턴트(voice assistance) 서버(230)는 통신 인터페이스(231)(예: 도 1의 인터페이스(177) 또는 통신 모듈(190)), 프로세서(232)(예: 도 1의 프로세서(120)), 또는 저장부(233)(예: 도 1의 메모리(130)) 중 적어도 하나를 포함할 수 있다. 본 문서에서의 "IoT 서버"는, 예를 들어 데이터 네트워크(예: 데이터 네트워크(216) 또는 데이터 네트워크(246))에 기반하여, 중계 디바이스(예: 제 1 노드(220) 또는 제 2 노드(250))를 통하거나, 또는 중계 디바이스 없이 직접적으로(directly), 하나 또는 그 이상의 디바이스들(예: 디바이스들(221,222,223,224,225,251,252,253))을 원격으로 제어 및/또는 모니터링할 수 있다. 여기에서의 "디바이스"는, 예를 들어 가택, 사무실, 공장, 빌딩, 외부 지점, 또는 다른 타입의 부지들과 같은 로컬 환경 내에 배치되는(또는, 위치하는) 센서, 가전, 사무용 전자 디바이스, 또는 공정 수행을 위한 디바이스로, 그 종류에는 제한이 없다. 제어 명령을 수신하여 제어 명령에 대응하는 동작을 수행하는 디바이스를 "타겟 디바이스"또는 '타겟 전자 장치'로 명명할 수 있다. IoT 서버는, 복수의 디바이스들 중 타겟 디바이스를 선택하고 제어 명령을 제공하는 점에서, 중앙 서버(central server)로 명명될 수도 있다.According to an embodiment, the first IoT server 210 includes a communication interface 211 (eg, the interface 177 or communication module 190 of FIG. 1 ), a processor 212 (eg, the processor of FIG. 1 ) 120), or the storage unit 213 (eg, the memory 130 of FIG. 1). The second IoT server 240 is a communication interface 241 (eg, the interface 177 or communication module 190 of FIG. 1 ), a processor 242 (eg, the processor 120 of FIG. 1 ), or storage It may include at least one of the units 243 (eg, the memory 130 of FIG. 1 ). The voice assistant server 230 includes a communication interface 231 (eg, interface 177 or communication module 190 of FIG. 1 ), a processor 232 (eg, processor 120 of FIG. 1 ), Alternatively, it may include at least one of the storage unit 233 (eg, the memory 130 of FIG. 1 ). "IoT server" in this document, for example, based on a data network (eg, data network 216 or data network 246), a relay device (eg, the first node 220 or the second node ( 250)), or directly without a relay device, remotely control and/or monitor one or more devices (eg, devices 221,222,223,224,225,251,252,253). A “device” herein means a sensor, home appliance, office electronic device, or A device for performing a process, the type is not limited. A device that receives the control command and performs an operation corresponding to the control command may be referred to as a “target device” or a “target electronic device”. The IoT server may be referred to as a central server in that it selects a target device from among a plurality of devices and provides a control command.
일 실시예에 따라서, 제1 IoT 서버(210)는, 데이터 네트워크(216)를 통하여 디바이스들(221,222,223)과 통신을 수행할 수 있다. 데이터 네트워크(216)는, 예를 들어 인터넷, 또는 컴퓨터 네트워크(예: LAN 또는 WAN)와 같은 원거리 통신을 위한 네트워크를 의미할 수 있으며, 또는 셀룰러 네트워크를 포함할 수도 있다. According to an embodiment, the first IoT server 210 may communicate with the devices 221 , 222 , and 223 through the data network 216 . The data network 216 may refer to a network for long-distance communication, such as, for example, the Internet or a computer network (eg, LAN or WAN), or may include a cellular network.
일 실시예에 따라서, 제1 IoT 서버(210)는, 통신 인터페이스(211)를 통하여 데이터 네트워크(216)에 연결될 수 있다. 통신 인터페이스(211)는, 데이터 네트워크(216)의 통신을 지원하기 위한 통신 디바이스(또는, 통신 모듈)를 포함할 수 있으며, 하나의 구성 요소(예: 단일 칩)로 통합되거나, 또는 별도의 복수의 구성 요소들(예: 복수 칩들)로 구현될 수 있다. 제1 IoT 서버(210)는, 제1 노드(220)를 통하여 디바이스들(221,222,223)과 통신을 수행할 수 있다. 제1 노드(220)는, 제1 IoT 서버(210)로부터의 데이터를 데이터 네트워크(216)를 통하여 수신하고, 수신한 데이터를 디바이스들(221,222,223) 중 적어도 일부로 송신할 수 있다. 또는, 제1 노드(220)는, 디바이스들(221,222,223) 중 적어도 일부로부터 데이터를 수신하고, 수신한 데이터를 데이터 네트워크(216)를 통하여 제1 IoT 서버(210)로 송신할 수 있다. 제1 노드(220)는, 데이터 네트워크(216) 및 디바이스들(221,222,223) 사이의 브릿지(bridge)로서 기능할 수 있다. 한편, 도 2에서는 제1 노드(220)가 하나인 것과 같이 도시되어 있지만 이는 단순히 예시적인 것으로, 그 숫자에는 제한이 없다. According to an embodiment, the first IoT server 210 may be connected to the data network 216 through the communication interface 211 . The communication interface 211 may include a communication device (or a communication module) for supporting communication of the data network 216 , and may be integrated into one component (eg, a single chip), or may include a plurality of separate components. It can be implemented with components (eg, a plurality of chips). The first IoT server 210 may communicate with the devices 221 , 222 , and 223 through the first node 220 . The first node 220 may receive data from the first IoT server 210 through the data network 216 and transmit the received data to at least some of the devices 221 , 222 , and 223 . Alternatively, the first node 220 may receive data from at least some of the devices 221 , 222 , and 223 , and transmit the received data to the first IoT server 210 through the data network 216 . The first node 220 may serve as a bridge between the data network 216 and the devices 221 , 222 , 223 . Meanwhile, in FIG. 2 , the first node 220 is illustrated as one, but this is merely exemplary, and the number is not limited.
본 문서에서의 "노드"는, 엣지 컴퓨팅 시스템(edge computing system)일 수 있거나, 또는 허브(hub) 디바이스일 수 있다. 일 실시예에 따라서, 제1 노드(220)는, 데이터 네트워크(216)의 유선 및/또는 무선의 통신을 지원하며, 아울러 디바이스들(221,222,223)과의 유선 및/또는 무선의 통신을 지원할 수 있다. 예를 들어, 제1 노드(220)는, 블루투스, Wi-Fi, Wi-Fi direct, Z-wave, Zig-bee, Insteon, X10 또는 IrDA(infrared data association) 중 적어도 하나와 같은 근거리 통신 네트워크를 통하여 디바이스들(221,222,223)과 연결될 수 있으나, 통신 종류에는 제한이 없다. 제1 노드(220)는, 예를 들어 가택, 사무실, 공장, 빌딩, 외부 지점, 또는 다른 타입의 부지들과 같은 환경 내에 배치(또는, 위치)될 수 있다. 이에 따라, 디바이스들(221,222,223)은, 제1 IoT 서버(210)에 의하여 제공되는 서비스에 의하여 모니터링 및/또는 제어될 수 있으며, 디바이스들(221,222,223)은 제1 IoT 서버(210)로의 직접 연결을 위한 완전한 네트워크 통신(예: 인터넷 통신)의 캐퍼빌리티(capability)를 갖출 것이 요구되지 않을 수 있다. 디바이스들(221,222,223)은, 예를 들어 전등 스위치, 근접 센서, 또는 온도 센서와 같이 가택 환경 내의 전자 장치로 구현된 것과 같이 도시되었지만, 이는 예시적인 것으로 제한은 없다.A “node” in this document may be an edge computing system, or may be a hub device. According to an embodiment, the first node 220 may support wired and/or wireless communication of the data network 216 , and may also support wired and/or wireless communication with the devices 221 , 222 , and 223 . . For example, the first node 220 is a short-range communication network such as at least one of Bluetooth, Wi-Fi, Wi-Fi direct, Z-wave, Zig-bee, Insteon, X10, or IrDA (infrared data association). Although it can be connected to the devices 221 , 222 , and 223 through the communication type, there is no limitation. The first node 220 may be located (or located) within an environment, such as, for example, a home, an office, a factory, a building, an off-site branch, or other type of premises. Accordingly, the devices 221 , 222 , and 223 may be monitored and/or controlled by the service provided by the first IoT server 210 , and the devices 221 , 222 , and 223 may directly connect to the first IoT server 210 . It may not be required to have the capability of full network communication (eg Internet communication) for Devices 221 , 222 , 223 are shown as implemented as electronic devices within a home environment, such as, for example, light switches, proximity sensors, or temperature sensors, although this is illustrative and not restrictive.
일 실시예에 따라서, 제1 IoT 서버(210)는, 디바이스들(224,225)과의 직접 통신(direct communication)을 지원할 수도 있다. 여기에서, "직접 통신"은, 예를 들어 제1 노드(220)와 같은 중계 디바이스를 통하지 않은 통신으로, 예를 들어 셀룰러 통신 네트워크 및/또는 데이터 네트워크를 통한 통신을 의미할 수 있다. According to an embodiment, the first IoT server 210 may support direct communication with the devices 224 and 225 . Herein, “direct communication” may refer to communication not through a relay device such as the first node 220, for example, communication through a cellular communication network and/or a data network.
일 실시예에 따라서, 제1 IoT 서버(210)는, 디바이스들(221,222,223,224,225) 중 적어도 일부로 제어 명령을 송신할 수 있다. 여기에서, "제어 명령"은, 제어 가능한 디바이스가 지정된 동작을 수행하도록 야기하는 데이터를 의미할 수 있으며, 지정된 동작은 디바이스에 의하여 수행되는 동작으로, 정보의 출력, 정보의 센싱, 정보의 보고, 또는 정보의 관리(예: 삭제, 또는 생성)를 포함할 수 있으며, 그 종류에는 제한이 없다. 예를 들어, 프로세서(212)는, 외부(예: 보이스 어시스턴트 서버(230), 제2 IoT 서버(240), 외부 시스템(260), 또는 디바이스들(221,222,223,224,225) 중 적어도 일부)로부터 제어 명령을 생성하기 위한 정보(또는, 요청)를 획득하고, 획득한 정보에 기반하여 제어 명령을 생성할 수 있다. 또는, 프로세서(212)는, 디바이스들(221,222,223,224,225) 중 적어도 일부의 모니터링 결과가 지정된 조건을 만족함에 기반하여 제어 명령을 생성할 수 있다. 프로세서(212)는, 제어 명령을, 타겟 디바이스로 송신하도록 통신 인터페이스(211)를 제어할 수 있다.According to an embodiment, the first IoT server 210 may transmit a control command to at least some of the devices 221 , 222 , 223 , 224 and 225 . Here, the "control command" may mean data that causes a controllable device to perform a specified operation, and the specified operation is an operation performed by the device, including output of information, sensing of information, reporting of information, Alternatively, it may include management (eg, deletion, or creation) of information, and there is no limitation on the type. For example, the processor 212 generates a control command from an external (eg, at least some of the voice assistant server 230 , the second IoT server 240 , the external system 260 , or the devices 221 , 222 223 , 224 , 225 ). It is possible to obtain information (or a request) to perform the operation, and generate a control command based on the obtained information. Alternatively, the processor 212 may generate a control command based on a result of monitoring at least some of the devices 221 , 222 , 223 , 224 and 225 satisfying a specified condition. The processor 212 may control the communication interface 211 to transmit a control command to the target device.
일 실시예에 따라서, 프로세서(212), 프로세서(232), 또는 프로세서(242)는, CPU(central processing unit), DSP(digital signal processor), AP(application processor), CP(communication processor) 등과 같은 범용 프로세서, GPU(graphical processing unit), VPU(vision processing Unit)와 같은 그래픽 전용 프로세서 또는 NPU(neural processing unit)와 같은 인공 지능 전용 프로세서 중 하나 이상의 조합으로 구현될 수 있다. 상술한 처리 유닛은 단순히 예시적인 것으로, 프로세서(212)는, 예를 들어 메모리(213)에 저장된 인스트럭션을 실행하여, 실행된 결과를 출력할 수 있는 연산 수단이라면 제한이 없음을 당업자는 이해할 것이다. According to one embodiment, the processor 212 , the processor 232 , or the processor 242 is a central processing unit (CPU), a digital signal processor (DSP), an application processor (AP), a communication processor (CP), or the like. It may be implemented as a combination of one or more of a general-purpose processor, a graphic processing unit (GPU), a graphics-only processor such as a vision processing unit (VPU), or an artificial intelligence-only processor such as a neural processing unit (NPU). Those skilled in the art will understand that the above-described processing unit is merely an example, and the processor 212 executes instructions stored in the memory 213 and is not limited as long as it is an arithmetic means capable of outputting the executed result.
일 실시예에 따라서, 프로세서(212)는, API(214)에 기반하여 웹-기반 인터페이스를 구성하거나, 또는 제1 IoT 서버(210)에 의하여 관리되는 리소스(resource)를 외부에 노출시킬 수 있다. 웹-기반 인터페이스는, 예를 들어 제1 IoT 서버(210) 및 외부 웹 서비스 사이의 통신을 지원할 수 있다. 프로세서(212)는, 예를 들어 외부 시스템(260)으로 하여금 디바이스들(221,222,223)의 제어 및/또는 억세스를 허용할 수도 있다. 외부 시스템(260)은, 예를 들어 시스템(200)과 연관이 없거나, 또는 일부가 아닌 독립적인 시스템일 수 있다. 외부 시스템(260)은, 예를 들어 외부 서버이거나, 또는 웹 사이트일 수 있다. 하지만, 외부 시스템(260)으로부터의 디바이스들(221,222,223), 또는 제1 IoT 서버(210)의 리소스로의 억세스에 대한 보안이 요구될 수 있다. 일 실시예에 따라서, 프로세서(212)는, API(214)에 기반한 API 엔드 포인트(예: URL(universal resource locator))를 외부에 노출할 수 있다. 상술한 바에 따라서, 제1 IoT 서버(210)는, 제어 명령을 디바이스들(221,222,223) 중 타겟 디바이스에게 전달할 수 있다. 한편, 제2 IoT 서버(240)의 통신 인터페이스(241), 프로세서(242), 및/또는 저장부(243)(예: API(244), 및/또는 데이터베이스(245))에 대한 설명은, 제 1 IoT 서버(210)의 통신 인터페이스(211), 프로세서(212), 및/또는 저장부(213)(예: API(214), 및/또는 데이터베이스(215))에 대한 설명과 실질적으로 동일할 수 있다. 아울러, 제2 노드(250)에 대한 설명은, 제1 노드(220)에 대한 설명과 실질적으로 동일할 수 있다. 제2 IoT 서버(240)는, 제어 명령을 디바이스들(251,252,253) 중 타겟 디바이스에게 전달할 수 있다. 제1 IoT 서버(210) 및 제2 IoT 서버(240)는, 하나의 실시예에서는 동일한 서비스 제공자에 의하여 운영될 수 있으나, 다른 실시예에서는 상이한 서비스 제공자들에 의하여 각각 운영될 수도 있다. According to an embodiment, the processor 212 may configure a web-based interface based on the API 214 or expose a resource managed by the first IoT server 210 to the outside. . The web-based interface may support communication between the first IoT server 210 and an external web service, for example. The processor 212 may, for example, allow an external system 260 to control and/or access the devices 221 , 222 , 223 . External system 260 may be, for example, an independent system that is not associated with, or is not part of, system 200 . The external system 260 may be, for example, an external server or a web site. However, security for access to the resources of the devices 221 , 222 , 223 from the external system 260 or the first IoT server 210 may be required. According to an embodiment, the processor 212 may expose an API endpoint (eg, a universal resource locator (URL)) based on the API 214 to the outside. As described above, the first IoT server 210 may transmit a control command to a target device among the devices 221 , 222 , and 223 . On the other hand, the description of the communication interface 241, the processor 242, and/or the storage unit 243 (eg, the API 244, and/or the database 245) of the second IoT server 240, Substantially the same as the description of the communication interface 211 , the processor 212 , and/or the storage 213 (eg, the API 214 , and/or the database 215 ) of the first IoT server 210 . can do. In addition, the description of the second node 250 may be substantially the same as the description of the first node 220 . The second IoT server 240 may transmit a control command to a target device among the devices 251,252 and 253 . The first IoT server 210 and the second IoT server 240 may be operated by the same service provider in one embodiment, but may be operated by different service providers in another embodiment.
일 실시예에 따라서, 보이스 어시스턴트 서버(230)는, 데이터 네트워크(216)를 통하여 제1 IoT 서버(210)와 데이터를 송수신할 수 있다. 통신 인터페이스(231)는, 데이터 네트워크(미도시) 및/또는 셀룰러 네트워크(미도시)를 통하여 스마트 폰(236)(예: 도 1의 전자 장치(101)) 또는 AI 스피커(237)와 통신을 수행할 수 있다. 스마트 폰(236) 또는 AI 스피커(237)는 마이크를 포함할 수 있으며, 사용자 음성(user voice)을 획득하여 음성 신호로 변환하여, 음성 신호를 보이스 어시스턴트 서버(230)로 송신할 수 있다. 프로세서(232)는, 통신 인터페이스(231)를 통하여 스마트 폰(236) 또는 AI 스피커(237)로부터 음성 신호를 수신할 수 있다. 프로세서(232)는, 수신한 음성 신호를 저장된 모델(234)에 기반하여 처리할 수 있다. 프로세서(232)는, 데이터베이스(235)에 저장된 정보에 기반하여, 처리 결과를 이용하여 제어 명령을 생성(또는, 확인)할 수 있다. 일 실시예에 따라서, 저장부(213,233,243)는, 플래시 메모리 타입(flash memory type), 하드디스크 타입(hard disk type), 멀티미디어 카드 마이크로 타입(multimedia card micro type), 카드 타입의 메모리(예를 들어 SD 또는 XD 메모리 등), 램(RAM, random access memory) SRAM(static random access memory), 롬(ROM, read-only memory), EEPROM(electrically erasable programmable read-only memory), PROM(programmable read-only memory), 자기 메모리, 자기 디스크, 광디스크 중 적어도 하나의 타입의 비 일시적(non-transitory) 저장매체를 포함할 수 있으며, 그 종류에는 제한이 없다.According to an embodiment, the voice assistant server 230 may transmit/receive data to and from the first IoT server 210 through the data network 216 . The communication interface 231 communicates with the smart phone 236 (eg, the electronic device 101 of FIG. 1 ) or the AI speaker 237 through a data network (not shown) and/or a cellular network (not shown). can be done The smart phone 236 or the AI speaker 237 may include a microphone, obtain a user voice, convert it into a voice signal, and transmit the voice signal to the voice assistant server 230 . The processor 232 may receive a voice signal from the smart phone 236 or the AI speaker 237 through the communication interface 231 . The processor 232 may process the received voice signal based on the stored model 234 . The processor 232 may generate (or confirm) a control command using the processing result based on information stored in the database 235 . According to an embodiment, the storage units 213 , 233 , and 243 may include a flash memory type, a hard disk type, a multimedia card micro type, and a card type memory (eg, SD or XD memory, etc.), RAM (random access memory), SRAM (static random access memory), ROM (read-only memory), EEPROM (electrically erasable programmable read-only memory), PROM (programmable read-only) memory), a magnetic memory, a magnetic disk, and an optical disk may include at least one type of non-transitory storage medium, and the type is not limited.
도 3은 다양한 실시예들에 따라 타겟 전자 장치(350)를 제어하기 위한 IoT 시스템(300)을 도시한다. 타겟 전자 장치의 장치 타입은 도 3에 도시된 예로 제한되는 것은 아니다. 본 문서에서, '타겟 전자 장치'는 IoT 환경에서 제어될 수 있는 다양한 전자 장치(예: 가전 장치)를 포함할 수 있다. 3 illustrates an IoT system 300 for controlling a target electronic device 350 according to various embodiments. The device type of the target electronic device is not limited to the example illustrated in FIG. 3 . In this document, a 'target electronic device' may include various electronic devices (eg, home appliances) that can be controlled in an IoT environment.
도 3을 참조하면, IoT 서버(310), 보이스 어시스턴트 서버(320), 전자 장치(330), 및 AI 스피커(340)는 각각 도 2의 제1 IoT 서버(210)(또는 제2 IoT 서버(240)), 보이스 어시스턴트 서버(230), 스마트 폰(236), 및 AI 스피커(237)와 동일하거나 유사한 구성을 포함할 수 있고, 이들과 동일하거나 유사한 기능을 수행할 수 있다. AI 스피커(340)는 IR 장치의 일 예이며, IR 신호를 전송할 수 있는 IR 장치는 AI 스피커(340)로 제한되는 것은 아니다. Referring to FIG. 3 , the IoT server 310 , the voice assistant server 320 , the electronic device 330 , and the AI speaker 340 are the first IoT server 210 (or the second IoT server) of FIG. 2 , respectively. 240)), the voice assistant server 230, the smart phone 236, and the AI speaker 237 may include the same or similar configuration, and may perform the same or similar functions as these. The AI speaker 340 is an example of an IR device, and the IR device capable of transmitting an IR signal is not limited to the AI speaker 340 .
일 실시예에 따르면, IoT 서버(310)의 메모리(예: 도 2의 저장부(213))는 계정 데이터베이스(database, DB)(312), 장치 DB(314), 및 프로그램 DB(316)를 저장할 수 있다. 계정 DB(312)는 IoT 환경을 이용하는 적어도 하나 이상의 사용자에 대응하는 계정 정보 또는 사용자 그룹에 대응하는 계정 정보를 포함할 수 있다. 일 실시예에 따르면, 계정 DB(312)에 포함된 전자 장치(330)의 사용자 계정 및 AI 스피커(340)의 사용자 계정은 동일할 수 있다. 장치 DB(314)는 사용자 계정에 대응하는 적어도 하나의 타겟 전자 장치(예: 타겟 전자 장치(350))에 대한 정보를 포함할 수 있다. 예를 들어, 장치 DB(314)는 적어도 하나의 타겟 전자 장치의 장치 타입(예: TV, 냉장고, 세탁기, 전등, 에어컨, 또는 선풍기), 적어도 하나의 타겟 전자 장치가 위치하는 영역(예: 거실, 방, 화장실, 부엌, 또는 현관)에 대한 정보, 적어도 하나의 타겟 전자 장치의 제조사 또는 브랜드, 적어도 하나의 타겟 전자 장치의 모델명, 적어도 하나의 타겟 전자 장치 UID(unique identifier) 및/또는 적어도 하나의 타겟 전자 장치가 지원하는 제어 기능(예: IR 제어 기능 또는 클라우드 제어 기능)에 대한 정보 중 적어도 하나를 포함할 수 있다. 프로그램 DB(316)는 TV와 같은 타겟 전자 장치(350)에서 출력되는 콘텐츠(또는 방송 프로그램)에 대한 정보를 포함할 수 있다. 예를 들어, 프로그램 DB(316)는 채널 정보, 채널 사용 이력 정보, 또는 채널 편성표를 포함할 수 있다. According to an embodiment, the memory of the IoT server 310 (eg, the storage unit 213 in FIG. 2 ) stores an account database (DB) 312 , a device DB 314 , and a program DB 316 . can be saved The account DB 312 may include account information corresponding to at least one or more users using the IoT environment or account information corresponding to a user group. According to an embodiment, the user account of the electronic device 330 and the user account of the AI speaker 340 included in the account DB 312 may be the same. The device DB 314 may include information on at least one target electronic device (eg, the target electronic device 350 ) corresponding to the user account. For example, the device DB 314 may include a device type (eg, a TV, a refrigerator, a washing machine, a light, an air conditioner, or a fan) of the at least one target electronic device, and an area (eg, a living room) in which the at least one target electronic device is located. , room, bathroom, kitchen, or hallway), a manufacturer or brand of at least one target electronic device, a model name of at least one target electronic device, at least one target electronic device unique identifier (UID) and/or at least one may include at least one of information on a control function (eg, an IR control function or a cloud control function) supported by the target electronic device. The program DB 316 may include information on content (or a broadcast program) output from the target electronic device 350 such as a TV. For example, the program DB 316 may include channel information, channel use history information, or a channel schedule.
IoT 서버(310)는 다양한 방식에 기반하여 타겟 전자 장치(350)의 제어를 위한 사용자 명령을 획득할 수 있다. 일 실시예에서, IoT 서버(310)는 사용자의 음성 입력을 통해 사용자 명령을 획득할 수 있다. 예를 들어, 동작 301에서, AI 스피커(340)는 사용자로부터 음성 입력을 획득할 수 있다. 동작 302에서, AI 스피커(340)는 획득된 음성 입력을 보이스 어시스턴트 서버(320)에게 전송할 수 있다. 도 3은 AI 스피커(340)를 통해 사용자의 음성 입력을 획득하는 예시를 도시하지만, 미도시 되었지만, 다른 실시예에 따르면 전자 장치(330)는 음성 입력을 획득하고 획득된 음성 입력을 보이스 어시스턴트 서버(320)로 전송할 수 있다. 보이스 어시스턴트 서버(320)는 음성 입력에 대응하는 사용자 명령을 분석하고, 동작 303에서 분석된 사용자 명령을 IoT 서버(310)에게 전송할 수 있다. The IoT server 310 may acquire a user command for controlling the target electronic device 350 based on various methods. In an embodiment, the IoT server 310 may obtain a user command through a user's voice input. For example, in operation 301 , the AI speaker 340 may obtain a voice input from the user. In operation 302 , the AI speaker 340 may transmit the acquired voice input to the voice assistant server 320 . 3 illustrates an example of acquiring a user's voice input through the AI speaker 340, although not shown, according to another embodiment, the electronic device 330 acquires a voice input and transmits the acquired voice input to a voice assistant server It can be transmitted to (320). The voice assistant server 320 may analyze the user command corresponding to the voice input and transmit the analyzed user command to the IoT server 310 in operation 303 .
다른 실시예에서, IoT 서버(310)는 전자 장치(330)에서 제공되는 사용자 인터페이스(304)를 통해 사용자 명령을 획득할 수 있다. 예를 들어, 전자 장치(330)는 사용자 인터페이스(304)를 통해 타겟 전자 장치(350)를 제어하는 사용자 입력을 수신하고, 동작 305에서, 수신된 사용자 입력에 대응하는 정보를 IoT 서버(310)에게 전송할 수 있다. In another embodiment, the IoT server 310 may obtain a user command through the user interface 304 provided by the electronic device 330 . For example, the electronic device 330 receives a user input for controlling the target electronic device 350 through the user interface 304 , and in operation 305 , transmits information corresponding to the received user input to the IoT server 310 . can be sent to
IoT 서버(310)는 다양한 방식에 기반하여 타겟 전자 장치(350)를 제어할 수 있다. 타겟 전자 장치(350)를 제어하기 위한 제어 기능은 클라우드 제어 기능과 IR 제어 기능을 포함할 수 있다. IR 제어 기능은 AI 스피커(340)와 같은 IR 장치(예: IR 기능 또는 IR 프로토콜을 지원하는 장치)가 타겟 전자 장치(350)에게 IR 신호(또는, IR 프로토콜에 기반하는 신호)를 전송함으로써 타겟 전자 장치(350)를 제어하는 기능으로 참조될 수 있다. 예를 들어 IR 제어 기능에 따를 때, 동작 306에서, IoT 서버(310)는 AI 스피커(340)에게 사용자 명령에 대응하는 명령 신호를 전송할 수 있다. 동작 307에서, AI 스피커(340)는 수신된 명령 신호에 대응하는 IR 신호를 타겟 전자 장치(350)에게 전송할 수 있다. 클라우드 제어 기능은 IoT 서버(309)가 타겟 전자 장치(350)에게 직접 제어 명령 신호를 전송함으로써 타겟 전자 장치(350)를 제어하는 기능으로 참조될 수 있다. 예를 들어 동작 308에서, IoT 서버(310)는 사용자 명령에 대응하는 명령 신호를 타겟 전자 장치(310)에게 직접 전송할 수 있다. 클라우드 제어 기능은 예를 들어, OCF(open connectivity foundation) 규격에 기반하거나 또는 MQTT(message queuing telemetry transfer) 프로토콜에 기반할 수 있다. The IoT server 310 may control the target electronic device 350 based on various methods. The control function for controlling the target electronic device 350 may include a cloud control function and an IR control function. The IR control function allows an IR device such as the AI speaker 340 (eg, a device supporting an IR function or an IR protocol) to transmit an IR signal (or a signal based on the IR protocol) to the target electronic device 350 to target the target electronic device 350 . It may be referred to as a function of controlling the electronic device 350 . For example, according to the IR control function, in operation 306 , the IoT server 310 may transmit a command signal corresponding to the user command to the AI speaker 340 . In operation 307 , the AI speaker 340 may transmit an IR signal corresponding to the received command signal to the target electronic device 350 . The cloud control function may be referred to as a function in which the IoT server 309 directly transmits a control command signal to the target electronic device 350 to control the target electronic device 350 . For example, in operation 308 , the IoT server 310 may directly transmit a command signal corresponding to a user command to the target electronic device 310 . The cloud control function may be based, for example, on an open connectivity foundation (OCF) standard or based on a message queuing telemetry transfer (MQTT) protocol.
타겟 전자 장치(350)가 IR 제어 대상 장치(IR controlee device)로 등록되는 동작은 하기와 같다. 전자 장치(330)는 사용자 입력을 통해 사용자가 등록하기를 원하는 IR 제어 대상 장치의 장치 타입(예: TV), 제조사(또는 브랜드) 및/또는 모델명에 대한 정보를 획득할 수 있다. 전자 장치(330)는 선택된 장치 타입, 제조사 및/또는 모델명에 기반한 프로토콜을 이용하여 지정된 명령(예: 채널 변경)을 포함하는 IR 신호를 전송하도록 AI 스피커(340)를 제어할 수 있다. 예를 들어, 전자 장치(330)는 IoT 서버(310)를 통해 AI 스피커(340)가 지정된 명령을 포함하는 IR 신호를 전송하도록 요청할 수 있다. 다른 예를 들어, 전자 장치(330)는 근거리 통신 네트워크(예: 도 1의 제 1 네트워크(198)) 또는 원거리 통신 네트워크(예: 도 1의 제 2 네트워크(199))를 통해 AI 스피커(340)가 지정된 명령을 포함하는 IR 신호를 전송하도록 요청할 수 있다. 일 실시예에 따르면, AI 스피커(340)는 IR 제어 대상 장치의 장치 타입, 제조사(또는 브랜드) 및/또는 모델명에 기반한 프로토콜을 IoT 서버(310)로부터 수신할 수 있다. 타겟 전자 장치(350)는 AI 스피커(340)로부터 수신된 IR 신호에 포함된 지정된 명령을 수행할 수 있다. 전자 장치(330)의 사용자는 타겟 전자 장치(350)가 지정된 명령을 정상적으로 수행하는 것을 육안으로 확인할 수 있다. 전자 장치(330)는 사용자의 확인(confirm)에 대응하는 사용자 입력을 획득하고, IoT 서버(310)에게 타겟 전자 장치(350)의 등록을 요청할 수 있다. IoT 서버(310)는 타겟 전자 장치(350)에게 식별자(identifier, ID)를 할당하고, AI 스피커(340)의 ID 및 타겟 전자 장치(350)의 ID에 기반하여 타겟 전자 장치(350)를 제어할 수 있다. 타겟 전자 장치(350)가 클라우드 제어 대상 장치로 등록될 경우, 전자 장치(330)는 AI 스피커(340)를 통한 IR 신호를 이용하지 않고 IoT 서버(310)와의 데이터 교환을 통해 타겟 전자 장치(350)를 클라우드 제어 대상 장치로 등록할 수 있다. 예를 들어, 전자 장치(330)는 클라우드 제어 어플리케이션 또는 서비스를 통해 타겟 전자 장치(350)를 검색하고 전자 장치(330)의 계정 또는 사용자의 계정에 기반하여 타겟 전자 장치(350)를 IoT 서버(310)에 클라우드 제어 대상 장치로 등록할 수 있다.An operation of registering the target electronic device 350 as an IR controlee device is as follows. The electronic device 330 may obtain information on the device type (eg, TV), manufacturer (or brand), and/or model name of the IR control target device that the user wants to register through a user input. The electronic device 330 may control the AI speaker 340 to transmit an IR signal including a specified command (eg, change channel) using a protocol based on the selected device type, manufacturer, and/or model name. For example, the electronic device 330 may request the AI speaker 340 to transmit an IR signal including a specified command through the IoT server 310 . For another example, the electronic device 330 may use the AI speaker 340 through a short-range communication network (eg, the first network 198 of FIG. 1 ) or a telecommunication network (eg, the second network 199 of FIG. 1 ). ) may request to transmit an IR signal containing the specified command. According to an embodiment, the AI speaker 340 may receive a protocol based on the device type, manufacturer (or brand) and/or model name of the IR control target device from the IoT server 310 . The target electronic device 350 may perform a specified command included in the IR signal received from the AI speaker 340 . The user of the electronic device 330 may visually confirm that the target electronic device 350 normally performs the specified command. The electronic device 330 may obtain a user input corresponding to a user's confirmation and request the IoT server 310 to register the target electronic device 350 . The IoT server 310 allocates an identifier (ID) to the target electronic device 350 , and controls the target electronic device 350 based on the ID of the AI speaker 340 and the ID of the target electronic device 350 . can do. When the target electronic device 350 is registered as a cloud control target device, the electronic device 330 does not use an IR signal through the AI speaker 340 but through data exchange with the IoT server 310 , the target electronic device 350 ) can be registered as a cloud control target device. For example, the electronic device 330 searches for the target electronic device 350 through the cloud control application or service, and sets the target electronic device 350 to the IoT server based on the account of the electronic device 330 or the user's account. 310) as a cloud control target device.
클라우드 제어 대상 장치를 등록하는 방식과 IR 제어 대상 장치를 등록하는 방식은 상이하므로, 사용자가 타겟 전자 장치(350)를 IR 제어 대상 장치로 등록하기를 원할 때 타겟 전자 장치(350)가 클라우드 제어 기능을 지원할 수 있거나 이미 클라우드 제어 대상 장치로 IoT 서버(310)에 등록되어 있더라도, IoT 서버(310)는 클라우드 제어 기능에 따른 타겟 전자 장치(350)의 ID와 IR 제어 기능에 따른 타겟 전자 장치(350)의 ID를 다르게 생성할 수 있다. 타겟 전자 장치(350)의 ID가 다르게 생성되면, IoT 서버(310)는 타겟 전자 장치(350)를 하나의 장치로 인식하지 못하는 상황이 발생할 수 있다. 또한, IR 프로토콜의 특성상 타겟 전자 장치(350)는 IR 신호에 대한 피드백 신호를 전송할 수 없기 때문에 전자 장치(330) 또는 전자 장치(330)의 사용자는 타겟 전자 장치(350)가 정상적으로 동작하는지 확인하는 것이 용이하지 않을 수 있다. Since the method of registering the cloud control target device and the IR control target device are different from each other, when the user wants to register the target electronic device 350 as the IR control target device, the target electronic device 350 performs the cloud control function. Even if it can support or is already registered in the IoT server 310 as a cloud control target device, the IoT server 310 performs the ID of the target electronic device 350 according to the cloud control function and the target electronic device 350 according to the IR control function. ) can be created differently. If the ID of the target electronic device 350 is generated differently, the IoT server 310 may not recognize the target electronic device 350 as a single device. In addition, since the target electronic device 350 cannot transmit a feedback signal for the IR signal due to the characteristics of the IR protocol, the electronic device 330 or the user of the electronic device 330 checks whether the target electronic device 350 operates normally. It may not be easy.
다양한 실시예들에 따른 전자 장치(330)는 사용자가 IR 제어 대상 장치로써 등록하기를 원하는 타겟 전자 장치(350)가 클라우드 제어 기능을 지원할 수 있는 경우, 타겟 전자 장치(350)를 클라우드 제어 대상 장치로 등록하도록 가이드 하거나 또는 이미 클라우드 제어 대상 장치로 IoT 서버(310)에 등록되었다면 타겟 전자 장치(350)를 클라우드 제어 대상 장치로 제어하도록 가이드 할 수 있다. 또한, 다양한 실시예들에 따른 IoT 서버(310)는 장치 DB(314) 및 프로그램 DB(316)에 저장된 정보에 기반하여 타겟 전자 장치(350)를 제어하고, 오류가 발생하거나 또는 추가적인 정보가 필요할 경우 전자 장치(330)에게 피드백을 제공할 수 있다. 예를 들어, 타겟 전자 장치(350)가 IR 제어 대상 장치 및 클라우드 제어 대상 장치로 등록되고 IR 제어 신호에 대한 오류가 발생되는 경우, IoT 서버(310)는 AI 스피커(340) 및/또는 전자 장치(330)로 피드백을 제공할 수 있다.When the target electronic device 350 that the user wants to register as the IR control target device can support the cloud control function, the electronic device 330 according to various embodiments sets the target electronic device 350 to the cloud control target device. , or if it has already been registered in the IoT server 310 as a cloud control target device, it may guide the target electronic device 350 to be controlled as a cloud control target device. In addition, the IoT server 310 according to various embodiments controls the target electronic device 350 based on information stored in the device DB 314 and the program DB 316 , and an error occurs or additional information is required. In this case, feedback may be provided to the electronic device 330 . For example, when the target electronic device 350 is registered as an IR control target device and a cloud control target device and an error for the IR control signal is generated, the IoT server 310 performs the AI speaker 340 and/or the electronic device Feedback may be provided at 330 .
도 4 내지 도 5는 다양한 실시예들에 따라 타겟 전자 장치의 등록을 가이드 하기 위한 동작을 설명한다. 도 4는 타겟 전자 장치의 등록을 가이드 하기 위한 전자 장치의 동작 흐름도를 도시한다. 도 5는 타겟 전자 장치의 등록을 가이드 하기 위한 사용자 인터페이스를 도시한다. 도 4에 도시된 동작들은 도 3의 전자 장치(330)에 의하여 수행되거나, 또는 도 3의 전자 장치(330)에 포함된 적어도 하나의 구성요소에 의하여 수행될 수 있다. 예를 들어, 전자 장치의 프로세서(예: 도 1의 프로세서(120))는 메모리(예: 도 1의 메모리(130))에 저장된 인스트럭션들(instructions)을 실행함으로써 전자 장치의 동작들을 수행할 수 있다. 4 to 5 describe an operation for guiding registration of a target electronic device according to various embodiments of the present disclosure. 4 is a flowchart illustrating an operation of an electronic device for guiding registration of a target electronic device. 5 illustrates a user interface for guiding registration of a target electronic device. The operations illustrated in FIG. 4 may be performed by the electronic device 330 of FIG. 3 or by at least one component included in the electronic device 330 of FIG. 3 . For example, the processor of the electronic device (eg, the processor 120 of FIG. 1 ) may perform the operations of the electronic device by executing instructions stored in the memory (eg, the memory 130 of FIG. 1 ). have.
도 4를 참조하면, 동작 410에서, 전자 장치는 IR 제어 대상 장치의 등록을 요청하는 제1 사용자 입력(예: 도 5의 사용자 입력(511))을 수신할 수 있다. 예를 들어 도 5를 참조하면, 전자 장치는 디스플레이(예: 도 1의 디스플레이 모듈(160)의 적어도 일부)를 통해 출력된 제1 화면(501)에서 IR 제어 대상 장치의 추가를 요청하는 사용자 입력(511)을 수신할 수 있다. 일 실시예에 따르면, 사용자는 전자 장치에서 IR 제어를 위한 어플리케이션을 실행하고 장치 추가 기능을 수행하여 적어도 타겟 전자 장치(예: 도 3의 타겟 전자 장치(350))를 IR 제어 대상 장치로 등록하기 위한 동작을 수행할 수 있다. 예를 들어, IR 제어를 위한 어플리케이션은, IR 제어 신호를 생성하는 외부 전자 장치(예: 도 3의 AI 스피커(340))와 관련된 어플리케이션일 수 있다.Referring to FIG. 4 , in operation 410 , the electronic device may receive a first user input requesting registration of an IR control target device (eg, user input 511 of FIG. 5 ). For example, referring to FIG. 5 , the electronic device receives a user input for requesting addition of an IR-controlled device on the first screen 501 output through a display (eg, at least a part of the display module 160 of FIG. 1 ). (511) can be received. According to an embodiment, the user executes an application for IR control in the electronic device and performs a device addition function to register at least a target electronic device (eg, the target electronic device 350 of FIG. 3 ) as an IR control target device. action can be performed for For example, the application for IR control may be an application related to an external electronic device that generates an IR control signal (eg, the AI speaker 340 of FIG. 3 ).
일 실시예에 따르면, 제1 사용자 입력은 복수 회의 입력을 포함할 수 있다. 다시 말해, 전자 장치는 IR 제어 대상 장치의 추가를 요청하는 사용자 입력(511) 이외에도 사용자가 등록하기를 원하는 장치의 장치 타입, 제조사(또는 브랜드) 및/또는 모델명 중 적어도 하나를 선택하는 사용자 입력을 추가적으로 획득할 수 있다. 예를 들어 도 5를 참조하면, 전자 장치는 복수의 장치 타입들을 나타내는 제1 목록(512)을 제2 화면(502) 상에 표시하고, 제1 목록(512)에서 하나의 장치 타입(예: TV)을 선택하는 사용자 입력(513)을 수신할 수 있다. 또는, 전자 장치는 선택된 장치 타입에 대응하는 복수의 브랜드를 나타내는 제2 목록(514)을 제3 화면(503) 상에 표시하고, 제2 목록(514)에서 하나의 브랜드(예: 브랜드 1(Brand 1))를 선택하는 사용자 입력(515)을 수신할 수 있다. 미도시 되었지만, 일 실시예에 따르면, 전자 장치는 사용자 입력(515)에 대응하는 브랜드(예: 브랜드 1(Brand 1))에 기반하는 적어도 하나 이상의 모델명을 포함하는 화면을 표시하고, 하나의 모델명을 선택하는 사용자의 입력을 수신할 수 있다.According to an embodiment, the first user input may include an input multiple times. In other words, in addition to the user input 511 for requesting addition of the IR control target device, the electronic device receives a user input for selecting at least one of the device type, manufacturer (or brand) and/or model name of the device the user wants to register. can be obtained additionally. For example, referring to FIG. 5 , the electronic device displays a first list 512 indicating a plurality of device types on the second screen 502 , and one device type (eg: A user input 513 for selecting TV) may be received. Alternatively, the electronic device displays a second list 514 indicating a plurality of brands corresponding to the selected device type on the third screen 503 , and in the second list 514 , one brand (eg, brand 1 ( A user input 515 for selecting Brand 1)) may be received. Although not shown, according to an embodiment, the electronic device displays a screen including at least one model name based on a brand (eg, Brand 1) corresponding to the user input 515 , and one model name may receive an input from a user who selects .
동작 420에서, 전자 장치는 제1 사용자 입력에 응답하여 타겟 전자 장치(예: 도 3의 타겟 전자 장치(350))를 검색할 수 있다. 예를 들어, 전자 장치는 사용자 입력(513, 515)에 의하여 선택된 장치 타입 및 브랜드에 대응하는 타겟 전자 장치를 검색할 수 있다. 일 실시예에서, 전자 장치는 IR 통신을 제외한 근거리 통신 프로토콜에 기반하여 타겟 전자 장치를 검색할 수 있다. 근거리 통신 프로토콜은 예를 들어, 블루투스(Bluetooh) 통신 프로토콜을 포함할 수 있다. In operation 420 , the electronic device searches for a target electronic device (eg, the target electronic device 350 of FIG. 3 ) in response to the first user input. For example, the electronic device may search for a target electronic device corresponding to the device type and brand selected by the user inputs 513 and 515 . In an embodiment, the electronic device may search for a target electronic device based on a short-range communication protocol other than IR communication. The short-range communication protocol may include, for example, a Bluetooth communication protocol.
동작 430에서, 전자 장치는 검색된 타겟 전자 장치가 클라우드 제어 대상 장치임을 식별할 수 있다. 예를 들어, 전자 장치는 검색된 타겟 전자 장치의 등록 정보(예: 장치 타입, 제조사 및/또는 모델명)를 IoT 서버(예: 도 3의 IoT 서버(310))에게 전송하고, 검색된 타겟 전자 장치가 클라우드 제어 대상 장치인지를 나타내는 정보를 IoT 서버로부터 수신할 수 있다. In operation 430, the electronic device may identify that the found target electronic device is a cloud control target device. For example, the electronic device transmits registration information (eg, device type, manufacturer, and/or model name) of the found target electronic device to the IoT server (eg, the IoT server 310 of FIG. 3 ), and the searched target electronic device Information indicating whether the device is a cloud control target device may be received from the IoT server.
동작 440에서, 전자 장치는 검색된 타겟 전자 장치가 클라우드 제어 대상 장치임을 나타내는 제1 UI를 출력할 수 있다. 예를 들어, 도 5를 참조하면, 전자 장치는 제1 UI(516)를 제4 화면(504) 상에 출력할 수 있다. 일 실시예에 따르면 제1 UI(516)는 IR 제어 대상 장치의 등록을 요청하기 위해 선택된 타겟 전자 장치가 클라우드 제어 대상 장치로 동작할 수 있는 전자 장치임을 알리는 정보를 포함할 수 있다. 일 실시예에 따르면, 제1 UI(516)는 IR 제어 대상 장치의 등록을 요청하기 위해 선택된 타겟 전자 장치를 IR 제어 대상 장치로 등록할지 또는 클라우드 제어 대상 장치로 등록할지에 대한 정보를 포함할 수 있다. 일 실시예에 따르면, 제1 UI(516)는 IR 제어 대상 장치의 등록을 요청하기 위해 선택된 타겟 전자 장치가 클라우드 제어 대상 장치로 등록된 상태임을 표시할 수 있다.In operation 440, the electronic device may output a first UI indicating that the found target electronic device is a cloud control target device. For example, referring to FIG. 5 , the electronic device may output the first UI 516 on the fourth screen 504 . According to an embodiment, the first UI 516 may include information notifying that the target electronic device selected to request registration of the IR control target device is an electronic device capable of operating as the cloud control target device. According to an embodiment, the first UI 516 may include information on whether to register the selected target electronic device as an IR control target device or as a cloud control target device to request registration of the IR control target device. have. According to an embodiment, the first UI 516 may display that the target electronic device selected to request registration of the IR control target device is registered as the cloud control target device.
상술한 설명은 전자 장치가 사용자에 의하여 장치 타입, 제조사(또는 브랜드), 및/또는 모델명이 선택된 장치를 검색하는 동작을 전제하지만, 다른 실시예에 따르면, 전자 장치는 장치 타입, 제조사(또는 브랜드), 및 모델명을 고려하지 않고 복수의 통신 프로토콜을 통해 적어도 하나의 타겟 전자 장치를 검색한 뒤, 사용자 입력에 의하여 검색된 적어도 하나의 타겟 전자 장치 중 하나의 타겟 전자 장치를 선택할 수 있다. Although the above description assumes that the electronic device searches for a device selected by the device type, manufacturer (or brand), and/or model name by the user, according to another embodiment, the electronic device may be determined by the device type, manufacturer (or brand). ) and a model name, after searching for at least one target electronic device through a plurality of communication protocols, one target electronic device may be selected from among the at least one searched target electronic device according to a user input.
예를 들어, IR 제어 대상 장치의 추가를 요청하는 사용자 입력(511)을 수신한 후 전자 장치는 근거리 통신 프로토콜을 통해 적어도 하나의 타겟 전자 장치들로부터 적어도 하나의 타겟 전자 장치들의 정보를 획득하고, 획득된 정보에 기반하여 적어도 하나의 타겟 전자 장치들의 장치 타입, 제조사 및/또는 모델명을 식별할 수 있다. 일 실시예에 따르면, 전자 장치는 사용자 입력(511)을 수신한 것에 응답하여 적어도 하나의 통신 모듈(예: 도 1의 통신 모듈(180))을 활성화 하고, 적어도 하나의 타겟 전자 장치를 검색하기 위한 신호(예: 비컨 신호)를 전송하고, 적어도 하나의 타겟 전자 장치로부터 응답 신호를 수신할 수 있다. 전자 장치는 적어도 하나의 타겟 전자 장치들의 장치 타입 및/또는 제조사를 나타내는 목록(예: 제1 목록(512) 또는 제2 목록(514))을 디스플레이를 통해 출력하고, 출력된 목록에서 하나의 장치 타입 및/또는 브랜드를 선택하는 사용자 입력(513, 515)을 수신할 수 있다. 전자 장치는 사용자 입력에 의하여 선택된 타겟 전자 장치가 클라우드 제어 대상 장치인지를 식별할 수 있다. 이 경우, 전자 장치는 사용자 입력(513, 515)에 기반하여 선택된 타겟 전자 장치의 등록 정보(예: 장치 타입, 제조사, 모델명 및/또는 UID 중 적어도 하나)를 IoT 서버(예: 도 3의 IoT 서버(310))에게 전송하고, 선택된 타겟 전자 장치가 클라우드 제어 대상 장치인지를 나타내는 정보를 IoT 서버로부터 수신할 수 있다.For example, after receiving the user input 511 requesting addition of the IR control target device, the electronic device obtains information on at least one target electronic device from the at least one target electronic device through a short-range communication protocol, Device types, manufacturers, and/or model names of at least one target electronic device may be identified based on the obtained information. According to an embodiment, the electronic device activates at least one communication module (eg, the communication module 180 of FIG. 1 ) in response to receiving the user input 511 and searches for at least one target electronic device A signal (eg, a beacon signal) may be transmitted and a response signal may be received from at least one target electronic device. The electronic device outputs a list (eg, the first list 512 or the second list 514 ) indicating the device type and/or manufacturer of at least one target electronic device through the display, and selects one device from the output list. User inputs 513 and 515 for selecting a type and/or brand may be received. The electronic device may identify whether the target electronic device selected by the user input is a cloud control target device. In this case, the electronic device transmits registration information (eg, at least one of device type, manufacturer, model name, and/or UID) of the target electronic device selected based on user inputs 513 and 515 to the IoT server (eg, IoT of FIG. 3 ) The information may be transmitted to the server 310 ) and information indicating whether the selected target electronic device is a cloud control target device may be received from the IoT server.
도 6은 다양한 실시예들에 따라 타겟 전자 장치를 등록하기 위한 전자 장치의 동작 흐름도를 도시한다. 도 6에 도시된 동작들은 도 3의 전자 장치(330)에 의하여 수행되거나, 또는 도 3의 전자 장치(330)에 포함된 적어도 하나의 구성요소에 의하여 수행될 수 있다. 도 6에 도시된 동작들은 도 4의 동작 420 이후에 수행될 수 있다. 6 is a flowchart illustrating an operation of an electronic device for registering a target electronic device according to various embodiments of the present disclosure; The operations illustrated in FIG. 6 may be performed by the electronic device 330 of FIG. 3 or by at least one component included in the electronic device 330 of FIG. 3 . The operations illustrated in FIG. 6 may be performed after operation 420 of FIG. 4 .
도 6을 참조하면, 동작 610에서, 전자 장치는 검색된 타겟 전자 장치(예: 도 3의 타겟 전자 장치(350))의 장치 타입을 식별할 수 있다. 일 실시예에 따르면, 타겟 전자 장치의 장치 타입을 나타내는 정보는 전자 장치가 타겟 전자 장치를 검색하는 동안에 획득될 수 있다. 예를 들어 전자 장치는 타겟 전자 장치의 장치 타입을 나타내는 데이터 패킷을 타겟 전자 장치로부터 수신할 수 있다. 다른 예를 들어, 전자 장치는 타겟 전자 장치의 장치 타입을 선택하는 사용자의 입력(예: 도 5의 사용자 입력(513, 515))에 기반하여 타겟 전자 장치의 장치 타입을 획득할 수 있다. 전자 장치는 사용자에 의하여 선택된 장치 타입(예: TV)과 동일한 장치 타입을 나타내는 타겟 전자 장치에 대해서만 이후 동작을 수행할 수 있다. Referring to FIG. 6 , in operation 610 , the electronic device may identify the device type of the found target electronic device (eg, the target electronic device 350 of FIG. 3 ). According to an embodiment, information indicating the device type of the target electronic device may be obtained while the electronic device searches for the target electronic device. For example, the electronic device may receive a data packet indicating the device type of the target electronic device from the target electronic device. As another example, the electronic device may acquire the device type of the target electronic device based on a user input for selecting the device type of the target electronic device (eg, user inputs 513 and 515 of FIG. 5 ). The electronic device may perform subsequent operations only with respect to the target electronic device indicating the same device type as the device type (eg, TV) selected by the user.
동작 620에서, 전자 장치는 검색된 타겟 전자 장치가 제어 대상 장치임을 결정함으로써 사용자가 등록하려는 장치와 전자 장치에 의하여 검색된 타겟 전자 장치가 동일한 장치인지를 식별할 수 있다. 검색된 타겟 전자 장치가 제어 대상 장치임을 결정하기 위한 일 예는 도 8 내지 도 9에서 후술된다. In operation 620, the electronic device may identify whether the device to be registered by the user and the target electronic device found by the electronic device are the same by determining that the found target electronic device is a control target device. An example for determining that the found target electronic device is a control target device will be described later with reference to FIGS. 8 to 9 .
동작 630에서, 전자 장치는 검색된 타겟 전자 장치가 클라우드 제어 기능을 지원하는 장치임을 나타내는 정보를 IoT 서버(예: 도 3의 IoT 서버(310))로부터 수신할 수 있다. 예를 들어, 전자 장치는 검색된 타겟 전자 장치의 등록 정보(예: 장치 타입, 제조사, 모델명 및/또는 UID 중 적어도 하나)를 IoT 서버로 전송하고, IoT 서버로부터 검색된 타겟 전자 장치가 클라우드 제어 기능을 지원하는 장치임을 나타내는 정보를 IoT 서버로부터 수신할 수 있다. 다른 예를 들어, 전자 장치는 검색된 타겟 전자 장치가 IoT 서버에 기 등록된 장치임을 나타내는 정보를 IoT 서버로부터 수신할 수 있다. In operation 630 , the electronic device may receive information indicating that the found target electronic device is a device supporting a cloud control function from an IoT server (eg, the IoT server 310 of FIG. 3 ). For example, the electronic device transmits registration information (eg, at least one of device type, manufacturer, model name, and/or UID) of the found target electronic device to the IoT server, and the target electronic device found from the IoT server performs a cloud control function. Information indicating that it is a supported device may be received from the IoT server. As another example, the electronic device may receive information indicating that the found target electronic device is a device previously registered in the IoT server from the IoT server.
동작 640에서, 전자 장치는 검색된 타겟 전자 장치가 클라우드 제어 기능을 지원하는 장치임을 나타내는 제1 UI(예: 도 5의 제1 UI(516))를 출력할 수 있다. 예를 들어, 검색된 타겟 전자 장치가 클라우드 제어 대상 장치로 동작할 수 있거나 또는 클라우드 제어 대상 장치로 등록되어 있음을 표시할 수 있다.In operation 640 , the electronic device may output a first UI (eg, the first UI 516 of FIG. 5 ) indicating that the found target electronic device is a device supporting the cloud control function. For example, it may indicate that the found target electronic device may operate as a cloud control target device or is registered as a cloud control target device.
동작 650에서, 전자 장치는 검색된 타겟 전자 장치를 IR 제어 대상 장치로 등록하길 요청하는 사용자 입력이 수신되는지를 식별할 수 있다. In operation 650, the electronic device may identify whether a user input requesting to register the found target electronic device as an IR control target device is received.
검색된 타겟 전자 장치를 IR 제어 대상 장치로 등록하길 요청하는 사용자 입력(예: 도 5의 제1 UI(516)에서 'YES')이 수신되면, 동작 660에서, 전자 장치는 검색된 타겟 전자 장치를 IR 제어 대상 장치로 등록하기 위한 절차를 수행할 수 있다. When a user input requesting to register the found target electronic device as an IR control target device (eg, 'YES' in the first UI 516 of FIG. 5 ) is received, in operation 660 , the electronic device sets the searched target electronic device as an IR A procedure for registering as a control target device may be performed.
검색된 타겟 전자 장치를 IR 제어 대상 장치로 등록하길 요청하는 사용자 입력이 수신되지 않으면(예: 도 5의 제1 UI(516)에서 'NO'), 동작 670에서, 전자 장치는 검색된 타겟 전자 장치를 클라우드 제어 대상 장치로 등록할 수 있다. 검색된 타겟 전자 장치가 클라우드 제어 대상 장치로 기 등록된 상태이면, 전자 장치는 검색된 타겟 전자 장치를 클라우드 제어 대상 장치로 등록하는 절차를 종료할 수 있다. If a user input requesting to register the found target electronic device as an IR control target device is not received (eg, 'NO' in the first UI 516 of FIG. 5 ), in operation 670 , the electronic device selects the found target electronic device It can be registered as a cloud-controlled device. If the found target electronic device is already registered as the cloud control target device, the electronic device may end the procedure of registering the found target electronic device as the cloud control target device.
도 7은 다양한 실시예들에 따라 타겟 전자 장치가 클라우드 기능을 지원하는지를 식별하기 위한 신호 흐름도를 도시한다. 도 7의 동작들은 예를 들어, 도 6의 동작 630의 일 예일 수 있다. 7 is a signal flow diagram for identifying whether a target electronic device supports a cloud function, according to various embodiments of the present disclosure; The operations of FIG. 7 may be, for example, an example of operation 630 of FIG. 6 .
도 7을 참조하면, 동작 705에서, 전자 장치(701)(예: 도 3의 전자 장치(330)는 검색된 타겟 전자 장치(예: 도 3의 타겟 전자 장치(350))에 대한 등록 정보를 포함하는 제1 등록 요청 메시지를 IoT 서버(702)(예: 도 3의 IoT 서버(310))에게 전송할 수 있다. 등록 정보는 예를 들어, 검색된 타겟 전자 장치의 장치 타입, 제조사(또는 브랜드), 모델명 및/또는 UID 중 적어도 하나에 대한 정보를 포함할 수 있다. Referring to FIG. 7 , in operation 705 , the electronic device 701 (eg, the electronic device 330 of FIG. 3 ) includes registration information on the found target electronic device (eg, the target electronic device 350 of FIG. 3 ). may transmit a first registration request message to the IoT server 702 (eg, the IoT server 310 of Fig. 3). The registration information may include, for example, the device type, manufacturer (or brand) of the searched target electronic device, Information on at least one of a model name and/or UID may be included.
동작 710에서, IoT 서버(702)는 제1 등록 요청 메시지에 포함된 등록 정보에 기반하여 검색된 타겟 전자 장치가 클라우드 제어 기능을 지원하는지를 식별할 수 있다. 예를 들어, IoT 서버(702)는 IoT 서버(702)에 저장된 데이터베이스(예: 도 3의 장치 DB(314))를 검출(retrieve)함으로써 등록 정보가 나타내는 장치 타입, 제조사 및/또는 모델명이 클라우드 제어 기능을 지원하는지를 식별할 수 있다. 다른 예를 들어, IoT 서버(702)는 IoT 서버(702)에 저장된 데이터베이스(예: 도 3의 장치 DB(314))를 검출(retrieve)함으로써 등록 정보가 나타내는 장치 타입, 제조사, 모델명 및/또는 UID 중 적어도 하나에 매칭되는 타켓 전자 장치가 등록되어 있는지 식별할 수 있다.In operation 710, the IoT server 702 may identify whether the found target electronic device supports the cloud control function based on registration information included in the first registration request message. For example, the IoT server 702 detects a database (eg, the device DB 314 of FIG. 3 ) stored in the IoT server 702 , and thus the device type, manufacturer, and/or model name indicated by the registration information is cloud It can be identified whether the control function is supported. For another example, the IoT server 702 detects a database (eg, the device DB 314 of FIG. 3 ) stored in the IoT server 702 , thereby indicating the device type, manufacturer, model name and/or registration information indicated by the IoT server 702 . It may be identified whether a target electronic device matching at least one of UIDs is registered.
동작 715에서, IoT 서버(702)는 제1 등록 요청 메시지에 응답하는 제1 응답 메시지를 전송할 수 있다. 제1 응답 메시지는 예를 들어, 검색된 타겟 전자 장치의 장치 타입, 제조사 및/또는 모델명이 클라우드 제어 기능을 지원함을 나타내는 정보를 포함할 수 있다. 다른 예를 들어, 제1 응답 메시지는 검색된 타겟 전자 장치가 클라우드 제어 대상으로 등록된 상태인지에 대한 정보를 포함할 수 있다. In operation 715 , the IoT server 702 may transmit a first response message in response to the first registration request message. The first response message may include, for example, information indicating that the device type, manufacturer, and/or model name of the found target electronic device supports the cloud control function. As another example, the first response message may include information on whether the found target electronic device is registered as a cloud control target.
도 8 내지 도 9는 다양한 실시예들에 따라 타겟 전자 장치가 제어 대상 장치인지를 식별하기 위한 동작을 설명한다. 8 to 9 illustrate an operation for identifying whether a target electronic device is a control target device, according to various embodiments.
도 8은 타겟 전자 장치가 제어 대상 장치인지를 식별하기 위한 전자 장치의 동작 흐름도를 도시한다. 도 8에 도시된 동작들은 도 3의 전자 장치(330)에 의하여 수행되거나, 또는 도 3의 전자 장치(330)에 포함된 적어도 하나의 구성요소에 의하여 수행될 수 있다. 도 8에 도시된 동작들은 도 6의 동작 620의 일 예일 수 있다.8 is a flowchart illustrating an operation of an electronic device for identifying whether a target electronic device is a control target device. The operations shown in FIG. 8 may be performed by the electronic device 330 of FIG. 3 or by at least one component included in the electronic device 330 of FIG. 3 . The operations illustrated in FIG. 8 may be an example of operation 620 of FIG. 6 .
도 8을 참조하면, 동작 810에서, 전자 장치는 AI 스피커(예: 도 3의 AI 스피커(340))를 통해 타겟 전자 장치에게 IR 신호를 전송하도록 요청할 수 있다. 예를 들어, 전자 장치는 IoT 서버(예: 도 3의 IoT 서버(310))를 통해 AI 스피커로 타겟 전자 장치에게 IR 신호를 전송하도록 요청할 수 있다. 일 실시예에 따르면, IR 신호는 지정된 명령(예: 채널 변경)을 포함할 수 있다. 일 실시예에 따르면, 동작 810은 전자 장치가 타겟 전자 장치를 검색하기 이전에 수행될 수 있다. 다른 예를 들어, 동작 810은 복수의 타겟 전자 장치가 검색된 경우에 수행될 수 있다. Referring to FIG. 8 , in operation 810 , the electronic device may request to transmit an IR signal to the target electronic device through an AI speaker (eg, the AI speaker 340 of FIG. 3 ). For example, the electronic device may request an AI speaker to transmit an IR signal to the target electronic device through the IoT server (eg, the IoT server 310 of FIG. 3 ). According to an embodiment, the IR signal may include a specified command (eg, change channel). According to an embodiment, operation 810 may be performed before the electronic device searches for a target electronic device. As another example, operation 810 may be performed when a plurality of target electronic devices are found.
동작 820에서, 전자 장치는 근거리 통신 프로토콜을 통해 타겟 전자 장치에게 응답 신호를 요청할 수 있다. 일 실시예에 따르면, 동작 820은 도 4의 동작 420과 함께 수행될 수 있다. 예를 들어, 타겟 전자 장치를 검색하기 위하여 전송되는 신호는 응답 신호를 요청하는 정보를 포함할 수 있다. In operation 820, the electronic device may request a response signal from the target electronic device through a short-range communication protocol. According to an embodiment, operation 820 may be performed together with operation 420 of FIG. 4 . For example, a signal transmitted to search for a target electronic device may include information requesting a response signal.
동작 830에서, 전자 장치는 타겟 전자 장치로부터 응답 신호를 수신할 수 있다. 타겟 전자 장치는 IR 신호를 전송할 수 없으므로, 전자 장치는 근거리 통신 프로토콜을 통해 타겟 전자 장치로부터 응답 신호를 수신할 수 있다. In operation 830, the electronic device may receive a response signal from the target electronic device. Since the target electronic device cannot transmit an IR signal, the electronic device may receive a response signal from the target electronic device through a short-range communication protocol.
동작 840에서, 전자 장치는 수신된 응답 신호가 동작 810에서 전송된 IR 신호와 적어도 일부가 동일한 정보를 포함하는지를 식별할 수 있다. 예를 들어, 전자 장치는 수신된 응답 신호가 IR 신호에 포함되었던 지정된 명령에 대한 정보를 포함하는지를 식별할 수 있다. In operation 840 , the electronic device may identify whether the received response signal includes at least part of the same information as the IR signal transmitted in operation 810 . For example, the electronic device may identify whether the received response signal includes information about a specified command included in the IR signal.
수신된 응답 신호가 IR 신호와 적어도 일부 동일한 정보를 포함한다면, 동작 850에서, 전자 장치는 응답 신호를 전송한 타겟 전자 장치가 IR 제어 대상 장치임을 결정할 수 있다. 다시 말해, 전자 장치는 근거리 통신 프로토콜을 통해 검색된 타겟 전자 장치 중 IR 신호와 적어도 일부 동일한 정보를 포함한 타겟 전자 장치가 사용자가 등록하기를 원하는 IR 제어 대상 장치와 동일한 장치임을 식별할 수 있다. If the received response signal includes at least some of the same information as the IR signal, in operation 850, the electronic device may determine that the target electronic device that has transmitted the response signal is the IR control target device. In other words, the electronic device may identify that the target electronic device including at least part of the same information as the IR signal among the target electronic devices found through the short-range communication protocol is the same as the IR control target device that the user wants to register.
수신된 응답 신호가 IR 신호와 동일한 정보를 포함하지 않는다면, 동작 860에서, 전자 장치는 응답 신호를 전송한 타겟 전자 장치가 IR 제어 대상 장치가 아닌 것으로 결정할 수 있다. If the received response signal does not include the same information as the IR signal, in operation 860, the electronic device determines that the target electronic device that has transmitted the response signal is not the IR control target device.
도 9는 타겟 전자 장치가 제어 대상 장치인지를 식별하기 위한 신호 흐름도를 도시한다.9 is a signal flow diagram for identifying whether a target electronic device is a control target device.
도 9를 참조하면, 제1 타겟 전자 장치(902)는 IR 제어 기능을 지원할 수 있는 장치(예: 도 3의 타겟 전자 장치(350))를 의미할 수 있다. 제2 타겟 전자 장치(903)는 지정된 IR 제어 기능을 지원할 수 없는 장치를 의미할 수 있다. 예를 들어, 제1 타겟 전자 장치(902) 및 제2 타겟 전자 장치(903)는 서로 다른 장치 타입이거나 또는 서로 다른 IR 프로토콜을 지원할 수 있다. Referring to FIG. 9 , a first target electronic device 902 may refer to a device capable of supporting an IR control function (eg, the target electronic device 350 of FIG. 3 ). The second target electronic device 903 may mean a device that cannot support a specified IR control function. For example, the first target electronic device 902 and the second target electronic device 903 may be different device types or may support different IR protocols.
동작 905에서, 전자 장치(901)(예: 도 3의 전자 장치(330))는 IR 장치(904)(예: 도 3의 AI 스피커(340))에게 전송 명령 신호를 전송할 수 있다. 전송 명령 신호는 IR 장치(904)가 IR 프로토콜에 기반하는 명령 신호(예: 도 8의 IR 신호)를 전송하도록 명령하는 정보를 포함할 수 있다. In operation 905 , the electronic device 901 (eg, the electronic device 330 of FIG. 3 ) may transmit a transmission command signal to the IR device 904 (eg, the AI speaker 340 of FIG. 3 ). The transmit command signal may include information instructing the IR device 904 to transmit a command signal based on the IR protocol (eg, the IR signal of FIG. 8 ).
동작 910에서, IR 장치(904)는 통해 IR 프로토콜에 기반하는 명령 신호(예: 도 8의 IR 신호)를 제1 타겟 전자 장치(902)에게 전송할 수 있다. 명령 신호는 예를 들어, 지정된 명령(예: 채널 변경)을 포함할 수 있다. 동작 915에서, IR 장치(904)는 제1 타겟 전자 장치(902)에게 전송된 명령 신호와 동일한 신호를 제2 타겟 전자 장치(903)에게 전송할 수 있다. 일 실시예에 따르면, 동작 910과 동작 915는 하나의 동작으로 수행될 수 있다. 예를 들어, IR 장치(904)는 지정된 명령(예: 채널 변경)을 지정된 방향(예: 하나 이상의 방향)으로 지정된 횟수(예: 한번 이상)만큼 전송할 수 있다. In operation 910 , the IR device 904 may transmit a command signal (eg, the IR signal of FIG. 8 ) based on the IR protocol to the first target electronic device 902 . The command signal may include, for example, a designated command (eg, change channel). In operation 915 , the IR device 904 may transmit the same signal as the command signal transmitted to the first target electronic device 902 to the second target electronic device 903 . According to an embodiment, operations 910 and 915 may be performed as one operation. For example, the IR device 904 may transmit a specified command (eg, change a channel) in a specified direction (eg, one or more directions) a specified number of times (eg, one or more times).
동작 920에서, 제1 타겟 전자 장치(902)는 수신된 IR 신호를 처리할 수 있다. 제1 타겟 전자 장치(902)는 IR 신호를 처리함으로써 지정된 명령을 식별하고, 지정된 명령의 적어도 일부를 지정된 시간 동안 저장할 수 있다. 반면에, 제2 타겟 전자 장치(903)는 전자 장치(901)가 지원하는 IR 프로토콜을 지원하지 않으므로 수신된 IR 신호를 처리하지 못할 수 있다(동작 922). In operation 920, the first target electronic device 902 may process the received IR signal. The first target electronic device 902 may identify the specified command by processing the IR signal, and store at least a portion of the specified command for a specified time. On the other hand, since the second target electronic device 903 does not support the IR protocol supported by the electronic device 901 , it may not be able to process the received IR signal (operation 922 ).
동작 925 및 930에서, 전자 장치(901)는 검색된 타겟 전자 장치들(902, 903)에게 응답 요청 신호를 전송할 수 있다. 일 실시예에 따르면, 전자 장치(901)는 통신 모듈(예: 도 1의 통신 모듈(190))을 이용한 근거리 통신 프로토콜(예: 블루투스)에 기반하여 응답 요청 신호를 전송할 수 있다. 일 실시예에 따르면, 전자 장치(901)는 동작 925 및 동작 930을 동시에 수행할 수 있다. 예를 들어, 전자 장치(910)는 응답 요청 신호를 브로드캐스팅할 수 있다.In operations 925 and 930 , the electronic device 901 may transmit a response request signal to the found target electronic devices 902 and 903 . According to an embodiment, the electronic device 901 may transmit a response request signal based on a short-range communication protocol (eg, Bluetooth) using a communication module (eg, the communication module 190 of FIG. 1 ). According to an embodiment, the electronic device 901 may simultaneously perform operations 925 and 930 . For example, the electronic device 910 may broadcast a response request signal.
동작 935에서, 제1 타겟 전자 장치(902)는 기 저장된 지정된 명령을 응답 신호와 함께 전자 장치(901)에게 전송할 수 있다. 일 실시예에 따르면, 응답 신호는 근거리 통신 프로토콜에 기반하여 전송될 수 있다. 일 실시예에 따르면, 제1 타겟 전자 장치(902)는 응답 신호를 전송한 이후 지정된 명령을 삭제함으로써 불필요한 저장 공간 소모를 줄일 수 있다. In operation 935 , the first target electronic device 902 may transmit a pre-stored specified command to the electronic device 901 together with a response signal. According to an embodiment, the response signal may be transmitted based on a short-range communication protocol. According to an embodiment, the first target electronic device 902 may reduce unnecessary storage space consumption by deleting the specified command after transmitting the response signal.
동작 937에서, 제2 타겟 전자 장치(903)는 근거리 통신 프로토콜에 기반하여 응답 신호를 전자 장치(901)에게 전송할 수 있다. 제2 타겟 전자 장치(903)는 수신된 IR 신호를 처리하지 못하였으므로, 제2 타겟 전자 장치(903)로부터 전송되는 응답 신호는 IR 신호를 처리하기 위한 지정된 명령을 포함하지 못할 수 있다(예를 들어, 'empty'또는 'fail'정보 포함). In operation 937 , the second target electronic device 903 may transmit a response signal to the electronic device 901 based on a short-range communication protocol. Since the second target electronic device 903 failed to process the received IR signal, the response signal transmitted from the second target electronic device 903 may not include a designated command for processing the IR signal (eg, For example, 'empty' or 'fail' information included).
전자 장치(901)는 수신된 응답 신호에 기반하여 제1 타겟 전자 장치(902)가 IR 제어 대상 장치로 등록하기 위한 장치이고, 제2 타겟 전자 장치(903)가 IR 제어 대상 장치로 등록하기 위한 장치가 아님을 결정할 수 있다. The electronic device 901 is a device for registering the first target electronic device 902 as an IR control target device based on the received response signal and for registering the second target electronic device 903 as an IR control target device It can be determined that it is not a device.
도 10 내지 도 11은 다양한 실시예들에 따라 타겟 전자 장치를 IR 제어 대상 장치로 등록하기 위한 동작을 설명한다. 10 to 11 illustrate an operation for registering a target electronic device as an IR control target device according to various embodiments of the present disclosure.
도 10은 타겟 전자 장치를 IR 제어 대상 장치로 등록하기 위한 신호 흐름도를 도시한다. 도 11은 타겟 전자 장치의 등록을 가이드 하기 위한 사용자 인터페이스를 도시한다. 도 10에 도시된 동작들은 도 6의 동작 660 이후에 수행될 수 있다. 10 is a signal flow diagram for registering a target electronic device as an IR control target device. 11 illustrates a user interface for guiding registration of a target electronic device. The operations illustrated in FIG. 10 may be performed after operation 660 of FIG. 6 .
도 10을 참조하면, 동작 1005에서, 전자 장치(1001)(예: 도 3의 전자 장치(330))는 제2 등록 요청 메시지를 IoT 서버(1002)(예: 도 3의 IoT 서버(310))에게 전송할 수 있다. 제2 등록 요청 메시지는 타겟 전자 장치(예: 도 3의 타겟 전자 장치(350))를 IR 제어 대상 장치로 등록할 것을 요청하는 정보를 포함할 수 있다. 일 실시예에서, 제2 등록 요청 메시지는 타겟 전자 장치의 장치 타입, 제조사, 브랜드, 모델명 및/또는 UID 중 적어도 하나에 대한 정보를 포함할 수 있다. 일 실시예에서, 제2 등록 요청 메시지는 타겟 전자 장치가 위치한 영역에 대한 정보를 포함할 수 있다. 영역은 예를 들어, 침실, 부엌, 거실, 또는 화장실과 같이 집이나 사무실에서 할당된 가상의 공간일 수 있다. 예를 들어, 전자 장치(1001)는 IoT 서버(1002)에 적어도 하나 이상의 가상의 공간을 등록하고, 타겟 전자 장치가 위치한 가상의 공간에 대한 정보를 제2 등록 요청 메시지에 포함하여 전송할 수 있다.Referring to FIG. 10 , in operation 1005 , the electronic device 1001 (eg, the electronic device 330 of FIG. 3 ) transmits a second registration request message to the IoT server 1002 (eg, the IoT server 310 of FIG. 3 ). ) can be sent to The second registration request message may include information requesting to register a target electronic device (eg, the target electronic device 350 of FIG. 3 ) as an IR control target device. In an embodiment, the second registration request message may include information on at least one of a device type, a manufacturer, a brand, a model name, and/or a UID of the target electronic device. In an embodiment, the second registration request message may include information on an area in which the target electronic device is located. A region may be, for example, a virtual space allocated in a home or office, such as a bedroom, a kitchen, a living room, or a bathroom. For example, the electronic device 1001 may register at least one virtual space in the IoT server 1002 and transmit information about the virtual space in which the target electronic device is located in the second registration request message.
동작 1010에서, IoT 서버(1002)는 검색된 타겟 전자 장치의 위치를 포함하는 영역에서 검색된 타겟 전자 장치와 장치 타입이 동일한 장치가 존재하는 지를 식별할 수 있다. 예를 들어, IoT 서버(1002)는 제2 등록 요청 메시지를 수신한 것에 응답하여 데이터베이스(예: 도 3의 장치 DB(314) 또는 계정 DB(312))를 검출(retrieve)할 수 있다. 특정 영역(예: 거실)에 위치하는 타겟 전자 장치(예: TV)가 이미 클라우드 제어 대상 장치로써 IoT 서버(1002)에 등록된 상태라면, IoT 서버(1002)는 제2 등록 요청 메시지가 나타내는 타겟 전자 장치와 영역 및 장치 타입이 동일한 장치가 이미 존재하는 것으로 식별할 수 있다. In operation 1010 , the IoT server 1002 may identify whether a device having the same device type as the found target electronic device exists in the area including the location of the found target electronic device. For example, the IoT server 1002 may retrieve a database (eg, the device DB 314 or the account DB 312 of FIG. 3 ) in response to receiving the second registration request message. If a target electronic device (eg, a TV) located in a specific area (eg, living room) is already registered in the IoT server 1002 as a cloud control target device, the IoT server 1002 is the target indicated by the second registration request message. A device having the same area and device type as the electronic device may be identified as already existing.
검색된 타겟 전자 장치와 동일한 영역에서 동일한 장치 타입을 가지는 장치가 존재하지 않으면, IoT 서버(1002)는 검색된 타겟 전자 장치를 IR 제어 대상 장치로 등록하고, 동작 1035에서, IoT 서버(1002)는 등록이 완료됨을 나타내는 메시지를 전자 장치(1001)에게 전송할 수 있다. If there is no device having the same device type in the same area as the searched target electronic device, the IoT server 1002 registers the searched target electronic device as an IR control target device, and in operation 1035, the IoT server 1002 performs registration A message indicating completion may be transmitted to the electronic device 1001 .
검색된 타겟 전자 장치와 동일한 영역에서 동일한 장치 타입을 가지는 장치가 존재하면, IoT 서버(1002)는 제2 응답 메시지(1015)를 전자 장치(1001)에게 전송할 수 있다. 제2 응답 메시지(1015)는 검색된 타겟 전자 장치가 위치한 영역과 동일한 영역에서 검색된 타겟 전자 장치와 동일한 장치 타입을 가지는 장치가 존재함을 나타내는 정보를 포함할 수 있다. 예를 들어, 검색된 타겟 전자 장치가 위치한 영역과 동일한 영역에서 검색된 타겟 전자 장치와 동일한 장치 타입을 가지는 장치가 존재하는 것은, 타켓 전자 장치가 클라우드 제어 기능으로 IoT 서버(1002)에 등록된 상태임을 포함할 수 있다.If a device having the same device type exists in the same area as the searched target electronic device, the IoT server 1002 may transmit a second response message 1015 to the electronic device 1001 . The second response message 1015 may include information indicating that a device having the same device type as the found target electronic device exists in the same area as the area in which the searched target electronic device is located. For example, the existence of a device having the same device type as the found target electronic device in the same area as the area in which the searched target electronic device is located includes that the target electronic device is registered in the IoT server 1002 with the cloud control function can do.
동작 1020에서, 전자 장치(1001)는 IoT 서버(1002)로부터 수신된 제2 응답 메시지에 기반하여 타겟 전자 장치의 등록을 가이드 하기 위한 제2 UI를 출력하고, 제2 사용자 입력을 수신할 수 있다. 예를 들어 도 11을 참조하면, 전자 장치(1001)는 디스플레이의 제5 화면(1101) 상에 검색된(또는 선택된) 타겟 전자 장치의 영역에서 동일한 타입의 장치가 존재함을 나타내는 제2 UI(1110)를 출력할 수 있다. In operation 1020 , the electronic device 1001 may output a second UI for guiding registration of the target electronic device based on the second response message received from the IoT server 1002 and receive a second user input. . For example, referring to FIG. 11 , the electronic device 1001 displays a second UI 1110 indicating that a device of the same type exists in the area of the searched (or selected) target electronic device on the fifth screen 1101 of the display. ) can be printed.
타겟 전자 장치의 등록 절차를 계속하기를 요청하는 사용자 입력(예: 제2 UI(1110)의 'YES')이 수신되면, 동작 1025에서, 전자 장치(1001)는 제3 등록 요청 메시지를 IoT 서버(1002)에게 전송할 수 있다. 제3 등록 요청 메시지는 예를 들어 제2 등록 요청 메시지와 적어도 일부가 동일한 정보를 포함할 수 있다. When a user input requesting to continue the registration procedure of the target electronic device (eg, 'YES' of the second UI 1110) is received, in operation 1025, the electronic device 1001 sends a third registration request message to the IoT server (1002) can be transmitted. The third registration request message may include, for example, information that is at least partially identical to that of the second registration request message.
동작 1030에서, IoT 서버(1002)는 타겟 전자 장치의 기능 중에서 클라우드 제어 기능 및 IR 제어 기능에 대한 우선 순위를 결정할 수 있다. 일 실시예에 따르면, IoT 서버(1002)는 전자 장치(1001)의 사용자의 설정, 사용자의 선호도, 또는 사용 이력 중 적어도 하나에 기반하여 우선 순위를 결정할 수 있다. 일 실시예에 따르면, IR 제어 기능에 대한 우선 순위를 클라우드 제어 기능에 대한 우선 순위보다 높게 설정할 수 있다. 예를 들어, 사용자는 클라우드 제어 기능으로 등록된 타겟 전자 장치의 기능을 제어하기 위한 방법으로 IR 제어 기능을 우선적으로 사용하도록 설정할 수 있다. 우선 순위가 결정되면, IoT 서버(1002)는 검색된 타겟 전자 장치를 IR 제어 대상 장치로 등록하고, 동작 1035에서 IR 제어 대상 장치의 등록이 완료됨을 나타내는 메시지를 전송할 수 있다. In operation 1030 , the IoT server 1002 may determine a priority for a cloud control function and an IR control function among functions of the target electronic device. According to an embodiment, the IoT server 1002 may determine a priority based on at least one of a user's setting of the electronic device 1001 , a user's preference, or a use history. According to an embodiment, the priority of the IR control function may be set higher than the priority of the cloud control function. For example, the user may set the IR control function to be preferentially used as a method for controlling the function of the target electronic device registered as the cloud control function. When the priority is determined, the IoT server 1002 may register the found target electronic device as an IR control target device, and transmit a message indicating that registration of the IR control target device is completed in operation 1035 .
도 12는 다양한 실시예들에 따라 타겟 전자 장치를 제어하기 위한 사용자 인터페이스를 도시한다. 도 12에 도시된 어플리케이션 화면(1200)의 구성은 예시에 지나지 않으면, 어플리케이션 화면(1200)에 포함된 타겟 전자 장치의 수, 기능, 장치 타입, 및/또는 배치 순서는 변경될 수 있다. 12 illustrates a user interface for controlling a target electronic device according to various embodiments of the present disclosure; If the configuration of the application screen 1200 shown in FIG. 12 is only an example, the number, function, device type, and/or arrangement order of target electronic devices included in the application screen 1200 may be changed.
타겟 전자 장치(예: 도 3의 타겟 전자 장치(350))가 IR 제어 대상 장치로 등록되더라도, 전자 장치(예: 도 3의 전자 장치(330))는 타겟 전자 장치가 클라우드 제어 기능을 지원할 수 있음을 나타내는 사용자 인터페이스를 제공함으로써 사용자에게 적합한 제어 환경을 제공할 수 있다. Even if the target electronic device (eg, the target electronic device 350 of FIG. 3 ) is registered as an IR control target device, the electronic device (eg, the electronic device 330 of FIG. 3 ) may enable the target electronic device to support the cloud control function. By providing a user interface indicating that there is, it is possible to provide a control environment suitable for the user.
도 12를 참조하면, 전자 장치는 IoT 환경에 포함된 타겟 전자 장치들의 제어를 위한 어플리케이션 화면(1200)을 디스플레이를 통해 출력할 수 있다. 어플리케이션 화면(1200)은 복수의 타겟 전자 장치들에 대한 정보를 나타내는 그래픽 사용자 인터페이스(graphic user interface, GUI)(1201, 1202, 1203, 1204)를 포함할 수 있다. 복수의 GUI들(1201, 1202, 1203, 1204) 중 하나를 선택하는 사용자 입력이 수신되면, 전자 장치는 선택된 GUI에 대응하는 타겟 전자 장치의 제어 화면(예: 1210, 1220, 1230, 또는 1240)을 제공할 수 있다. Referring to FIG. 12 , the electronic device may output an application screen 1200 for controlling target electronic devices included in the IoT environment through the display. The application screen 1200 may include graphic user interfaces (GUIs) 1201 , 1202 , 1203 , and 1204 indicating information on a plurality of target electronic devices. When a user input for selecting one of the plurality of GUIs 1201, 1202, 1203, and 1204 is received, the electronic device displays a control screen of the target electronic device corresponding to the selected GUI (eg, 1210, 1220, 1230, or 1240) can provide
일 실시예에서, 어플리케이션 화면(1200)에 포함된 GUI들(1201, 1202, 1203, 1204)은 타겟 전자 장치가 지원하는 제어 기능을 나타낼 수 있다. 예를 들어, 제1 GUI(1201)는 타겟 전자 장치(예: 선풍기)가 IR 제어 기능을 지원하는 장치임을 나타낼 수 있다. 다른 예를 들어, 제2 GUI(1202)는 타겟 전자 장치(예: 에어컨)가 IR 제어 기능 및 클라우드 제어 기능(예: OCF)을 모두 지원함을 나타낼 수 있다. In an embodiment, the GUIs 1201 , 1202 , 1203 , and 1204 included in the application screen 1200 may indicate control functions supported by the target electronic device. For example, the first GUI 1201 may indicate that the target electronic device (eg, a fan) supports an IR control function. As another example, the second GUI 1202 may indicate that the target electronic device (eg, air conditioner) supports both an IR control function and a cloud control function (eg, OCF).
일 실시예에서, 어플리케이션 화면(1200)은 타겟 전자 장치를 IR 제어 기능을 통해 제어할 수 있도록 IR 장치(예: AI 스피커)에 대한 GUI(1205)를 더 포함할 수 있다. 예를 들어, 사용자가 IR 장치(예: AI 스피커)를 통하여, IR 제어 기능만을 지원하는 타겟 전자 장치(예: 선풍기)를 제어 하는 경우, IoT 서버(310)는 IR 장치(예: AI 스피커)로 IR 제어 기능만을 지원하는 타겟 전자 장치(예: 선풍기)를 제어 하는 신호를 전송하도록 요청할 수 있다.In an embodiment, the application screen 1200 may further include a GUI 1205 for an IR device (eg, an AI speaker) to control the target electronic device through an IR control function. For example, when the user controls a target electronic device (eg, a fan) that supports only the IR control function through an IR device (eg, an AI speaker), the IoT server 310 is an IR device (eg, an AI speaker) can request to transmit a signal to control a target electronic device (eg, a fan) that supports only the IR control function.
일 실시예에 따르면, 전자 장치의 디스플레이(예: 도 1의 디스플레이 모듈(160))는 롤러블(rollable) 또는 폴더블(foldable) 디스플레이를 포함할 수 있다. 전자 장치는 디스플레이의 롤러블 또는 폴더블 상태에 기반하여 사용자 인터페이스(예: 어플리케이션 화면(1200))를 다르게 표시할 수 있다. 예를 들어, 전자 장치의 디스플레이가 감기거나 또는 접힌 상태(예: 디스플레이의 표시 영역이 사용자가 바라볼 때 시각적으로 축소된 상태)에서는 GUI들(1201, 1202, 1203, 1204)을 포함하는 어플리케이션 화면(1200)만을 표시할 수 있다. 다른 예를 들어, 전자 장치의 디스플레이가 펼쳐진 상태(예: 디스플레이의 표시 영역이 사용자가 바라볼 때 시각적으로 확대된 상태)에서는 GUI들(1201, 1202, 1203, 1204)을 포함하는 어플리케이션 화면(1200) 및/또는 GUI들(1201, 1202, 1203, 1204)에 대응하는 타겟 전자 장치의 제어 화면들(예: 1210, 1220, 1230, 또는 1240) 중 적어도 하나를 표시할 수 있다.According to an embodiment, the display of the electronic device (eg, the display module 160 of FIG. 1 ) may include a rollable or foldable display. The electronic device may display a user interface (eg, the application screen 1200) differently based on a rollable or foldable state of the display. For example, in a state in which the display of the electronic device is rolled or folded (eg, the display area of the display is visually reduced when the user looks at it), the application screen including the GUIs 1201 , 1202 , 1203 , and 1204 . Only (1200) can be displayed. As another example, in a state in which the display of the electronic device is unfolded (eg, a state in which the display area of the display is visually enlarged when the user looks at it), the application screen 1200 including the GUIs 1201 , 1202 , 1203 , and 1204 . ) and/or at least one of control screens (eg, 1210 , 1220 , 1230 , or 1240 ) of the target electronic device corresponding to the GUIs 1201 , 1202 , 1203 , and 1204 may be displayed.
도 13 내지 도 15는 다양한 실시예들에 따라 타겟 전자 장치를 제어하기 위한 동작을 설명한다. 도 13 내지 도 15는 클라우드 제어 기능에 기반하여 타겟 전자 장치(1304)(예: TV)의 지정된 동작(예: 채널 변경)을 제어하는 동작을 예시하지만, 타겟 전자 장치의 장치 타입 및 타겟 전자 장치가 수행할 수 있는 동작은 도 13에 도시된 예로 한정되는 것은 아니다.13 to 15 illustrate an operation for controlling a target electronic device according to various embodiments of the present disclosure. 13 to 15 exemplify an operation of controlling a specified operation (eg, changing a channel) of the target electronic device 1304 (eg, TV) based on the cloud control function, but the device type of the target electronic device and the target electronic device Operations that may be performed are not limited to the example illustrated in FIG. 13 .
도 13은 타겟 전자 장치를 제어하기 위한 블록도 및 흐름도를 도시한다. 13 shows a block diagram and a flowchart for controlling a target electronic device.
도 13을 참조하면, AI 스피커(1301), 보이스 어시스턴스 서버(1302), IoT 서버(1303), 및 타겟 전자 장치(1304) 각각은 도 3의 AI 스피커(340), 보이스 어시스턴스 서버(320), IoT 서버(310), 및 타겟 전자 장치(350)와 동일하거나 유사한 기능을 수행하고 이들과 동일하거나 유사한 구성을 포함할 수 있다. 일 실시예에 따르면, 보이스 어시스턴스 서버(1302)와 IoT 서버(1303)는 하나의 서버로 구성될 수 있다.Referring to FIG. 13 , the AI speaker 1301 , the voice assistance server 1302 , the IoT server 1303 , and the target electronic device 1304 are the AI speaker 340 and the voice assistance server 320 of FIG. 3 , respectively. ), the IoT server 310 , and the target electronic device 350 may perform the same or similar functions, and may include the same or similar configuration as these. According to an embodiment, the voice assistance server 1302 and the IoT server 1303 may be configured as one server.
보이스 어시스턴스 서버(1302)는 음성 인식 모듈(1304), 언어 이해 모듈(1305), 및 기능별 발화 처리 모듈(1306)을 포함할 수 있다. 보이스 어시스턴스 서버(1302)에 포함된 '모듈'들은 하드웨어 또는 소프트웨어를 포함할 수 있다. 예를 들어, 보이스 어시스턴스 서버(1302)에 포함된 모듈들은 도 2의 저장부(233)에 저장된 모델(234)의 일부이거나, 프로세서(232)에 의하여 실행되는 인스트럭션 집합(set)일 수 있다. The voice assistance server 1302 may include a voice recognition module 1304 , a language understanding module 1305 , and a utterance processing module 1306 for each function. The 'modules' included in the voice assistance server 1302 may include hardware or software. For example, the modules included in the voice assistance server 1302 may be a part of the model 234 stored in the storage 233 of FIG. 2 , or may be an instruction set executed by the processor 232 . .
IoT 서버(1303)에 포함된 컨트롤러(1307), 통신 인터페이스(1309), 장치 DB(1308), 및 프로그램 DB(1310)는 각각 도 2의 프로세서(212), 통신 인터페이스(211), 도 3의 장치 DB(314), 및 프로그램 DB(316)와 동일하거나 유사한 기능을 수행할 수 있다. The controller 1307, the communication interface 1309, the device DB 1308, and the program DB 1310 included in the IoT server 1303 are the processor 212, the communication interface 211 of FIG. The same or similar functions to the device DB 314 and the program DB 316 may be performed.
일 실시예에서, AI 스피커(1301)는 사용자로부터 음성 입력(예: 'xxx 프로그램 틀어줘')을 수신할 수 있다. 음성 입력이 수신되면, 동작 1320에서, AI 스피커(340)는 수신된 음성 입력을 보이스 어시스턴스 서버(1302)의 음성 인식 모듈(1304)로 전송할 수 있다. In an embodiment, the AI speaker 1301 may receive a voice input (eg, 'play xxx program') from the user. When the voice input is received, in operation 1320 , the AI speaker 340 may transmit the received voice input to the voice recognition module 1304 of the voice assistance server 1302 .
음성 인식 모듈(1304)은 수신된 음성 입력을 문자(text) 데이터로 변환하고, 동작 1325에서 변환된 데이터를 언어 이해 모듈(1305)로 전달할 수 있다. 언어 이해 모듈(1305)은 전달된 데이터를 통해 음성 입력에 대응하는 자연어(natural language)를 분석하고, 동작 1330에서 분석 결과를 기능별 발화 처리 모듈(1306)로 전달할 수 있다. 기능별 발화 처리 모듈(1306)은 기 학습된 데이터를 통해 자연어가 의도하는 기능을 인식할 수 있다. 동작 1335에서, 기능별 발화 처리 모듈(1306)은 인식된 사용자 의도가 나타내는 데이터를 IoT 서버(1303)의 컨트롤러(1307)로 전송할 수 있다. The voice recognition module 1304 may convert the received voice input into text data, and transmit the converted data to the language understanding module 1305 in operation 1325 . The language understanding module 1305 may analyze a natural language corresponding to the voice input through the transmitted data, and transmit the analysis result to the function-specific speech processing module 1306 in operation 1330 . The function-specific speech processing module 1306 may recognize a function intended by the natural language through pre-learned data. In operation 1335 , the function-specific speech processing module 1306 may transmit data indicated by the recognized user intention to the controller 1307 of the IoT server 1303 .
컨트롤러(1307)는 수신된 데이터에 기반하여 사용자 의도가 수행될 수 있는지를 결정할 수 있다. 예를 들어, 컨트롤러(1307)는 사용자 의도가 나타내는 타겟 전자 장치(1304)가 존재하는지, 타겟 전자 장치(1304)가 클라우드 제어 기능을 지원하는지, 또는 사용자 의도에 대응하는 채널이 존재하는지를 결정할 수 있다. 사용자 의도가 수행될 수 있는지를 결정하기 위하여, 동작 1340에서 컨트롤러(1307)는 장치 DB(1308)로부터 데이터를 로드(load)하고, 동작 1345에서 프로그램 DB(1310)로부터 데이터를 로드할 수 있다. 사용자 의도가 수행될 수 있는지를 결정하는 동작의 일 예는 도 15에서 후술된다. 사용자 의도가 수행될 수 있다고 결정되면, 동작 1350에서 컨트롤러(1307)는 사용자 의도에 대응하는 명령 신호를 통신 인터페이스(1309)에게 전달할 수 있다. 동작 1355에서, 통신 인터페이스(1309)는 명령 신호를 타겟 전자 장치(1304)에게 전송할 수 있다. 일 실시예에서, 통신 인터페이스(1309)는 OCF 규격에 기반하여 명령 신호를 전송할 수 있다. The controller 1307 may determine whether the user intent can be performed based on the received data. For example, the controller 1307 may determine whether the target electronic device 1304 indicated by the user intention exists, whether the target electronic device 1304 supports a cloud control function, or a channel corresponding to the user intention exists. . To determine whether the user intention can be performed, the controller 1307 may load data from the device DB 1308 in operation 1340 , and load data from the program DB 1310 in operation 1345 . An example of an operation of determining whether a user intention can be performed will be described later with reference to FIG. 15 . If it is determined that the user intention can be performed, the controller 1307 may transmit a command signal corresponding to the user intention to the communication interface 1309 in operation 1350 . In operation 1355 , the communication interface 1309 may transmit a command signal to the target electronic device 1304 . In one embodiment, the communication interface 1309 may transmit a command signal based on the OCF standard.
IoT 서버(1303)는 음성 입력에 대응하는 사용자 의도가 수행될 수 있는지를 IoT 서버(1402)에 저장된 데이터베이스(예: 장치 DB(1308) 및 프로그램 DB(1310))에 기반하여 결정함으로써 사용자 의도가 수행될 수 없는 경우에 피드백을 제공할 수 있다. 피드백을 제공하기 위한 신호 흐름도는 도 14에서 후술된다. The IoT server 1303 determines whether the user intention corresponding to the voice input can be performed based on the database (eg, the device DB 1308 and the program DB 1310) stored in the IoT server 1402, so that the user intention is You can provide feedback if it cannot be done. A signal flow diagram for providing feedback is described below in FIG. 14 .
도 14는 채널 변경 명령을 처리하기 위한 신호 흐름도를 도시한다.14 shows a signal flow diagram for processing a channel change command.
도 14를 참조하면, 사용자 입력(예: 음성 입력)에 응답하여, 동작 1405에서, AI 스피커(1401)(예: 도 13의 AI 스피커(1301))는 채널 변경 명령을 IoT 서버(1402)(예: 도 13의 IoT 서버(1303))에게 전송할 수 있다. 예를 들어, 채널 변경 명령은 도 13에 도시된 방식에 기반하여 IoT 서버(1402)에게 전송될 수 있다. Referring to FIG. 14 , in response to a user input (eg, voice input), in operation 1405 , the AI speaker 1401 (eg, the AI speaker 1301 of FIG. 13 ) sends a channel change command to the IoT server 1402 ( Example: It can be transmitted to the IoT server 1303 of FIG. 13 ). For example, the channel change command may be transmitted to the IoT server 1402 based on the method shown in FIG. 13 .
도 14는 AI 스피커(1401)가 음성 입력에 기반하여 채널 변경 명령을 전송하는 실시예를 도시하지만, 다른 실시예들에 따르면 채널 변경 명령은 스마트폰과 같은 전자 장치(예: 도 3의 330)를 통해 IoT 서버(1402)로 전달될 수 있다. 예를 들어, 전자 장치는 채널 변경을 요청하는 사용자의 음성 입력을 수신하거나 GUI(예: 도 12의 1240)를 통한 터치 입력을 수신하고, 수신된 입력에 대응하는 채널 변경 명령을 IoT 서버(1402)로 전달할 수 있다. 전자 장치는 채널 변경 명령을 직접 IoT 서버(1402)로 전달할 수도 있고, AI 스피커(1402) 또는 보이스 어시스턴트 서버(예: 도 3의 320)를 통해 전달할 수도 있다. 14 shows an embodiment in which the AI speaker 1401 transmits a channel change command based on a voice input, but according to other embodiments, the channel change command is transmitted to an electronic device such as a smartphone (eg, 330 in FIG. 3 ) may be transmitted to the IoT server 1402 through For example, the electronic device receives a user's voice input requesting a channel change or receives a touch input through a GUI (eg, 1240 in FIG. 12 ), and sends a channel change command corresponding to the received input to the IoT server 1402 ) can be passed as The electronic device may transmit the channel change command directly to the IoT server 1402 or through the AI speaker 1402 or a voice assistant server (eg, 320 in FIG. 3 ).
동작 1410에서, IoT 서버(1402)는 수신된 명령을 처리할 수 있다. 예를 들어, IoT 서버(1402)는 도 13에 도시된 컨트롤러(1307)의 동작에 기반하여 명령을 처리할 수 있다. In operation 1410 , the IoT server 1402 may process the received command. For example, the IoT server 1402 may process a command based on the operation of the controller 1307 shown in FIG. 13 .
채널 변경 명령이 수행될 수 없다고 결정되면, 동작 1415에서, IoT 서버(1402)는 피드백 메시지를 AI 스피커(1401)에게 전송할 수 있다. 피드백 메시지는 예를 들어, 타겟 전자 장치가 존재하지 않음을 나타내거나, 타겟 전자 장치가 클라우드 제어 기능을 지원할 수 없음을 나타내거나, 또는 사용자 의도에 대응하는 채널이 존재하지 않음을 나타낼 수 있다. 피드백 메시지는 예를 들어 음성 피드백을 포함할 수 있다. If it is determined that the channel change command cannot be performed, in operation 1415 , the IoT server 1402 may transmit a feedback message to the AI speaker 1401 . The feedback message may indicate, for example, that the target electronic device does not exist, that the target electronic device cannot support a cloud control function, or that a channel corresponding to a user intention does not exist. The feedback message may include, for example, voice feedback.
다른 실시예에서, IoT 서버(1402)는 피드백 메시지를 전자 장치(예: 도 3의 330)에게 전송할 수 있다. 이 경우, IoT 서버(1402)는 AI 스피커(1402)를 통해 피드백 메시지를 전송하거나, 전자 장치에게 직접 전송할 수 있다. 전자 장치에게 전송되는 피드백 메시지는 음성, 영상, 진동, 또는 LED 중 적어도 하나를 포함할 수 있다. In another embodiment, the IoT server 1402 may transmit a feedback message to the electronic device (eg, 330 of FIG. 3 ). In this case, the IoT server 1402 may transmit a feedback message through the AI speaker 1402 or directly to the electronic device. The feedback message transmitted to the electronic device may include at least one of voice, video, vibration, and LED.
도 15는 채널 변경 명령을 처리하기 위한 IoT 서버의 동작 흐름도를 도시한다. 도 15에 도시된 동작들은 도 13의 IoT 서버(1303)에 의하여 수행되거나 컨트롤러(1307)에 의하여 수행될 수 있다. 15 is a flowchart illustrating an operation of an IoT server for processing a channel change command. The operations shown in FIG. 15 may be performed by the IoT server 1303 of FIG. 13 or may be performed by the controller 1307 .
도 15를 참조하면, 동작 1505에서, IoT 서버는 채널 변경 명령을 수신할 수 있다. 예를 들어 IoT 서버는 전자 장치(예: 도 3의 전자 장치(330))로부터 터치 입력에 기반한 채널 변경 명령을 수신하거나 또는 보이스 어시스턴스 서버(예: 도 3의 보이스 어시스턴스 서버(320))로부터 전자 장치(예: 도 3의 전자 장치(330)) 또는 AI 스피커(예: 도 13의 AI 스피커(1301))를 통한 음성 명령에 기반한 채널 변경 명령을 수신할 수 있다.Referring to FIG. 15 , in operation 1505 , the IoT server may receive a channel change command. For example, the IoT server receives a channel change command based on a touch input from an electronic device (eg, the electronic device 330 of FIG. 3 ) or a voice assistance server (eg, the voice assistance server 320 of FIG. 3 ). A channel change command based on a voice command may be received from the electronic device (eg, the electronic device 330 of FIG. 3 ) or an AI speaker (eg, the AI speaker 1301 of FIG. 13 ).
동작 1510에서, IoT 서버는 채널 변경 명령에 대응하는 타겟 전자 장치(예: TV)가 존재하는지를 식별할 수 있다. 예를 들어, IoT 서버는 장치 DB(예: 도 13의 장치 DB(1308))를 검출함으로써 채널 변경 명령을 수행할 수 있는 장치가 존재하는지를 식별할 수 있다. 채널 변경 명령에 대응하는 타겟 전자 장치가 존재하지 않으면, 동작 1535에서, IoT 서버는 피드백 메시지를 전송할 수 있다. In operation 1510, the IoT server may identify whether a target electronic device (eg, a TV) corresponding to the channel change command exists. For example, the IoT server may identify whether a device capable of performing a channel change command exists by detecting a device DB (eg, the device DB 1308 of FIG. 13 ). If the target electronic device corresponding to the channel change command does not exist, in operation 1535 , the IoT server may transmit a feedback message.
채널 변경 명령에 대응하는 타겟 전자 장치가 존재하면, 동작 1515에서, IoT 서버는 타겟 전자 장치가 클라우드 제어 기능을 지원하는지를 식별할 수 있다. 예를 들어, IoT 서버는 장치 DB에 저장된 타겟 전자 장치의 기능을 검출함으로써 타겟 전자 장치가 클라우드 제어 기능을 지원하는지를 식별할 수 있다. 타겟 전자 장치가 클라우드 제어 기능을 지원하지 않으면, 동작 1535에서 IoT 서버는 피드백 메시지를 전송할 수 있다. If the target electronic device corresponding to the channel change command exists, in operation 1515 , the IoT server may identify whether the target electronic device supports the cloud control function. For example, the IoT server may identify whether the target electronic device supports the cloud control function by detecting the function of the target electronic device stored in the device DB. If the target electronic device does not support the cloud control function, the IoT server may transmit a feedback message in operation 1535 .
타겟 전자 장치가 클라우드 제어 기능을 지원하면, 동작 1520에서, IoT 서버는 명령에 대응하는 채널이 존재하는지를 식별할 수 있다. 예를 들어, IoT 서버는 프로그램 DB(예: 도 13의 프로그램 DB(1310))를 검출함으로써 사용자가 의도하는 프로그램(예: xxx 프로그램)이 방송 중인 채널이 존재하는지를 식별할 수 있다. 명령에 대응하는 채널이 존재하지 않는다면, 동작 1535에서, IoT 서버는 피드백 메시지를 전송할 수 있다. If the target electronic device supports the cloud control function, in operation 1520 , the IoT server may identify whether a channel corresponding to the command exists. For example, by detecting the program DB (eg, the program DB 1310 of FIG. 13 ), the IoT server may identify whether a channel on which a program (eg, an xxx program) intended by the user is being broadcast exists. If there is no channel corresponding to the command, in operation 1535 , the IoT server may transmit a feedback message.
명령에 대응하는 채널이 존재하면, 동작 1525에서, IoT 서버는 명령에 대응하는 복수의 채널 번호 중 하나의 채널을 선택할 수 있다. 예를 들어, IoT 서버는 사용자 설정 또는 사용 이력 중 적어도 하나에 기반하여 채널을 선택할 수 있다. 명령에 대응하는 채널이 하나이면, IoT 서버는 동작 1525를 수행하지 않을 수 있다. If a channel corresponding to the command exists, in operation 1525 , the IoT server may select one channel from among a plurality of channel numbers corresponding to the command. For example, the IoT server may select a channel based on at least one of a user setting or a usage history. If there is only one channel corresponding to the command, the IoT server may not perform operation 1525 .
동작 1530에서, IoT 서버는 선택된 채널로 변경을 명령하는 신호를 타겟 전자 장치에게 전송할 수 있다. 일 실시예에 따르면 IoT 서버가 AI 스피커를 통해 채널 변경 명령을 수신한 경우, IoT 서버는 AI 스피커로 타겟 전자 장치의 채널을 변경하는 IR 신호를 생성하여 전송할 수 있다.In operation 1530, the IoT server may transmit a signal instructing to change to the selected channel to the target electronic device. According to an embodiment, when the IoT server receives a channel change command through the AI speaker, the IoT server may generate and transmit an IR signal for changing the channel of the target electronic device to the AI speaker.
상술한 바와 같이, 일 실시 예에 따른 전자 장치(예: 도 3의 전자 장치(330))는 적어도 하나의 통신 회로(예: 도 1의 무선 통신 모듈(192)), 디스플레이(예: 도 1의 디스플레이 모듈(160)), 상기 적어도 하나의 통신 회로 및 상기 디스플레이와 작동적으로 연결되는 프로세서(예: 도 1의 프로세서(120)), 및 상기 프로세서와 작동적으로 연결되는 메모리(예: 도 1의 메모리(130))를 포함하고, 상기 메모리는, 실행 시, 상기 프로세서가, IR 제어 대상 장치의 등록을 요청하는 제1 사용자 입력을 수신하고, 상기 IR 제어 대상 장치는 IR 장치에 의하여 제어되는 장치를 의미하고, 상기 적어도 하나의 통신 회로를 이용하여 타겟 전자 장치를 검색하고, 상기 검색된 타겟 전자 장치(예: 도 3의 타겟 전자 장치(350))가 클라우드(cloud) 제어 대상 장치임을 식별(identify)하고, 상기 클라우드 제어 대상 장치는 IoT 서버(예: 도 3의 IoT 서버(310))에 의하여 제어되는 장치를 의미하고, 및 상기 검색된 타겟 전자 장치가 상기 클라우드 제어 대상 장치임을 나타내는 제1 사용자 인터페이스(예: 도 5의 제1 UI(516))를 상기 디스플레이를 통해 출력하도록 하는 인스트럭션들을 저장할 수 있다. As described above, the electronic device (eg, the electronic device 330 of FIG. 3 ) according to an embodiment includes at least one communication circuit (eg, the wireless communication module 192 of FIG. 1 ) and a display (eg, FIG. 1 ). of a display module 160), a processor operatively coupled to the at least one communication circuit and the display (eg, the processor 120 of FIG. 1), and a memory operatively coupled to the processor (eg, FIG. 1 memory 130), wherein, when executed, the processor receives a first user input requesting registration of an IR-controlled device, and the IR-controlled device is controlled by the IR device. means a device to be used, searches for a target electronic device using the at least one communication circuit, and identifies that the found target electronic device (eg, the target electronic device 350 of FIG. 3 ) is a cloud control target device (identify), the cloud control target device means a device controlled by an IoT server (eg, the IoT server 310 of FIG. 3 ), and a first indicating that the found target electronic device is the cloud control target device Instructions for outputting a user interface (eg, the first UI 516 of FIG. 5 ) through the display may be stored.
일 실시예에 따르면, 상기 인스트럭션들은 상기 프로세서가, 상기 검색된 타겟 전자 장치의 장치 타입 및 제조사에 대한 정보를 포함하는 제1 등록 요청 메시지를 상기 IoT 서버로 전송하고, 상기 검색된 타겟 전자 장치의 장치 타입 및 제조사가 상기 클라우드 제어 기능을 지원함을 나타내는 제1 응답 메시지를 상기 IoT 서버로부터 수신하고, 및 상기 수신된 제1 응답 메시지에 기반하여 상기 검색된 타겟 전자 장치가 상기 클라우드 제어 대상 장치임을 식별하도록 할 수 있다. According to an embodiment, in the instructions, the processor transmits a first registration request message including information on the device type and manufacturer of the found target electronic device to the IoT server, and the device type of the found target electronic device and receiving a first response message indicating that the manufacturer supports the cloud control function from the IoT server, and identifying the found target electronic device as the cloud control target device based on the received first response message have.
일 실시예에 따르면, 상기 인스트럭션들은 상기 프로세서가, 블루투스 통신 프로토콜에 기반하여 상기 타겟 전자 장치를 검색하고, 및 상기 타겟 전자 장치를 검색하는 동안에, 데이터 패킷을 상기 타겟 전자 장치로부터 수신하도록 할 수 있다. According to an embodiment, the instructions may cause the processor to search for the target electronic device based on a Bluetooth communication protocol, and receive a data packet from the target electronic device while searching for the target electronic device. .
일 실시예에 따르면, 상기 인스트럭션들은 상기 프로세서가, 상기 타겟 전자 장치를 검색하기 이전에, 상기 타겟 전자 장치의 장치 타입을 선택하는 제2 사용자 입력을 수신하고, 상기 데이터 패킷이 나타내는 장치 타입이 상기 제2 사용자 입력에 의하여 선택된 장치 타입과 동일한지 여부를 식별하고, 및 상기 데이터 패킷에 포함된 명령에 기반하여 상기 검색된 타겟 전자 장치가 제어 대상 장치인지 여부를 결정하도록 할 수 있다. According to an embodiment, the instructions receive, before the processor searches for the target electronic device, a second user input for selecting a device type of the target electronic device, and determines that the device type indicated by the data packet is the It is possible to identify whether the device type is the same as the device type selected by the second user input, and determine whether the found target electronic device is a control target device based on a command included in the data packet.
일 실시예에 따르면, 상기 인스트럭션들은 상기 프로세서가, 상기 타겟 전자 장치를 검색하기 이전에, 지정된 명령을 포함하는 IR 신호를 전송하고, 상기 데이터 패킷에 포함된 상기 명령이 상기 IR 신호에 포함된 상기 지정된 명령과 적어도 일부가 동일한지 여부에 기반하여 상기 검색된 타겟 전자 장치가 상기 제어 대상 장치인지 여부를 결정하도록 할 수 있다. According to an embodiment, the instructions transmit, before the processor searches for the target electronic device, an IR signal including a specified command, and the command included in the data packet is included in the IR signal. It is possible to determine whether the found target electronic device is the control target device based on whether a specified command and at least a part thereof are identical to each other.
일 실시예에 따르면, 상기 인스트럭션들은 상기 프로세서가, 상기 제1 UI가 출력되는 동안에 상기 검색된 타겟 전자 장치를 상기 IR 제어 대상 장치로 등록하기를 요청하는 제3 사용자 입력을 수신하면, 상기 검색된 타겟 전자 장치를 상기 IR 제어 대상 장치로 등록하기 위한 절차를 수행하고, 상기 제1 UI가 출력되는 동안에 상기 제3 사용자 입력이 수신되지 않으면, 상기 검색된 타겟 전자 장치를 상기 클라우드 제어 대상 장치로 등록하도록 할 수 있다. According to an embodiment, the instructions include, when the processor receives a third user input requesting to register the searched target electronic device as the IR control target device while the first UI is output, the searched target electronic device If a procedure for registering a device as the IR control target device is performed, and the third user input is not received while the first UI is output, the searched target electronic device can be registered as the cloud control target device have.
일 실시예에 따르면, 상기 인스트럭션들은 상기 프로세서가 상기 IR 제어 대상 장치로 등록하기 위한 절차를 수행하기 위하여, 상기 검색된 타겟 전자 장치의 장치 타입 및 상기 타겟 전자 장치가 위치하는 영역에 대한 정보를 포함하는 제2 등록 요청 메시지를 상기 IoT 서버로 전송하고, 상기 검색된 타겟 전자 장치가 위치한 영역과 동일한 영역에서 상기 검색된 타겟 전자 장치와 동일한 장치 타입을 가지는 장치가 존재함을 나타내는 제2 응답 메시지를 상기 IoT 서버로부터 수신하고, 및 상기 검색된 타겟 전자 장치가 위치한 영역과 동일한 영역에서 상기 검색된 타겟 전자 장치와 동일한 장치 타입을 가지는 장치가 존재함을 나타내는 제2 UI(예: 도 11의 제2 UI(1110))를 상기 디스플레이를 통해 출력하도록 할 수 있다. According to an embodiment, the instructions include information on a device type of the found target electronic device and a region in which the target electronic device is located in order for the processor to perform a procedure for registering the IR control target device A second registration request message is transmitted to the IoT server, and a second response message indicating that a device having the same device type as the found target electronic device exists in the same area as the area in which the searched target electronic device is located is transmitted to the IoT server and a second UI indicating that a device having the same device type as the found target electronic device exists in the same area as the area in which the searched target electronic device is located (eg, the second UI 1110 of FIG. 11 ) may be output through the display.
일 실시예에 따르면, 상기 인스트럭션들은 상기 프로세서가, 상기 제2 UI가 출력되는 동안에, 상기 검색된 타겟 전자 장치의 등록을 요청하는 제4 사용자 입력을 수신하고, 상기 검색된 타겟 전자 장치의 등록을 요청하는 제3 등록 요청 메시지를 상기 IoT 서버로 전송하고, 상기 검색된 타겟 전자 장치가 상기 IR 제어 대상 장치로 등록됨을 나타내는 메시지를 상기 IoT 서버로부터 수신하도록 할 수 있다. According to an embodiment, the instructions include: receiving, by the processor, a fourth user input requesting registration of the found target electronic device, and requesting registration of the found target electronic device while the second UI is output A third registration request message may be transmitted to the IoT server, and a message indicating that the found target electronic device is registered as the IR control target device may be received from the IoT server.
일 실시예에 따르면, 상기 인스트럭션들은 상기 프로세서가, 상기 등록된 타겟 전자 장치가 상기 IR 제어 대상 장치 및 상기 클라우드 제어 대상 장치임을 나타내는 그래픽 사용자 인터페이스(예: 도 12의 GUI(1201, 1202, 1203, 또는 1204))를 상기 디스플레이를 통해 출력하도록 할 수 있다. According to an embodiment, the instructions are configured by the processor in a graphical user interface (eg, GUIs 1201 , 1202 , 1203 of FIG. 12 , or 1204)) may be output through the display.
일 실시예에 따르면, 상기 전자 장치는 음성 입력을 수신하도록 구성된 마이크로폰을 더 포함하고, 상기 인스트럭션들은 상기 프로세서가, 상기 마이크로폰을 통해 상기 타겟 전자 장치의 채널 변경을 요청하는 음성 입력을 획득하고, 상기 획득된 음성 입력에 대응하는 채널 변경 명령을 상기 IoT 서버로 전송하고, 및 상기 IoT 서버로부터 상기 채널 변경 명령에 대한 피드백 메시지를 수신하도록 할 수 있다. According to an embodiment, the electronic device further includes a microphone configured to receive a voice input, and the instructions include: the processor obtains a voice input for requesting a channel change of the target electronic device through the microphone; A channel change command corresponding to the acquired voice input may be transmitted to the IoT server, and a feedback message for the channel change command may be received from the IoT server.
본 문서에 개시되는 일 실시 예에 따른 IoT 환경에 포함된 서버(예: 도 3의 IoT 서버(310))는, 전자 장치(예: 도 3의 전자 장치(330))와 통신하도록 구성된 통신 인터페이스(예: 도 2의 통신 인터페이스(211)), 상기 통신 인터페이스와 작동적으로 연결된 프로세서(예: 도 2의 프로세서(212)), 및 상기 프로세서와 작동적으로 연결된 메모리(예: 도 2의 저장부(213))를 포함하고, 상기 메모리는, 상기 서버에 클라우드 제어 대상 장치로 등록된 타겟 전자 장치(예: 도 3의 타겟 전자 장치(350))에 대한 데이터베이스를 저장하고, 상기 프로세서는, 상기 전자 장치에 의하여 검색된 타겟 전자 장치를 IR 제어 대상 장치로 등록하기를 요청하는 제1 등록 요청 메시지를 상기 전자 장치로부터 수신하고, 상기 제1 등록 요청 메시지는 상기 검색된 타겟 전자 장치의 장치 타입, 제조사, 모델명 또는 UID(unique identifier) 중 적어도 하나에 대한 정보를 포함하고, 상기 제1 등록 요청 메시지에 포함된 정보 및 상기 메모리에 저장된 데이터베이스에 기반하여, 상기 검색된 타겟 전자 장치가 클라우드 제어 대상 장치임을 식별하고, 및 상기 검색된 타겟 전자 장치가 상기 클라우드 제어 대상 장치임을 나타내는 제1 응답 메시지를 상기 전자 장치에게 전송하도록 설정될 수 있다. A server (eg, the IoT server 310 of FIG. 3 ) included in the IoT environment according to an embodiment disclosed in this document is a communication interface configured to communicate with an electronic device (eg, the electronic device 330 of FIG. 3 ). (eg, communication interface 211 of FIG. 2 ), a processor operatively coupled with the communication interface (eg, processor 212 of FIG. 2 ), and a memory operatively coupled with the processor (eg, storage of FIG. 2 ) unit 213), wherein the memory stores a database for a target electronic device (eg, the target electronic device 350 of FIG. 3 ) registered as a cloud control target device in the server, the processor comprising: A first registration request message for requesting registration of the target electronic device found by the electronic device as an IR control target device is received from the electronic device, and the first registration request message includes a device type and a manufacturer of the found target electronic device. , a model name and information on at least one of a unique identifier (UID), and based on the information included in the first registration request message and the database stored in the memory, identifying that the found target electronic device is a cloud control target device and a first response message indicating that the found target electronic device is the cloud control target device may be configured to be transmitted to the electronic device.
일 실시예에 따르면, 상기 프로세서는, 상기 제1 응답 메시지를 전송한 이후에, 상기 검색된 타겟 전자 장치의 등록을 요청하는 제2 등록 요청 메시지를 상기 전자 장치로부터 수신하고, 상기 제2 등록 요청 메시지는 상기 검색된 타겟 전자 장치의 장치 타입, 제조사, 및 위치에 관한 정보를 포함하고, 상기 제2 등록 요청 메시지에 포함된 정보 및 상기 메모리에 저장된 데이터베이스에 기반하여, 상기 검색된 타겟 전자 장치가 위치하는 영역과 동일한 영역에서 상기 검색된 타겟 전자 장치와 장치 타입이 동일한 장치가 존재함을 식별하고, 상기 검색된 타겟 전자 장치가 위치하는 영역과 동일한 영역에서 상기 검색된 타겟 전자 장치와 장치 타입이 동일한 장치가 존재함을 나타내는 제2 응답 메시지를 상기 전자 장치로 전송하도록 설정될 수 있다. According to an embodiment, after transmitting the first response message, the processor receives a second registration request message requesting registration of the found target electronic device from the electronic device, and the second registration request message includes information on the device type, manufacturer, and location of the searched target electronic device, and an area in which the searched target electronic device is located based on information included in the second registration request message and a database stored in the memory It is identified that a device having the same device type as the found target electronic device exists in the same area as the detected target electronic device, and a device having the same device type as the found target electronic device exists in the same area as the area in which the searched target electronic device is located. It may be configured to transmit the indicated second response message to the electronic device.
일 실시예에 따르면, 상기 프로세서는, 상기 제2 응답 메시지를 전송한 이후에, 상기 검색된 타겟 전자 장치의 등록을 요청하는 제3 등록 요청 메시지를 상기 전자 장치로부터 수신하고, 상기 검색된 타겟 전자 장치의 기능 중에서 상기 클라우드 제어 기능 및 상기 IR 제어 기능에 대한 우선 순위를 결정하고, 상기 검색된 타겟 전자 장치가 상기 IR 제어 대상 장치로 등록됨을 나타내는 메시지를 상기 전자 장치에게 전송하도록 설정될 수 있다. According to an embodiment, after transmitting the second response message, the processor receives a third registration request message requesting registration of the found target electronic device from the electronic device, and Priority of the cloud control function and the IR control function may be determined among functions, and a message indicating that the found target electronic device is registered as the IR control target device may be configured to be transmitted to the electronic device.
일 실시예에 따르면, 상기 프로세서는, 상기 타겟 전자 장치에 대한 채널 변경 명령을 수신하고, 상기 수신된 채널 변경 명령 및 상기 메모리에 저장된 데이터 베이스에 기반하여, 상기 채널 변경 명령에 대응하는 타겟 전자 장치가 존재하는지를 식별하고, 상기 채널 변경 명령에 대응하는 타겟 전자 장치가 상기 클라우드 제어 기능을 지원하는지를 식별하고, 및 상기 채널 변경 명령에 대응하는 채널이 존재하는지를 식별하도록 설정될 수 있다. According to an embodiment, the processor receives a channel change command for the target electronic device, and based on the received channel change command and a database stored in the memory, the target electronic device corresponding to the channel change command It may be configured to identify whether there exists, to identify whether a target electronic device corresponding to the channel change command supports the cloud control function, and to identify whether a channel corresponding to the channel change command exists.
일 실시예에 따르면, 상기 프로세서는, 상기 채널 변경 명령에 대응하는 타겟 전자 장치가 존재하지 않거나, 상기 채널 변경 명령에 대응하는 타겟 전자 장치가 상기 클라우드 제어 기능을 지원하지 않거나, 또는 상기 채널 변경 명령에 대응하는 채널이 존재하지 않으면, 피드백 메시지를 전송하도록 설정될 수 있다. According to an embodiment of the present disclosure, the processor may be configured to be configured to be configured to be configured to be configured such that a target electronic device corresponding to the channel change command does not exist, a target electronic device corresponding to the channel change command does not support the cloud control function, or the channel change command If there is no channel corresponding to , it may be configured to transmit a feedback message.
본 문서에 개시되는 일 실시 예에 따른 전자 장치의 방법(예: 도 3의 전자 장치(330))은 IR 제어 대상 장치의 등록을 요청하는 제1 사용자 입력을 수신하는 동작(예: 도 4의 동작(410)), 상기 IR 제어 대상 장치는 IR 장치에 의하여 제어되는 장치를 의미하고, 타겟 전자 장치를 검색하는 동작(예: 도 4의 동작(420)), 상기 검색된 타겟 전자 장치가 클라우드 제어 대상 장치임을 식별하는 동작(예: 도 4의 동작(430)), 상기 클라우드 제어 대상 장치는 IoT 서버에 의하여 제어되는 장치를 의미하고 및 상기 검색된 타겟 전자 장치가 상기 클라우드 제어 대상 장치임을 나타내는 제1 사용자 인터페이스를 출력하는 동작(예: 도 4의 동작(440))을 포함할 수 있다. The method of the electronic device (eg, the electronic device 330 of FIG. 3 ) according to an embodiment disclosed in this document includes an operation (eg, the electronic device 330 of FIG. 3 ) of receiving a first user input requesting registration of an IR control target device (eg, of FIG. 4 ) In operation 410), the IR control target device refers to a device controlled by an IR device, and searching for a target electronic device (eg, operation 420 in FIG. 4 ) is performed when the searched target electronic device is cloud-controlled In an operation of identifying a target device (eg, operation 430 of FIG. 4 ), the cloud control target device refers to a device controlled by an IoT server, and a first indicating that the found target electronic device is the cloud control target device It may include an operation of outputting a user interface (eg, operation 440 of FIG. 4 ).
일 실시예에 따르면, 상기 검색된 타겟 전자 장치가 상기 클라우드 제어 대상 장치임을 식별하는 동작은, 상기 검색된 타겟 전자 장치의 장치 타입 및 제조사에 대한 정보를 포함하는 제1 등록 요청 메시지를 상기 IoT 서버로 전송하는 동작(예: 도 7의 동작 705), 상기 검색된 타겟 전자 장치의 장치 타입 및 제조사가 상기 클라우드 제어 기능을 지원함을 나타내는 제1 응답 메시지를 상기 IoT 서버로부터 수신하는 동작(예: 도 7의 동작 715), 및 상기 수신된 제1 응답 메시지에 기반하여 상기 검색된 타겟 전자 장치가 상기 클라우드 제어 대상 장치임을 식별하는 동작을 포함할 수 있다. According to an embodiment, the identifying that the found target electronic device is the cloud control target device includes transmitting a first registration request message including information on the device type and manufacturer of the found target electronic device to the IoT server. operation (eg, operation 705 of FIG. 7 ), and an operation of receiving a first response message indicating that the device type and manufacturer of the found target electronic device support the cloud control function from the IoT server (eg, operation of FIG. 7 ) 715), and identifying that the found target electronic device is the cloud control target device based on the received first response message.
일 실시예에 따르면, 상기 타겟 전자 장치를 검색하는 동작은, 블루투스 통신 프로토콜에 기반하여 상기 타겟 전자 장치를 검색하는 동작, 및 상기 타겟 전자 장치로부터 데이터 패킷을 수신하는 동작을 포함하고, 상기 타겟 전자 장치를 검색하기 이전에, 지정된 명령을 포함하는 IR 신호를 전송하는 동작(예: 도 8의 동작 810), 및 상기 데이터 패킷에 포함된 상기 명령이 상기 IR 신호에 포함된 상기 지정된 명령과 적어도 일부가 동일한지 기반하여 상기 검색된 타겟 전자 장치가 제어 대상 장치인지 여부를 결정하는 동작(예: 도 8의 동작 840)을 더 포함할 수 있다. According to an embodiment, the searching for the target electronic device includes searching for the target electronic device based on a Bluetooth communication protocol and receiving a data packet from the target electronic device, Before searching for a device, transmitting an IR signal including a specified command (eg, operation 810 in FIG. 8 ), and the command included in the data packet is at least a portion of the specified command included in the IR signal The method may further include an operation (eg, operation 840 of FIG. 8 ) of determining whether the found target electronic device is a control target device based on whether .
일 실시예에 따르면, 상기 방법은 상기 제1 UI가 출력되는 동안에 상기 검색된 타겟 전자 장치를 상기 IR 제어 대상 장치로 등록하기를 요청하는 제2 사용자 입력을 수신하면, 상기 검색된 타겟 전자 장치를 상기 IR 제어 대상 장치로 등록하기 위한 절차를 수행하는 동작을 더 포함하고, 상기 검색된 타겟 전자 장치를 상기 IR 제어 대상 장치로 등록하기 위한 절차를 수행하는 동작은, 상기 검색된 타겟 전자 장치의 장치 타입 및 상기 타겟 전자 장치가 위치하는 영역에 대한 정보를 포함하는 제2 등록 요청 메시지를 상기 IoT 서버로 전송하는 동작(예: 도 10의 동작 1005), 상기 검색된 타겟 전자 장치가 위치한 영역과 동일한 영역에서 상기 검색된 타겟 전자 장치와 동일한 장치 타입을 가지는 장치가 존재함을 나타내는 제2 응답 메시지를 상기 IoT 서버로부터 수신하는 동작(예: 도 10의 동작 1015), 상기 검색된 타겟 전자 장치가 위치한 영역과 동일한 영역에서 상기 검색된 타겟 전자 장치와 동일한 장치 타입을 가지는 장치가 존재함을 나타내는 제2 UI를 출력하는 동작, 상기 제2 UI가 출력되는 동안에, 상기 검색된 타겟 전자 장치의 등록을 요청하는 제3 사용자 입력을 수신하는 동작, 상기 검색된 타겟 전자 장치의 등록을 요청하는 제3 등록 요청 메시지를 상기 IoT 서버로 전송하는 동작(예: 도 10의 동작 1025), 및 상기 검색된 타겟 전자 장치가 상기 IR 제어 대상 장치로 등록됨을 나타내는 메시지를 상기 IoT 서버로부터 수신하는 동작(예: 도 10의 동작 1035)을 포함할 수 있다. According to an embodiment, when receiving a second user input requesting registration of the found target electronic device as the IR control target device while the first UI is output, the method sets the searched target electronic device to the IR The method further comprising performing a procedure for registering as a control target device, wherein performing the procedure for registering the found target electronic device as the IR control target device includes: a device type of the found target electronic device and the target An operation of transmitting a second registration request message including information on an area in which the electronic device is located to the IoT server (eg, operation 1005 of FIG. 10 ), the searched target in the same area as the area in which the electronic device is located An operation of receiving a second response message indicating that a device having the same device type as that of the electronic device exists from the IoT server (eg, operation 1015 of FIG. 10 ), in the same area as the area in which the searched target electronic device is located Outputting a second UI indicating that a device having the same device type as the target electronic device exists, and receiving a third user input requesting registration of the found target electronic device while the second UI is output , an operation of transmitting a third registration request message requesting registration of the found target electronic device to the IoT server (eg, operation 1025 of FIG. 10 ), and indicating that the found target electronic device is registered as the IR control target device It may include an operation of receiving a message from the IoT server (eg, operation 1035 of FIG. 10 ).
일 실시예에 따르면, 상기 방법은 상기 등록된 타겟 전자 장치가 상기 IR 제어 대상 장치 및 상기 클라우드 제어 대상 장치임을 나타내는 그래픽 사용자 인터페이스를 출력하는 동작을 더 포함할 수 있다. According to an embodiment, the method may further include outputting a graphic user interface indicating that the registered target electronic device is the IR control target device and the cloud control target device.
본 문서에 개시된 다양한 실시예들에 따른 전자 장치는 다양한 형태의 장치가 될 수 있다. 전자 장치는, 예를 들면, 휴대용 통신 장치(예: 스마트폰), 컴퓨터 장치, 휴대용 멀티미디어 장치, 휴대용 의료 기기, 카메라, 웨어러블 장치, 또는 가전 장치를 포함할 수 있다. 본 문서의 실시예에 따른 전자 장치는 전술한 기기들에 한정되지 않는다.The electronic device according to various embodiments disclosed in this document may have various types of devices. The electronic device may include, for example, a portable communication device (eg, a smart phone), a computer device, a portable multimedia device, a portable medical device, a camera, a wearable device, or a home appliance device. The electronic device according to the embodiment of the present document is not limited to the above-described devices.
본 문서의 다양한 실시예들 및 이에 사용된 용어들은 본 문서에 기재된 기술적 특징들을 특정한 실시예들로 한정하려는 것이 아니며, 해당 실시예의 다양한 변경, 균등물, 또는 대체물을 포함하는 것으로 이해되어야 한다. 도면의 설명과 관련하여, 유사한 또는 관련된 구성요소에 대해서는 유사한 참조 부호가 사용될 수 있다. 아이템에 대응하는 명사의 단수 형은 관련된 문맥상 명백하게 다르게 지시하지 않는 한, 상기 아이템 한 개 또는 복수 개를 포함할 수 있다. 본 문서에서, "A 또는 B", "A 및 B 중 적어도 하나", "A 또는 B 중 적어도 하나", "A, B 또는 C", "A, B 및 C 중 적어도 하나", 및 "A, B, 또는 C 중 적어도 하나"와 같은 문구들 각각은 그 문구들 중 해당하는 문구에 함께 나열된 항목들 중 어느 하나, 또는 그들의 모든 가능한 조합을 포함할 수 있다. "제 1", "제 2", 또는 "첫째" 또는 "둘째"와 같은 용어들은 단순히 해당 구성요소를 다른 해당 구성요소와 구분하기 위해 사용될 수 있으며, 해당 구성요소들을 다른 측면(예: 중요성 또는 순서)에서 한정하지 않는다. 어떤(예: 제 1) 구성요소가 다른(예: 제 2) 구성요소에, "기능적으로" 또는 "통신적으로"라는 용어와 함께 또는 이런 용어 없이, "커플드" 또는 "커넥티드"라고 언급된 경우, 그것은 상기 어떤 구성요소가 상기 다른 구성요소에 직접적으로(예: 유선으로), 무선으로, 또는 제 3 구성요소를 통하여 연결될 수 있다는 것을 의미한다.The various embodiments of this document and terms used therein are not intended to limit the technical features described in this document to specific embodiments, but it should be understood to include various modifications, equivalents, or substitutions of the embodiments. In connection with the description of the drawings, like reference numerals may be used for similar or related components. The singular form of the noun corresponding to the item may include one or more of the item, unless the relevant context clearly dictates otherwise. As used herein, "A or B", "at least one of A and B", "at least one of A or B", "A, B or C", "at least one of A, B and C", and "A , B, or C" each may include any one of the items listed together in the corresponding one of the phrases, or all possible combinations thereof. Terms such as "first", "second", or "first" or "second" may be used simply to distinguish the element from other elements in question, and may refer to elements in other aspects (e.g., importance or order) is not limited. It is said that one (eg, first) component is "coupled" or "connected" to another (eg, second) component, with or without the terms "functionally" or "communicatively". When referenced, it means that one component can be connected to the other component directly (eg by wire), wirelessly, or through a third component.
본 문서의 다양한 실시예들에서 사용된 용어 "모듈"은 하드웨어, 소프트웨어 또는 펌웨어로 구현된 유닛을 포함할 수 있으며, 예를 들면, 로직, 논리 블록, 부품, 또는 회로와 같은 용어와 상호 호환적으로 사용될 수 있다. 모듈은, 일체로 구성된 부품 또는 하나 또는 그 이상의 기능을 수행하는, 상기 부품의 최소 단위 또는 그 일부가 될 수 있다. 예를 들면, 일실시예에 따르면, 모듈은 ASIC(application-specific integrated circuit)의 형태로 구현될 수 있다. The term “module” used in various embodiments of this document may include a unit implemented in hardware, software, or firmware, and is interchangeable with terms such as, for example, logic, logic block, component, or circuit. can be used as A module may be an integrally formed part or a minimum unit or a part of the part that performs one or more functions. For example, according to an embodiment, the module may be implemented in the form of an application-specific integrated circuit (ASIC).
본 문서의 다양한 실시예들은 기기(machine)(예: 전자 장치(101)) 의해 읽을 수 있는 저장 매체(storage medium)(예: 내장 메모리(136) 또는 외장 메모리(138))에 저장된 하나 이상의 명령어들을 포함하는 소프트웨어(예: 프로그램(140))로서 구현될 수 있다. 예를 들면, 기기(예: 전자 장치(101))의 프로세서(예: 프로세서(120))는, 저장 매체로부터 저장된 하나 이상의 명령어들 중 적어도 하나의 명령을 호출하고, 그것을 실행할 수 있다. 이것은 기기가 상기 호출된 적어도 하나의 명령어에 따라 적어도 하나의 기능을 수행하도록 운영되는 것을 가능하게 한다. 상기 하나 이상의 명령어들은 컴파일러에 의해 생성된 코드 또는 인터프리터에 의해 실행될 수 있는 코드를 포함할 수 있다. 기기로 읽을 수 있는 저장 매체는, 비일시적(non-transitory) 저장 매체의 형태로 제공될 수 있다. 여기서, '비일시적'은 저장 매체가 실재(tangible)하는 장치이고, 신호(signal)(예: 전자기파)를 포함하지 않는다는 것을 의미할 뿐이며, 이 용어는 데이터가 저장 매체에 반영구적으로 저장되는 경우와 임시적으로 저장되는 경우를 구분하지 않는다.According to various embodiments of the present document, one or more instructions stored in a storage medium (eg, internal memory 136 or external memory 138) readable by a machine (eg, electronic device 101) may be implemented as software (eg, the program 140) including For example, a processor (eg, processor 120 ) of a device (eg, electronic device 101 ) may call at least one command among one or more commands stored from a storage medium and execute it. This makes it possible for the device to be operated to perform at least one function according to the called at least one command. The one or more instructions may include code generated by a compiler or code executable by an interpreter. The device-readable storage medium may be provided in the form of a non-transitory storage medium. Here, 'non-transitory' only means that the storage medium is a tangible device and does not contain a signal (eg, electromagnetic wave), and this term refers to the case where data is semi-permanently stored in the storage medium and It does not distinguish between temporary storage cases.
일실시예에 따르면, 본 문서에 개시된 다양한 실시예들에 따른 방법은 컴퓨터 프로그램 제품(computer program product)에 포함되어 제공될 수 있다. 컴퓨터 프로그램 제품은 상품으로서 판매자 및 구매자 간에 거래될 수 있다. 컴퓨터 프로그램 제품은 기기로 읽을 수 있는 저장 매체(예: compact disc read only memory(CD-ROM))의 형태로 배포되거나, 또는 어플리케이션 스토어(예: 플레이 스토어™)를 통해 또는 두 개의 사용자 장치들(예: 스마트 폰들) 간에 직접, 온라인으로 배포(예: 다운로드 또는 업로드)될 수 있다. 온라인 배포의 경우에, 컴퓨터 프로그램 제품의 적어도 일부는 제조사의 서버, 어플리케이션 스토어의 서버, 또는 중계 서버의 메모리와 같은 기기로 읽을 수 있는 저장 매체에 적어도 일시 저장되거나, 임시적으로 생성될 수 있다.According to one embodiment, the method according to various embodiments disclosed in this document may be provided as included in a computer program product. Computer program products may be traded between sellers and buyers as commodities. The computer program product is distributed in the form of a machine-readable storage medium (eg compact disc read only memory (CD-ROM)), or via an application store (eg Play Store™) or on two user devices ( It can be distributed (eg downloaded or uploaded) directly between smartphones (eg: smartphones) and online. In the case of online distribution, at least a part of the computer program product may be temporarily stored or temporarily created in a machine-readable storage medium such as a memory of a server of a manufacturer, a server of an application store, or a relay server.
다양한 실시예들에 따르면, 상기 기술한 구성요소들의 각각의 구성요소(예: 모듈 또는 프로그램)는 단수 또는 복수의 개체를 포함할 수 있으며, 복수의 개체 중 일부는 다른 구성요소에 분리 배치될 수도 있다. 다양한 실시예들에 따르면, 전술한 해당 구성요소들 중 하나 이상의 구성요소들 또는 동작들이 생략되거나, 또는 하나 이상의 다른 구성요소들 또는 동작들이 추가될 수 있다. 대체적으로 또는 추가적으로, 복수의 구성요소들(예: 모듈 또는 프로그램)은 하나의 구성요소로 통합될 수 있다. 이런 경우, 통합된 구성요소는 상기 복수의 구성요소들 각각의 구성요소의 하나 이상의 기능들을 상기 통합 이전에 상기 복수의 구성요소들 중 해당 구성요소에 의해 수행되는 것과 동일 또는 유사하게 수행할 수 있다. 다양한 실시예들에 따르면, 모듈, 프로그램 또는 다른 구성요소에 의해 수행되는 동작들은 순차적으로, 병렬적으로, 반복적으로, 또는 휴리스틱하게 실행되거나, 상기 동작들 중 하나 이상이 다른 순서로 실행되거나, 생략되거나, 또는 하나 이상의 다른 동작들이 추가될 수 있다.According to various embodiments, each component (eg, module or program) of the above-described components may include a singular or a plurality of entities, and some of the plurality of entities may be separately disposed in other components. have. According to various embodiments, one or more components or operations among the above-described corresponding components may be omitted, or one or more other components or operations may be added. Alternatively or additionally, a plurality of components (eg, a module or a program) may be integrated into one component. In this case, the integrated component may perform one or more functions of each component of the plurality of components identically or similarly to those performed by the corresponding component among the plurality of components prior to the integration. . According to various embodiments, operations performed by a module, program, or other component are executed sequentially, in parallel, repeatedly, or heuristically, or one or more of the operations are executed in a different order, or omitted. or one or more other operations may be added.

Claims (15)

  1. 전자 장치에 있어서, In an electronic device,
    적어도 하나의 통신 회로; at least one communication circuit;
    디스플레이; display;
    상기 적어도 하나의 통신 회로 및 상기 디스플레이와 작동적으로 연결되는 프로세서; 및 a processor operatively coupled to the at least one communication circuit and the display; and
    상기 프로세서와 작동적으로 연결되는 메모리를 포함하고, 상기 메모리는, 실행 시, 상기 프로세서가, a memory operatively coupled to the processor, wherein the memory, when executed, causes the processor to:
    IR(infrared) 제어 대상 장치의 등록을 요청하는 제1 사용자 입력을 수신하고, 상기 IR 제어 대상 장치는 IR 장치에 의하여 제어되는 장치를 의미하고, Receives a first user input requesting registration of an IR (infrared) control target device, the IR control target device means a device controlled by the IR device,
    상기 적어도 하나의 통신 회로를 이용하여 타겟 전자 장치를 검색하고, searching for a target electronic device using the at least one communication circuit;
    상기 검색된 타겟 전자 장치가 클라우드(cloud) 제어 대상 장치임을 식별(identify)하고, 상기 클라우드 제어 대상 장치는 IoT 서버(internet of things)에 의하여 제어되는 장치를 의미하고, 및Identifies that the found target electronic device is a cloud control target device, and the cloud control target device means a device controlled by an IoT server (internet of things), and
    상기 검색된 타겟 전자 장치가 상기 클라우드 제어 대상 장치임을 나타내는 제1 사용자 인터페이스(user interface, UI)를 상기 디스플레이를 통해 출력하도록 하는 인스트럭션들을 저장하는, 전자 장치. and storing instructions for outputting a first user interface (UI) indicating that the found target electronic device is the cloud control target device through the display.
  2. 청구항 1에 있어서, 상기 인스트럭션들은 상기 프로세서가, The method according to claim 1, wherein the instructions are performed by the processor,
    상기 검색된 타겟 전자 장치의 장치 타입 및 제조사에 대한 정보를 포함하는 제1 등록 요청 메시지를 상기 IoT 서버로 전송하고, Transmitting a first registration request message including information on the device type and manufacturer of the searched target electronic device to the IoT server,
    상기 검색된 타겟 전자 장치의 장치 타입 및 제조사가 상기 클라우드 제어 기능을 지원함을 나타내는 제1 응답 메시지를 상기 IoT 서버로부터 수신하고, 및receiving, from the IoT server, a first response message indicating that the device type and manufacturer of the found target electronic device support the cloud control function; and
    상기 수신된 제1 응답 메시지에 기반하여 상기 검색된 타겟 전자 장치가 상기 클라우드 제어 대상 장치임을 식별하도록 하는, 전자 장치. and to identify that the found target electronic device is the cloud control target device based on the received first response message.
  3. 청구항 1에 있어서, 상기 인스트럭션들은 상기 프로세서가, The method according to claim 1, wherein the instructions are performed by the processor,
    블루투스 통신 프로토콜에 기반하여 상기 타겟 전자 장치를 검색하고, 및searching for the target electronic device based on a Bluetooth communication protocol, and
    상기 타겟 전자 장치를 검색하는 동안에, 데이터 패킷을 상기 타겟 전자 장치로부터 수신하도록 하는, 전자 장치. receive a data packet from the target electronic device while searching for the target electronic device.
  4. 청구항 3에 있어서, 상기 인스트럭션들은 상기 프로세서가, The method according to claim 3, wherein the instructions are performed by the processor,
    상기 타겟 전자 장치를 검색하기 이전에, 상기 타겟 전자 장치의 장치 타입을 선택하는 제2 사용자 입력을 수신하고, receiving a second user input for selecting a device type of the target electronic device before searching for the target electronic device;
    상기 데이터 패킷이 나타내는 장치 타입이 상기 제2 사용자 입력에 의하여 선택된 장치 타입과 동일한지 여부를 식별하고, 및identify whether the device type indicated by the data packet is the same as the device type selected by the second user input; and
    상기 데이터 패킷에 포함된 명령에 기반하여 상기 검색된 타겟 전자 장치가 제어 대상 장치인지 여부를 결정하도록 하는, 전자 장치.and determine whether the found target electronic device is a control target device based on a command included in the data packet.
  5. 청구항 4에 있어서, 상기 인스트럭션들은 상기 프로세서가, The method according to claim 4, wherein the instructions are performed by the processor,
    상기 타겟 전자 장치를 검색하기 이전에, 지정된 명령을 포함하는 IR 신호를 전송하고, Before searching for the target electronic device, transmit an IR signal including a specified command,
    상기 데이터 패킷에 포함된 상기 명령이 상기 IR 신호에 포함된 상기 지정된 명령과 적어도 일부가 동일한지 여부에 기반하여 상기 검색된 타겟 전자 장치가 상기 제어 대상 장치인지 여부를 결정하도록 하는, 전자 장치. and determine whether the found target electronic device is the control target device based on whether the command included in the data packet is at least partially identical to the specified command included in the IR signal.
  6. 청구항 1에 있어서, 상기 인스트럭션들은 상기 프로세서가, The method according to claim 1, wherein the instructions are performed by the processor,
    상기 제1 UI가 출력되는 동안에 상기 검색된 타겟 전자 장치를 상기 IR 제어 대상 장치로 등록하기를 요청하는 제3 사용자 입력을 수신하면, 상기 검색된 타겟 전자 장치를 상기 IR 제어 대상 장치로 등록하기 위한 절차를 수행하고, When a third user input requesting to register the found target electronic device as the IR control target device is received while the first UI is output, a procedure for registering the found target electronic device as the IR control target device is performed. do,
    상기 제1 UI가 출력되는 동안에 상기 제3 사용자 입력이 수신되지 않으면, 상기 검색된 타겟 전자 장치를 상기 클라우드 제어 대상 장치로 등록하도록 하는, 전자 장치. and register the searched target electronic device as the cloud control target device when the third user input is not received while the first UI is output.
  7. 청구항 6에 있어서, 상기 인스트럭션들은 상기 프로세서가 상기 IR 제어 대상 장치로 등록하기 위한 절차를 수행하기 위하여, The method according to claim 6, wherein the instructions are for the processor to perform a procedure for registering as the IR control target device,
    상기 검색된 타겟 전자 장치의 장치 타입 및 상기 타겟 전자 장치가 위치하는 영역에 대한 정보를 포함하는 제2 등록 요청 메시지를 상기 IoT 서버로 전송하고, transmitting a second registration request message including information on a device type of the found target electronic device and an area in which the target electronic device is located to the IoT server;
    상기 검색된 타겟 전자 장치가 위치한 영역과 동일한 영역에서 상기 검색된 타겟 전자 장치와 동일한 장치 타입을 가지는 장치가 존재함을 나타내는 제2 응답 메시지를 상기 IoT 서버로부터 수신하고, 및receiving a second response message from the IoT server indicating that a device having the same device type as the found target electronic device exists in the same area as the area in which the searched target electronic device is located; and
    상기 검색된 타겟 전자 장치가 위치한 영역과 동일한 영역에서 상기 검색된 타겟 전자 장치와 동일한 장치 타입을 가지는 장치가 존재함을 나타내는 제2 UI를 상기 디스플레이를 통해 출력하도록 하는, 전자 장치.and outputting, through the display, a second UI indicating that a device having the same device type as the found target electronic device exists in the same area as the area in which the searched target electronic device is located.
  8. 청구항 7에 있어서, 상기 인스트럭션들은 상기 프로세서가, The method according to claim 7, wherein the instructions are performed by the processor,
    상기 제2 UI가 출력되는 동안에, 상기 검색된 타겟 전자 장치의 등록을 요청하는 제4 사용자 입력을 수신하고, receiving a fourth user input requesting registration of the searched target electronic device while the second UI is output;
    상기 검색된 타겟 전자 장치의 등록을 요청하는 제3 등록 요청 메시지를 상기 IoT 서버로 전송하고, transmitting a third registration request message requesting registration of the found target electronic device to the IoT server,
    상기 검색된 타겟 전자 장치가 상기 IR 제어 대상 장치로 등록됨을 나타내는 메시지를 상기 IoT 서버로부터 수신하도록 하는, 전자 장치. and receiving a message indicating that the found target electronic device is registered as the IR control target device from the IoT server.
  9. 청구항 8에 있어서, 상기 인스트럭션들은 상기 프로세서가, The method of claim 8, wherein the instructions are performed by the processor,
    상기 등록된 타겟 전자 장치가 상기 IR 제어 대상 장치 및 상기 클라우드 제어 대상 장치임을 나타내는 그래픽 사용자 인터페이스(graphic user interface, GUI)를 상기 디스플레이를 통해 출력하도록 하는, 전자 장치. and outputting a graphic user interface (GUI) indicating that the registered target electronic device is the IR control target device and the cloud control target device through the display.
  10. 청구항 1에 있어서, The method according to claim 1,
    음성 입력을 수신하도록 구성된 마이크로폰을 더 포함하고, a microphone configured to receive voice input;
    상기 인스트럭션들은 상기 프로세서가,The instructions cause the processor to
    상기 마이크로폰을 통해 상기 타겟 전자 장치의 채널 변경을 요청하는 음성 입력을 획득하고, obtaining a voice input requesting a channel change of the target electronic device through the microphone;
    상기 획득된 음성 입력에 대응하는 채널 변경 명령을 상기 IoT 서버로 전송하고, 및transmitting a channel change command corresponding to the obtained voice input to the IoT server, and
    상기 IoT 서버로부터 상기 채널 변경 명령에 대한 피드백 메시지를 수신하도록 하는, 전자 장치. to receive a feedback message for the channel change command from the IoT server.
  11. 전자 장치의 방법에 있어서, A method for an electronic device, comprising:
    IR(infrared) 제어 대상 장치의 등록을 요청하는 제1 사용자 입력을 수신하는 동작, 상기 IR 제어 대상 장치는 IR 장치에 의하여 제어되는 장치를 의미하고; receiving a first user input requesting registration of an IR (infrared) control target device, wherein the IR control target device means a device controlled by the IR device;
    타겟 전자 장치를 검색하는 동작; searching for a target electronic device;
    상기 검색된 타겟 전자 장치가 클라우드(cloud) 제어 대상 장치임을 식별(identify)하는 동작, 상기 클라우드 제어 대상 장치는 IoT 서버(internet of things)에 의하여 제어되는 장치를 의미하고; 및identifying that the found target electronic device is a cloud control target device, wherein the cloud control target device means a device controlled by an IoT server (internet of things); and
    상기 검색된 타겟 전자 장치가 상기 클라우드 제어 대상 장치임을 나타내는 제1 사용자 인터페이스(user interface, UI)를 출력하는 동작을 포함하는, 방법.and outputting a first user interface (UI) indicating that the found target electronic device is the cloud control target device.
  12. 청구항 11에 있어서, 상기 검색된 타겟 전자 장치가 상기 클라우드 제어 대상 장치임을 식별하는 동작은,The method of claim 11 , wherein the identifying that the found target electronic device is the cloud control target device comprises:
    상기 검색된 타겟 전자 장치의 장치 타입 및 제조사에 대한 정보를 포함하는 제1 등록 요청 메시지를 상기 IoT 서버로 전송하는 동작;transmitting a first registration request message including information on a device type and a manufacturer of the found target electronic device to the IoT server;
    상기 검색된 타겟 전자 장치의 장치 타입 및 제조사가 상기 클라우드 제어 기능을 지원함을 나타내는 제1 응답 메시지를 상기 IoT 서버로부터 수신하는 동작; 및receiving, from the IoT server, a first response message indicating that a device type and a manufacturer of the found target electronic device support the cloud control function; and
    상기 수신된 제1 응답 메시지에 기반하여 상기 검색된 타겟 전자 장치가 상기 클라우드 제어 대상 장치임을 식별하는 동작을 포함하는, 방법. and identifying that the found target electronic device is the cloud control target device based on the received first response message.
  13. 청구항 11에 있어서, 상기 타겟 전자 장치를 검색하는 동작은, The method of claim 11 , wherein the searching for the target electronic device comprises:
    블루투스 통신 프로토콜에 기반하여 상기 타겟 전자 장치를 검색하는 동작; 및searching for the target electronic device based on a Bluetooth communication protocol; and
    상기 타겟 전자 장치로부터 데이터 패킷을 수신하는 동작을 포함하고, receiving a data packet from the target electronic device;
    상기 타겟 전자 장치를 검색하기 이전에, 지정된 명령을 포함하는 IR 신호를 전송하는 동작; 및 transmitting an IR signal including a specified command before searching for the target electronic device; and
    상기 데이터 패킷에 포함된 상기 명령이 상기 IR 신호에 포함된 상기 지정된 명령과 적어도 일부가 동일한지 기반하여 상기 검색된 타겟 전자 장치가 제어 대상 장치인지 여부를 결정하는 동작을 더 포함하는, 방법. The method further comprising determining whether the found target electronic device is a control target device based on whether the command included in the data packet is at least partially identical to the specified command included in the IR signal.
  14. 청구항 11에 있어서, 12. The method of claim 11,
    상기 제1 UI가 출력되는 동안에 상기 검색된 타겟 전자 장치를 상기 IR 제어 대상 장치로 등록하기를 요청하는 제2 사용자 입력을 수신하면, 상기 검색된 타겟 전자 장치를 상기 IR 제어 대상 장치로 등록하기 위한 절차를 수행하는 동작을 더 포함하고, When a second user input requesting to register the found target electronic device as the IR control target device is received while the first UI is output, a procedure for registering the found target electronic device as the IR control target device is performed. Further comprising an action to perform,
    상기 검색된 타겟 전자 장치를 상기 IR 제어 대상 장치로 등록하기 위한 절차를 수행하는 동작은, The operation of performing a procedure for registering the found target electronic device as the IR control target device includes:
    상기 검색된 타겟 전자 장치의 장치 타입 및 상기 타겟 전자 장치가 위치하는 영역에 대한 정보를 포함하는 제2 등록 요청 메시지를 상기 IoT 서버로 전송하는 동작; transmitting a second registration request message including information on a device type of the found target electronic device and an area in which the target electronic device is located to the IoT server;
    상기 검색된 타겟 전자 장치가 위치한 영역과 동일한 영역에서 상기 검색된 타겟 전자 장치와 동일한 장치 타입을 가지는 장치가 존재함을 나타내는 제2 응답 메시지를 상기 IoT 서버로부터 수신하는 동작;receiving, from the IoT server, a second response message indicating that a device having the same device type as the found target electronic device exists in the same area as the area in which the searched target electronic device is located;
    상기 검색된 타겟 전자 장치가 위치한 영역과 동일한 영역에서 상기 검색된 타겟 전자 장치와 동일한 장치 타입을 가지는 장치가 존재함을 나타내는 제2 UI를 출력하는 동작; outputting a second UI indicating that a device having the same device type as the found target electronic device exists in the same area as the area in which the searched target electronic device is located;
    상기 제2 UI가 출력되는 동안에, 상기 검색된 타겟 전자 장치의 등록을 요청하는 제3 사용자 입력을 수신하는 동작; receiving a third user input requesting registration of the found target electronic device while the second UI is output;
    상기 검색된 타겟 전자 장치의 등록을 요청하는 제3 등록 요청 메시지를 상기 IoT 서버로 전송하는 동작; 및 transmitting a third registration request message requesting registration of the found target electronic device to the IoT server; and
    상기 검색된 타겟 전자 장치가 상기 IR 제어 대상 장치로 등록됨을 나타내는 메시지를 상기 IoT 서버로부터 수신하는 동작을 포함하는, 방법. and receiving, from the IoT server, a message indicating that the found target electronic device is registered as the IR control target device.
  15. 청구항 14에 있어서, 15. The method of claim 14,
    상기 등록된 타겟 전자 장치가 상기 IR 제어 대상 장치 및 상기 클라우드 제어 대상 장치임을 나타내는 그래픽 사용자 인터페이스(graphic user interface, GUI)를 출력하는 동작을 더 포함하는, 방법. and outputting a graphic user interface (GUI) indicating that the registered target electronic device is the IR control target device and the cloud control target device.
PCT/KR2021/009762 2020-08-04 2021-07-28 Electronic device for controlling target electronic device in iot environment, and method related thereto WO2022030860A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
KR1020200097093A KR20220017057A (en) 2020-08-04 2020-08-04 Electronic device for controlling target electronic device in iot environment and method thereof
KR10-2020-0097093 2020-08-04

Publications (1)

Publication Number Publication Date
WO2022030860A1 true WO2022030860A1 (en) 2022-02-10

Family

ID=80118154

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/KR2021/009762 WO2022030860A1 (en) 2020-08-04 2021-07-28 Electronic device for controlling target electronic device in iot environment, and method related thereto

Country Status (2)

Country Link
KR (1) KR20220017057A (en)
WO (1) WO2022030860A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20240022222A (en) * 2022-08-11 2024-02-20 삼성전자주식회사 Electronic apparatus and method for controlling thereof

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20070111449A (en) * 2004-10-27 2007-11-21 슈페르나 리미티드 Networked device control architecture
KR20160044068A (en) * 2014-10-13 2016-04-25 한국과학기술원 Method and system for controlling device based internet of things
WO2016196947A1 (en) * 2015-06-05 2016-12-08 Convida Wireless, Llc Method and appparatus of interworking m2m and iot devices and applications with different service layers
KR20190071383A (en) * 2017-12-14 2019-06-24 삼성전자주식회사 Electronic apparatus for controlling registration session and operating method thereof, server and operating method thereof
KR20190134922A (en) * 2018-05-15 2019-12-05 삼성전자주식회사 A method and a electronic device connecting a plurality of electronic devices to a server through a hub

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20070111449A (en) * 2004-10-27 2007-11-21 슈페르나 리미티드 Networked device control architecture
KR20160044068A (en) * 2014-10-13 2016-04-25 한국과학기술원 Method and system for controlling device based internet of things
WO2016196947A1 (en) * 2015-06-05 2016-12-08 Convida Wireless, Llc Method and appparatus of interworking m2m and iot devices and applications with different service layers
KR20190071383A (en) * 2017-12-14 2019-06-24 삼성전자주식회사 Electronic apparatus for controlling registration session and operating method thereof, server and operating method thereof
KR20190134922A (en) * 2018-05-15 2019-12-05 삼성전자주식회사 A method and a electronic device connecting a plurality of electronic devices to a server through a hub

Also Published As

Publication number Publication date
KR20220017057A (en) 2022-02-11

Similar Documents

Publication Publication Date Title
WO2021075786A1 (en) Electronic device and method of processing pop-up window using multi-window thereof
WO2022154272A1 (en) Iot device and method for onboarding iot device to server
WO2022019682A1 (en) Edge computing system and method
WO2022030860A1 (en) Electronic device for controlling target electronic device in iot environment, and method related thereto
WO2022191395A1 (en) Apparatus for processing user command, and operating method therefor
WO2022197088A1 (en) Device for providing iot service and method therefor
WO2022149763A1 (en) Electronic device for managing external electronic device carrying out requested function, and operating method thereof
WO2022211245A1 (en) Electronic device and method for performing task according to dynamic condition in electronic device
WO2022215865A1 (en) Electronic device and iot control information sharing method
WO2023219230A1 (en) Electronic device for controlling internet of things apparatus, and operating method thereof
WO2024043492A1 (en) Electronic device for managing internet of things device and operation method of therefor
WO2022098004A1 (en) Electronic device for transmitting data through communication connection, and operation method thereof
WO2024076008A1 (en) Electronic device, method, and non-transitory computer-readable storage medium for sharing file
WO2023085822A1 (en) Device location determination method, and electronic device for performing method
WO2023043073A1 (en) Wearable electronic device for controlling plurality of internet-of-things devices, operation method thereof, and storage medium
WO2024076142A1 (en) Electronic device, and external electronic device cloud connection control method in electronic device
WO2023054897A1 (en) Electronic device and method for performing video call
WO2022215839A1 (en) Electronic device, and method for registering external device using device information
WO2024117650A1 (en) Electronic device, and method for managing cookie information of electronic device
WO2024025194A1 (en) Method for performing operation related to notification, and electronic device supporting same
WO2023249359A1 (en) Method for registering electronic device and offline device
WO2024136605A2 (en) Electronic device for controlling onboarding, and operation method thereof
WO2022119133A1 (en) Electronic device supporting automation service
WO2022177206A2 (en) Electronic apparatus and operating method of electronic apparatus
WO2023219286A1 (en) Method for adjusting data transmission sequence and electronic device for performing same

Legal Events

Date Code Title Description
NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 21853768

Country of ref document: EP

Kind code of ref document: A1