Method for providing user interface and electronic device thereof
By filtering and displaying information and capabilities of IoT devices in electronic devices, the problem of undefined services in IoT applications is solved, enabling user-friendly IoT environment interaction and flexible control, and improving user experience and scalability.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- SAMSUNG ELECTRONICS CO LTD
- Filing Date
- 2021-12-20
- Publication Date
- 2026-05-01
AI Technical Summary
IoT-related applications cannot define and serve the IoT devices and capabilities supported for each application or scenario. Users need to specify how to operate IoT devices, resulting in a poor user experience.
An electronic device and method thereof are provided, which, through a display and a processor, and in conjunction with instructions in a memory, filters and displays information and capability information of an IoT device, allowing users to select and set the operational capabilities of the IoT device, thereby achieving seamless interaction with applications.
It improves the user experience, provides flexible control and scalability over the IoT environment, allows users to link the IoT environment at specified events, and control IoT devices only when the user is in the same or similar location.
Smart Images

Figure CN116686257B_ABST
Abstract
Description
Technical Field
[0001] The embodiments disclosed herein relate to an electronic device and method for providing a user interface. Background Technology
[0002] The Internet of Things (IoT) is a technology used to connect various things wirelessly. In this context, "things" can include various embedded systems, such as home appliances, mobile devices, or wearable devices. It is an artificial intelligence technology where things connected via the internet send and receive data to analyze it themselves and provide information to the user, who can then remotely adjust it.
[0003] With the development of IoT technology, applications have been developed for managing and controlling various IoT devices and the capabilities of IoT devices. Summary of the Invention
[0004] Technical issues
[0005] IoT applications may not be able to define and serve the IoT devices and capabilities supported for each application or scenario. For example, when a specific event occurs, it is inconvenient for the user to directly specify which IoT device to operate in that situation. Furthermore, users can specify events that can be used as conditions for operating IoT devices within each application.
[0006] Therefore, the various embodiments disclosed in this disclosure provide electronic devices and methods that link an IoT environment to a user experience provided by various applications loaded into the electronic device, even without using IoT-related applications.
[0007] Technical solution
[0008] According to one aspect of this disclosure, an electronic device is provided. The electronic device may include: a display, a processor operatively connected to the display, and a memory operatively connected to the display and the processor and storing a first application. The memory may store one or more instructions, wherein the one or more instructions, when executed, cause the processor to perform the following operations: displaying a first user interface on the display while the first application is running; filtering device information and capability information about at least one IoT device based on Internet of Things (IoT) device information registered with a server and IoT device information supported by the application, wherein the at least one IoT device supports capabilities associated with a first capability provided by the first application; displaying a second user interface on the display, wherein the second user interface includes filtered device information and filtered capability information about the at least one IoT device; and setting a second capability of the first IoT device for operation when input for selecting the first IoT device among the at least one IoT device is received through the second user interface, wherein the second capability is associated with the first capability.
[0009] According to another aspect of this disclosure, a method for providing a user interface in an electronic device is provided. The method may include: displaying a first user interface on a display of the electronic device when a first application stored in the memory of the electronic device is running; filtering device information and capability information about at least one IoT device based on Internet of Things (IoT) device information registered with a server and IoT device information supported by the application when input for selecting the first user interface is received; displaying a second user interface on the display, wherein the second user interface includes the filtered device information and filtered capability information about the at least one IoT device; and setting a second capability of the first IoT device for operation when input for selecting the first IoT device among the at least one IoT device is received through the second user interface, wherein the second capability is associated with the first capability.
[0010] Beneficial effects
[0011] According to the various embodiments disclosed in this disclosure, a user interface for setting up the operation of an IoT device for each application can be proactively configured and provided in response to requests received from each application. Therefore, the user experience is improved because each application can provide the user with an experience of interacting with the IoT environment without needing to understand the IoT environment, and the user can link the IoT environment when specifying events in each application.
[0012] Furthermore, according to the various embodiments disclosed in this disclosure, improved scalability is provided because the ability to easily add IoT devices and IoT device capabilities supported by each application when updating the data of the IoT server or application policy server.
[0013] Furthermore, according to the various embodiments disclosed in this disclosure, the ability to control the IoT device may be provided only when the user is in the same or similar location as the IoT device, rather than controlling the IoT device under any circumstances when a specified event occurs.
[0014] In addition, various effects that can be directly or indirectly determined through this disclosure may be provided. Attached Figure Description
[0015] Figure 1 This is a block diagram illustrating an electronic device in a network environment according to various embodiments;
[0016] Figure 2 This is a block diagram illustrating a procedure according to various embodiments;
[0017] Figure 3 This is a block diagram of an electronic device 301 in a network environment according to an embodiment;
[0018] Figure 4 This is a flowchart illustrating the operation of an electronic device according to an embodiment;
[0019] Figure 5 This is a diagram illustrating a user interface displayed by an electronic device according to an embodiment;
[0020] Figure 6a and Figure 6b This is a diagram illustrating a user interface displayed by an electronic device according to an embodiment;
[0021] Figure 7 This is a diagram illustrating a user interface displayed by an electronic device according to an embodiment;
[0022] Figure 8a and Figure 8b It is a diagram used to illustrate the operation of an electronic device according to an embodiment;
[0023] Figure 9 It is a diagram used to illustrate the operation of an electronic device according to an embodiment;
[0024] Figure 10 It is a diagram used to illustrate the operation of an electronic device according to an embodiment;
[0025] Figure 11 It is a diagram used to illustrate the operation of an electronic device according to an embodiment;
[0026] Figure 12It is a diagram used to illustrate the operation of an electronic device according to an embodiment;
[0027] Figure 13 It is a diagram used to illustrate the operation of an electronic device according to an embodiment;
[0028] Figure 14 It is a diagram used to illustrate the operation of an electronic device according to an embodiment;
[0029] Figure 15 It is a diagram used to illustrate the operation of an electronic device according to an embodiment;
[0030] Figure 16 This is a flowchart illustrating the operation of an electronic device according to an embodiment.
[0031] Regarding the description of the accompanying drawings, the same or similar representations may be used for the same or similar components. Detailed Implementation
[0032] Figure 1 This is a block diagram illustrating an electronic device 101 in a network environment 100 according to various embodiments. (Refer to...) Figure 1 In network environment 100, electronic device 101 can communicate with electronic device 102 via a first network 198 (e.g., a short-range wireless communication network), or with at least one of electronic device 104 or server 108 via a second network 199 (e.g., a long-range wireless communication network). According to an embodiment, electronic device 101 can communicate with electronic device 104 via server 108. According to an embodiment, electronic device 101 may include a processor 120, memory 130, input module 150, sound output module 155, display module 160, audio module 170, sensor module 176, interface 177, connection terminal 178, haptic module 179, camera module 180, power management module 188, battery 189, communication module 190, user identification module (SIM) 196, or antenna module 197. In some embodiments, at least one of the above components (e.g., connection terminal 178) may be omitted from electronic device 101, or one or more other components may be added to electronic device 101. In some embodiments, some of the components described above (e.g., sensor module 176, camera module 180, or antenna module 197) may be implemented as a single integrated component (e.g., display module 160).
[0033] Processor 120 may run software (e.g., program 140) to control at least one other component (e.g., hardware or software component) of electronic device 101 in conjunction with processor 120, and may perform various data processing or calculations. According to one embodiment, as at least part of the data processing or calculation, processor 120 may store commands or data received from another component (e.g., sensor module 176 or communication module 190) in volatile memory 132, process the commands or data stored in volatile memory 132, and store the resulting data in non-volatile memory 134. According to embodiments, processor 120 may include a main processor 121 (e.g., central processing unit (CPU) or application processor (AP)) or an auxiliary processor 123 (e.g., graphics processing unit (GPU), neural processing unit (NPU), image signal processor (ISP), sensor central processor, or communication processor (CP)) that is operationally independent of or combined with the main processor 121. For example, when electronic device 101 includes a main processor 121 and an auxiliary processor 123, the auxiliary processor 123 may be adapted to consume less power than the main processor 121, or to be dedicated to a specific function. The auxiliary processor 123 may be implemented separately from the main processor 121, or may be implemented as part of the main processor 121.
[0034] When the main processor 121 is inactive (e.g., in sleep mode), the auxiliary processor 123 (rather than the main processor 121) can control at least some of the functions or states associated with at least one component of the electronic device 101 (e.g., display module 160, sensor module 176, or communication module 190), or when the main processor 121 is active (e.g., running an application), the auxiliary processor 123 can work with the main processor 121 to control at least some of the functions or states associated with at least one component of the electronic device 101 (e.g., display module 160, sensor module 176, or communication module 190). According to embodiments, the auxiliary processor 123 (e.g., an image signal processor or a communication processor) may be implemented as part of another component (e.g., camera module 180 or communication module 190) functionally associated with the auxiliary processor 123. According to embodiments, the auxiliary processor 123 (e.g., a neural processing unit) may include hardware architecture dedicated to artificial intelligence model processing. Artificial intelligence models can be generated through machine learning. For example, such learning can be performed via electronic device 101 where artificial intelligence is performed or via a separate server (e.g., server 108). The learning algorithm may include, but is not limited to, supervised learning, unsupervised learning, semi-supervised learning, or reinforcement learning. The artificial intelligence model may include multiple layers of artificial neural networks. The artificial neural network may be a deep neural network (DNN), a convolutional neural network (CNN), a recurrent neural network (RNN), a restricted Boltzmann machine (RBM), a deep belief network (DBN), a bidirectional recurrent deep neural network (BRDNN), or a deep Q-network, or a combination of two or more thereof, but is not limited thereto. Additionally or optionally, the artificial intelligence model may include software structures in addition to hardware structures.
[0035] Memory 130 may store various data used by at least one component of electronic device 101 (e.g., processor 120 or sensor module 176). The various data may include, for example, software (e.g., program 140) and input or output data for commands associated with it. Memory 130 may include volatile memory 132 or non-volatile memory 134.
[0036] The program 140 may be stored as software in the memory 130, and the program 140 may include, for example, an operating system (OS) 142, middleware 144, or application 146.
[0037] The input module 150 can receive commands or data from outside the electronic device 101 (e.g., a user) that will be used by other components of the electronic device 101 (e.g., processor 120). The input module 150 may include, for example, a microphone, mouse, keyboard, keys (e.g., buttons), or digital pen (e.g., stylus).
[0038] The sound output module 155 can output sound signals 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 playing multimedia or playing records. The receiver can be used to receive incoming calls. According to an embodiment, the receiver can be implemented separately from the speaker or as part of the speaker.
[0039] Display module 160 can visually provide information to the outside of electronic device 101 (e.g., to a user). Display module 160 may include, for example, a display, a holographic device, or a projector, and control circuitry for controlling a respective one of the display, holographic device, and projector. According to an embodiment, display module 160 may include a touch sensor adapted to detect touch or a pressure sensor adapted to measure the intensity of the force caused by touch.
[0040] The audio module 170 can convert sound into electrical signals and vice versa. According to an embodiment, the audio module 170 can obtain sound via the input module 150, or output sound via the sound output module 155 or via headphones of an external electronic device (e.g., electronic device 102) that is directly (e.g., wired) connected or wirelessly combined with the electronic device 101.
[0041] Sensor module 176 can detect the operating state of electronic device 101 (e.g., power or temperature) or the environmental state outside electronic device 101 (e.g., user state), and then generate an electrical signal or data value corresponding to the detected state. According to embodiments, sensor module 176 may include, for example, a gesture sensor, gyroscope sensor, atmospheric pressure sensor, magnetic sensor, accelerometer, grip sensor, proximity sensor, color sensor, infrared (IR) sensor, biometric sensor, temperature sensor, humidity sensor, or illuminance sensor.
[0042] Interface 177 may support one or more specific protocols used to enable electronic device 101 to be directly (e.g., wired) or wirelessly coupled to external electronic device (e.g., electronic device 102). According to embodiments, interface 177 may include, for example, a High Definition Multimedia Interface (HDMI), a Universal Serial Bus (USB) interface, a Secure Digital Card (SD) interface, or an audio interface.
[0043] Connection end 178 may include a connector, through which electronic device 101 can be physically connected to an external electronic device (e.g., electronic device 102). According to embodiments, connection end 178 may include, for example, an HDMI connector, a USB connector, an SD card connector, or an audio connector (e.g., a headphone connector).
[0044] The tactile module 179 can convert electrical signals into mechanical stimuli (e.g., vibration or motion) or electrical stimuli that can be recognized by a user through his touch or kinesthesia. According to embodiments, the tactile module 179 may include, for example, a motor, a piezoelectric element, or an electrical stimulator.
[0045] Camera module 180 can capture still or moving images. According to an embodiment, camera module 180 may include one or more lenses, an image sensor, an image signal processor, or a flash.
[0046] The power management module 188 manages the power supply to the electronic device 101. According to an embodiment, the power management module 188 may be implemented as at least part of, for example, a power management integrated circuit (PMIC).
[0047] Battery 189 can power at least one component of electronic device 101. According to an embodiment, battery 189 may include, for example, a non-rechargeable primary battery, a rechargeable rechargeable battery, or a fuel cell.
[0048] Communication module 190 can support the establishment of a direct (e.g., wired) or wireless communication channel between electronic device 101 and external electronic devices (e.g., electronic device 102, electronic device 104, or server 108), and perform communication via the established communication channel. Communication module 190 may include one or more communication processors capable of operating independently of processor 120 (e.g., application processor (AP)) and supporting direct (e.g., wired) or wireless communication. According to embodiments, communication module 190 may include wireless communication module 192 (e.g., cellular communication module, short-range wireless communication module, or Global Navigation Satellite System (GNSS) communication module) or wired communication module 194 (e.g., local area network (LAN) communication module or power line communication (PLC) module). A corresponding one of these communication modules can communicate via a first network 198 (e.g., a short-range communication network, such as Bluetooth). TM The wireless communication module 192 can communicate with external electronic devices via a Wi-Fi Direct or Infrared Data Association (IrDA) network or a second network 199 (e.g., a long-range communication network, such as a traditional cellular network, a 5G network, a next-generation communication network, the Internet, or a computer network (e.g., a LAN or a wide area network (WAN))). These various types of communication modules can be implemented as a single component (e.g., a single chip) or as multiple components separate from each other (e.g., multiple chips). The wireless communication module 192 can identify and verify the electronic device 101 in the communication network (such as a first network 198 or a second network 199) using user information (e.g., an International Mobile Subscriber Identity (IMSI)) stored in the user identification module 196.
[0049] Wireless communication module 192 can support 5G networks following 4G networks and next-generation communication technologies (such as new radio (NR) access technologies). NR access technologies can support enhanced mobile broadband (eMBB), massive machine-type communication (mMTC), or ultra-reliable low-latency communication (URLLC). Wireless communication module 192 can support high-frequency bands (e.g., millimeter-wave bands) to achieve, for example, high data transmission rates. Wireless communication module 192 can support various technologies used to ensure performance in high-frequency bands, such as, for example, beamforming, massive MIMO, full-dimensional MIMO (FD-MIMO), array antennas, analog beamforming, or massive antennas. Wireless communication module 192 can support various requirements specified in electronic device 101, external electronic devices (e.g., electronic device 104), or network systems (e.g., second network 199). According to an embodiment, the wireless communication module 192 may support peak data rates (e.g., 20 Gbps or greater) for implementing eMBB, lost coverage (e.g., 164 dB or less) for implementing mMTC, or U-plane latency (e.g., 0.5 ms or less for each of the downlink (DL) and uplink (UL), or 1 ms or less round trip) for implementing URLLC.
[0050] Antenna module 197 can transmit or receive signals or power to or from the exterior of electronic device 101 (e.g., external electronic device). According to an embodiment, antenna module 197 may include an antenna comprising a radiating element formed of a conductive material or conductive pattern formed in or on a substrate (e.g., a printed circuit board (PCB)). According to an embodiment, antenna module 197 may include multiple antennas (e.g., an array antenna). In this case, at least one antenna suitable for a communication scheme used in a communication network (such as a first network 198 or a second network 199) can be selected from the multiple antennas by, for example, communication module 190 (e.g., wireless communication module 192). Signals or power can then be transmitted or received between communication module 190 and the external electronic device via the selected at least one antenna. According to an embodiment, additional components besides the radiating element (e.g., a radio frequency integrated circuit (RFIC)) may be additionally incorporated into antenna module 197.
[0051] According to various embodiments, antenna module 197 may form a millimeter-wave antenna module. According to embodiments, the millimeter-wave antenna module may include a printed circuit board, a radio frequency integrated circuit (RFIC), and multiple antennas (e.g., an array antenna), wherein the RFIC is disposed on or adjacent to a first surface (e.g., a bottom surface) of the printed circuit board and is capable of supporting a specified high-frequency band (e.g., a millimeter-wave band), and the multiple antennas are disposed on or adjacent to a second surface (e.g., a top surface or a side surface) of the printed circuit board and are capable of transmitting or receiving signals in the specified high-frequency band.
[0052] At least some of the aforementioned components can be combined with each other and communicate signals (e.g., commands or data) between them via an inter-peripheral communication scheme (e.g., bus, general purpose input / output (GPIO), serial peripheral interface (SPI), or mobile industrial processor interface (MIPI)).
[0053] According to an embodiment, commands or data can be sent or received between electronic device 101 and external electronic device 104 via server 108 connected to a second network 199. Each of electronic device 102 or electronic device 104 can be a device of the same type as electronic device 101, or a device of a different type. According to an embodiment, all or some operations that would be performed on electronic device 101 can be performed on one or more of external electronic devices 102, external electronic devices 104, or server 108. For example, if electronic device 101 is required to automatically perform a function or service, or is required to perform a function or service in response to a request from a user or another device, electronic device 101 may request the one or more external electronic devices to perform at least a portion of the function or service, instead of running the function or service, or electronic device 101 may request the one or more external electronic devices to perform at least a portion of the function or service in addition to running the function or service. Upon receiving the request, the one or more external electronic devices may perform at least a portion of the requested function or service, or perform additional functions or services related to the request, and transmit the result of the execution to electronic device 101. Electronic device 101 may provide the result as at least a partial response to the request, with or without further processing of the result. For this purpose, technologies such as cloud computing, distributed computing, mobile edge computing (MEC), or client-server computing may be used. Electronic device 101 may use, for example, distributed computing or mobile edge computing to provide ultra-low latency services. In another embodiment, 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 embodiments, external electronic device 104 or server 108 may be included in a second network 199. Electronic device 101 may be applied to intelligent services based on 5G communication technology or IoT-related technologies (e.g., smart homes, smart cities, smart cars, or healthcare).
[0054] Figure 2 This is a block diagram 200 illustrating a program 140 according to various embodiments. According to embodiments, program 140 may include an operating system (OS) 142 for controlling one or more resources of electronic device 101, middleware 144, or an application 146 that can run in OS 142. OS 142 may include, for example, Android. TM iOS TM Windows TM Symbian TM Tizen TM Or Bada TMFor example, at least a portion of program 140 may be preloaded onto electronic device 101 during manufacturing, or at least a portion of program 140 may be downloaded from or updated by an external electronic device (e.g., electronic device 102 or electronic device 104, or server 108) during user use.
[0055] OS 142 can control the management (e.g., allocation or deallocation) of one or more system resources (e.g., processes, memory, or power) of electronic device 101. Alternatively or additionally, OS 142 may include one or more drivers for driving other hardware devices of electronic device 101 (e.g., input module 150, sound output module 155, display module 160, audio module 170, sensor module 176, interface 177, haptic module 179, camera module 180, power management module 188, battery 189, communication module 190, user identification module 196, or antenna module 197).
[0056] Middleware 144 may provide various functions to application 146, enabling application 146 to use functions or information provided from one or more resources of electronic device 101. Middleware 144 may include, for example, application manager 201, window manager 203, multimedia manager 205, resource manager 207, power manager 209, database manager 211, package manager 213, connection manager 215, notification manager 217, location manager 219, graphics manager 221, security manager 223, telephone manager 225, or voice recognition manager 227.
[0057] Application manager 201, for example, manages the lifecycle of application 146. Window manager 203, for example, manages one or more graphical user interface (GUI) resources used on the screen. Multimedia manager 205, for example, identifies one or more formats that will be used to play media files and can encode or decode corresponding media files within the media files using a codec suitable for the appropriate format selected from the one or more formats. Resource manager 207, for example, manages the source code of application 146 or the storage space of memory 130. Power manager 209, for example, manages the capacity, temperature, or power of battery 189 and can determine or provide relevant information for the operation of electronic device 101 based at least in part on the corresponding information of battery 189's capacity, temperature, or power. According to an embodiment, power manager 209 may work in conjunction with the basic input / output system (BIOS) (not shown) of electronic device 101.
[0058] Database manager 211, for example, can create, search, or modify databases that will be used by application 146. Package manager 213, for example, can manage the installation or updates of applications distributed in the form of package files. Connection manager 215, for example, can manage wireless or direct connections between electronic device 101 and external electronic devices. Notification manager 217, for example, can provide functionality for notifying the user of specific events (e.g., incoming calls, messages, or alarms). Location manager 219, for example, can manage location information about electronic device 101. Graphics manager 221, for example, can manage one or more graphical effects to be provided to the user or user interfaces related to said one or more graphical effects.
[0059] Security manager 223 may provide system security or user authentication, for example. Telephone manager 225 may manage voice or video calling functions provided by electronic device 101, for example. Voice recognition manager 227 may send user voice data to server 108 and receive commands from server 108 corresponding to functions that operate on electronic device 101 based at least partially on voice data or text data converted from at least partially on voice data. According to an embodiment, middleware 144 may dynamically remove some existing components or add new components. According to an embodiment, at least a portion of middleware 144 may be included as part of OS 142, or at least a portion of middleware 144 may be implemented as separate software independent of OS 142.
[0060] Application 146 may include, for example, a homepage 251, a dialer 253, a Short Message Service (SMS) / Multimedia Messaging Service (MMS) 255, an Instant Messaging (IM) 257, a browser 259, a camera 261, an alarm clock 263, contacts 265, voice recognition 267, email 269, a calendar 271, a media player 273, a photo album 275, a watch 277, a health 279 (e.g., for measuring exercise intensity or biometric information such as blood sugar) or an environmental information 281 (e.g., for measuring barometric pressure, humidity, or temperature information). According to an embodiment, application 146 may also include an information exchange application (not shown) capable of supporting information exchange between electronic device 101 and external electronic devices. The information exchange application may, for example, include a notification forwarding application suitable for transmitting specified information (e.g., calls, messages, or alarms) to external electronic devices or a device management application suitable for managing external electronic devices. The notification forwarding application can send notification information to an external electronic device corresponding to a specific event (e.g., receiving an email) that has occurred in another application (e.g., email application 269) on electronic device 101. Alternatively or additionally, the notification forwarding application can receive notification information from an external electronic device and provide the notification information to the user of electronic device 101.
[0061] Device management applications can control the power (e.g., turning on or off) or functions (e.g., adjusting brightness, resolution, or focus) of external electronic devices or some components of external electronic devices (e.g., the display module or camera module of the external electronic device). Additionally or optionally, device management applications can support the installation, removal, or updating of applications running on external electronic devices.
[0062] The electronic device according to various embodiments can be one of a variety of types of electronic devices. Electronic devices may include, for example, portable communication devices (e.g., smartphones), computer devices, portable multimedia devices, portable medical devices, cameras, wearable devices, or home appliances. According to embodiments of this disclosure, the electronic device is not limited to those described above.
[0063] It should be understood that the various embodiments of this disclosure and the terminology used therein are not intended to limit the technical features set forth herein to the specific embodiments, but rather to include various changes, equivalents, or substitutions to the respective embodiments. In the description of the drawings, similar reference numerals may be used to refer to similar or related elements. It will be understood that the singular form of a noun corresponding to an item may include one or more things unless the relevant context clearly indicates otherwise. As used herein, each of the phrases such as “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 “at least one of A, B, or C” may include any one or all possible combinations of the items enumerated together with the corresponding phrase among the plurality of phrases. As used herein, terms such as “first” and “second” or “first” and “second” may be used to simply distinguish one component from another and do not limit the components in other respects (e.g., importance or order). It will be understood that, whether the terms “operably” or “communically” are used or not, if an element (e.g., a first element) is referred to as “combined with another element (e.g., a second element),” “combined to another element (e.g., a second element),” “connected to another element (e.g., a second element),” or “attached to another element (e.g., a second element)”, it means that the first element can be directly (e.g., wiredly) combined with the second element, wirelessly combined with the second element, or combined with the second element via a third element.
[0064] As used in connection with various embodiments of this disclosure, the term "module" may include a unit implemented in hardware, software, or firmware, and may be used interchangeably with other terms (e.g., "logic," "logic block," "part," or "circuit"). A module may be a single integrated component adapted to perform one or more functions, or the smallest unit or part of such a single integrated component. For example, according to embodiments, a module may be implemented in the form of an application-specific integrated circuit (ASIC).
[0065] The various embodiments set forth herein can be implemented as software (e.g., program 140) containing one or more instructions readable by a machine (e.g., electronic device 101) stored in a storage medium (e.g., internal memory 136 or external memory 138). For example, under the control of a processor, the processor (e.g., processor 120) of the machine (e.g., electronic device 101) can invoke and execute at least one of the one or more instructions stored in the storage medium, with or without the use of one or more other components. This enables the machine to operate to perform at least one function according to the invoked at least one instruction. The one or more instructions may include code generated by a compiler or code executable by an interpreter. Machine-readable storage media may be provided in the form of non-transitory storage media. The term "non-transitory" simply means that the storage medium is a tangible device and does not include signals (e.g., electromagnetic waves), but this term does not distinguish between data being stored semi-permanently in the storage medium and data being temporarily stored in the storage medium.
[0066] According to embodiments, methods according to various embodiments of this disclosure may be included and provided in a computer program product. The computer program product can be traded as a product between a seller and a buyer. The computer program product may be distributed in the form of a machine-readable storage medium (e.g., a compact disk read-only memory (CD-ROM)) or via an app store (e.g., the Play Store). TM The computer program product may be published online (e.g., downloaded or uploaded), or may be distributed directly between two user devices (e.g., smartphones) (e.g., downloaded or uploaded). If published online, at least a portion of the computer program product may be temporarily generated, or at least a portion of the computer program product may be temporarily stored in a machine-readable storage medium (such as the memory of a manufacturer's server, an app store's server, or a forwarding server).
[0067] According to various embodiments, each of the above components (e.g., a module or program) may include a single entity or multiple entities, and some of the multiple entities may be separately disposed in different components. According to various embodiments, one or more of the above components may be omitted, or one or more other components may be added. Optionally or additionally, multiple components (e.g., modules or programs) may be integrated into a single component. In this case, according to various embodiments, the integrated component may still perform the one or more functions of each of the multiple components in the same or similar manner as the corresponding component of the multiple components performed one or more functions before integration. According to various embodiments, the operations performed by a module, program, or other component may be performed sequentially, in parallel, repeatedly, or heuristically, or one or more of the operations may be run in a different order or omitted, or one or more other operations may be added.
[0068] In the following text, reference will be made to Figure 3 and Figure 4 A description of the operation of an electronic device according to an embodiment is given.
[0069] Figure 3 This is a block diagram of electronic device 301 in network environment 300 according to an embodiment. Figure 4 This is a flowchart 400 illustrating the operation of the electronic device 301 according to an embodiment. The operation of the electronic device 301, which will be described below, can be performed by an electronic device (e.g., Figure 1 The processor of the electronic device 101 (e.g., Figure 1 The processor 120 of the electronic device executes the instructions that cause the processor of the electronic device to perform the operations described below, which may be stored in the memory of the electronic device (e.g., the processor 120). Figure 1 In the memory 130).
[0070] Reference Figure 3 According to an embodiment, the electronic device 301 may include a first application 310 and a second application 320. According to an embodiment, the first application 310 and the second application 320 may be stored in the memory of the electronic device 301 (e.g., ...). Figure 1 In the memory 130). According to an embodiment, the first application 310 may be an application configured to perform a specified capability. For example, the first application 310 may include a clock (e.g., Figure 2 Alarm clock 263), calendar (for example, Figure 2 Calendar 271), accessibility, call, weather (e.g., Figure 2The second application 320 may be an application for linking at least one capability performed by the first application 310 to an Internet of Things (IoT) device, including environmental information 281, a smart view (e.g., provided via a mirrored content view environment), or a third-party application. According to an embodiment, the second application 320 may be an application for linking at least one capability performed by the first application 310 to an Internet of Things (IoT) device. The second application 320 of this disclosure is not limited to being an application of an IoT platform that communicates with various applications (e.g., the first application 310) stored in the electronic device 301 and an IoT service server 302. For example, the second application 320 may provide a user interface (UI) for setting a second capability of the IoT device to operate when the first capability is performed, wherein the second capability is associated with a first capability provided by the first application 310. Reference will be made to... Figure 4 A method for providing a user interface in a second application 320 according to an embodiment is described. When an event that is a condition for the execution of a first capability occurs, the second application 320 can control a second capability of the IoT device to operate.
[0071] According to an embodiment, the second application 320 may include a device and capability database 321 and an application (app) policy database 323. The device and capability database 321 may store device information and capability information of IoT devices registered using at least one user account. The application policy database 323 may store application policy information. The application policy information may include, for example, device information and capability information of IoT devices supported by at least one application (e.g., the first application 310) stored in the electronic device 301. According to an embodiment, the IoT devices supported by the application may include IoT devices that support capabilities associated with at least one capability provided by the application.
[0072] According to an embodiment, electronic device 301 can communicate via communication circuits in network environment 300 (e.g., ...). Figure 1 The communication module 190) and the server (e.g., Figure 1 The electronic device 301 communicates with the IoT service server 302 and / or the application policy server 304. According to an embodiment, the IoT service server 302 stores information about IoT devices registered using each user account, as well as the capabilities of the registered IoT devices. According to an embodiment, the application policy server 304 stores predefined IoT device and IoT device capability information for each scenario supported by each application. According to an embodiment, a scenario may be referred to as a capability provided by the application. According to an embodiment, the application policy server 304 may be updated by the user of the application or the developer of the application. The application policy server 304 stores updated IoT device and IoT device capability information for each scenario supported by each application.
[0073] Reference Figure 4In operation 401, the second application 320 may receive IoT device information from the IoT service server 302. The second application 320 may receive device information and capability information of IoT devices registered with the IoT service server 302. For example, the device information and capability information of IoT devices registered with the IoT service server 302 may include device information and capability information of IoT devices registered using at least one user account. In operation 403, the second application 320 may store the device information and capability information of the IoT devices received from the IoT service server 302 in the device and capability database 321.
[0074] For example, when an IoT device or information associated with an IoT device is added, corrected, or deleted from the IoT service server 302, the second application 320 can receive device information and capability information of the IoT device from the IoT service server 302. When information associated with an IoT device stored in the IoT service server 302 is added, corrected, or deleted, the IoT service server 302 can send a notification to the electronic device 301. As another example, when the electronic device 301 is powered on, the second application 320 can receive device information and capability information of the IoT device from the IoT service server 302. As another example, when the electronic device 301 receives a user account from the user, the second application 320 can receive device information and capability information of the IoT device from the IoT service server 302. According to an embodiment, the second application 320 can receive device information and capability information of the IoT device from the IoT service server 302 and can update the device information and capability information of the IoT device registered by the user stored in the device and capability database 321. When electronic device 301 receives a notification from IoT service server 302 regarding the addition, correction, or deletion of information stored in IoT service server, when electronic device 301 is powered on, or when electronic device 301 receives a user account, the second application 320 can receive device information and capability information of IoT device from IoT service server 302, and can update the device information and capability information of IoT device registered by user stored in device and capability database 321.
[0075] In operation 405, the second application 320 may receive application policy information from the application policy server 304. For example, the second application 320 may receive device information and capability information of IoT devices supported by at least one application (e.g., the first application 310) stored in the electronic device 301 from the application policy server 304. For example, before at least one application (e.g., the first application 310) runs, the second application 320 may receive the device information and capability information of IoT devices supported by at least one application (e.g., the first application 310) from the application policy server 304. In operation 407, the electronic device 301 may store the device information and capability information of the IoT devices received from the application policy server 304 in the application policy database 323.
[0076] According to an embodiment, the second application 320 may receive device information and capability information of IoT devices supported by the first application 310 from the application policy server 304 before the first application 310 runs. The IoT devices supported by the first application 310 may include IoT devices that support capabilities associated with at least one capability provided by the first application 310. According to an embodiment, the second application 320 may receive device information and capability information regarding IoT devices that support capabilities associated with at least one capability provided by the first application 310.
[0077] According to an embodiment, electronic device 301 may receive user input from a user for running the first application 310 before performing operation 409. When user input for running the first application 310 is received, electronic device 301 may run the first application 310.
[0078] According to an embodiment, electronic device 301 may register events as execution conditions for a first capability provided by first application 310 based on user input. For example, when the first application 310 is a calendar application, electronic device 301 may add a schedule to a specified date based on user input. According to an embodiment, electronic device 301 may set a first capability (e.g., a notification capability) to be executed when an event registered based on user settings occurs. For example, when the specified date corresponding to the added schedule arrives, electronic device 301 may provide a notification to the user.
[0079] In operation 409, the first application 310 can be displayed on a monitor (e.g., Figure 1 A first user interface is displayed on the display module 160. According to an embodiment, the first user interface may include a user interface to which operations displaying a second user interface are mapped. According to an embodiment, the second user interface may be a user interface for setting a second capability of the IoT device for operation, wherein the second capability of the IoT device is associated with a first capability of the first application 310.
[0080] In operation 411, the first application 310 may receive input from the user 450 for selecting a first user interface. According to an embodiment, the first application 310 may receive input for selecting a first user interface, thereby performing operation 413. In operation 413, the first application 310 may send a request to the second application 320 to display a second user interface. According to an embodiment, the second application 320 may receive the request to display a second user interface, thereby performing operation 415.
[0081] In operation 415, the second application 320 can filter device information and capability information about at least one IoT device. According to an embodiment, the second application 320 can filter device information and capability information about at least one IoT device based on IoT device information registered with the server and IoT device information supported by the application, wherein the at least one IoT device supports capabilities associated with a first capability provided by the first application 310. The IoT device information registered with the server may include device information and capability information of IoT devices stored in the device and capability database 321. The IoT device information supported by the application may include device information and capability information of IoT devices stored in the application policy database 323. According to an embodiment, the second application 320 can compare multiple pieces of device information and multiple pieces of capability information of IoT devices stored respectively in the device and capability database 321 and the application policy database 323, and can filter device information and capability information about at least one IoT device, wherein the at least one IoT device supports capabilities associated with a first capability provided by the first application 310.
[0082] According to an embodiment, the second application 320 can identify the first application that sent the request to display a second user interface. The second application 320 can filter device information and capability information about at least one IoT device from multiple pieces of device information and multiple pieces of capability information stored in the device and capability database 321, wherein the at least one IoT device supports capabilities associated with a first capability provided by the identified first application 310. For example, when the first application 310 is a calendar application, the second application 320 can filter from the multiple pieces of device information and multiple pieces of capability information stored in the device and capability database 321 and obtain at least one IoT device that supports capabilities associated with the first capability provided by the calendar application.
[0083] According to the above embodiment, when a user account is entered into electronic device 301, device and capability database 321 can be updated. Second application 320 can identify the user account entered into electronic device 301. Second application 320 can receive device information and capability information of IoT devices registered using the identified user account from IoT service server 302, and store the received device information and capability information of IoT devices registered using the identified user account in device and capability database 321. In operation 415, second application 320 can filter device information and capability information for at least one IoT device from multiple pieces of device information and multiple pieces of capability information of IoT devices registered using the user account, wherein at least one IoT device supports capabilities associated with a first capability provided by first application 310.
[0084] According to an embodiment, the second application 320 can compare device information and capability information of IoT devices registered using an identified user account with device information and capability information of IoT devices supported by an identified first application, and can filter and obtain duplicate information. According to an embodiment, the filtered information may include device information and capability information about at least one IoT device that supports capabilities associated with a first capability provided by the first application 310. For example, when the IoT devices registered using the identified user account include both a first IoT device and a second IoT device, and when the IoT devices supported by the identified first application 310 include only the first IoT device, the second application 320 can filter and obtain device information and capability information about the first IoT device.
[0085] In operation 417, the second application 320 may display a second user interface. The second user interface may include device information and capability information about at least one IoT device filtered in operation 415. According to an embodiment, the second user interface may include a user interface for setting the capabilities of the filtered at least one IoT device for operation. According to an embodiment, the second user interface may include a device list of the filtered at least one IoT device and a capability list including at least one capability of each IoT device. For example, the second application 320 may display a device list of the filtered at least one IoT device (e.g., a television (TV), a light, a speaker, and / or an air purifier), and may display a capability list including at least one capability (e.g., power setting capability, channel setting capability, volume setting capability, and / or Magic Screen capability) of the IoT device (e.g., a TV) selected from the device list, but is not limited thereto. As another example, the second application 320 may display the list in a form where the device list and capability list are integrated with each other. The integrated list may include, for example, turning on the TV, turning on the light, and / or opening the blinds.
[0086] In operation 419, the second application 320 may receive input from user 450 for selecting a first IoT device. According to an embodiment, the second application 320 may receive input for selecting the first IoT device among at least one IoT device via a second user interface. The at least one IoT device may include an IoT device supporting capabilities associated with a first capability provided by the first application 310. According to an embodiment, the second application 320 may receive input for selecting at least one capability of the first IoT device. The second application 320 may also receive input for setting at least one capability of the first IoT device.
[0087] In operation 421, the second application 320 can configure the operation of the first IoT device. According to an embodiment, when receiving input for selecting the first IoT device, the second application 320 can configure a second capability associated with a first capability provided by the first application 310 for operation. According to an embodiment, the second application 320 can configure whether the second capability operates and the operation method of the second capability based on the following inputs: input for selecting the first IoT device, input for selecting at least one capability of the first IoT device, and / or input for configuring at least one capability of the first IoT device. For example, the second application 320 can be configured to turn on the TV and adjust the TV volume to 20 by receiving input for selecting a TV, input for selecting the TV's volume setting capability, and input for setting the volume to 20 via a second user interface. According to an embodiment, the second capability can be executed when an event that is a condition for the execution of the first capability occurs. According to an embodiment, when the first capability is executed, the second application 320 can be configured to control the first IoT device to execute the second capability.
[0088] In operation 423, the second application 320 may send setting information to the first application 310. According to an embodiment, the second application 320 may send setting information regarding the operation of the first IoT device to the first application 310. For example, the second application 320 may encode the setting information and send the encoded setting information to the first application 310. According to an embodiment, the first application 310 may store the setting information.
[0089] In operation 425, the first application 310 can detect the occurrence of an event. The event may include an event that serves as an execution condition for a first capability provided by the first application 310. According to an embodiment, the first application 310 can detect the occurrence of an event that serves as an execution condition for the first capability.
[0090] In operation 427, the first application 310 may send setting information to the second application 320. For example, the first application 310 may detect the occurrence of an event that serves as an execution condition for the first capability, and thus send the setting information.
[0091] In operation 429, the second application 320 may send a request to the IoT service server 302 to control the first IoT device. According to an embodiment, the second application 320 may control the operation of a second capability associated with the first capability of the first IoT device based on setting information sent from the first application 310. According to an embodiment, the second application 320 may determine, when performing operation 429, whether the first IoT device is included among the IoT devices registered with the IoT service server 302. According to the above embodiment, because the device information and capability information of the IoT device stored in the device and capability database 321 and received from the IoT service server 302 can be updated, the second application 320 may determine, when performing operation 429, whether the first IoT device is included in the device and capability database 321. According to an embodiment, when it is determined that the first IoT device is included in the device and capability database 321, the second application 320 may control the operation of the second capability of the first IoT device. For example, the second application 320 may send a request to the IoT service server 302 to perform the second capability on the first IoT device.
[0092] In the following text, reference will be made to Figure 5 A description is given of a user interface displayed by an electronic device according to an embodiment.
[0093] Figure 5 Figure 500 illustrates a user interface displayed by an electronic device according to an embodiment. The operation of the electronic device, which will be described below, can be performed by the electronic device 301, the processor of the electronic device 301 (e.g., ...), Figure 1 The processor 120 or the second application 320 executes the operation. The operation of the electronic device described below is corresponding to the above reference. Figure 4 Operations 417 to 421 are described.
[0094] Reference Figure 5 Electronic devices can display information based on user input (e.g., ...). Figure 1 The display module 160 displays a user interface for setting up and operating the second capability of the IoT device associated with the first capability provided by the first application 310. Figure 5 The user interface shown may include a first screen 510, a second screen 520, and a third screen 530.
[0095] According to an embodiment, the first screen 510 may include device information about at least one filtered IoT device. The first screen 510 may include, for example, a device list 511 of at least one filtered IoT device. According to an embodiment, the device list 511 may include at least one IoT device (e.g., TV, refrigerator, speaker, lamp, blinds, and / or air purifier).
[0096] According to an embodiment, the first screen 510 may include option information 512 associated with whether to control the IoT device based on the location of the electronic device. Option information 512 may include an option to control at least one IoT device only if the electronic device has the same location information as at least one IoT device.
[0097] According to an embodiment, when an event occurs as an execution condition of a first capability after receiving input for selecting an option, the electronic device can determine whether it has the same location information as at least one IoT device, and can control at least one IoT device based on the determined result. For example, when the electronic device has the same location information as the IoT device, it can control the IoT device to perform an operation according to setting information. When the electronic device does not have the same location information as the IoT device, it may not be able to control the IoT device to perform an operation according to setting information. Here, having the same location information as the IoT device may include: the location information of the electronic device (e.g., GPS information) and the location information of the IoT device (e.g., GPS information) being identical to each other, or the electronic device having a specified error range that determines they are identical to each other.
[0098] Additionally, when the user does not select this option, the electronic device can control the IoT device regardless of its location. In this case, when an event that is a condition for the execution of the first capability occurs, the electronic device can control the IoT device to perform operations based on the settings information, even though it does not have the same location information as the IoT device.
[0099] According to an embodiment, a user can select an IoT device (e.g., a TV) from a device list 511 included in a first screen 510. The electronic device can display a second screen 520 in response to receiving user input for selecting an IoT device.
[0100] According to an embodiment, the second screen 520 may include device information 521 regarding the selected IoT device (e.g., a TV). Device information 521 may include, for example, the name and specifications of the IoT device. According to an embodiment, the second screen 520 may include capability information regarding the selected IoT device. The second screen 520 may include, for example, a capability list 522 containing at least one capability of the selected IoT device (e.g., a TV) (e.g., channel setting capability, volume setting capability, and / or magic screen capability).
[0101] According to an embodiment, a user can select a capability (e.g., volume setting capability) from a capability list 522 included in a second screen 520. The electronic device may display a third screen 530 in response to receiving user input for selecting a capability.
[0102] According to an embodiment, the third screen 530 may include a user interface (UI) 531 for detailed setting options (e.g., volume setting options). For example, a user can specify a desired volume through the UI 531, and the electronic device can set the operation of the IoT device according to the specified volume.
[0103] According to an embodiment, the electronic device can configure a second capability associated with a first capability provided by a first application 310 to operate the IoT device based on user input. For example, when an event that is a condition for the execution of the first capability occurs based on user input via the first screen 510 to the third screen 530, the electronic device can be configured to turn on the TV and adjust the TV volume to 22%.
[0104] In the following text, reference will be made to Figure 6a and Figure 6b A description is given of the operation of displaying a user interface differently depending on the application in the electronic device, according to an embodiment.
[0105] Figure 6a and Figure 6b Figures 600 and 620 illustrate a user interface displayed by an electronic device according to an embodiment. The operation of the electronic device, which will be described below, can be performed by electronic device 301, and by the processor of electronic device 301 (e.g., ...). Figure 1 The processor 120 or the second application 320 executes the operation. The operation of the electronic device described below is corresponding to the above reference. Figure 4 Operations 415 to 419 are described.
[0106] Reference Figure 6a and Figure 6b The electronic device can identify an application that sends a request to display a user interface for setting up a second capability of the IoT device for operation, wherein the second capability of the IoT device is associated with a first capability provided by the application (e.g., first application 310). The electronic device can also send a request to a server (e.g., Figure 3 The electronic device filters device information and capability information of at least one IoT device from multiple device information and multiple capability information of IoT devices registered in the IoT service server 302, wherein at least one IoT device supports capabilities associated with a first capability provided by an identified application. The electronic device can generate a user interface and display it on a display (e.g., [device name missing]) based on the filtered device information and filtered capability information of at least one IoT device. Figure 1 The user interface is displayed on the display module 160.
[0107] Reference Figure 6aThe electronic device can identify the application as calendar application 610. The electronic device can filter among multiple device information and capability information entries of IoT devices registered with the server to find those supporting capabilities associated with a first capability of calendar application 610. For example, IoT devices supporting capabilities associated with the first capability of calendar application 610 may include TVs and speakers, and the electronic device can generate a first screen 611, wherein the first screen 611 includes a device list 613 containing IoT devices including TVs and speakers.
[0108] According to an embodiment, the electronic device can generate a screen that includes each of the capabilities in a capability list, wherein the capability list includes the capabilities of each IoT device among the IoT devices included in the device list 613. For example, a second screen 612 that includes a capability list 614 containing TV capabilities and a screen (not shown) that includes a capability list containing speaker capabilities can be generated. For example, capability list 614 may include volume adjustment capabilities.
[0109] According to an embodiment, the electronic device can identify that application 310 is calendar application 610, thereby displaying a first screen 611 on the display, wherein the first screen 611 includes a device list 613 of IoT devices registered with a server that support capabilities associated with a first capability of calendar application 610. For example, the electronic device can display a second screen 612 on the display in response to receiving user input for selecting a TV in device list 613, wherein capability list 614 includes TV capabilities (e.g., volume adjustment capabilities) associated with the first capability of calendar application 610.
[0110] Reference Figure 6b The electronic device can identify the application as clock application 630. The electronic device can filter among multiple device information and capability information entries of IoT devices registered with the server to find those supporting capabilities associated with the first capability of clock application 630. For example, IoT devices supporting capabilities associated with the first capability of clock application 630 may include TVs, lights, and blinds, and the electronic device can generate a first screen 631, wherein the first screen 631 includes a device list 633 containing IoT devices such as TVs, lights, and blinds.
[0111] According to an embodiment, the electronic device can generate a screen that includes each of the capabilities in a capability list, wherein the capability list includes the capabilities of each of the IoT devices included in device list 633. For example, a second screen 632 that includes a capability list 634 containing TV capabilities, a screen (not shown) that includes a capability list containing light capabilities, and a screen (not shown) that includes a capability list containing blind capabilities. For example, capability list 634 may include volume control capabilities and magic screen capabilities.
[0112] According to an embodiment, the electronic device can identify that the application is a clock application 630, thereby displaying a first screen 631 on the display, wherein the first screen 631 includes a device list 633 of IoT devices registered with a server that support capabilities associated with a first capability of the clock application 630. For example, the electronic device can display a second screen 632 on the display in response to receiving user input for selecting a TV in the device list 633, wherein the capability list 634 includes TV capabilities (e.g., volume adjustment capabilities and magic screen capabilities) associated with the first capability of the clock application 630.
[0113] According to the above embodiments, the electronic device can display a user interface for setting up and operating a second capability associated with a first capability provided by the application, depending on the application that sends the request to display the user interface. The electronic device can display an IoT device that supports capabilities associated with the first capability of the application (in which the user registers an event as an execution condition of the first capability) and a user interface generated based on the capabilities of the respective application, thereby improving the user experience for linking IoT devices in each scenario for various applications.
[0114] In the following text, reference will be made to Figure 7 A description is given of the operation of displaying a user interface in an electronic device according to different user accounts, based on an embodiment.
[0115] Figure 7 Figure 700 illustrates a user interface displayed by an electronic device according to an embodiment. The operation of the electronic device, which will be described below, can be performed by the electronic device 301, the processor of the electronic device 301 (e.g., ...). Figure 1 The processor 120 or the second application 320 executes the operation. The operation of the electronic device described below can be referred to above accordingly. Figure 4 Operations 415 to 419 are described.
[0116] According to an embodiment, the electronic device can identify a user account entered into the electronic device. The electronic device can identify an application that sends a request to display a user interface for setting up a second capability of the IoT device for operation, wherein the second capability is associated with a first capability provided by the application (e.g., first application 310). The electronic device can filter among multiple device information and multiple capability information of the IoT device registered using the identified user account, regarding device information and capability information of at least one IoT device supported by the identified application. The electronic device can generate a user interface based on the filtered device information and filtered capability information of at least one IoT device and display it on a display (e.g., [missing information]). Figure 1 The user interface is displayed on the display module 160.
[0117] Reference Figure 7 For example, the electronic device can recognize that the user account entered into the electronic device is the first user account 701. The electronic device can recognize the displayed message. Figure 7 The application requested by the user interface shown is the first application. The electronic device can filter among multiple device information and multiple capability information entries of IoT devices registered using the first user account 701 to find those IoT devices that support capabilities associated with the first capability of the first application. For example, IoT devices registered using the first user account 701 may include TVs, lights, and blinds, and IoT devices supporting capabilities associated with the first capability of the first application may include TVs, lights, and blinds. In this case, the electronic device can generate a first screen 710 including a device list 711 containing IoT devices such as TVs, lights, and speakers.
[0118] As another example, the electronic device can identify that the user account entered into the electronic device is a second user account 702. The electronic device can filter among multiple device information and multiple capability information entries for IoT devices registered using the second user account 702 to identify those supporting capabilities associated with the first capability of the first application. For example, IoT devices registered using the second user account 702 may include TVs and lights, and may not include blinds. For example, IoT devices supporting capabilities associated with the first capability of the first application may include TVs, lights, and blinds. In this case, the electronic device can generate a second screen 720 that includes a device list 721 containing IoT devices including TVs and lights.
[0119] According to an embodiment, the electronic device can recognize that the user account entered into the electronic device is a first user account 701, thereby displaying a first screen 710 on the display. The first screen 710 includes a device list 711 of IoT devices registered using the first user account 701 that support capabilities associated with a first capability of a first application. For example, the device list 711 may include TVs, lights, and blinds. The electronic device can also recognize that the user account is a second user account 702, thereby displaying a second screen 712 on the display. The second screen 712 includes a device list 721 of IoT devices registered using the second user account 702 that support capabilities associated with the first capability of a first application. For example, the device list 721 may include TVs and lights.
[0120] According to the above embodiments, the electronic device can display different user interfaces for setting up and operating the IoT device using a second capability associated with a first capability provided by an application, depending on the user account entered into the electronic device. The electronic device can display a user interface and its capabilities generated based on the IoT device registered using a user account, thereby providing a personalized user experience for linking the IoT device for each user account.
[0121] In the following text, reference will be made to Figure 8a and Figure 8b This describes the operation of controlling an IoT device to output notifications in an electronic device according to an embodiment.
[0122] Figure 8a and Figure 8b These are diagrams 800 and 820 used to illustrate the operation of an electronic device according to an embodiment. The electronic device 801 (e.g., ...) will be described below. Figure 3 The operation of the electronic device 301 can be controlled by the processor of the electronic device 801 (e.g., Figure 1 The processor 120) executes the operation. The operation of the electronic device described below corresponds to the above reference. Figure 4 Operations 425 to 429 are described.
[0123] Reference Figure 8a and Figure 8b For example, electronic device 801 may be running an application located in a room and detecting sounds in the room (e.g., a sound detector application). According to an embodiment, the sound detector application can detect sound to perform a notification capability. According to an embodiment, electronic device 801 may be configured to control a designated IoT device to output a notification when the sound detector application detects sound. Electronic device 801 can detect sound by means of a sound detector application, thereby controlling the designated IoT device to output a notification. According to an embodiment, the electronic device can be based on... Figure 5The user interface shown receives user input to configure a specified IoT device. For example, the specified IoT device may include a TV 802 in the living room. For example, the TV 802 may output notifications via voice through a speaker, or it may output notifications visually on a display.
[0124] According to an embodiment, electronic device 801 can control IoT device to output notifications based on a language set in electronic device 801 or a language set in the IoT device. For example, the language set in electronic device 801 could be English, and the language set in TV 802 could be Korean. Figure 8a The illustrated embodiment corresponds to the case where electronic device 801 controls an IoT device to output notifications based on the IoT device's settings language. Figure 8b The embodiments shown correspond to the case where electronic device 801 controls IoT device to output notifications based on the settings language of electronic device 801.
[0125] Reference Figure 8a In response to the detection of an infant's crying via a sound detector application, electronic device 801 can control TV 802 to output a notification 810 indicating that the infant is crying in Korean, which is the set language of TV 802. (See reference...) Figure 8b In response to detecting the baby's crying by means of a sound detector application, the electronic device 801 can control the TV 802 to output a notification 815 that the baby is crying in English, which is the language set in the electronic device 801.
[0126] In the following text, reference will be made to Figure 9 The present invention provides an operation description of setting the operation of an IoT device in an electronic device by means of a clock application, and controlling the operation of the IoT device based on the setting information, according to an embodiment.
[0127] Figure 9 This is a diagram 900 illustrating the operation of an electronic device according to an embodiment. The electronic device 901 (e.g., [example]) will be described below. Figure 3 The operation of the electronic device 301 can be controlled by the processor of the electronic device 901 (e.g., Figure 1 The processor 120) executes the operation. The operation of the electronic device described below corresponds to the above reference. Figure 4 Operations 409 to 429 are described.
[0128] Reference Figure 9Electronic device 901 may be running a clock application. Electronic device 901 may display a first user interface 910 for setting an alarm. Electronic device 901 may set the alarm based on user input received through the first user interface 910. According to an embodiment, the first user interface 910 may include items (e.g., SmartThings actions) mapped to the operation of a second user interface 920. The second user interface 920 may include a user interface for setting the operation of at least one IoT device that supports capabilities associated with the clock application's capabilities. Electronic device 901 may display the second user interface 920 based on user input for selecting items. Electronic device 901 may filter device information and capability information about IoT devices that support capabilities associated with the clock application's alarm capabilities, and may display the second user interface 920 based on the filtered information. Electronic device 901 may set the operation of at least one IoT device (e.g., TV 902, blinds 903, and light 904) based on user input received through the second user interface 920. For example, electronic device 901 may be configured, based on user input received through a second user interface 920, to control the opening of TV 902, blinds 903, and light 904 when an alarm set through a first user interface 910 rings. For example, when configured to cause the alarm to ring at a certain time, electronic device 901 may send control requests for TV 902, blinds 903, and light 904 to an IoT service server (e.g., [website address]). Figure 3 The IoT service server 302 can control the TV 902, the blinds 903, and the light 904 to operate sequentially or simultaneously based on control requests received from the electronic device 901.
[0129] In the following text, reference will be made to Figure 10 The present invention describes the operation of setting the operation of an IoT device by means of a sound detector application in an electronic device according to an embodiment, and the operation of the IoT device controlled based on the setting information.
[0130] Figure 10 This is a diagram 1000 illustrating the operation of an electronic device according to an embodiment. The electronic device 1001 (e.g., Figure 3 The operation of the electronic device 301 can be controlled by the processor of the electronic device 1001 (e.g., Figure 1 The processor 120) executes the operation. The operation of the electronic device described below corresponds to the above reference. Figure 4 Operations 409 to 429 are described.
[0131] Reference Figure 10Electronic device 1001 may be running a sound detector application. Electronic device 1001 may display a first user interface 1010 for setting sound detection capabilities. Electronic device 1001 may set reminders based on user input received through the first user interface 1010. According to an embodiment, the first user interface 1010 may include items (e.g., SmartThings reminders) mapped to the operation of a second user interface 1020. The second user interface 1020 may include a user interface for setting the operation of at least one IoT device that supports capabilities associated with the capabilities of the sound detector application. Electronic device 1001 may display the second user interface 1020 based on user input for selecting items. Electronic device 1001 may filter device information and capability information of IoT devices that support capabilities associated with notification capabilities based on sound detection from the sound detector application, and may display the second user interface 1020 based on the filtered information. Electronic device 1001 may set the operation of at least one IoT device (e.g., TV 1002) based on user input received through the second user interface 1020. For example, based on user input received through the second user interface 1020, the electronic device 1001 can configure the TV 1002 to output a notification when it detects a baby crying, as set through the first user interface 1010. For example, when a baby's crying is detected, the electronic device 1001 can output a notification sound and can send a control request for the TV 1002 to an IoT service server (e.g., Figure 3 The IoT service server 302 can output a notification that a baby is crying through the speaker of TV 1002 based on a control request received from electronic device 1001.
[0132] In the following text, reference will be made to Figure 11 The description describes the operation of setting the operation of an IoT device in an electronic device using a calendar application, according to an embodiment, and the operation of the IoT device controlled based on the setting information.
[0133] Figure 11 This is a diagram 1100 illustrating the operation of an electronic device according to an embodiment. The electronic device 1101 (e.g., Figure 3 The operation of the electronic device 301 can be controlled by the processor of the electronic device 1101 (e.g., Figure 1 The processor 120) executes the operation. The operation of the electronic device described below corresponds to the above reference. Figure 4 Operations 409 to 429 are described.
[0134] Reference Figure 11Electronic device 1101 may be running a calendar application. Electronic device 1101 may display a first user interface 1110 for adding events. Electronic device 1101 may display a second user interface 1120 associated with notification settings of the calendar application based on user input received through the first user interface 1110. According to an embodiment, the second user interface 1120 may include displaying items (e.g., reminders on a SmartThings device) mapped to the operation of a third user interface 1130. The third user interface 1130 may include a user interface for setting up operations of at least one IoT device that supports capabilities associated with the calendar application's notification capabilities. Electronic device 1101 may display the third user interface 1130 based on user input for selecting items. Electronic device 1101 may filter device information and capability information of IoT devices that support capabilities associated with the calendar application's reminder capabilities, and may display the third user interface 1130 based on the filtered information. Electronic device 1101 may set up operations of at least one IoT device (e.g., TV 1102 and speaker 1103) based on user input received through the third user interface 1130, as shown in user interface 1140. For example, based on user input received through a third user interface 1130, electronic device 1101 can configure TV 1102 and speaker 1103 to output a notification when a specified date arrives, according to a schedule added through a first user interface 1110. For example, when the specified date arrives, electronic device 1101 can output a notification and can send control requests for TV 1102 and speaker 1103 to an IoT service server (e.g., Figure 3 The IoT service server 302 can output schedule-specific notifications via TV 1102 and speaker 1103 based on control requests received from electronic device 1101. For example, the IoT service server can control TV 1102 and speaker 1103 to operate sequentially or simultaneously.
[0135] In the following text, reference will be made to Figure 12 The description describes, according to an embodiment, the operation of setting the operation of an IoT device using a weather application in an electronic device, and the operation of controlling the IoT device based on the setting information.
[0136] Figure 12 This is a diagram 1200 illustrating the operation of an electronic device according to an embodiment. The electronic device 1201 (e.g., Figure 3 The operation of the electronic device 301 can be controlled by the processor of the electronic device 1201 (e.g., Figure 1 The processor 120) executes the operation. The operation of the electronic device described below corresponds to the above reference. Figure 4 Operations 409 to 429 are described.
[0137] Reference Figure 12 Electronic device 1201 may be running a weather application. Electronic device 1201 may display a first user interface 1210 for outputting weather information. According to an embodiment, the first user interface 1210 may include a second user interface 1215, wherein the second user interface 1215 is used to set up the operation of at least one IoT device with capabilities associated with the weather application. According to an embodiment, the second user interface 1215 may include information obtained by means of at least one IoT device (e.g., air purifier 1202) associated with the weather application's capabilities and items 1220 for setting up the operation of at least one IoT device. Electronic device 1201 may set up the operation of at least one IoT device (e.g., air purifier 1202) based on user input for selecting item 1220. For example, the user of electronic device 1201 may determine whether to operate air purifier 1202 based on indoor air quality information output through the second user interface 1215, and electronic device 1201 may set up control of air purifier 1202 based on user input for selecting item 1220. For example, when receiving user input for selecting item 1220, electronic device 1201 can send a control request for air purifier 1202 to an IoT service server (e.g., Figure 3 The IoT service server 302 can control the air purifier 1202 to operate based on control requests received from the electronic device 1201.
[0138] In the following text, reference will be made to Figure 13 The description describes, according to an embodiment, the operation of setting the operation of an IoT device by means of a smart view application in an electronic device, and the operation of controlling the IoT device based on the setting information.
[0139] Figure 13 This is a diagram 1300 illustrating the operation of an electronic device according to an embodiment. The electronic device 1301 (e.g., Figure 3 The operation of the electronic device 301 can be controlled by the processor of the electronic device 1301 (e.g., Figure 1 The processor 120) executes the operation. The operation of the electronic device described below corresponds to the above reference. Figure 4 Operations 409 to 429 are described.
[0140] Reference Figure 13Electronic device 1301 may be running a smart view application. According to an embodiment, the smart view application may include the ability to output content output by electronic device 1301 via an output device (e.g., a display) of another electronic device (e.g., an IoT device) that is wired or wirelessly connected to electronic device 1301. Electronic device 1301 may display a first user interface 1310 for setting smart view capabilities. Electronic device 1301 may select another electronic device to mirror the screen of electronic device 1301 based on user input received through the first user interface 1310. According to an embodiment, electronic device 1301 may display a second user interface 1320 based on user input for selecting another electronic device (e.g., a Samsung 6 series (43) TV). The second user interface 1320 may include a user interface for setting the operation of at least one IoT device that supports capabilities associated with the capabilities of the smart view application. Electronic device 1301 may filter device information and capability information about IoT devices that support capabilities associated with the smart view capabilities of the smart view application, and may display the second user interface 1320 based on the filtered information. Electronic device 1301 can provide optimized setting information about the operation of at least one IoT device (e.g., lamp 1302, floor lamp 1303, and blinds 1304) around another selected electronic device (e.g., Samsung 6 Series (43)). For example, the optimized setting information may be to turn off lamp 1302, adjust the brightness of floor lamp 1303 to 20%, and close blinds 1304. For example, electronic device 1301 can set the operation of at least one IoT device based on user input for selecting the “Start” button, based on the setting information provided through the second user interface 1320. For example, electronic device 1301 may set the operation of at least one IoT device based on user input for selecting the “Start” button, when using another electronic device (e.g., Samsung 6 Series (43)) selected through the first user interface 1310 to perform Smart View capabilities, to turn off lamp 1302, adjust the brightness of floor lamp 1303 to 20%, and close blinds 1304. For example, when using a designated electronic device (e.g., [TV] Samsung 6 Series (43)) to perform smart view capabilities, electronic device 1301 can output the screen of electronic device 1301 on the display of the designated electronic device (e.g., [TV] Samsung 6 Series (43)), and can send control requests for lamp 1302, floor lamp 1303 and blinds 1304 to an IoT service server (e.g., Figure 2The IoT service server 302 can control the operation of the light 1302, adjust the brightness of the floor lamp 1303 to 20%, and close the blinds 1304 based on control requests received from the electronic device 1301. For example, the IoT service server can control the light 1302, the floor lamp 1303, and the blinds 1304 to operate sequentially or simultaneously.
[0141] In the following text, reference will be made to Figure 14 The description, according to an embodiment, describes the operation of setting up an IoT device in an electronic device by means of a calling application, and the operation of controlling the IoT device based on the setting information.
[0142] Figure 14 This is a diagram 1400 illustrating the operation of an electronic device according to an embodiment. The electronic device 1401 (e.g., Figure 3 The operation of the electronic device 301 can be controlled by the processor of the electronic device 1401 (e.g., Figure 1 The processor 120) executes the operation. The operation of the electronic device described below corresponds to the above reference. Figure 4 Operations 409 to 429 are described.
[0143] Reference Figure 14Electronic device 1401 may be running a calling application. For example, electronic device 1401 may be in a state where it is receiving calls. Electronic device 1401 may receive calls, thereby displaying a first user interface 1410. According to an embodiment, the first user interface 1410 may be an incoming call screen. Electronic device 1401 may accept or reject incoming calls based on user input received through the first user interface 1410. According to an embodiment, the first user interface 1410 may display a second user interface 1430 as a pop-up screen for setting the operation of IoT devices around electronic device 1401. The second user interface 1430 may include a user interface for setting the operation of at least one IoT device that supports capabilities associated with the calling application's capabilities. Electronic device 1401 may filter device information and capability information of IoT devices that support capabilities associated with the calling application's calling capabilities, and may display the second user interface 1430 based on the filtered information. According to an embodiment, the second user interface 1430 may include a device list 1431 of at least one available IoT device around electronic device 1401 and operation setting buttons (e.g., a first button 1432) for each IoT device. According to an embodiment, electronic device 1401 can set the operation of an IoT device (e.g., a Samsung TV kitchen) corresponding to the first button 1432 based on user input for selecting the first button 1432. For example, the first button 1432 can be an object for setting a mute capability. For example, electronic device 1401 can set the mute capability of the TV in the kitchen based on user input for selecting the first button 1432. For example, when receiving user input for selecting the first button 1432, electronic device 1401 can send a control request for the TV in the kitchen to an IoT service server (e.g., ...). Figure 3 The IoT service server 302 can perform the mute function of the TV in the kitchen based on control requests from the electronic device 1401.
[0144] According to an embodiment, the second user interface 1430 may include a second button 1433 mapped to an operation that minimizes the pop-up screen. The electronic device 1401 may minimize the corresponding pop-up screen based on user input for selecting the second button 1433. For example, the electronic device 1401 may display a third user interface 1420 based on user input for selecting the second button 1433. The third user interface 1420 may include an icon 1440 showing the minimized pop-up window corresponding to the second user interface 1430.
[0145] In the following text, reference will be made to Figure 15 The description describes, according to an embodiment, the operation of setting the operation of an IoT device in an electronic device by means of a music application, and the operation of controlling the IoT device based on the setting information.
[0146] Figure 15 This is a diagram 1500 illustrating the operation of an electronic device according to an embodiment. The electronic device 1501 (e.g., [illustrated here]) will be described below. Figure 3 The operation of the electronic device 301 can be controlled by the processor of the electronic device 1501 (e.g., Figure 1 The processor 120) executes the operation. The operation of the electronic device described below corresponds to the above reference. Figure 4 Operations 409 to 429 are described.
[0147] Reference Figure 15 Electronic device 1501 may be running a music application. For example, electronic device 1501 may play music based on user input. Electronic device 1501 may receive user input for playing music, thereby displaying a first user interface 1510. According to an embodiment, the first user interface 1510 may be a music playback screen. Electronic device 1501 may set up a music playback environment based on user input received through the first user interface 1510. According to an embodiment, the first user interface 1510 may display a second user interface 1530 for setting up the operation of IoT devices around electronic device 1501 as a pop-up screen. The second user interface 1530 may include a user interface for setting up the operation of at least one IoT device that supports capabilities associated with the capabilities of the music application. Electronic device 1501 may filter device information and capability information of IoT devices that support capabilities associated with the music playback capabilities of the music application, and may display the second user interface 1530 based on the filtered information. According to an embodiment, the second user interface 1530 may include a device list 1531 of at least one available IoT device around electronic device 1501 and operation setting buttons (e.g., a first button 1532) for each IoT device. According to an embodiment, electronic device 1501 can set the operation of an IoT device (e.g., a Samsung TV kitchen) corresponding to the first button 1532 based on user input for selecting the first button 1532. For example, the first button 1532 can be an object for setting a mute capability. For example, electronic device 1501 can set the mute capability of the TV in the kitchen based on user input for selecting the first button 1532. For example, when receiving user input for selecting the first button 1532, electronic device 1501 can send a control request for the TV in the kitchen to an IoT service server (e.g., ...). Figure 3 The IoT service server 302 can perform the mute function of the TV in the kitchen based on the control request from the electronic device 1501.
[0148] In the following text, reference will be made to Figure 16 A description of the operation of an electronic device according to an embodiment is given.
[0149] Figure 16 This is a flowchart 1600 illustrating the operation of an electronic device according to an embodiment. The electronic device described below (e.g., Figure 3 The operation of the electronic device 301 can be controlled by the processor of the electronic device (e.g., Figure 1 The processor 120) executes.
[0150] In operation 1601, the electronic device can run a first application (e.g., Figure 3 The first application 310). According to an embodiment, the electronic device can receive user input for running the first application, thereby running the first application. According to an embodiment, the first application can be stored in the memory of the electronic device (e.g., Figure 1 The memory (130) can be used to store the application, which can be configured to perform specified capabilities. The application may include, for example, a clock, calendar, accessibility features (e.g., a sound detector), call, weather, smart view, or a third-party application.
[0151] In operation 1603, the electronic device may display a first user interface. According to an embodiment, when the first application is running, the electronic device may display a display (e.g., ...). Figure 1 The first user interface is displayed on the display module 160.
[0152] In operation 1605, the electronic device can receive input for selecting a first user interface.
[0153] In operation 1607, upon receiving input for selecting a first user interface, the electronic device can filter device information and capability information about at least one IoT device, wherein the at least one IoT device supports capabilities associated with a first capability provided by a first application. According to an embodiment, the electronic device can be based on input to a server (e.g., Figure 3 The IoT service server 302 filters device information about at least one IoT device by registering IoT device information with the server and IoT device information supported by the application, wherein the at least one IoT device supports capabilities associated with a first capability provided by the first application. According to an embodiment, the IoT device information registered with the server may include information via a communication circuit (e.g., ...). Figure 1 The communication module 190) from the server (e.g., Figure 3 The IoT service server 302 receives and stores data in a database (e.g., ...) by electronic devices. Figure 3 Information from the device and capability database 321. According to an embodiment, application-supported IoT device information may include data from a server (e.g., via a communication circuit). Figure 3The application policy server 304 receives and stores the information in a database (e.g., application policy database 323) by the electronic device. According to an embodiment, a method for filtering device information and capability information about at least one IoT device supporting capabilities associated with a first capability provided by a first application in the electronic device can be described with reference to the above. Figure 3 and Figure 4 The methods used to describe them are the same.
[0154] In operation 1609, the electronic device may display a second user interface on a display, wherein the second user interface includes filtered device information and filtered capability information about at least one IoT device. According to an embodiment, the second user interface may include a user interface for setting the capabilities of the filtered at least one IoT device for operation. According to an embodiment, the second user interface may include a device list of the filtered at least one IoT device and a capability list including at least one capability of each IoT device. For example, the electronic device may display the device list of the filtered at least one IoT device and may display a capability list for the IoT device selected in the device list. As another example, the electronic device may display the list in a form where the device list of the filtered at least one IoT device and the capability list of each IoT device are integrated. (See above reference...) Figures 3 to 5 A second user interface displayed by an electronic device according to an embodiment and a method for displaying the second user interface are described, so repeated descriptions will be omitted or only briefly described.
[0155] In operation 1611, the electronic device may receive input for selecting a first IoT device among at least one IoT device. According to an embodiment, the electronic device may receive input for selecting the first IoT device among at least one IoT device via a second user interface. According to an embodiment, the electronic device may select a capability from a capability list including at least one capability of the first IoT device, and may receive setting input for the selected capability.
[0156] In operation 1613, the electronic device can configure a second capability of the first IoT device associated with the first capability for operation. According to an embodiment, when input for selecting the first IoT device is received, the electronic device can configure a second capability of the first IoT device associated with the first capability provided by the first application for operation. According to an embodiment, the method for configuring whether the second capability is operated and the operation method based on input received through a second user interface are similar to those described above. Figure 3 and Figure 4 The method described is the same. According to an embodiment, when an event occurs that serves as an execution condition for a first capability provided by a first application, a second capability can be executed.
[0157] According to an embodiment, when an event that serves as an execution condition for the first capability occurs, the electronic device can control the operation of the second capability of the first IoT device. According to an embodiment, the method for controlling the operation of the second capability of the first IoT device in the electronic device can be the same as described above. Figure 3 and Figure 4 The methods used to describe them are the same.
[0158] According to embodiments of this disclosure, electronic devices (e.g., Figure 1 Electronic device 101 Figure 3 Electronic device 301, Figure 9 Electronic device 901, Figure 10 Electronic device 1001 Figure 11 Electronic device 1101, Figure 12 Electronic device 1201, Figure 13 Electronic device 1301, Figure 14 Electronic device 1401, or Figure 15 The electronic device 1501 may include: a display (e.g., Figure 3 The display module 160), and a processor operably connected to the display (e.g., Figure 1 The processor 120), and the first application (e.g., ) operably connected to the display and the processor and storing the processor. Figure 1 Application 146 or Figure 3 The memory of the first application 310) (e.g., Figure 1 (Memory 130). The memory may store one or more instructions, wherein the one or more instructions, when executed, cause the processor to perform the following operations: displaying a first user interface on a display when the first application is running, and, upon receiving input for selecting the first user interface, based on a request to a server (e.g., Figure 1 Server 108 or Figure 3 The Internet of Things (IoT) service server 302 registers IoT device information and application-supported IoT device information, filters device information and capability information about at least one IoT device, wherein at least one IoT device supports capabilities associated with a first capability provided by a first application, displays a second user interface on a display, wherein the second user interface includes filtered device information and filtered capability information about at least one IoT device, and when input for selecting a first IoT device among the at least one IoT device is received through the second user interface, sets a second capability of the first IoT device for operation, wherein the second capability is associated with the first capability.
[0159] According to embodiments of this disclosure, a second capability can be executed when an event that serves as an execution condition for a first capability occurs.
[0160] According to embodiments of this disclosure, the electronic device may further include communication circuitry (e.g., Figure 1 The communication module 190). The one or more instructions may cause the processor to perform the following operation: via a communication circuit from a first server (e.g., Figure 3 The IoT service server 302) receives device information and capability information of IoT devices registered with the first server, and stores the received device information and capability information of IoT devices registered with the first server in a first database (e.g., Figure 3 The device and capability database 321), and via communication circuit from a second server (e.g., Figure 3 The application policy server 304) receives device information and capability information of IoT devices associated with each capability provided by at least one application, and stores the received device information and capability information of IoT devices associated with each capability provided by at least one application in a second database (e.g., Figure 3 The application strategy database (323) is used.
[0161] According to embodiments of this disclosure, the one or more instructions may cause the processor to perform the following operations: when the electronic device receives a notification from the first server via a communication circuit that information stored in the first server has been added, corrected, or deleted; when the electronic device is powered on; or when the electronic device receives a user account; receive device information and capability information of the IoT device registered with the first server via a communication circuit; and update the device information and capability information of the IoT device registered with the first server stored in the first database.
[0162] According to embodiments of this disclosure, the one or more instructions may cause the processor to perform the following operation: when an event occurs, control a second capability of the first IoT device to operate.
[0163] According to embodiments of this disclosure, the one or more instructions may cause the processor to perform the following operations: when an event occurs, determine whether the first IoT device is included in the IoT devices registered with the server, and when the first IoT device is included in the IoT devices registered with the server, control the second capability of the first IoT device to operate.
[0164] According to embodiments of this disclosure, the second user interface may include an option to operate a second capability of the first IoT device only when the electronic device has the same location information as the first IoT device.
[0165] According to embodiments of this disclosure, the one or more instructions may cause the processor to: identify a first application and filter device information and capability information about at least one IoT device in IoT device information registered with the server, wherein the at least one IoT device supports capabilities associated with a first capability provided by the identified first application.
[0166] According to embodiments of this disclosure, the one or more instructions may cause the processor to: identify a user account entered into an electronic device, and filter device information and capability information about at least one IoT device in IoT device information registered using the identified user account, wherein the at least one IoT device supports capabilities associated with a first capability provided by a first application.
[0167] According to embodiments of this disclosure, the operation of the first IoT device may include outputting a notification. The one or more instructions may cause the processor to: when an event occurs, control the first IoT device to output a notification based on a language set in the electronic device or a language set in the first IoT device.
[0168] According to embodiments of this disclosure, it is used in electronic devices (e.g., Figure 1 Electronic device 101 Figure 3 Electronic device 301, Figure 9 Electronic device 901, Figure 10 Electronic device 1001 Figure 11 Electronic device 1101, Figure 12 Electronic device 1201, Figure 13 Electronic device 1301, Figure 14 Electronic device 1401, or Figure 15 The method of providing a user interface in an electronic device 1501 may include: when the memory stored in the electronic device (e.g., Figure 1 The first application in the memory 130) (e.g., Figure 1 Application 146 or Figure 3 When the first application 310) is running, on the display of the electronic device (e.g. Figure 3 The first user interface is displayed on the display module 160. When input for selecting the first user interface is received, the first user interface is displayed based on the input to the server (e.g., the server). Figure 1 Server 108 or Figure 3The Internet of Things (IoT) service server 302 registers IoT device information and application-supported IoT device information, filters device information and capability information about at least one IoT device, wherein at least one IoT device supports capabilities associated with a first capability provided by a first application, displays a second user interface on a display, wherein the second user interface includes filtered device information and filtered capability information about at least one IoT device, and when input for selecting a first IoT device among the at least one IoT device is received through the second user interface, sets a second capability of the first IoT device for operation, wherein the second capability is associated with the first capability.
[0169] According to embodiments of this disclosure, a second capability can be executed when an event that serves as an execution condition for a first capability occurs.
[0170] According to embodiments of this disclosure, the method may include: via a communication circuit (e.g., Figure 1 The communication module 190) is from the first server (e.g., Figure 3 The IoT service server 302) receives device information and capability information of IoT devices registered with the first server, and stores the received device information and capability information of IoT devices registered with the first server in a first database (e.g., Figure 3 The device and capability database 321), and via communication circuit from a second server (e.g., Figure 3 The application policy server 304) receives device information and capability information of IoT devices associated with each capability provided by at least one application, and stores the received device information and capability information of IoT devices associated with each capability provided by at least one application in a second database (e.g., Figure 3 The application strategy database (323) is used.
[0171] According to embodiments of this disclosure, the method may include: receiving, via communication circuit, a notification from a first server that information stored in the first server has been added, corrected, or deleted; when the electronic device is powered on; or when the electronic device receives a user account; receiving via communication circuit device information and capability information of IoT devices registered with the first server; and updating the device information and capability information of IoT devices registered with the first server stored in a first database.
[0172] According to embodiments of this disclosure, the method may include: controlling a second capability of the IoT device to operate when an event occurs.
[0173] According to embodiments of this disclosure, the step of controlling the operation of a second capability of an IoT device may include: when an event occurs, determining whether a first IoT device is included in a list of IoT devices registered with a server, and when the first IoT device is included in a list of IoT devices registered with a server, controlling the operation of the second capability of the first IoT device.
[0174] According to embodiments of this disclosure, the second user interface may include an option to operate a second capability of the first IoT device only when the electronic device has the same location information as the first IoT device.
[0175] According to embodiments of this disclosure, the step of filtering device information and capability information about at least one IoT device may include: identifying a first application and filtering device information and capability information about at least one IoT device in IoT device information registered with a server, wherein at least one IoT device supports capabilities associated with a first capability provided by the identified first application.
[0176] According to embodiments of this disclosure, the step of filtering device information and capability information about at least one IoT device may include: identifying a user account entered into an electronic device, and filtering device information and capability information about at least one IoT device from IoT device information registered using the identified user account, wherein at least one IoT device supports capabilities associated with a first capability provided by a first application.
[0177] According to embodiments of this disclosure, the operation of the first IoT device may include outputting a notification. The method may include: when an event occurs, controlling the first IoT device to output a notification based on a language set in the electronic device or a language set in the first IoT device.
Claims
1. An electronic device comprising: monitor; At least one processor is operatively connected to the display; as well as A memory, operatively connected to the display and the processor, stores the first application. The memory stores one or more instructions, wherein the one or more instructions, when executed by the at least one processor, cause the electronic device to perform the following operations: Receive IoT device information from multiple Internet of Things (IoT) devices from a first external server, wherein the IoT device information includes device information and functional information; When the first application is running, a first user interface associated with the first application is displayed on the display. Based on the received IoT device information associated with each function provided by the first application, at least one IoT device associated with a function of the first application is determined from the plurality of IoT devices. When input for selecting a first user interface is received, a second user interface is displayed, wherein the second user interface includes device information and functional information about the at least one IoT device; Receives input via a second user interface for selecting a first function of the first IoT device among the at least one IoT devices; and The first function of the first IoT device is configured to operate when a first event occurs, which is a condition for the execution of the function of the first application.
2. The electronic device according to claim 1, wherein, When executed by the at least one processor, the one or more instructions cause the electronic device to perform the following operations: When the second application is running, a third user interface associated with the second application is displayed on the display. Based on the received IoT device information associated with each function provided by the second application, at least one IoT device associated with a function of the second application is determined from the plurality of IoT devices. When input for selecting a third user interface is received, a fourth user interface is displayed, wherein the fourth user interface includes device information and function information about the at least one IoT device associated with the function of the second application; The system receives input via a fourth user interface for selecting a second function of the second IoT device among the at least one IoT devices associated with the function of the second application; The second function of the second IoT device is configured to operate when a second event occurs, which is a condition for the execution of the function of the second application.
3. The electronic device according to claim 1, further comprising: Communication circuits Wherein, the one or more instructions, when executed by the at least one processor, cause the electronic device to perform the following operations: The communication circuit receives device information and functional information of IoT devices registered with the second external server, and stores the received device information and functional information of IoT devices registered with the second external server in the first database.
4. The electronic device according to claim 3, wherein, When executed by the at least one processor, the one or more instructions cause the electronic device to perform the following operations: When the electronic device receives a notification from the second external server via the communication circuit that information stored in the second external server has been added, corrected, or deleted, when the electronic device is powered on, or when the electronic device receives a user account, it receives device information and functional information of the IoT device registered with the second external server via the communication circuit, and updates the information stored in the first database.
5. The electronic device according to claim 3, wherein, When executed by the at least one processor, the one or more instructions cause the electronic device to perform the following operations: When the first event occurs, determine whether the first IoT device is included in the IoT devices registered with the second external server; as well as When the first IoT device is included among the IoT devices registered with the second external server, the first function controlling the first IoT device is operated.
6. The electronic device according to claim 1, wherein, The second user interface includes an option to operate the first function of the first IoT device only when the electronic device has the same location information as the first IoT device.
7. The electronic device according to claim 3, wherein, When executed by the at least one processor, the one or more instructions cause the electronic device to perform the following operations: Based on the device information and functional information of the IoT device registered with the second external server, the at least one IoT device associated with the first application and registered with the second external server is identified.
8. The electronic device according to claim 1, wherein, When executed by the at least one processor, the one or more instructions cause the electronic device to perform the following operations: Identify the user account entered into the electronic device; as well as Based on IoT device information registered using an identified user account received from a second external server, the at least one IoT device associated with the first application and registered using an identified user account is identified.
9. The electronic device according to claim 2, wherein, The first function of the first IoT device includes the operation of outputting notifications, and Wherein, the one or more instructions, when executed by the at least one processor, cause the electronic device to perform the following operations: When the first event occurs, the control of the first IoT device outputs the notification based on the language set in the electronic device or the language set in the first IoT device.
10. A method for providing a user interface in an electronic device, the method comprising: Receive IoT device information from multiple Internet of Things (IoT) devices from a first external server, wherein the received IoT device information includes device information and functional information; When a first application stored in the memory of the electronic device is run, a first user interface associated with the first application is displayed on the display of the electronic device. Based on the received IoT device information associated with each function provided by the first application, at least one IoT device associated with a function of the first application is determined from the plurality of IoT devices. When input for selecting a first user interface is received, a second user interface is displayed, wherein the second user interface includes device information and functional information about the at least one IoT device; and Receives input via a second user interface for selecting a first function of the first IoT device among the at least one IoT devices; and The first function of the first IoT device is configured to operate when a first event occurs, which is a condition for the execution of the function of the first application.
11. The method of claim 10, further comprising: When the second application stored in the memory is run, a third user interface associated with the second application is displayed on the display. Based on the received IoT device information associated with each function provided by the second application, at least one IoT device associated with a function of the second application is determined from the plurality of IoT devices. When input for selecting a third user interface is received, a fourth user interface is displayed, wherein the fourth user interface includes device information and function information about the at least one IoT device associated with the function of the second application; The system receives input via a fourth user interface for selecting a second function of the second IoT device among the at least one IoT devices associated with the function of the second application; The second function of the second IoT device is configured to operate when a second event occurs, which is a condition for the execution of the function of the second application.
12. The method according to claim 10, wherein, The second user interface includes an option to operate the first function of the first IoT device only when the electronic device has the same location information as the first IoT device.
13. The method of claim 10, further comprising: The system receives device information and functional information of IoT devices registered with the second external server, and stores the received device information and functional information of IoT devices registered with the second external server in the first database. The determination steps include: Based on the device information and functional information of the IoT device registered with the second external server, the at least one IoT device associated with the first application and registered with the second external server is identified.
14. The method of claim 10, wherein, The determination steps include: Identify the user account entered into the electronic device; and Based on IoT device information registered using an identified user account received from a second external server, the at least one IoT device associated with the first application and registered using an identified user account is identified.
15. The method according to claim 10, wherein, The primary function of the first IoT device includes outputting notifications. Also includes: When the first event occurs, the control of the first IoT device outputs the notification based on the language set in the electronic device or the language set in the first IoT device.
Citation Information
Patent Citations
Method for managing and controlling external IoT device and electronic device supporting same
CN108694306A
Techniques for implementing location based device services
US20160241994A1
Home api
US20180213037A1
Systems and methods for performing actions on network-connected objects in response to reminders on devices based on an action criterion
US20200005777A1
KR20200012133A