Server for providing internet of things-based services, operation method thereof, and storage medium

A server-based system manages IoT devices by providing map data and user permissions, addressing security and privacy issues in shared spaces by controlling access to IoT devices.

WO2025170361A1PCT designated stage Publication Date: 2025-08-14SAMSUNG ELECTRONICS CO LTD
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
PCT/KR2025/001830
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2024-02-16
Filing Date
2025-02-07
Publication Date
2025-08-14

AI Technical Summary

Technical Problem

Existing IoT systems lack effective methods to manage and control IoT devices securely while ensuring user privacy and permissions, particularly in shared spaces, leading to potential privacy violations.

Method used

A server-based system that provides map data to external devices, allowing controlled access and permissions based on user roles, enabling secure management and control of IoT devices within specific spaces.

Benefits of technology

Enhances security by granting different permissions to users based on their roles, allowing controlled access to IoT devices, thereby maintaining privacy and usability in shared environments.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure KR2025001830_14082025_PF_FP_ABST
    Figure KR2025001830_14082025_PF_FP_ABST
Patent Text Reader

Abstract

According to an embodiment, a server (208, 350) may comprise a communication circuit (491), at least one processor (421), and a memory (431) for storing instructions. According to an embodiment, the instructions may be configured, when executed by the at least one processor, to cause the server to: receive a request for providing at least a part of first map data from an electronic device through the communication circuit, the first map data indicating a plurality of spaces of a building and locations of a plurality of controlled devices in the plurality of spaces; transmit a message including access information to an external electronic device selected by the electronic device, wherein the at least a part of the first map data is provided to the external electronic device accessing the server by using the access information; on the basis that at least one controlled device is allowed to be controlled by the external electronic device or that the at least one controlled device belongs to at least one space, generate second map data which corresponds to the at least a part of the first map data and indicates at least one space of the building and a location of the at least one controlled device; and transmit the second map data to the external electronic device through the communication circuit.
Need to check novelty before this filing date? Find Prior Art

Description

Server for providing Internet of Things-based services, its operation method and storage medium

[0001] One embodiment disclosed in this document relates to a server for providing an Internet of Things-based service, an operation method thereof, and a storage medium.

[0002] Advances in wireless communication technology have enabled various objects to be equipped with communication capabilities, forming networks and facilitating convenient control. This networking of objects with communication capabilities is called the Internet of Things (IoT), and it is widely used in everyday life. The IoT, through the convergence and integration of existing IT technologies with various industries, can be applied to diverse fields such as smart homes, smart buildings, smart cities, smart or connected cars, smart grids, healthcare, smart appliances, and advanced medical services.

[0003] Meanwhile, homes are equipped with a variety of home appliances for the convenience of users. Various services are being proposed to utilize IoT technology to facilitate the operation and control of home appliances. Home network technology can provide various services to users within the home via the home network. For example, users can control various IoT devices (e.g., IoT-enabled home appliances or small electronic devices) that make up the home network using personal electronic devices (e.g., smartphones). Users can run applications to manage each IoT device, and may desire a wider range of services to control the IoT devices.

[0004] According to one embodiment, the server (208, 350) may include a communication circuit (491), at least one processor (421), and a memory (431) storing instructions. According to one embodiment, the instructions, when executed by the at least one processor, are configured to cause the server to receive a request from an electronic device to provide at least a portion of first map data, wherein the first map data may represent a plurality of spaces of a building and locations of a plurality of controlled devices within the plurality of spaces.

[0005] According to one embodiment, the instructions, when executed by the at least one processor, are configured to cause the server to transmit a message including access information to an external electronic device selected by the electronic device, and at least a portion of the first map data may be provided to the external electronic device that accesses the server using the access information.

[0006] According to one embodiment, the instructions, when executed by the at least one processor, may be configured to cause the server to generate second map data representing a location of at least one space of the building and of the at least one controlled device based on the at least one controlled device being allowed to be controlled by the external electronic device or the at least one controlled device belonging to at least one space, and corresponding to at least a portion of the first map data.

[0007] According to one embodiment, the instructions, when executed by the at least one processor, may be configured to cause the server to transmit the second map data to the external electronic device via the communication circuit.

[0008] According to one embodiment, a method for providing an Internet of Things-based service on a server may include receiving a request from an electronic device to provide at least a portion of first map data, wherein the first map data may represent a plurality of spaces of a building and locations of a plurality of controlled devices within the plurality of spaces.

[0009] According to one embodiment, the method may include transmitting a message including access information to an external electronic device selected by the electronic device, wherein at least a portion of the first map data may be provided to the external electronic device that accesses the server using the access information.

[0010] According to one embodiment, the method may include generating second map data representing a location of at least one space of the building and of the at least one controlled device, the second map data corresponding to at least a portion of the first map data, based on at least one controlled device being allowed to be controlled by the external electronic device or based on the at least one controlled device belonging to at least one space.

[0011] According to one embodiment, the method may include transmitting the second map data to the external electronic device.

[0012] In a non-transitory storage medium storing computer-readable instructions, the instructions, when executed by at least one processor (421) of a server (208, 350), are configured to cause the server to perform at least one operation, wherein the at least one operation may include receiving a request from an electronic device to provide at least a portion of first map data, wherein the first map data may represent a plurality of spaces of a building and locations of a plurality of controlled devices within the plurality of spaces.

[0013] In one embodiment, the at least one operation may include transmitting a message including access information to an external electronic device selected by the electronic device, wherein at least a portion of the first map data may be provided to the external electronic device that accesses the server using the access information.

[0014] In one embodiment, the at least one operation may include generating second map data representing a location of at least one space of the building and of the at least one controlled device, the second map data corresponding to at least a portion of the first map data, based on at least one controlled device being allowed to be controlled by the external electronic device or based on the at least one controlled device belonging to at least one space.

[0015] In one embodiment, the at least one operation may include transmitting the second map data to the external electronic device.

[0016] FIG. 1 illustrates an IoT (internet of things) system according to one embodiment.

[0017] FIG. 2 is a block diagram of an electronic device within a network environment according to one embodiment.

[0018] FIG. 3 is a diagram illustrating a network including controlled devices according to one embodiment.

[0019] Figure 4 is an internal block diagram of each of an electronic device and a server performing IoT control according to one embodiment.

[0020] FIG. 5A is a diagram illustrating a method of displaying some maps according to authority on a map indicating the locations of IoT devices according to one embodiment.

[0021] FIG. 5b is an example of a screen displayed on an owner-side electronic device and a member-side external electronic device according to one embodiment.

[0022] Figure 6 is a flowchart illustrating an operation for providing an Internet of Things-based service according to one embodiment.

[0023] FIG. 7A is a signal flow diagram between an electronic device, a server, and an external electronic device for providing an IoT service according to a member invitation according to one embodiment.

[0024] Figure 7b is a drawing that continues from Figure 7a.

[0025] FIG. 8A is a signal flow diagram between an electronic device, a server, and an external electronic device for providing an IoT service according to selection of a target IoT device to be shared according to one embodiment.

[0026] Figure 8b is a drawing that continues from Figure 8a.

[0027] Figure 9 is a diagram showing the configuration of shared map data according to one embodiment.

[0028] FIG. 10 is a drawing for explaining a method for separating space within a map according to one embodiment.

[0029] FIG. 11 is an exemplary diagram showing the location of a shared target IoT device in a space within a map according to one embodiment.

[0030] FIG. 12A is an exemplary diagram showing the locations of shared target IoT devices in two or more spaces within a map in a first manner according to one embodiment.

[0031] FIG. 12b is an example diagram showing the locations of shared target IoT devices in two or more spaces within a map in a second manner according to one embodiment.

[0032] FIG. 13A is an exemplary diagram showing the locations of shared target IoT devices in two or more spaces within a map in a third manner according to one embodiment.

[0033] FIG. 13b is an exemplary diagram showing the locations of shared target IoT devices in two or more spaces within a map according to a fourth embodiment.

[0034] FIG. 14A is an exemplary diagram showing the locations of shared target IoT devices in two or more spaces within a map according to a fifth embodiment.

[0035] FIG. 14b is an exemplary diagram showing the locations of shared target IoT devices in two or more spaces within a map according to a sixth embodiment.

[0036] FIG. 15 is an example diagram showing the locations of IoT devices in each of spaces where sharing is permitted and spaces where sharing is not permitted within a map according to one embodiment.

[0037] FIG. 16A is an exemplary diagram showing an IoT device in a space where sharing within a map is not permitted in a first manner according to one embodiment.

[0038] FIG. 16b is an example diagram showing an IoT device in a space where sharing within a map is not permitted in a second manner according to one embodiment.

[0039] In connection with the description of the drawings, the same or similar reference numerals may be used for the same or similar components.

[0040] FIG. 1 illustrates an Internet of Things (IoT) system (100) according to one embodiment. Meanwhile, at least some of the components of FIG. 1 may be omitted, and the system may be implemented to include additional components not shown.

[0041] Referring to FIG. 1, an IoT system (100) according to one embodiment includes a plurality of electronic devices connectable to a data network (116 or 146). For example, the IoT system (100) may include at least one of a first IoT server (110), a first node (120), a voice assistance server (130), a second IoT server (140), a second node (150), or devices (121, 122, 123, 124, 125, 136, 137, 151, 152, 153).

[0042] According to one embodiment, the first IoT server (110) may include at least one of a communication interface (111), a processor (112), or a storage (113). The second IoT server (140) may include at least one of a communication interface (141), a processor (142), or a storage (143). The “IoT server” in this document may remotely control and / or monitor one or more devices (e.g., devices (121, 122, 123, 124, 125, 151, 152, 153)) via a relay device (e.g., the first node (120) or the second node (150)) or directly without a relay device, for example, based on a data network (e.g., the data network (116) or the data network (146)). Here, a "device" is not limited to a sensor, home appliance, office electronic device, or process-performing device that is deployed (or located) within a local environment, such as a home, office, factory, building, external branch, or other type of site. A device that receives a control command and performs an action corresponding to the control command may be referred to as a "target device." An IoT server may also be referred to as a central server, as it selects a target device from among multiple devices and provides control commands.

[0043] According to one embodiment, the first IoT server (110) may communicate with devices (121, 122, 123) via a data network (116). The data network (116) may mean a network for long-distance communication, such as the Internet or a computer network (e.g., a LAN or WAN), or may include a cellular network.

[0044] According to one embodiment, the first IoT server (110) may be connected to a data network (116) via a communication interface (111). The communication interface (111) may include a communication device (or communication module) for supporting communication of the data network (116), and may be integrated into a single component (e.g., a single chip) or implemented as a plurality of separate components (e.g., multiple chips). The first IoT server (110) may communicate with devices (121, 122, 123) via a first node (120). The first node (120) may receive data from the first IoT server (110) via the data network (116) and transmit the received data to at least some of the devices (121, 122, 123). Alternatively, the first node (120) may receive data from at least some of the devices (121, 122, 123) and transmit the received data to the first IoT server (110) via the data network (116). The first node (120) may function as a bridge between the data network (116) and the devices (121, 122, 123). Meanwhile, although FIG. 1 illustrates one first node (120), this is merely exemplary and there is no limitation on the number.

[0045] A "node" in this document may be an edge computing system or a hub device. According to one embodiment, the first node (120) supports wired and / or wireless communication with the data network (116), and may also support wired and / or wireless communication with devices (121, 122, 123). For example, the first node (120) may be connected to the devices (121, 122, 123) via a short-range communication network such as at least one of Bluetooth, Wi-Fi, Wi-Fi direct, Z-wave, Zig-bee, INSETEON, X10, or IrDA (infrared data association), but there is no limitation on the type of communication. The first node (120) may be deployed (or located) within an environment such as, for example, a home, an office, a factory, a building, an external branch, or other types of sites. Accordingly, the devices (121, 122, 123) may be monitored and / or controlled by services provided by the first IoT server (110), and the devices (121, 122, 123) may not be required to have the capability of full network communication (e.g., Internet communication) for direct connection to the first IoT server (110). The devices (121, 122, 123) are illustrated as being implemented as electronic devices within a home environment, such as light switches, proximity sensors, temperature sensors, etc., but this is by way of example only and is not limiting.

[0046] According to one embodiment, the first IoT server (110) may support direct communication with devices (124, 125). Here, "direct communication" may mean communication that does not pass through an intermediary device, such as the first node (120), for example, communication via a cellular communication network and / or a data network.

[0047] According to one embodiment, the first IoT server (110) may transmit a control command to at least some of the devices (121, 122, 123, 124, 125). Here, the “control command” may mean data that causes the controllable device to perform a specific operation, and the specific operation is an operation performed by the device, and may include outputting information, sensing information, reporting information, and managing (e.g., deleting or creating) information, and there is no limitation on its type. For example, the processor (112) may obtain information (or a request) for generating a control command from an external source (e.g., a voice assistant server (130), the second IoT server (140), an external system (160), or at least some of the devices (121, 122, 123, 124, 125)), and generate the control command based on the obtained information. Alternatively, the processor (112) may generate a control command based on whether the monitoring results of at least some of the devices (121, 122, 123, 124, 125) satisfy a specified condition. The processor (112) may control the communication interface (111) to transmit the control command to the target device.

[0048] According to one embodiment, the processor (112), or the processor (132), or the processor (142) may be implemented as a combination of one or more of a general-purpose processor such as a central processing unit (CPU), a digital signal processor (DSP), an application processor (AP), or a communication processor (CP), a graphics-only processor such as a graphical processing unit (GPU), a vision processing unit (VPU), or an artificial intelligence-only processor such as a neural processing unit (NPU). The above-described processing units are merely exemplary, and those skilled in the art will understand that the processor (112) is not limited to any computational means that can execute instructions stored in the memory (113), for example, and output the executed results.

[0049] According to one embodiment, the processor (112) may configure a web-based interface based on the API (114) or expose resources managed by the first IoT server (110) to the outside. The web-based interface may, for example, support communication between the first IoT server (110) and an external web service. The processor (112) may also allow, for example, an external system (160) to control and / or access the devices (121, 122, 123). The external system (160) may be an independent system that is not associated with or is not a part of the system (100), for example. The external system (160) may be, for example, an external server or a website. However, security is required for access to the devices (121, 122, 123) or the resources of the first IoT server (110) from the external system (160). According to one embodiment, the processor (112) may externally expose an API endpoint (e.g., a URL (universal resource locator)) based on the API (114) of the automation application. As described above, the first IoT server (110) may transmit a control command to a target device among the devices (121, 122, 123). Meanwhile, the description of the communication interface (141), the processor (142), the API (144) of the storage (143), and the database (145) of the second IoT server (140) may be substantially the same as the description of the communication interface (111), the processor (112), the API (114) of the storage (113), and the database (115) of the first IoT server (110). In addition, the description of the second node (150) may be substantially the same as the description of the first node (120). The second IoT server (140) can transmit control commands to a target device among the devices (151, 152, 153).The first IoT server (110) and the second IoT server (140) may be operated by the same service provider in one embodiment, but may be operated by different service providers in another embodiment.

[0050] According to one embodiment, the voice assistant server (130) can transmit and receive data with the first IoT server (110) via a data network (116). The voice assistant server (130) according to one embodiment can include at least one of a communication interface (131), a processor (132), or a storage (133). The communication interface (131) can communicate with a smart phone (136) or an AI speaker (137) via a data network (not shown) and / or a cellular network (not shown). The smart phone (136) or the AI ​​speaker (137) can include a microphone, acquire a user voice, convert it into a voice signal, and transmit the voice signal to the voice assistant server (130). The processor (132) can receive a voice signal from the smart phone (136) or the AI ​​speaker (137) via the communication interface (131). The processor (132) can process the received voice signal based on the stored model (134). The processor (132) can generate (or confirm) a control command using the processing result based on information stored in the database (135).According to one embodiment, the storage (113, 133, 143) may include at least one type of non-transitory storage medium among a flash memory type, a hard disk type, a multimedia card micro type, a card type memory (e.g., SD or XD memory, etc.), a random access memory (RAM), a static random access memory (SRAM), a read-only memory (ROM), an electrically erasable programmable read-only memory (EEPROM), a programmable read-only memory (PROM), a magnetic memory, a magnetic disk, or an optical disk, and the type thereof is not limited.

[0051] In one embodiment, at least one device (e.g., device (124)) communicating with the first IoT server (110) may be a smartphone (e.g., electronic device (201) of FIG. 2) within a network environment.

[0052] FIG. 2 is a block diagram of an electronic device (201) within a network environment (200), according to one embodiment.

[0053] Referring to FIG. 2, in a network environment (200), an electronic device (201) may communicate with an electronic device (202) via a first network (298) (e.g., a short-range wireless communication network), or may communicate with at least one of an electronic device (204) or a server (208) via a second network (299) (e.g., a long-range wireless communication network). According to one embodiment, the electronic device (201) may communicate with the electronic device (204) via the server (208). According to one embodiment, the electronic device (201) may include a processor (220), a memory (230), an input module (250), an audio output module (255), a display module (260), an audio module (270), a sensor module (276), an interface (277), a connection terminal (278), a haptic module (279), a camera module (280), a power management module (288), a battery (289), a communication module (290), a subscriber identification module (296), or an antenna module (297). In some embodiments, the electronic device (201) may omit at least one of these components (e.g., the connection terminal (278)), or may have one or more other components added. In some embodiments, some of these components (e.g., the sensor module (276), the camera module (280), or the antenna module (297)) may be integrated into one component (e.g., the display module (260)).

[0054] The processor (220) may, for example, execute software (e.g., a program (240)) to control at least one other component (e.g., a hardware or software component) of the electronic device (201) connected to the processor (220) and perform various data processing or operations. According to one embodiment, as at least a part of the data processing or operations, the processor (220) may store commands or data received from other components (e.g., a sensor module (276) or a communication module (290)) in a volatile memory (232), process the commands or data stored in the volatile memory (232), and store result data in a non-volatile memory (234). According to one embodiment, the processor (220) may include a main processor (221) (e.g., a central processing unit or an application processor) or an auxiliary processor (223) (e.g., a graphics processing unit, a neural processing unit (NPU), an image signal processor, a sensor hub processor, or a communication processor) that can operate independently or together with the main processor (221). For example, when the electronic device (201) includes the main processor (221) and the auxiliary processor (223), the auxiliary processor (223) may be configured to use less power than the main processor (221) or to be specialized for a given function. The auxiliary processor (223) may be implemented separately from the main processor (221) or as a part thereof.

[0055] The auxiliary processor (223) may control at least a portion of functions or states associated with at least one component (e.g., a display module (260), a sensor module (276), or a communication module (290)) of the electronic device (201), for example, on behalf of the main processor (221) while the main processor (221) is in an inactive (e.g., sleep) state, or together with the main processor (221) while the main processor (221) is in an active (e.g., application execution) state. In one embodiment, the auxiliary processor (223) (e.g., an image signal processor or a communication processor) may be implemented as a part of another functionally related component (e.g., a camera module (280) or a communication module (290)). In one embodiment, the auxiliary processor (223) (e.g., a neural network processing unit) may include a hardware structure specialized for processing artificial intelligence models. The artificial intelligence models may be generated through machine learning. This learning can be performed, for example, on the electronic device (201) itself where the artificial intelligence model is executed, or can be performed through a separate server (e.g., server (208)). The learning algorithm can include, for example, supervised learning, unsupervised learning, semi-supervised learning, or reinforcement learning, but is not limited to the examples described above. The artificial intelligence model can include multiple artificial neural network layers.The artificial neural network may be one of 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), a deep Q-network, or a combination of two or more of the above, but is not limited to the examples described above. In addition to, or alternatively to, a hardware structure, an artificial intelligence model may include a software structure.

[0056] The memory (230) can store various data used by at least one component (e.g., the processor (220) or the sensor module (276)) of the electronic device (201). The data can include, for example, software (e.g., the program (240)) and input data or output data for commands related thereto. The memory (230) can include a volatile memory (232) or a non-volatile memory (234).

[0057] The program (240) may be stored as software in the memory (230) and may include, for example, an operating system (242), middleware (244), or an application (246).

[0058] The input module (250) can receive commands or data to be used in a component of the electronic device (201) (e.g., a processor (220)) from an external source (e.g., a user) of the electronic device (201). The input module (250) can include, for example, a microphone, a mouse, a keyboard, a key (e.g., a button), or a digital pen (e.g., a stylus pen).

[0059] The audio output module (255) can output audio signals to the outside of the electronic device (201). The audio output module (255) can include, for example, a speaker or a receiver. The speaker can be used for general purposes, such as multimedia playback or recording playback. The receiver can be used to receive incoming calls. In one embodiment, the receiver can be implemented separately from the speaker or as part of the speaker.

[0060] The display module (260) can visually provide information to an external party (e.g., a user) of the electronic device (201). The display module (260) may include, for example, a display, a holographic device, or a projector and a control circuit for controlling the device. In one embodiment, the display module (260) may include a touch sensor configured to detect a touch, or a pressure sensor configured to measure the intensity of a force generated by the touch.

[0061] The audio module (270) can convert sound into an electrical signal, or vice versa, convert an electrical signal into sound. According to one embodiment, the audio module (270) can acquire sound through the input module (250), output sound through the sound output module (255), or an external electronic device (e.g., electronic device (202)) (e.g., speaker or headphone) directly or wirelessly connected to the electronic device (201).

[0062] The sensor module (276) can detect the operating status (e.g., power or temperature) of the electronic device (201) or the external environmental status (e.g., user status) and generate an electrical signal or data value corresponding to the detected status. According to one embodiment, the sensor module (276) can include, for example, a gesture sensor, a gyro sensor, a barometric pressure sensor, a magnetic sensor, an acceleration sensor, a grip sensor, a proximity sensor, a color sensor, an IR (infrared) sensor, a biometric sensor, a temperature sensor, a humidity sensor, or an illuminance sensor.

[0063] The interface (277) may support one or more designated protocols that may be used to directly or wirelessly connect the electronic device (201) to an external electronic device (e.g., the electronic device (202)). In one embodiment, the interface (277) may include, for example, a high definition multimedia interface (HDMI), a universal serial bus (USB) interface, an SD card interface, or an audio interface.

[0064] The connection terminal (278) may include a connector through which the electronic device (201) may be physically connected to an external electronic device (e.g., the electronic device (202)). According to one embodiment, the connection terminal (278) may include, for example, an HDMI connector, a USB connector, an SD card connector, or an audio connector (e.g., a headphone connector).

[0065] A haptic module (279) can convert electrical signals into mechanical stimuli (e.g., vibration or movement) or electrical stimuli that a user can perceive through tactile or kinesthetic sensations. According to one embodiment, the haptic module (279) can include, for example, a motor, a piezoelectric element, or an electrical stimulation device.

[0066] The camera module (280) can capture still images and moving images. According to one embodiment, the camera module (280) may include one or more lenses, image sensors, image signal processors, or flashes.

[0067] The power management module (288) can manage the power supplied to the electronic device (201). According to one embodiment, the power management module (288) can be implemented as, for example, at least a part of a power management integrated circuit (PMIC).

[0068] A battery (289) may power at least one component of the electronic device (201). In one embodiment, the battery (289) may include, for example, a non-rechargeable primary battery, a rechargeable secondary battery, or a fuel cell.

[0069] The communication module (290) may support the establishment of a direct (e.g., wired) communication channel or a wireless communication channel between the electronic device (201) and an external electronic device (e.g., electronic device (202), electronic device (204), or server (208)), and the performance of communication through the established communication channel. The communication module (290) may operate independently from the processor (220) (e.g., application processor) and may include one or more communication processors that support direct (e.g., wired) communication or wireless communication. According to one embodiment, the communication module (290) may include a wireless communication module (292) (e.g., a cellular communication module, a short-range wireless communication module, or a global navigation satellite system (GNSS) communication module) or a wired communication module (294) (e.g., a local area network (LAN) communication module, or a power line communication module). Any of these communication modules may communicate with an external electronic device (204) via a first network (298) (e.g., a short-range communication network such as Bluetooth, Wi-Fi (wireless fidelity) direct, or IrDA (infrared data association)) or a second network (299) (e.g., a long-range communication network such as a legacy cellular network, a 5G network, a next-generation communication network, the Internet, or a computer network (e.g., a LAN or WAN)). These various types of communication modules may be integrated into a single component (e.g., a single chip) or implemented as multiple separate components (e.g., multiple chips). The wireless communication module (292) may use subscriber information (e.g., an international mobile subscriber identity (IMSI)) stored in the subscriber identification module (296) to verify or authenticate the electronic device (201) within a communication network such as the first network (298) or the second network (299).

[0070] The wireless communication module (292) can support 5G networks and next-generation communication technologies following the 4G network, such as NR access technology (new radio access technology). The NR access technology can support high-speed transmission of high-capacity data (eMBB (enhanced mobile broadband)), minimization of terminal power and connection of multiple terminals (mMTC (massive machine type communications)), or high reliability and low latency (URLLC (ultra-reliable and low-latency communications)). The wireless communication module (292) can support, for example, a high-frequency band (e.g., mmWave band) to achieve a high data transmission rate. The wireless communication module (292) can support various technologies for securing performance in a high-frequency band, such as beamforming, massive multiple-input and multiple-output (MIMO), full dimensional MIMO (FD-MIMO), array antenna, analog beam-forming, or large scale antenna. The wireless communication module (292) can support various requirements specified in the electronic device (201), an external electronic device (e.g., the electronic device (204)), or a network system (e.g., the second network (299)). According to one embodiment, the wireless communication module (292) can support a peak data rate (e.g., 20 Gbps or more) for realizing eMBB, a loss coverage (e.g., 164 dB or less) for realizing mMTC, or a U-plane latency (e.g., 0.5 ms or less for downlink (DL) and uplink (UL), or 1 ms or less for round trip) for realizing URLLC.

[0071] The antenna module (297) can transmit or receive signals or power to or from an external device (e.g., an external electronic device). In one embodiment, the antenna module (297) may include an antenna including a radiator formed of a conductor or a conductive pattern formed on a substrate (e.g., a PCB). In one embodiment, the antenna module (297) may include a plurality of antennas (e.g., an array antenna). In this case, at least one antenna suitable for a communication method used in a communication network, such as the first network (298) or the second network (299), may be selected from the plurality of antennas, for example, by the communication module (290). A signal or power may be transmitted or received between the communication module (290) and an external electronic device via the at least one selected antenna. In some embodiments, in addition to the radiator, another component (e.g., a radio frequency integrated circuit (RFIC)) may be additionally formed as a part of the antenna module (297).

[0072] In one embodiment, the antenna module (297) may form a mmWave antenna module. In one embodiment, the mmWave antenna module may include a printed circuit board, an RFIC disposed on or adjacent a first side (e.g., a bottom side) of the printed circuit board and capable of supporting a designated high-frequency band (e.g., a mmWave band), and a plurality of antennas (e.g., an array antenna) disposed on or adjacent a second side (e.g., a top side or a side side) of the printed circuit board and capable of transmitting or receiving signals in the designated high-frequency band.

[0073] At least some of the above components can be interconnected and exchange signals (e.g., commands or data) with each other via a communication method between peripheral devices (e.g., a bus, GPIO (general purpose input and output), SPI (serial peripheral interface), or MIPI (mobile industry processor interface)).

[0074] According to one embodiment, commands or data may be transmitted or received between the electronic device (201) and an external electronic device (204) via a server (208) connected to a second network (299). Each of the external electronic devices (202 or 204) may be the same or a different type of device as the electronic device (201). According to one embodiment, all or part of the operations executed in the electronic device (201) may be executed in one or more of the external electronic devices (202, 204, or 208). For example, when the electronic device (201) is to perform a certain function or service automatically or in response to a request from a user or another device, the electronic device (201) may, instead of or in addition to executing the function or service itself, request one or more external electronic devices to perform the function or at least a part of the service. One or more external electronic devices that receive the request may execute at least a portion of the requested function or service, or an additional function or service related to the request, and transmit the result of the execution to the electronic device (201). The electronic device (201) may process the result as is or additionally and provide it as at least a portion of a response to the request. For this purpose, cloud computing, distributed computing, mobile edge computing (MEC), or client-server computing technology may be used, for example. The electronic device (201) may provide an ultra-low latency service by using distributed computing or mobile edge computing, for example. In another embodiment, the external electronic device (204) may include an Internet of Things (IoT) device. The server (208) may be an intelligent server utilizing machine learning and / or a neural network. According to one embodiment, the external electronic device (204) or the server (208) may be included in the second network (299).The electronic device (201) can be applied to intelligent services (e.g., smart home, smart city, smart car, or healthcare) based on 5G communication technology and IoT-related technology.

[0075] In the detailed description below, reference numerals in the drawings may be used interchangeably or omitted for configurations that can be easily understood through the preceding embodiments, and their detailed descriptions may also be omitted. An electronic device (201) or server (208) according to an embodiment disclosed in this document may be implemented by selectively combining configurations of different embodiments, and a configuration of one embodiment may be replaced by a configuration of another embodiment. For example, it should be noted that the present invention is not limited to a specific drawing or embodiment.

[0076] Before describing the present invention, an application for managing each IoT device used in the present invention will be described.

[0077] For example, IoT-based applications (e.g., SmartThings applications) can control IoT devices existing in various spaces in an indoor environment, and can control multiple IoT devices by dividing them into groups based on space. To do this, when the application is first launched, the user can manually configure groups of IoT devices or configure the arrangement of objects within the user interface (UI). For example, a user can divide multiple IoT devices located in the home into spaces such as the bedroom, living room, and kitchen according to the user's choice, thereby controlling the IoT devices belonging to the designated spaces.

[0078] In a smart home environment, users can control IoT devices within each space using electronic devices, but other users in the same space (or living there) can also control these IoT devices if they install the application. However, in a smart home environment, there is a risk of privacy violation due to exposure of personal privacy. Therefore, granting different permissions to different users based on their purposes, allowing them to control IoT devices within specific spaces or specific IoT devices, can enhance security while maintaining usability.

[0079] For example, if an invited member's electronic device is allowed to control only some IoT devices in some spaces based on some map data allowed to the invited member among the entire map data indicating the locations of IoT devices in each space, the user will be able to share as much information as intended.

[0080] In one embodiment, a server for providing an Internet of Things-based service, a method of operation thereof, and a storage medium for providing some map data indicating the location of at least one controlled device (e.g., an IoT device) within at least one space within a building among the entire map data, may be provided.

[0081] According to one embodiment, by providing the invited member with a partial map of the entire map showing the locations of IoT devices within a plurality of spaces within a building, the invited member can intuitively check the spaces among the plurality of spaces in which sharing is permitted and the IoT devices within the spaces.

[0082] According to one embodiment, security can be enhanced from the user's perspective by granting different permissions to different users according to their purposes, thereby allowing other users granted permissions to control IoT devices or specific IoT devices within a specific space.

[0083] FIG. 3 is a diagram illustrating a network including controlled devices according to one embodiment of the present disclosure.

[0084] Referring to FIG. 3, a network (300) (e.g., an IoT network) may include a server (350) operating as an IoT cloud, an electronic device (310) (e.g., an electronic device (201) of FIG. 2) capable of communicating with the server (350) via long-range wireless communication (e.g., a second network (299) of FIG. 2), and one or more controlled devices (e.g., IoT devices (320a, 320b, 320c, and 320d)) within a local network (345) (e.g., a home network) that supports IoT technology and connects to an access point (AP) (340) using short-range wireless communication (e.g., Bluetooth or Wi-Fi) and communicates with the server (350) via the AP (340).

[0085] At least one hub device (330) (e.g., a wireless charger, a TV, a home automation panel, a personal computer (PC), a smartphone, or a tablet) configured to manage the connection and status of IoT devices (320a, 320b, 320c, and 320d) may be included in the local network (345). The at least one hub device (330) may be referred to as a control device or a coordinator. The at least one hub device (330) may be onboarded by registering with the server (350) similarly to the IoT devices (320a, 320b, 320c, and 320d), may connect to the AP (340) via short-range wireless communication, and may communicate with the server (350) via the AP (340). At least one hub device (330) can allow at least one of the IoT devices (320a, 320b, 320c, and 320d) to connect to the server (350) via the AP (340). At least one hub device (330) can control at least one of the IoT devices (320a, 320b, 320c, and 320d) (e.g., IoT devices (320c, 320d)) directly (e.g., without going through the electronic device (310), the AP (340), or the server (350)).

[0086] The electronic device (310) can communicate (e.g., control or manage) with IoT devices (320a, 320b, 320c, 320d) via a server (350), via long-range wireless communication (e.g., the second network (299)), or via short-range wireless communication (e.g., the first network (298) of FIG. 2).

[0087] The IoT devices (320a, 320b, 320c, 320d) can be controlled (e.g., report status and / or perform specified actions) by remote commands (e.g., control commands from the electronic device (310), the server (350), or at least one hub device (330)) and may include, for example, at least one of a television, an air conditioner, an air purifier, a refrigerator, a washing machine, a light (bulb), a security camera, a sensor, or a window treatment. The IoT devices (320a, 320b, 320c, 320d) may communicate with the electronic device (310) via at least one hub device (330) or AP (340) within the local network (345), communicate with the electronic device (310) via a server (350), communicate directly with the electronic device (310) (e.g., without going through the server (350), the AP (340), or at least one hub device (330)), or communicate directly with at least one hub device (330) (e.g., without going through the server (350), the AP (340), or the electronic device (310).

[0088] In one embodiment, the electronic device (310) may be a personal electronic device, such as a smart phone or tablet, or an electronic device having a display and user interface, such as a television or a control console. In one embodiment, the electronic device (310) may be connected to (or paired with) at least one external electronic device (e.g., a tablet or a wearable device such as a smart watch) that is configured to perform at least some of the functions described below of the electronic device (310) directly or through the electronic device (310).

[0089] At least one member device (305) (e.g., a tablet, another smartphone, or wearable device) that includes at least some capabilities and / or control rights of the electronic device (310) may be included in the network (300). In one embodiment, the member device may not perform a registration procedure for the IoT devices (320a, 320b, 320c, 320d) or the hub device (330), but may be authorized by the electronic device (310) to perform functions for checking or controlling the status of the IoT devices (320a, 320b, 320c, 320d) and / or the hub device (330) registered with the server (350). In one embodiment, the member device (305) may be associated with the same user account as the electronic device (310), the IoT devices (320a, 320b, 320c, 320d), and / or the hub device (330).

[0090] In one embodiment, the electronic device (310) can discover at least one of the IoT devices (320a, 320b, 320c, 320d) (e.g., the IoT device (320a) or the hub device (330)) and can execute a registration procedure (e.g., onboarding) to register the discovered IoT device (320a) or the hub device (330) with the server (350). The IoT devices (320a, 320b, 320c, 320d) and the hub device (330) can be registered with the server (350) to be associated with a user account. The electronic device (310) can monitor and control the status (e.g., connection status) of IoT devices (320a, 320b, 320c, 320d) and hub device (330) registered in the server (350) based on a user account.

[0091] The electronic device (310) can check the status of IoT devices (320a, 320b, 320c, 320d) and the hub device (330) to be used by the user for the IoT service, or control the IoT devices (320a, 320b, 320c, 320d) and the hub device (330) (e.g., transmit a control command instructing to perform a specific action or set an automation rule). In one embodiment, the automation rule can include an execution condition and an action related to at least one IoT device among the IoT devices (320a, 320b, 320c, 320d). In one embodiment, the electronic device (310) can generate at least one automation rule related to at least one IoT device among the IoT devices (320a, 320b, 320c, 320d). Information on the generated at least one automation rule can be stored in the server (350) and / or the hub device (330).

[0092] The electronic device (310) may be an owner device of a local network (345). According to one embodiment, the electronic device (310) operating as an owner device may manage onboarded IoT devices (320a, 320b, 320c, 320d) using an IoT-based application (e.g., a SmartThings application). For example, the electronic device (310) may perform management and control functions for onboarded IoT devices (320a, 320b, 320c, 320d) existing in various spaces within a building.

[0093] The electronic device (310) can receive data from IoT devices (320a, 320b, 320c, 320d) and display a screen corresponding to the received data. For example, when an IoT-based application for controlling IoT devices (320a, 320b, 320c, 320d) placed in distinct spaces in an indoor environment is executed, the electronic device (310) can display a user interface corresponding to an IoT-based service related to the executed application. For example, the IoT-based service can provide overall map data indicating a plurality of spaces in a building and the locations of a plurality of controlled devices within the plurality of spaces.

[0094] In one embodiment, the electronic device (310) may invite a member device (305) to an IoT-based service through the application. After inviting the member device (305), the electronic device (310) may select a controlled device to share with in response to the member device (305) accepting the invitation.

[0095] In addition, the user of the electronic device (310) may select a controlled device to be shared with the member device (305) and provide selection information about the controlled device to the server (350). Here, the selection information about the controlled device may include at least one of information about at least one space selected by the user among the controlled devices located in each of a plurality of spaces (e.g., identification information or room name) or information about the controlled device within the at least one space (e.g., identification information or product information). When the server (350) receives the selection information about the controlled device from the electronic device (310), it regards it as a request for map generation based on the controlled device and may generate a map (or map data) corresponding to a portion of the entire map (or map data) based on the selection information about the controlled device. The server (350) may transmit the generated map to the member device (305) in order to share it with the member device (305) (or to provide it to the member device 305). This map generation operation and the operation for providing the generated map will be described later.

[0096] According to one embodiment, based on information of at least one controlled device selected by a user of the electronic device (310), the server (350) may provide limited control authority for a space where the selected controlled device is located among the entire map. For example, the server (350) may generate a map corresponding to a space where the selected controlled device is located among a plurality of spaces and a map that represents the selected controlled device located on the map using objects, and provide the map to the member device (305). Accordingly, the invited member device (305) may intuitively check a space where sharing is permitted among the plurality of spaces and controllable controlled devices within the space.

[0097] According to one embodiment, based on identification information in at least one space selected by a user of an electronic device (310), the server (350) can identify a controlled device located in at least one space on a map corresponding to the at least one space among the entire map, and provide limited control authority to the identified controlled device.

[0098] According to one embodiment, among the controlled devices, the control authority for the desired controlled device can be provided to the user of the electronic device (310) in a limited manner according to specified conditions.

[0099] As described above, the electronic device (310) can share at least some of the above-mentioned premise map data with the invited member device (305) by inviting it to the IoT-based service.

[0100] In one embodiment, the member device (305) may perform control over at least some of the IoT devices (320a, 320b, 320c, 320d) through an IoT-based application, similar to the electronic device (310). Here, the member device (305) may perform control over at least some of the IoT devices (320a, 320b, 320c, 320d) through the same application as the electronic device (310) or through an application for IoT control that is different from the electronic device (310).

[0101] In one embodiment, the member device (305) is provided with (or shared with) a partial map of the entire map indicating the locations of IoT devices within multiple spaces within a building, thereby intuitively identifying spaces within the multiple spaces where sharing is permitted and controllable IoT devices within those spaces. In addition, from the user's perspective, the member device (305) can control IoT devices within a specific space or a specific IoT device, thereby preventing the user from exposing all spaces, thereby enhancing privacy and security.

[0102] FIG. 4 is an internal block diagram of each of an electronic device and a server performing IoT control according to an embodiment. To facilitate understanding of the description of FIG. 4, reference will be made to FIGS. 5A and 5B. FIG. 5A is a diagram illustrating a method for displaying a portion of a map according to authority in a map indicating the locations of IoT devices according to an embodiment, and FIG. 5B is an example screen displayed on an owner-side electronic device and a member-side external electronic device according to an embodiment.

[0103] Referring to FIG. 4, the electronic device (310) may include at least one processor (420), memory (430), display (360), and / or communication circuit (490).

[0104] According to one embodiment, the memory (330) (e.g., the memory (230) of FIG. 2) may store information for communication with at least one controlled device among a plurality of controlled devices (e.g., the IoT devices (320a, 320b, 320c, 320d) of FIG. 3) and data transmitted and received. According to one embodiment, the memory (430) may store a control program for controlling the electronic device (310), a UI related to an application provided by a manufacturer or downloaded from an external source, and images for providing the UI, user information, documents, databases, or related data. For example, the memory (430) may store an Internet of Things-based application for controlling the operations of controlled devices related to each space in an indoor environment.

[0105] According to one embodiment, when the display (460) is implemented in the form of a touch screen, it can display various information generated according to the user's touch action.

[0106] According to one embodiment, the communication circuit (490) can perform communication with controlled devices under the control of the processor (420). According to one embodiment, the communication circuit (490) can perform communication using at least one communication method among communication methods including Zigbee, Z-Wave, Wi-Fi, Bluetooth, Ultra-Wide Band (UWB), Wireless USB, and Near Field Communication (NFC). For example, the communication circuit (490) can perform low-power wireless communication using Zigbee or Z-Wave communication to communicate with controlled devices. According to one embodiment, the communication circuit (490) can support short-range communication such as Bluetooth and NFC (near field communication) in addition to Zigbee or Z-Wave communication.

[0107] According to one embodiment, the processor (420) may perform an operation based on at least one communication method supported by the electronic device (310). According to one embodiment, the processor (420) may be connected to surrounding controlled devices using a designated communication method. For example, the processor (420) may perform communication with at least some of the controlled devices using a first communication method, and may perform communication with at least some other of the controlled devices using a second communication method. In this case, the processor (420) may indirectly communicate with the controlled devices through the hub device (330), and the controlled devices may communicate with each other or with the electronic device (310) through an adjacent external device or the hub device (330) that serves as an intermediate medium.

[0108] According to one embodiment, when an Internet of Things-based application is executed under the control of the processor (420), the display (460) (e.g., the display module (260) of FIG. 2) may display a user interface related to the executed application. According to one embodiment, the display (460) may display a map (500) visually representing the locations of controlled devices, as illustrated in FIG. 5A. For example, the map may be a floor plan diagram within a building, and the locations of each controlled device may be displayed using objects such as icons corresponding to each space within the building on the map. For example, the processor (420) may display a map screen (500) that can control the controlled devices by space by distinguishing the spaces in which the controlled devices are located within the building.

[0109] According to one embodiment, a user of an electronic device (310) may wish to provide (or share) a portion of the entire map (or map data) (500) to a desired counterparty. Here, sharing a portion of the entire map (500) should be understood as not only showing a map image corresponding to a portion of the floor plan to the counterparty, but also sharing with the counterparty the control authority to control the operation of a controlled device within at least one space among a plurality of spaces.

[0110] The electronic device (310) can invite a partner to participate in an Internet of Things-based service using the member invitation function provided by the application. Methods for inviting a partner include using a QR code when the partner is present in the same space, sending an invitation when the partner's account or email address is known, or sharing a link when the partner's account or email address is unknown.

[0111] According to one embodiment, a request from an electronic device (310) to share a portion of the entire map (500) may include access information (e.g., link information) for participating in an Internet of Things-based service. By providing this access information to a member device (305) through a server (350), an invitation to an Internet of Things-based service may be made. In response to receiving a response to the invitation from the member device (305), the processor (420) may transmit information on a controlled device to be shared to the invited member device (305) to the server (350). Here, the information on the controlled device to be shared may include information on at least one controlled device selected by the user among a plurality of controlled devices located in each of a plurality of spaces. In this way, the owner electronic device (310) may select a controlled device to be shared after inviting a member (e.g., member device (305)), but may also first select a controlled device to be shared and then invite the member, and the operation sequence may not be limited thereto.

[0112] According to one embodiment, the server (350) may include at least one processor (421), memory (431), and / or communication circuitry (491).

[0113] The processor (421) may receive, through the communication circuit (491), a request from the electronic device (310) to provide (or share) at least a portion of the first map data (or the entire map) (e.g., 500 of FIG. 5A) to an external electronic device (e.g., the member device (305)). Here, the first map data may indicate a plurality of spaces of a building and locations of a plurality of controlled devices within the plurality of spaces. In addition, the request to provide at least a portion of the first map data may include at least one of identification information of the at least one controlled device or identification information of at least one space to which the at least one controlled device belongs. For example, in response to receiving selection information about a controlled device selected by a user from the electronic device (310), the processor (421) may invite an external electronic device (e.g., the member device (305)) selected by the user to provide control authority for the controlled device. The processor (421) may transmit a message including access information to the external electronic device selected by the electronic device (310), whereby at least a portion of the first map data may be provided to the external electronic device that accesses the server (350) using the access information.

[0114] The processor (421) may generate second map data corresponding to at least a portion of the first map data to be provided to the external electronic device (e.g., member device (305)) from among the first map data. For example, the processor (421) may generate the second map data indicating at least one space of the building and a location of the at least one controlled device based on whether at least one controlled device is allowed to be controlled by the external electronic device or whether the at least one controlled device belongs to at least one space.

[0115] In one embodiment, the processor (421) may identify a map image associated with the at least one space based on confirming that the at least one controlled device belongs to the at least one space using identification information of the at least one controlled device included in the request. Alternatively, the processor (421) may identify a map image associated with the at least one space based on confirming that the at least one controlled device belongs to the at least one space using identification information of the at least one space included in the request.

[0116] In this way, the processor (421) can identify the space to which the selected controlled device belongs or the controlled device belonging to the selected space in response to the user selection of the controlled device to be shared or the space in which the controlled device is located.

[0117] The processor (421) can generate the second map data by including an object representing the at least one controlled device in the confirmed map image.

[0118] The object representing the above-mentioned controlled device may be replaced with expressions such as a visual object, an icon, an indicator, content, an image, a widget, and an affordance, and there is no limitation on the type thereof.

[0119] According to one embodiment, the operation of generating new map data for invited members may be performed by a map generator included in the server (350), but the map generator may be implemented through an Internet of Things-based application, and since the map generator may be implemented as a separate module, its placement location may vary.

[0120] To explain some map data of the first map data to be shared with the first map data, reference may be made to FIGS. 5A and 5B . Referring to FIG. 5A , the first map data (500) for a plurality of spaces within a building may include map data (or map images) of an indoor environment and / or indoor map information. For example, the first map data may represent a plurality of spaces within a building and may represent a two-dimensional map and / or a three-dimensional map. The two-dimensional map may be a floor plan (or layout), and the three-dimensional map may be a map for representing virtual reality (VR), augmented reality (AR), or mixed reality (MR). The indoor map information may include coordinates for each of the plurality of spaces within the building and partition information between the plurality of spaces within the building (e.g., partition information by walls). In addition, the indoor map information may include information (e.g., identification information, product information) of a controlled device located in each of the plurality of spaces within the building. Additionally, the indoor map information may include permission setting information for each of a plurality of spaces within the building and for controlled devices located within the spaces.

[0121] In this way, the first map data (500) for multiple spaces within a building may include a map image representing a floor plan and information (e.g., section information) for distinguishing each space (e.g., room). When the first map data (500) is expressed in a coordinate system, the boundaries of each space (e.g., room) may also be expressed in a coordinate system.

[0122] In this way, map data for multiple spaces within a building may be stored in the memory (431) within the server (350). For example, the memory (431) may include a user DB for managing user information, a controlled device DB for managing information about controlled devices, or a map DB for storing and managing map data for spaces within a building for each building. Therefore, even if either the controlled device or the space to be shared is selected, the processor (421) can identify the controlled device and space to be shared based on pairing information (or relationship information) between the controlled device and the space stored in the memory (341) (e.g., the controlled device DB for managing information about controlled devices, or the map DB for storing and managing map data for spaces within a building for each building).

[0123] The processor (421) (or map generation unit) may generate second map data (or a new map) based on information of a controlled device to be shared and information of a space in which the controlled device is located. For example, the processor (421) (or map generation unit) may check a map image related to at least one space (505) selected by the user among a plurality of spaces on the map (500), and may generate new map data (510) by placing an object representing at least one controlled device selected by the user on the map image. As illustrated in FIG. 5A, the new map data (510) may be such that at least one of the map images for the remaining spaces excluding the map image related to the at least one space (e.g., bedroom 3) or the objects representing the remaining controlled devices excluding the at least one controlled device (e.g., a shared target IoT device located in bedroom 3) is not displayed. Indoor map information includes partition information between multiple spaces within a building (e.g., partition information by walls), and the processor (421) (or map generation unit) can confirm the coordinate information of each space by representing each space in a coordinate system. Accordingly, the processor (421) (or map generation unit) can also confirm the coordinate information of the selected space, and based on this, confirm a map image related to the space, and provide a new map in which the controlled device is placed to the member based on the confirmed map image. For example, the processor (421) (or map generation unit) can extract a map image related to at least one space from the first map data based on the coordinate information of the selected space, and include an object representing the at least one controlled device in the extracted map image, thereby generating the second map data (510).

[0124] In addition, as illustrated in FIG. 5A, controlled devices located in spaces (510) where sharing is permitted among spaces divided on a map in the form of a plan view may be displayed, but may also be displayed in a list format as illustrated in FIG. 5B. For example, as illustrated in 520 of FIG. 5B, a list (525) of all controllable controlled devices is displayed on the owner-side electronic device (310), whereas as illustrated in 530 of FIG. 5B, a list (535) of spaces where sharing is permitted and / or some controlled devices may be displayed on the member-side external electronic device.

[0125] According to one embodiment, the server (208, 350) may include a communication circuit (491), at least one processor (421), and a memory (431) storing instructions. According to one embodiment, the instructions, when executed by the at least one processor, are configured to cause the server to receive a request from an electronic device to provide at least a portion of first map data, wherein the first map data may represent a plurality of spaces of a building and locations of a plurality of controlled devices within the plurality of spaces.

[0126] According to one embodiment, the instructions, when executed by the at least one processor, are configured to cause the server to transmit a message including access information to an external electronic device selected by the electronic device, and at least a portion of the first map data may be provided to the external electronic device that accesses the server using the access information.

[0127] According to one embodiment, the instructions, when executed by the at least one processor, may be configured to cause the server to generate second map data representing a location of at least one space of the building and of the at least one controlled device based on the at least one controlled device being allowed to be controlled by the external electronic device or the at least one controlled device belonging to at least one space, and corresponding to at least a portion of the first map data.

[0128] According to one embodiment, the instructions, when executed by the at least one processor, may be configured to cause the server to transmit the second map data to the external electronic device via the communication circuit.

[0129] According to one embodiment, the instructions may be configured to cause the server to generate the second map data by verifying identification information of the at least one controlled device included in a request for providing at least a portion of the first map data, verifying that the at least one controlled device belongs to the at least one space using the identification information of the at least one controlled device, verifying a map image associated with the at least one space, and including an object representing the at least one controlled device in the verified map image.

[0130] In one embodiment, the instructions may be configured to cause the server to generate the second map data, wherein at least one of a map image for spaces other than the map image associated with the at least one space or an object representing a controlled device other than the at least one controlled device is not displayed.

[0131] In one embodiment, the instructions may be configured to cause the server to generate the second map data by extracting a map image associated with the at least one space from the first map data and including an object representing the at least one controlled device in the extracted map image.

[0132] According to one embodiment, the instructions may be configured to cause the server to determine coordinates for each of a plurality of spaces of the building, and to extract a map image associated with the at least one space from the first map data based on the coordinates for the at least one space.

[0133] According to one embodiment, the instructions may be configured to cause the server to generate the second map data by, when there are multiple map images associated with the at least one space, placing a map image corresponding to each of the at least one space at a location corresponding to each space among the plurality of spaces based on coordinates for the at least one space.

[0134] According to one embodiment, the request to provide at least a portion of the first map data may include at least one of identification information of the at least one controlled device or identification information of at least one space to which the at least one controlled device belongs.

[0135] According to one embodiment, the instructions may be configured to cause the server to generate the second map data by identifying the at least one controlled device belonging to the at least one space using identification information of the at least one space, identifying a map image related to the at least one space based on identifying the at least one controlled device belonging to the at least one space, and including an object representing the at least one controlled device in the identified map image.

[0136] In one embodiment, the instructions may be configured to cause the server to generate the second map data indicating control authority over the at least one controlled device by changing at least one of a color effect, color, or saturation of an object representing the at least one controlled device.

[0137] According to one embodiment, the instructions may be configured to cause the server to transmit information on control authority for the at least one controlled device together with the second map data to the external electronic device.

[0138] Figure 6 is a flowchart illustrating an operation for providing an Internet of Things-based service according to one embodiment.

[0139] Referring to FIG. 6, the operating method may include operations 605 to 620. Each operation of the operating method of FIG. 6 may be performed by a server (e.g., server (208) of FIG. 2, server (350) of FIGS. 3 and 4) and at least one processor of the server (e.g., processor (421) of FIG. 4). In one embodiment, at least one of operations 605 to 620 may be omitted, the order of some operations may be changed, or other operations may be added.

[0140] Referring to FIG. 6, in operation 605, the server (350) may receive a request from the electronic device (310) to provide (or share) at least a portion of first map data. The first map data may indicate a plurality of spaces of a building and locations of a plurality of controlled devices within the plurality of spaces. Here, the electronic device (310) may be subscribed to a service that provides first map data indicating a plurality of spaces of the building and locations of a plurality of controlled devices within the plurality of spaces (e.g., IoT devices (320a, 320b, 320c, 320d) of FIG. 3). The service may include an Internet of Things-based service.

[0141] According to one embodiment, the request to provide at least a portion of the first map data may include at least one of identification information of the at least one controlled device or identification information of at least one space to which the at least one controlled device belongs.

[0142] In operation 610, the server (350) may transmit a message including access information to the external electronic device (305) selected by the electronic device (310). For example, the server (350) may invite the external electronic device (305) to the Internet of Things-based service in response to a request from the electronic device (310). At least a portion of the first map data may be provided to the external electronic device (305) that accesses the server (350) using the access information.

[0143] According to one embodiment, a message transmitted to the external electronic device (305) in response to a request to provide at least a portion of the first map data may include access information (or link information) for participating in the Internet of Things-based service. According to one embodiment, the server (350) may invite the external electronic device to the Internet of Things-based service by transmitting the link information to the external electronic device.

[0144] In operation 615, the server (350) may generate (or obtain) second map data indicating at least one space of the building and a location of the at least one controlled device based on whether at least one controlled device is allowed to be controlled by the external electronic device or whether the at least one controlled device belongs to at least one space. Here, the generated second map data may correspond to at least a portion of the first map data.

[0145] According to one embodiment, the server (350) can verify the identification information of the at least one controlled device included in the request for providing at least a portion of the first map data. The server (350) can verify a map image related to the at least one space based on verifying that the at least one controlled device belongs to the at least one space using the identification information of the at least one controlled device. The server (350) can generate the second map data by including an object representing the at least one controlled device on the verified map image.

[0146] According to one embodiment, the server (350) may generate the second map data in which at least one of the map images for the remaining spaces excluding the map image associated with the at least one space or the objects representing the remaining controlled devices excluding the at least one controlled device are not displayed.

[0147] According to one embodiment, the server (350) may generate the second map data by extracting a map image related to the at least one space from the first map data and including an object representing the at least one controlled device on the extracted map image.

[0148] According to one embodiment, the server (350) can check the coordinates for each of the plurality of spaces of the building, and extract a map image related to the at least one space from the first map data based on the coordinates for the at least one space.

[0149] According to one embodiment, when there are multiple map images related to the at least one space, the server (350) may generate the second map data by placing a map image corresponding to each of the at least one space at a location corresponding to each space among the plurality of spaces based on coordinates for the at least one space.

[0150] According to one embodiment, the server (350) may generate the second map data indicating control authority for the at least one controlled device by changing at least one of a color effect, color, or saturation of an object representing the at least one controlled device.

[0151] According to one embodiment, the server (350) may generate the second map data by verifying identification information of at least one space to which the at least one controlled device belongs, included in a request for providing (or sharing) at least a portion of the first map data, verifying a map image related to the at least one space based on the verification of the identification information of the at least one space, and including an object representing the at least one controlled device on the verified map image.

[0152] In operation 620, the server (350) can transmit the generated second map data to the external electronic device (305).

[0153] According to one embodiment, the server (350) may transmit information on control authority for the at least one controlled device to the external electronic device together with the second map data. According to one embodiment, the server (350) may transmit information on control authority to the external electronic device together with the generated second map data, but may also generate second map data including information on control authority and transmit the second map data including information on control authority to the external electronic device.

[0154] FIGS. 7A and 7B are signal flow diagrams between an electronic device, a server, and an external electronic device for providing an IoT service based on a member invitation according to one embodiment. FIG. 7B is a diagram that continues from FIG. 7A.

[0155] Referring to FIGS. 7A and 7B, the server (350) may include a user DB (351) for managing user information, a controlled device DB (352) for managing information about controlled devices, or a map DB (353) for storing and managing map data for spaces within a building. FIGS. 7A and 7B illustrate a case where a map generation unit (354) is included in the server (350), but this is merely an example, and the map generation unit can be implemented as a separate module, and thus can be placed in a different server from the server (350) that provides IoT-based services, and its placement location is not limited thereto.

[0156] Referring to FIGS. 7a and 7b, the operation for providing control authority for the shared target IoT device to the other party may largely include a member invitation operation (710), a member selection and sharing operation (720), a room confirmation operation (730), a new map creation operation (740), and a map view sharing operation (750).

[0157] First, the member invitation operation (710) may include an operation in which the electronic device (310) transmits a member invitation message to the server (350) (711), an operation in which the member invitation message is transmitted to an external electronic device (e.g., a member device (305) of FIG. 3) (305) corresponding to a member to be invited based on the counterpart information stored in the user DB (351) in the server (350) (712), an operation in which an approval message in response to the invitation is received from the external electronic device (305) (713), an operation in which member data is updated (714) in response to the reception of the approval message, and an operation in which a member list in the electronic device (310) is updated (715). As described above, the member invitation operation (710) may be initiated by the owner-side electronic device (310) inviting a member with whom it wishes to share control authority for an IoT device.

[0158] The member selection and sharing operation (720) may include an operation of selecting a member for sharing from an updated member list in an electronic device (310) (721), an operation of transmitting a list of controlled devices to be shared for the selected member (722), an operation of updating controlled device information in a controlled device DB (352) in a server (350) based on the list of controlled devices (723), an operation of transmitting an invitation message to an external electronic device (305) corresponding to an invited member to participate in control of an IoT device (724), an operation of receiving an approval message corresponding to the invitation message (725), and an operation of updating the list of controlled devices of the member (726). Here, an example is given in which operations 724 to 726 are performed for invitation authentication for an external electronic device (305), but operations 724 to 726 may be omitted. For example, if the external electronic device (305) is already subscribed to the Internet of Things service and is registered with the server (350) based on the user account of the electronic device (310), operations 724 to 726 may be omitted.

[0159] The room confirmation operation (730) may include an operation of requesting room information for each controlled device (731) and an operation of transmitting (or providing) (732) a list of rooms to be shared and used to create a map. Here, the room information may include information about the space to which each of the controlled devices (e.g., IoT devices) belongs.

[0160] The new map creation operation (740) may include an operation of creating (or obtaining) a new map for a member (741), an operation of providing new map data (742), and an operation of storing (743) the map data in a map DB (353). As described above, once the IoT devices to be shared are determined, information about the IoT devices may be transmitted to the map creation unit (354). Accordingly, the map creation unit (354) may configure (or create, obtain) a new map to be provided to the external electronic device (305) based on the information about the IoT devices and the room information in which the IoT devices are located.

[0161] The map view sharing operation (750) may include an operation of sharing (751) a new map with an external electronic device (305). The server (350) may provide the external electronic device (305) with control authority over IoT devices along with the new map, so that the external electronic device (305) may perform control over the shared IoT devices based on the provided new map.

[0162] FIGS. 8A and 8B are signal flow diagrams between an electronic device, a server, and an external electronic device for providing an IoT service according to selection of a target IoT device to be shared according to an embodiment. Referring to FIGS. 8A and 8B , an operation for providing control authority for a target IoT device to be shared to a counterpart may largely include a controlled device selection, sharing, and member invitation operation (810), a controlled device sharing and member invitation operation (820), a room confirmation operation (830), a new map creation operation (840), and a map view sharing operation (850).

[0163] The controlled device selection, sharing, and member invitation operations (810) may include an operation of selecting members for sharing (811), an operation of selecting rooms for each controlled device (812), and an operation of updating controlled device and room pairs (813).

[0164] The controlled device sharing and member invitation operation (820) may include an operation of sending an invitation message together with a list of controlled devices selected by a user (821), an operation of updating controlled device information (822), an operation of sending an invitation message (823), an operation of receiving an approval message (824, 825), an operation of updating member data (826), an operation of updating a member list (827), and an operation of updating a member's controlled device list (828).

[0165] The room confirmation operation (830), new map creation operation (840), and map view sharing operation (850) are identical to the room confirmation operation (730), new map creation operation (740), and map view sharing operation (750) of FIG. 7b, so their detailed descriptions will be omitted.

[0166] In FIGS. 7A and 7B, an example is described in which, after inviting members, IoT devices are selected to share with the invited members and room information for the selected IoT devices is verified to obtain a new map. However, as in FIGS. 8A and 8B, an operation of inviting members to share the IoT devices may be performed after selecting the IoT devices to share. According to one embodiment, an IoT device to share may be selected and an invitation may be requested from the members to share the IoT devices, but the sequence of operations is not limited thereto.

[0167] In one embodiment, when registering IoT devices in the owner-side electronic device (310), if the room information in which the IoT devices are placed is not stored together, the external electronic device (350) may be prompted to designate a room for the IoT devices to be shared.

[0168] Figure 9 is a diagram showing the configuration of shared map data according to one embodiment.

[0169] Referring to FIG. 9, shared map data may be used to generate (or obtain) map data to be shared with invited members. In the case of full map data indicating multiple spaces of a building and locations of multiple controlled devices within the multiple spaces, the building may be identified using identification information (e.g., location ID) (910) assigned to the building, the multiple spaces within the building may be identified using identification information (e.g., room ID) (920) for each space, and the controlled devices (e.g., IoT devices) disposed within each space may be identified using identification information (e.g., device ID) (930) of the controlled devices. In order to share only a portion of the full map data with invited members, the shared map data may include identification information assigned to the building (e.g., location ID), identification information of at least one space to be shared among the multiple spaces (e.g., room ID), and identification information of at least one controlled device within the at least one space (e.g., device ID). For example, since some map data to be shared among the full map data may vary depending on the user's purpose, identification information may be assigned to each piece of shared map data. For example, in order to distinguish the entire map data that serves as the basis for generating shared map data, the entire map data may include identification information assigned to a building (e.g., location ID). This identification information assigned to a building may be used to distinguish the shared map data, but may be designated in various ways. For example, terms named by users, such as 'my house' or 'office', may be used as identifiers of the shared map data. FIG. 9 illustrates an example in which there are three room IDs, and each room ID includes identification information of controlled devices (e.g., IoT devices) to be shared. This indicates a space to be shared and controlled devices to be shared among the controlled devices placed in the space.

[0170] FIG. 10 is a drawing for explaining a method for separating space within a map according to one embodiment.

[0171] Referring to FIG. 10, the first map data (1000) provided to the owner-side electronic device (310) may include a map image representing a floor plan and information (e.g., section information) for distinguishing each space (e.g., room). When the entire map data is represented in a coordinate system, the boundaries of each space (e.g., room) may also be represented in a coordinate system.

[0172] The second map data (1010) provided to the invited member-side external electronic device (305) may include a map image related to a space selected by the user from the first map data (1000) and an object representing at least one controlled device to be shared with the map image. The second map data (1010) may include permission setting information of a controlled device located in a space together with a map image corresponding to a portion of the space based on partition information (e.g., partition information by a wall) between at least one shared space among a plurality of spaces within a building.

[0173] For example, Fig. 10 illustrates a case where a new map is created using coordinate information of bedroom 3. The coordinate information of the map view may vary depending on how the map view is managed, such as absolute coordinates or relative coordinates. Referring to Fig. 10, the server (350) (or map generation unit (354)) extracts (or separates) a map image of bedroom 3 based on the coordinate information of bedroom 3 from the first map data (1000), and then changes and applies the existing coordinates based on the map, and provides this to the invited member.

[0174] FIG. 11 is an exemplary diagram showing the location of a shared target IoT device in a space within a map according to one embodiment.

[0175] Referring to FIG. 11, the first map data (1100) provided to the owner-side electronic device (310) may be displayed to the invited member-side external electronic device (305) in the form of some data (1110, 1120, 1130) of the first map. For example, if the space to which the controlled device (1107, 1108) selected by the user as a sharing target belongs among a plurality of controlled devices (1106, 1107, 1107) belongs is Bedroom 3, the space (1105) corresponding to Bedroom 3 in the first map data (1100) and the controlled device (or IoT device) belonging to the space (1105) may be displayed as various forms of map data (1110, 1120, 1130). Here, by changing at least one of the color effect, color, or saturation of an object representing at least one controlled device on some map data (1110, 1120, 1130), control authority over the at least one controlled device can be indicated. In the case of the first part of map data (1110), a controlled device (1111) that has not been granted control authority is also displayed together with controlled devices (1107, 1108) that have been granted control authority, but information retrieval or control for the controlled device (1111) that has no control authority may be restricted. In the case of the second part of map data (1120), similar to the first part of map data (1110), the colors of the objects representing the controlled devices (1107, 1108) that have control authority and the controlled devices (1121) that do not have control authority are displayed differently, so that the invited member can intuitively recognize that he or she does not have authority. In one embodiment, objects may be represented using different colors or transparencies depending on the level of authority (e.g., full view, status view, control, device removal) for a controlled device with control authority, and the given authority may be visually expressed in various ways, such as displaying numbers or letters according to the authority level on the object, or using different shapes.

[0176] For the third part of the map data (1130), the display may be restricted, like other rooms that are not visible, as sharing is not permitted for controlled devices that do not have control rights, and thus only objects representing controlled devices (1107, 1108) that have control rights may be displayed.

[0177] FIG. 12a is an example diagram showing the locations of IoT devices to be shared in two or more spaces within a map in a first manner according to one embodiment, and FIG. 12b is an example diagram showing the locations of IoT devices to be shared in two or more spaces within a map in a second manner according to one embodiment.

[0178] Referring to FIGS. 12a and 12b, among the map data (1200) provided to the owner-side electronic device (310), each of the partial map data (1210, 1220, 1230) representing shared spaces (e.g., Bedroom 1, Bedroom 3, Entrance) and IoT devices located in the shared spaces may be displayed separately by space. In this way, at least one of the map images for the remaining spaces excluding the shared spaces or the objects representing the remaining controlled devices excluding the controlled devices that are the sharing target may not be displayed. Here, only the map images corresponding to some spaces among the entire spaces may be displayed separately as in each of the partial map data (1210, 1220, 1230) so that the user cannot check the spaces corresponding to the entire floor plan. On the other hand, as illustrated in FIG. 12b, only the IoT devices located in the shared spaces may be displayed in the map data (1200) representing the entire floor plan.

[0179] FIG. 13a is an example diagram showing the locations of IoT devices to be shared in two or more spaces within a map in a third manner according to one embodiment, and FIG. 13b is an example diagram showing the locations of IoT devices to be shared in two or more spaces within a map in a fourth manner according to one embodiment.

[0180] Referring to FIG. 13a, only the approximate locations of spaces (1310, 1320, 1330) (e.g., Bedroom 1, Bedroom 3, Entrance) where IoT devices are located in spaces shared in the entire map view may be displayed. In addition, as illustrated in FIG. 13b, even if the outline of the entire map view (1340) is displayed, spaces without permission may be hidden and displayed, excluding spaces (1310, 1320, 1330) (e.g., Bedroom 1, Bedroom 3, Entrance) where IoT devices that are shared are located. In this way, a map may be provided that uses the actual entire map data for the location or arrangement of each space, but restricts the display of spaces without permission. In this case, in order to display the map in a stable manner, an outline of the entire map may be displayed, and display may be restricted for rooms without permission.

[0181] FIG. 14a is an exemplary diagram showing the locations of IoT devices to be shared in two or more spaces within a map according to a fifth embodiment, and FIG. 14b is an exemplary diagram showing the locations of IoT devices to be shared in two or more spaces within a map according to a sixth embodiment.

[0182] Referring to FIG. 14a, if there is a passage (or hallway) connecting each space (or room) (e.g., bedroom 1, bedroom 3, entrance) (1410, 1420, 1430) in the entire map (1400) (e.g., living room passage between entrance and bedroom 3, living room between entrance and bedroom 1, and kitchen-dining room), all connected spaces (1405) can be displayed.

[0183] In addition, as shown in 1440 of FIG. 14b, only the portion (1450) corresponding to the passageway among the entire space (1405) connecting each space (or room) (e.g., bedroom 1, bedroom 3, entrance) (1410, 1420, 1430) may be cut out and displayed.

[0184] According to one embodiment, various methods may be used to create a section corresponding to a passageway. For example, a method of identifying the entrance to each shared room may be used to create a section corresponding to a passageway. Here, it will be understood by those skilled in the art that the expression of "confirmation" by the server (350 (or map generation unit (354)) can also be replaced with expressions of detect, recognize, determine, and sense. As a method for confirming the entrance of each shared room, referring to FIG. 14a, a method for confirming doors (1411, 1421, 1431) on the floor plan, a method for detecting a location not separated from another room by a wall (or a location without a wall) (or (1421, 1422, 1432)) by referring to partition information by walls, or a method for manually receiving input from a user. In addition, a method for specifying each entrance by coordinates may include a method for specifying a center point (e.g., the center of the doors (1411, 1421, 1431)) by coordinates (or points), a method for specifying both sides of the entrance (e.g., a location without a wall) (1421, 1422, 1432) may include a method of designating a point of each entrance with a point of another entrance, or a method of manually receiving input from a user. In addition, the method of connecting the point of each entrance with the point of another entrance may include a method of connecting with a straight line if a straight line is possible, a method of connecting with a bend using the wall as a point if the straight line connects to a wall or another wall, or a method of directly receiving input of a path of a passage from a user. In this way, when a passage is designated, the width of the connected line may be increased to create a passage. According to one embodiment, the method of creating a portion corresponding to a passage is not limited to the above, and various methods may be applied.

[0185] FIG. 15 is an example diagram showing the locations of IoT devices in each of spaces where sharing is permitted and spaces where sharing is not permitted within a map according to one embodiment.

[0186] FIG. 15 illustrates a room-based map management method, which may be at least partially identical or similar to a controlled device-based map management method.

[0187] In FIG. 15, there is illustrated a case where map data (1500) including objects representing multiple spaces of a building and controlled devices that are to be shared within the multiple spaces and controlled devices with restricted sharing is displayed. When at least one controlled device (e.g., IoT device) that is to be shared is selected by the owner-side electronic device (310), controlled devices belonging to a space (e.g., Bedroom 3, Entrance) (1520, 1530) to be shared among the spaces to which the selected controlled devices belong may be displayed using objects representing the selected controlled devices in a map image (1511, 1531) corresponding to a separate space. If some of the selected controlled devices belong to a specific space (e.g., Bedroom 1) (1510), but the specific space (e.g., Bedroom 1) (1510) is not selected (or not permitted) as a space to be shared, the map image corresponding to the specific space may not be displayed, and only objects (1521) representing the controlled devices belonging to the specific space may be displayed. The method of displaying objects (1521) representing controlled devices belonging to the above specific space is not limited to this, and may be displayed in various ways as illustrated in FIGS. 16a and 16b.

[0188] FIG. 16a is an example diagram showing an IoT device in a space where sharing within a map is not permitted in a first manner according to one embodiment, and FIG. 16b is an example diagram showing an IoT device in a space where sharing within a map is not permitted in a second manner according to one embodiment.

[0189] Referring to FIGS. 16A and 16B , when at least one controlled device (e.g., IoT device) is selected as a device to be shared in the owner-side electronic device (310) and a space (or room) to be shared (e.g., bedroom 3, entrance) is selected, the selected spaces (1520, 1530) may be displayed in various ways as illustrated in 1610. For example, the selected spaces (1520, 1530) may be displayed in a form including a passageway (or hallway) connecting the selected spaces (1520, 1530) as illustrated in 1610, and an object representing a controlled device controllable by an external electronic device may be placed in each space (1520, 1530). At this time, if the space to which the remaining controlled devices belong is not selected (or not permitted) as a space to be shared after the controlled devices selected as the sharing target are placed, the server (350) (or map generation unit (354)) may not display a map image corresponding to the space to which the remaining controlled devices belong, but may generate map data in which objects (1600) representing the remaining controlled devices are placed at a location corresponding to the specific space (e.g., bedroom 1) (1510).

[0190] In one embodiment, when a space (or room) to be shared is first selected in the owner-side electronic device (310), the server (350) may control all controlled devices (e.g., IoT devices) located in the corresponding room to be shared. Here, when there is a sharing request for IoT devices for which a room is not designated or when there is a sharing request for IoT devices for which a room has not been shared, the server (350) may generate map data in which the IoT devices for which sharing has been requested are displayed separately and provide the map data to the external electronic device (305). For example, as illustrated in FIG. 16A, the server (350) may separately generate an undesignated room (1600) and generate map data including IoT devices requested to be shared in the undesignated room and provide the map data to the external electronic device (305). In one embodiment, the server (350) may create map data in which objects representing controlled devices (e.g., IoT devices) are placed by creating a space (1630) such as a pop-up in an empty space on a map (1620) including the entire outline or a passage connecting selected spaces (1520, 1530) as illustrated in FIG. 16b, and provide the map data to an external electronic device (305).

[0191] As described above, according to one embodiment, by providing the invited member with a partial map of the entire map indicating the locations of IoT devices within multiple spaces within a building, the invited member can intuitively check the spaces among the multiple spaces where sharing is permitted and the IoT devices within those spaces. Furthermore, according to one embodiment, by granting different permissions to different users depending on the user's purpose, other users granted permissions can control IoT devices within a specific space or a specific IoT device, thereby enhancing security from the user's perspective.

[0192] Electronic devices according to the various embodiments disclosed in this document may take various forms. 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. Electronic devices according to the embodiments of this document are not limited to the aforementioned devices.

[0193] The various embodiments of this document and the terminology used therein are not intended to limit the technical features described in this document to specific embodiments, but should be understood to include various modifications, equivalents, or substitutes of the embodiments. In connection with the description of the drawings, similar reference numerals may be used for similar or related components. The singular form of a noun corresponding to an item may include one or more of the items, unless the context clearly indicates otherwise. In this document, each of the phrases "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" can include any one of the items listed together in the corresponding phrase among those phrases, or all possible combinations thereof. Terms such as "first," "second," or "first" or "second" may be used merely to distinguish one component from another, and do not limit the components in any other respect (e.g., importance or order). When a component (e.g., a first component) is referred to as "coupled" or "connected" to another (e.g., a second component), with or without the terms "functionally" or "communicatively," it means that the component can be connected to the other component directly (e.g., wired), wirelessly, or through a third component.

[0194] The term "module" used in various embodiments of this document may include a unit implemented in hardware, software, or firmware, and may be used interchangeably with terms such as logic, logic block, component, or circuit. A module may be an integral component, or a minimum unit or part of such a component that performs one or more functions. For example, according to one embodiment, a module may be implemented in the form of an application-specific integrated circuit (ASIC).

[0195] Various embodiments of the present document may be implemented as software (e.g., a program (140)) including one or more instructions stored in a storage medium (e.g., an internal memory (136) or an external memory (138)) readable by a machine (e.g., an electronic device (101)). For example, a processor (e.g., a processor (120)) of the machine (e.g., an electronic device (101)) may call at least one instruction among the one or more instructions stored from the storage medium and execute it. This enables the machine to operate to perform at least one function according to the at least one called instruction. The one or more instructions may include code generated by a compiler or code executable by an interpreter. The machine-readable storage medium may be provided in the form of a non-transitory storage medium. Here, 'non-transitory' simply means that the storage medium is a tangible device and does not contain signals (e.g., electromagnetic waves), and the term does not distinguish between cases where data is stored semi-permanently or temporarily on the storage medium.

[0196] According to one embodiment, the method according to various embodiments disclosed in this document may be provided as a computer program product. The computer program product may be traded between sellers and buyers as a product. The computer program product may be distributed in the form of a device-readable storage medium (e.g., compact disc read-only memory (CD-ROM)) or may be provided through an application store (e.g., Play Store). TM ) or directly between two user devices (e.g., smart phones), online distribution (e.g., downloading or uploading). In the case of online distribution, at least a portion of the computer program product may be at least temporarily stored or temporarily created in a machine-readable storage medium, such as the memory of a manufacturer's server, an application store's server, or an intermediary server.

[0197] According to one embodiment, each component (e.g., a module or a program) of the above-described components may include one or more entities, and some of the entities may be separated and placed in other components. According to various embodiments, one or more components or operations of the aforementioned components may be omitted, or one or more other components or operations may be added. Alternatively or additionally, a plurality of components (e.g., a module or a program) may be integrated into a single component. In such a case, the integrated component may perform one or more functions of each of the plurality of components identically or similarly to those performed by the corresponding component among the plurality of components prior to the integration. According to various embodiments, the operations performed by a module, program, or other component may be executed sequentially, in parallel, iteratively, or heuristically, or one or more of the operations may be executed in a different order, omitted, or one or more other operations may be added.

[0198] According to one embodiment, a non-transitory storage medium storing computer-readable instructions, wherein the instructions, when executed by at least one processor (421) of a server (208, 350), are configured to cause the server to perform at least one operation, wherein the at least one operation may include receiving a request from an electronic device to provide at least a portion of first map data, wherein the first map data may represent a plurality of spaces of a building and locations of a plurality of controlled devices within the plurality of spaces.

[0199] In one embodiment, the at least one operation may include transmitting a message including access information to an external electronic device selected by the electronic device, wherein at least a portion of the first map data may be provided to the external electronic device that accesses the server using the access information.

[0200] In one embodiment, the at least one operation may include generating second map data representing a location of at least one space of the building and of the at least one controlled device, the second map data corresponding to at least a portion of the first map data, based on at least one controlled device being allowed to be controlled by the external electronic device or based on the at least one controlled device belonging to at least one space.

[0201] In one embodiment, the at least one operation may include transmitting the second map data to the external electronic device.

Claims

1. On the server (208, 350), Communication circuit (491); At least one processor (421); and Includes a memory (431) for storing instructions, The above instructions, when executed by the at least one processor, cause the server to: A request is received from an electronic device via the communication circuit to provide at least a portion of first map data, wherein the first map data represents a plurality of spaces of a building and locations of a plurality of controlled devices within the plurality of spaces, Transmitting a message including access information to an external electronic device selected by the electronic device, and providing at least a portion of the first map data to the external electronic device that accesses the server using the access information; At least one controlled device is allowed to be controlled by the external electronic device or based on the at least one controlled device belonging to at least one space, generate second map data representing the location of at least one space of the building and the at least one controlled device and corresponding to at least a portion of the first map data, A server configured to transmit the second map data to the external electronic device via the communication circuit.

2. In the first paragraph, the instructions are such that the server, Verifying the identification information of at least one controlled device included in a request to provide at least a portion of the first map data; Using the identification information of the at least one controlled device, confirming that the at least one controlled device belongs to the at least one space, and confirming a map image related to the at least one space, A server configured to generate the second map data by including an object representing the at least one controlled device in the confirmed map image.

3. In the first or second paragraph, the instructions are such that the server, A server configured to generate the second map data, wherein at least one of the map images for the remaining spaces excluding the map image associated with the at least one space or the objects representing the remaining controlled devices excluding the at least one controlled device are not displayed.

4. In any one of paragraphs 1 to 3, the instructions are such that the server, From the first map data, extract a map image related to at least one space, A server configured to generate the second map data by including an object representing the at least one controlled device in the extracted map image.

5. In any one of paragraphs 1 to 4, the instructions are such that the server, Check the coordinates for each of the multiple spaces in the above building, Based on the coordinates for the at least one space, extracting a map image related to the at least one space from the first map data, A server configured to generate the second map data by placing a map image corresponding to each of the at least one space at a location corresponding to each space among the plurality of spaces based on coordinates for the at least one space, when there are multiple map images related to the at least one space.

6. In any one of paragraphs 1 to 5, a request for providing at least a portion of the first map data comprises: A server comprising at least one of identification information of at least one controlled device or identification information of at least one space to which the at least one controlled device belongs.

7. In any one of paragraphs 1 to 6, the instructions are such that the server, Using the identification information of at least one space, at least one controlled device belonging to the at least one space is identified, Based on identifying at least one controlled device belonging to at least one space, identifying a map image associated with the at least one space, A server configured to generate the second map data by including an object representing the at least one controlled device in the confirmed map image.

8. In any one of paragraphs 1 to 7, the instructions are such that the server, A server configured to generate said second map data, which indicates control authority over said at least one controlled device by changing at least one of a color effect, color or saturation of an object representing said at least one controlled device.

9. In any one of paragraphs 1 to 8, the instructions are such that the server, A server configured to transmit information on control authority for at least one controlled device together with the second map data to the external electronic device.

10. In a method for providing an Internet of Things-based service from a server (208, 350), An operation of receiving a request from an electronic device to provide at least a portion of first map data; wherein the first map data represents a plurality of spaces of a building and locations of a plurality of controlled devices within the plurality of spaces; An action of transmitting a message including access information to an external electronic device selected by the electronic device; wherein at least a portion of the first map data is provided to the external electronic device that accesses the server using the access information; An operation of generating second map data representing a location of at least one space of the building and the at least one controlled device, and corresponding to at least a portion of the first map data, based on at least one controlled device being allowed to be controlled by the external electronic device or based on the at least one controlled device belonging to at least one space; and A method for providing an Internet of Things-based service, comprising an operation of transmitting the second map data to the external electronic device.

11. In the 10th paragraph, the operation of generating the second map data is: An operation of verifying identification information of at least one controlled device included in a request to provide at least a portion of the first map data; An operation of confirming a map image related to at least one space based on confirming that at least one controlled device belongs to at least one space using identification information of at least one controlled device; and A method for providing an Internet of Things-based service, comprising an operation of generating the second map data by including an object representing the at least one controlled device on the confirmed map image.

12. In the 10th or 11th paragraph, the operation of generating the second map data is: A method for providing an Internet of Things-based service, comprising an operation of generating the second map data, wherein at least one of the map images for the remaining spaces excluding the map image related to the at least one space or the objects representing the remaining controlled devices excluding the at least one controlled device is not displayed.

13. In any one of paragraphs 10 to 12, the operation of generating the second map data comprises: An operation of extracting a map image related to at least one space from the first map data; and A method for providing an Internet of Things-based service, comprising an operation of generating the second map data by including an object representing the at least one controlled device on the extracted map image.

14. In any one of paragraphs 10 to 13, the operation of extracting a map image related to at least one space comprises: An operation of checking the coordinates for each of the multiple spaces of the above building; and A method for providing an Internet of Things-based service, comprising an operation of extracting a map image related to the at least one space from the first map data based on coordinates for the at least one space.

15. In a non-transitory storage medium storing computer-readable instructions, the instructions, when executed by at least one processor (421) of a server (208, 350), are configured to cause the server to perform at least one operation, wherein the at least one operation is: An operation of receiving a request from an electronic device to provide at least a portion of first map data; wherein the first map data represents a plurality of spaces of a building and locations of a plurality of controlled devices within the plurality of spaces; An action of transmitting a message including access information to an external electronic device selected by the electronic device; wherein at least a portion of the first map data is provided to the external electronic device that accesses the server using the access information; An operation of generating second map data representing a location of at least one space of the building and the at least one controlled device, and corresponding to at least a portion of the first map data, based on at least one controlled device being allowed to be controlled by the external electronic device or based on the at least one controlled device belonging to at least one space; and A storage medium comprising an operation of transmitting the second map data to the external electronic device.

Citation Information

Patent Citations

  • Home Network System based on Machine to Machine Communication and Using Method thereof

    KR101194567B1

  • INTEGRATED CONTROLLER BASED ON A IoT

    KR101702963B1

  • Method and apparatus for split rendering based on ue estimation in communication system

    KR1020240125363A

  • Heteroaryl derivative compounds, and uses thereof

    KR1020250072244A

  • Home network system, server and server control method

    WO2021010611A1