WO2022060046A1 - Edge computing system and handover method for edge computing device - Google Patents

Edge computing system and handover method for edge computing device Download PDF

Info

Publication number
WO2022060046A1
WO2022060046A1 PCT/KR2021/012461 KR2021012461W WO2022060046A1 WO 2022060046 A1 WO2022060046 A1 WO 2022060046A1 KR 2021012461 W KR2021012461 W KR 2021012461W WO 2022060046 A1 WO2022060046 A1 WO 2022060046A1
Authority
WO
WIPO (PCT)
Prior art keywords
edge
edge device
edge computing
computing service
processor
Prior art date
Application number
PCT/KR2021/012461
Other languages
French (fr)
Korean (ko)
Inventor
이종원
김무현
송가진
이선기
Original Assignee
삼성전자 주식회사
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 삼성전자 주식회사 filed Critical 삼성전자 주식회사
Publication of WO2022060046A1 publication Critical patent/WO2022060046A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/40Support for services or applications
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management
    • H04L67/148Migration or transfer of sessions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/2866Architectures; Arrangements
    • H04L67/289Intermediate processing functionally located close to the data consumer application, e.g. in same machine, in same home or in same sub-network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/51Discovery or management thereof, e.g. service location protocol [SLP] or web services

Definitions

  • This document is about an edge computing system, and more specifically, an edge computing system that can perform edge computing services by an edge device connected to data acquired from a leaf device, and an edge device connected to a leaf device in the edge computing system. It is about how to handover to another edge device.
  • Cloud computing technology is a technology for providing computing services such as servers, storage, software, or analysis by providing computing resources that exist in a different location to the user through a network.
  • User data or contents collected from IoT devices are stored in cloud servers, and cloud services are provided to users through data processing.
  • Cloud computing is being utilized to process data generated in the Internet of Things (IoT).
  • IoT Internet of Things
  • cloud computing as the amount of data and devices constituting the IoT increases, a load is created on the system, and security or privacy issues may occur in the process of data delivery and/or storage, an error may occur in the cloud server, or the Internet If it is not connected to , there may be a problem that the service cannot be provided.
  • Edge computing is an open architecture that extends cloud computing and some of its services to devices at the edge of a network. For example, when edge computing technology is utilized in IoT, applications or services processed in a cloud server, where low latency and privacy are important, can be partially distributed on the edge device.
  • edge computing technology is being used in IoT
  • the conventional edge computing service provides a service using a module fixed to an edge device fixed to a leaf device.
  • the process of disconnecting the previously connected edge device and then reconnecting with the new edge device is required do.
  • An object of the present document is to provide an edge computing system and a handover method of an edge computing device.
  • An electronic device includes a communication module, a memory, and a processor operatively connected to the communication module and the memory, wherein the processor includes a first external device and a second external device on a local network.
  • the processor includes a first external device and a second external device on a local network.
  • An electronic device includes a communication module, a memory, and a processor operatively connected to the communication module and the memory, wherein the processor is Based on the received data, an edge computing service is performed, a handover event of the edge computing service is detected, and in response to the detection of the handover event, it is connected to the first external device through the communication module and the A second external device capable of performing an edge computing service is identified, and information related to the identified second external device and information related to the handover event is provided to the first external device, the second external device, or an external server. It may be set to transmit to at least one of
  • An electronic device includes a communication module, a sensor, and a processor operatively connected to the communication module and the sensor, wherein the processor transmits data obtained through the sensor to the communication module to perform the edge computing service by transmitting to the first external device through and to request a connection for the edge computing service from the second external device.
  • the edge computing function when the edge device connected to the leaf device determines that it is necessary to change the edge computing function, the edge computing function is handed over so that the edge computing service can be performed by the new edge device.
  • a computing system and a handover method of an edge computing device may be provided.
  • FIG 1 illustrates devices in an IoT environment according to various embodiments.
  • FIGS. 2A and 2B illustrate respective devices of an edge computing system according to various embodiments.
  • FIG. 3 is a block diagram of a user device within a network environment, in accordance with various embodiments.
  • FIG. 4 is a block diagram of an edge device according to various embodiments of the present disclosure.
  • FIG. 5 is a block diagram of a leaf device according to various embodiments.
  • FIG. 6 is a flowchart of a handover method of an edge device according to various embodiments.
  • FIG. 7 is a flowchart of a method of determining a handover event according to movement of an edge device according to various embodiments of the present disclosure
  • FIG. 8 is a flowchart of a method of determining a handover event according to a resource of an edge device according to various embodiments of the present disclosure
  • FIG. 9 is a flowchart of a method of determining a handover event according to a power state or resource of an edge device according to various embodiments of the present disclosure
  • FIG. 10 is a diagram illustrating a change process of an edge device when an edge handover is initiated by a second edge device according to various embodiments of the present disclosure.
  • FIG. 11 is a diagram illustrating a process of changing an edge device when an edge handover is initiated by a second edge device according to various embodiments of the present disclosure.
  • FIG. 12 is a diagram illustrating a change process of an edge device when an edge handover is initiated by a leaf device according to various embodiments of the present disclosure.
  • FIG. 13 is a diagram illustrating a change process of an edge device when an edge handover is initiated by a leaf device according to various embodiments of the present disclosure.
  • FIG. 14 is a diagram illustrating a process of changing an edge device when an edge handover is initiated by an IoT server according to various embodiments of the present disclosure.
  • FIG. 15 illustrates a process of handing over some of the edge computing services being performed by the first edge device to the second edge device according to various embodiments of the present disclosure.
  • FIG 16 illustrates a process of handing over some of the edge computing services being performed by the first edge device to the second edge device according to various embodiments of the present disclosure.
  • FIG 1 illustrates devices in an IoT environment (or IoT system) according to various embodiments.
  • an internet of things (IoT) system (or edge computing system) 100 includes at least one leaf device 120 (leaf device), at least one edge device 110 (edge device), and a user. It may include a device 130 (user device) and a cloud network 140 (cloud network).
  • the leaf device 120 , the edge device 110 , and the user device 130 may be disposed in adjacent locations (eg, in a house) and connected to the same home network (eg, the same access point (AP)).
  • the cloud network 140 may be remotely located, but may be connected to the leaf device 120 , the edge device 110 , and the user device 130 through the Internet.
  • edge computing service is used to transmit data acquired from leaf devices to edge devices located adjacent to and located on the same home network of leaf devices, and to provide a series of data processing and other services on the edge devices It can mean the skill to Although this document defines a device that acquires data through a sensor (eg, a camera 121, a refrigerator 122, a light bulb 123a, and a digital thermometer 123b) as a leaf device, the leaf device is a client of an edge computing service. It may be defined by other names such as device, end device, sensor device, IoT device, and slave device. In addition, although defined as an edge device in this document, an edge device may be defined by other names, such as an edge server, a server device, a master device, a hub device, and a service device of an edge computing service.
  • a sensor eg, a camera 121, a refrigerator 122, a light bulb 123a, and a digital thermometer 123b
  • the leaf device is a client of an edge computing service. It
  • the leaf device 120, the edge device 110, and the user device 130 are classified and described according to the function and operation of each device in the edge computing system 100, but the same device (eg, a smart phone, a tablet PC) may operate as any one of the leaf device 120 , the edge device 110 , and the user device 130 in some cases.
  • the names and definitions of devices described in this document do not limit the functions and/or operations of the devices.
  • the leaf device 120 may collect various data using a sensor as an end point of the IoT system 100 and transmit it to the edge device 110 or the cloud network 140 . Also, the leaf device 120 may perform various operations according to a command transmitted from the cloud network 140 or the user device 130 .
  • a device such as a camera 121 , a refrigerator 122 , a light bulb 123a , and a digital thermometer 123b may be the leaf device 120 .
  • the leaf device 120 may access the cloud network 140 through the Internet, and devices that do not support Internet Protocol (IP) among the leaf devices 120 (eg, the light bulb 123a, digital
  • IP Internet Protocol
  • the thermometer 123b) transmits the sensed data to the hub device 124 through supported non-IP-based communication (eg, bluetooth, zigbee), and the hub device 124 sends each leaf to the cloud network 140 via the Internet. Sensing data of the devices 123a and 123b may be transmitted.
  • IP Internet Protocol
  • the cloud network 140 is located on the network and may include various server devices (eg, IoT management server and IoT hub server) supporting cloud computing services in the IoT system 100 .
  • the cloud network 140 may perform computing processing on the sensing data received from the leaf device 120 and transmit a command for controlling the leaf device 120 .
  • the cloud network 140 may perform a function of operating and managing a specific device in the home network to operate as the edge device 110 .
  • the cloud network 140 includes an IoT server (eg, an IoT management server or an IoT hub server), and the IoT server is an edge device such as registration, connection, and management of the edge device 110 and the leaf device 120 .
  • a computing service may be performed and a module (eg, a device module, a service module) necessary for the edge computing service may be provided to the edge device 110 .
  • the edge device 110 may directly process data received from the leaf device 120 or transmit it to the cloud network 140 (eg, an IoT server).
  • the edge device 110 may be a device including hardware and/or software resources necessary for an edge computing service, such as a TV 112 and a tablet PC 111 .
  • the edge device 110 may be connected to the cloud network 140 through the Internet, and may form a home network with the leaf device 120 .
  • a plurality of edge devices 110 may exist in the home network, and the leaf device 120 may be connected to any one of the plurality of edge devices 110 to transmit data.
  • the edge device 110 may download and execute a module (eg, a device module, a service module) required for an edge computing service from the cloud network 140 .
  • the edge device 110 may perform a device-specific function (eg, an image output function of a TV), and may perform hardware at least partially concurrently with the performance of the unique function or during an idle time that does not perform the unique function. and/or may perform edge computing services through software resources.
  • a device-specific function eg, an image output function of a TV
  • the edge device 110 may perform hardware at least partially concurrently with the performance of the unique function or during an idle time that does not perform the unique function. and/or may perform edge computing services through software resources.
  • edge device 110 A detailed configuration and operation of the edge device 110 will be described in more detail with reference to FIG. 4 .
  • the user device 130 may provide various user interfaces related to edge computing services through applications. For example, the user device 130 may obtain data (eg, camera image streaming) acquired from the leaf device 120 or data as a result of processing the data in the edge device 110 or the cloud network 140 (eg, a person). recognition) can be displayed on the display. In addition, the user device 130 may receive a user input such as connection of the edge device 110 and/or the leaf device 120 and server registration, and transmit it to the cloud network 140 . A detailed configuration and operation of the user device 130 will be described in more detail with reference to FIG. 3 .
  • data eg, camera image streaming
  • the cloud network 140 e.g, a person
  • the user device 130 may receive a user input such as connection of the edge device 110 and/or the leaf device 120 and server registration, and transmit it to the cloud network 140 .
  • the leaf device 120 may be connected to any one of a plurality of edge devices 110 located in the home network to perform an edge computing service, and may switch to another edge device according to the state of each edge device.
  • a connection can be handed over.
  • the leaf device 120 switches the connection to another edge device to continuously perform the edge computing service being performed.
  • the leaf device 120 can mean doing For example, while connected to the leaf device 120 and the first edge device (eg, the tablet PC 111) and performing edge computing services, the movement of the first edge device, network departure, lack of resources, change of power state, and Similarly, when the first edge device cannot perform the edge computing function, according to the handover event, the leaf device 120 is connected to the second edge device (eg, the TV 112) in the home network to provide an edge computing service. can be performed.
  • the first edge device eg, the tablet PC 111
  • the leaf device 120 is connected to the second edge device (eg, the TV 112) in the home network to provide an edge computing service. can be performed.
  • FIGS. 2A and 2B illustrate respective devices of an edge computing system according to various embodiments.
  • the edge computing system may include a leaf device 220 , an edge device 210 , a user device 230 , an IoT hub server 250 , and an IoT management server 240 .
  • various IoT devices may exist on the home network, and in FIG. 2 , one leaf device (eg, the camera 121 of FIG. 1 ) and one edge device ) (eg, the TV 112 of FIG. 1 ) will be described as an example.
  • the IoT management server 240 (eg, SmartThings TM server) is a server device that provides various services for determining, connecting and/or operating edge computing services, and includes a provision manager 242, a module It may include a manager 244 and an edge-leaf manager 246 .
  • the provision manager 242 may perform a relay function in the middle so that the edge device 210 can be connected to the IoT hub server 250 .
  • the provision manager 242 provides a connection string ( connection string) to the edge device 210 .
  • the module manager 244 may manage information on various modules provided for edge computing services and devices supporting each service.
  • the module required to perform the edge computing service is a device module 219 that enables the edge device 210 to transmit data transmitted from the leaf device 220 to an external server (eg, IoT hub server 250). and a service module 218 including programs executed to implement a service in the edge device 210 based on data transmitted from the leaf device 220 .
  • the edge-leaf manager 246 may manage the connection state between the edge device 210 and the leaf device 220 existing in several home networks. For example, when the edge device 210 and the leaf device 220 registered in the IoT management server 240 are connected or disconnected from each other, the edge device 210 and/or the leaf device 220 connects or connects. The release information is transmitted to the IoT management server 240, and the IoT management server 240 can store information about which edge device 210 and leaf device 220 are connected in real time, and which service is being performed. there is.
  • the leaf device 220 is connected to a specific edge device (eg, the tablet PC 111 of FIG. 1 ) to perform an edge computing service, and then disconnects from the corresponding edge device according to a handover event and releases the connection to another edge device.
  • a specific edge device eg, the tablet PC 111 of FIG. 1
  • the IoT management server 240 connects the edge device 210 and the leaf device 240 changed according to the handover event. Information can be updated.
  • the IoT hub server 250 supports a cloud computing platform, and provides data necessary for the leaf device 220 and the edge device 210 in the cloud environment to be connected to each other.
  • the IoT hub server 250 may include an IoT hub 252 and a module registry 254 .
  • the module registry 254 may be a storage of modules (eg, the device module 219 and the service module 218 ) required to perform an edge computing service.
  • the IoT hub 252 maintains a connection with the edge device 210 , provides a module stored in the module registry 254 to the edge device 210 , and provides multiple edge devices 210 . ) can maintain information of installed modules.
  • the edge device 210 (eg, the edge device 110 of FIG. 1 ) has device-specific functions such as a TV, a tablet PC, and a laptop PC, and configures hardware and/or software for an edge computing service. It can be a device containing (eg edge runtime, base module).
  • the edge computing service may be performed through hardware and/or software resources at least partially concurrently with the performance of the intrinsic function or during idle time when the intrinsic function is not performed.
  • the edge device 210 includes an interface 212 and an operating system (OS) 214 for communicating with the cloud (eg, the IoT management server 240 and the IoT hub server 250 ). and edge runtime 216 .
  • OS operating system
  • the edge device 210 may require hardware conditions (eg, CPU performance) for operating the operating system 214 , and may be configured as a real time operating system (RTOS).
  • RTOS real time operating system
  • An edge runtime 216 (edge runtime) and a basic module for edge computing may be installed in the edge device 210 through a process process or software upgrade of the edge device 210 .
  • the edge runtime 216 may include a daemon program for interworking with the IoT server, and the basic module may be configured as a container as a program necessary for communication with the IoT server.
  • the basic module may be a container installed in the edge runtime 216 environment.
  • the edge device 210 when the edge device 210 is connected to a specific leaf device 220 , it may receive and install at least one module for performing an edge computing service from the IoT hub server 250 .
  • the at least one module may be determined according to the type of the leaf apparatus 220 to be connected and/or the type of service that can be performed, and a device module 219 corresponding to the leaf apparatus 220 and / or may include a service module 218 corresponding to the type of service to be performed.
  • a device module 219 corresponding to the leaf apparatus 220 and / or may include a service module 218 corresponding to the type of service to be performed.
  • the edge device 210 is connected to the IoT hub server 250 by executing the edge runtime 216 in the provisioning process, and the at least one module is additionally installed according to the type of the leaf device 220 and can be executed
  • the edge device 210 may activate or deactivate the edge mode according to a command received from the IoT hub server 250 or the IoT management server 240 .
  • the edge device 210 performs only a unique function (eg, an image output function of the TV), and the device module 219 and the service module 218 may not be executed.
  • the leaf device 220 (eg, the leaf device 120 of FIG. 1 ) transmits data acquired using a sensor to the connected edge device 210 or a cloud network (eg, IoT management server 240 ); It can be transmitted to the IoT hub server (250).
  • a cloud network eg, IoT management server 240
  • IoT hub server 250
  • IP internet protocol
  • the user device 230 may be a device including a display capable of executing various applications, such as a smart phone and a tablet PC, and displaying a user interface (UI).
  • the user device 230 may install and/or execute an application for an edge computing service, and receive content and a notification generated by the leaf device 220 through the corresponding application.
  • the edge device 210 and the leaf device 220 are connected, the content or notification generated by the leaf device 220 may be transmitted to the user device 230 through the edge device 210 .
  • the functions of the IoT hub server 250 and the IoT management server 240 may be performed by one server device (eg, the IoT server 260 of FIG. 2B ).
  • the IoT server 260 includes the IoT hub 261 (eg, the IoT hub 252 of FIG. 2A ) that is a configuration of the IoT hub server 250 and the IoT management server 240 described above. ), module registry 262 (eg, module registry 254 in FIG. 2A ), provision manager 263 (eg, provision manager 242 in FIG. 2A ), module manager 264 (eg, FIG. 2A ). of the module manager 244) and the edge-leaf manager 265 (eg, the edge-leaf manager 246 of FIG. 2A).
  • the edge-leaf manager 265 eg, the edge-leaf manager 246 of FIG. 2A.
  • each configuration of the IoT hub server 250 and the IoT management server 240 of FIG. 2A is distributedly arranged by three or more plurality of server devices existing on the network, or some operations performed in each configuration It may also be distributed by several server devices.
  • FIG. 3 is a block diagram of a user device within a network environment, in accordance with various embodiments.
  • a user device of the edge computing system eg, the user device 130 of FIG. 1 and the user device 230 of FIG. 2A
  • an electronic device 301 may be referred to as an electronic device 301 .
  • the user device (or electronic device) 301 communicates with the electronic device 302 through a first network 398 (eg, a short-range wireless communication network), or 2 may communicate with the electronic device 304 or the server 308 through the network 399 (eg, a remote wireless communication network).
  • the electronic device 301 may communicate with the electronic device 304 through the server 308 .
  • the electronic device 301 includes a processor 320 , a memory 330 , an input module 350 , a sound output module 355 , a display module 360 , an audio module 370 , and a sensor module ( 376 , interface 377 , connection terminal 378 , haptic module 379 , camera module 380 , power management module 388 , battery 389 , communication module 390 , subscriber identification module 396 ) , or an antenna module 397 .
  • at least one of these components eg, the connection terminal 378
  • some of these components are integrated into one component (eg, display module 360 ). can be
  • the processor 320 for example, executes software (eg, a program 340) to execute at least one other component (eg, a hardware or software component) of the electronic device 301 connected to the processor 320 . It can control and perform various data processing or operations. According to one embodiment, as at least part of data processing or computation, the processor 320 converts commands or data received from other components (eg, the sensor module 376 or the communication module 390 ) to the volatile memory 332 . may be stored in , process commands or data stored in the volatile memory 332 , and store the result data in the non-volatile memory 334 .
  • software eg, a program 340
  • the processor 320 converts commands or data received from other components (eg, the sensor module 376 or the communication module 390 ) to the volatile memory 332 .
  • the volatile memory 332 may be stored in , process commands or data stored in the volatile memory 332 , and store the result data in the non-volatile memory 334 .
  • the processor 320 is a main processor 321 (eg, central processing unit or application processor) or a secondary processor 323 (eg, a graphics processing unit, a neural network processing unit) a neural processing unit (NPU), an image signal processor, a sensor hub processor, or a communication processor).
  • main processor 321 eg, central processing unit or application processor
  • secondary processor 323 eg, a graphics processing unit, a neural network processing unit
  • NPU neural processing unit
  • an image signal processor e.g., a sensor hub processor, or a communication processor.
  • the coprocessor 323 may be, for example, on behalf of the main processor 321 while the main processor 321 is in an inactive (eg, sleep) state, or when the main processor 321 is active (eg, executing an application). ), together with the main processor 321, at least one of the components of the electronic device 301 (eg, the display module 360, the sensor module 376, or the communication module 390) It is possible to control at least some of the related functions or states.
  • the coprocessor 323 eg, image signal processor or communication processor
  • the auxiliary processor 323 may include a hardware structure specialized for processing an artificial intelligence model.
  • Artificial intelligence models can be created through machine learning. Such learning may be performed, for example, in the electronic device 301 itself on which artificial intelligence is performed, or may be performed through a separate server (eg, the server 308 ).
  • the learning algorithm may include, for example, supervised learning, unsupervised learning, semi-supervised learning, or reinforcement learning, but in the above example not limited
  • the artificial intelligence model may include a plurality of artificial neural network layers.
  • Artificial neural networks include deep neural networks (DNNs), convolutional neural networks (CNNs), recurrent neural networks (RNNs), restricted boltzmann machines (RBMs), deep belief networks (DBNs), bidirectional recurrent deep neural networks (BRDNNs), It may be one of deep Q-networks or a combination of two or more of the above, but is not limited to the above example.
  • the artificial intelligence model may include, in addition to, or alternatively, a software structure in addition to the hardware structure.
  • the memory 330 may store various data used by at least one component (eg, the processor 320 or the sensor module 376 ) of the electronic device 301 .
  • the data may include, for example, input data or output data for software (eg, the program 340 ) and instructions related thereto.
  • the memory 330 may include a volatile memory 332 or a non-volatile memory 334 .
  • the program 340 may be stored as software in the memory 330 , and may include, for example, an operating system 342 , middleware 344 , or an application 346 .
  • the input module 350 may receive a command or data to be used in a component (eg, the processor 320 ) of the electronic device 301 from the outside (eg, a user) of the electronic device 301 .
  • the input module 350 may include, for example, a microphone, a mouse, a keyboard, a key (eg, a button), or a digital pen (eg, a stylus pen).
  • the sound output module 355 may output a sound signal to the outside of the electronic device 301 .
  • the sound output module 355 may include, for example, a speaker or a receiver.
  • the speaker can be used for general purposes such as multimedia playback or recording playback.
  • the receiver may be used to receive an incoming call. According to one embodiment, the receiver may be implemented separately from or as part of the speaker.
  • the display module 360 may visually provide information to the outside (eg, a user) of the electronic device 301 .
  • the display module 360 may include, for example, a control circuit for controlling a display, a hologram device, or a projector and a corresponding device.
  • the display module 360 may include a touch sensor configured to sense a touch or a pressure sensor configured to measure the intensity of a force generated by the touch.
  • the audio module 370 may convert a sound into an electric signal or, conversely, convert an electric signal into a sound. According to an embodiment, the audio module 370 obtains a sound through the input module 350 or an external electronic device (eg, a sound output module 355 ) connected directly or wirelessly with the electronic device 301 .
  • the electronic device 302 may output sound through (eg, a speaker or headphones).
  • the sensor module 376 detects an operating state (eg, power or temperature) of the electronic device 301 or an external environmental state (eg, a user state), and generates an electrical signal or data value corresponding to the sensed state. can do.
  • the sensor module 376 may include, for example, a gesture sensor, a gyro sensor, a barometric pressure sensor, a magnetic sensor, an acceleration sensor, a grip sensor, a proximity sensor, a color sensor, an IR (infrared) sensor, a biometric sensor, It may include a temperature sensor, a humidity sensor, or an illuminance sensor.
  • the interface 377 may support one or more specified protocols that may be used by the electronic device 301 to directly or wirelessly connect with an external electronic device (eg, the electronic device 302 ).
  • the interface 377 may include, for example, a high definition multimedia interface (HDMI), a universal serial bus (USB) interface, an SD card interface, or an audio interface.
  • HDMI high definition multimedia interface
  • USB universal serial bus
  • SD card interface Secure Digital Card
  • connection terminal 378 may include a connector through which the electronic device 301 can be physically connected to an external electronic device (eg, the electronic device 302 ).
  • the connection terminal 378 may include, for example, an HDMI connector, a USB connector, an SD card connector, or an audio connector (eg, a headphone connector).
  • the haptic module 379 may convert an electrical signal into a mechanical stimulus (eg, vibration or movement) or an electrical stimulus that the user can perceive through tactile or kinesthetic sense.
  • the haptic module 379 may include, for example, a motor, a piezoelectric element, or an electrical stimulation device.
  • the camera module 380 may capture still images and moving images. According to one embodiment, the camera module 380 may include one or more lenses, image sensors, image signal processors, or flashes.
  • the power management module 388 may manage power supplied to the electronic device 301 .
  • the power management module 388 may be implemented as, for example, at least a part of a power management integrated circuit (PMIC).
  • PMIC power management integrated circuit
  • the battery 389 may supply power to at least one component of the electronic device 301 .
  • battery 389 may include, for example, a non-rechargeable primary cell, a rechargeable secondary cell, or a fuel cell.
  • the communication module 390 is a direct (eg, wired) communication channel or a wireless communication channel between the electronic device 301 and an external electronic device (eg, the electronic device 302, the electronic device 304, or the server 308). It can support establishment and communication performance through the established communication channel.
  • the communication module 390 may include one or more communication processors that operate independently of the processor 320 (eg, an application processor) and support direct (eg, wired) communication or wireless communication.
  • the communication module 390 is a wireless communication module 392 (eg, a cellular communication module, a short-range wireless communication module, or a global navigation satellite system (GNSS) communication module) or a wired communication module 394 (eg, : It may include a LAN (local area network) communication module, or a power line communication module).
  • GNSS global navigation satellite system
  • a corresponding communication module among these communication modules is a first network 398 (eg, a short-range communication network such as Bluetooth, wireless fidelity (WiFi) direct, or infrared data association (IrDA)) or a second network 399 (eg, legacy It may communicate with the external electronic device 304 through a cellular network, a 5G network, a next-generation communication network, the Internet, or a computer network (eg, a telecommunication network such as a LAN or a WAN).
  • a first network 398 eg, a short-range communication network such as Bluetooth, wireless fidelity (WiFi) direct, or infrared data association (IrDA)
  • a second network 399 eg, legacy It may communicate with the external electronic device 304 through a cellular network, a 5G network, a next-generation communication network, the Internet, or a computer network (eg, a telecommunication network such as a LAN or a WAN).
  • a telecommunication network
  • the wireless communication module 392 uses the subscriber information (eg, International Mobile Subscriber Identifier (IMSI)) stored in the subscriber identification module 396 within a communication network, such as the first network 398 or the second network 399 .
  • the electronic device 301 may be identified or authenticated.
  • the wireless communication module 392 may support a 5G network after a 4G network and a next-generation communication technology, for example, a new radio access technology (NR).
  • NR access technology includes high-speed transmission of high-capacity data (eMBB (enhanced mobile broadband)), minimization of terminal power and access to multiple terminals (mMTC (massive machine type communications)), or high reliability and low latency (URLLC (ultra-reliable and low-latency) -latency communications)).
  • eMBB enhanced mobile broadband
  • mMTC massive machine type communications
  • URLLC ultra-reliable and low-latency
  • the wireless communication module 392 may support a high frequency band (eg, mmWave band) to achieve a high data rate, for example.
  • a high frequency band eg, mmWave band
  • the wireless communication module 392 uses various techniques for securing performance in a high frequency band, for example, beamforming, massive multiple-input and multiple-output (MIMO), all-dimensional multiplexing. It may support technologies such as full dimensional MIMO (FD-MIMO), an array antenna, analog beam-forming, or a large scale antenna.
  • the wireless communication module 392 may support various requirements specified in the electronic device 301 , an external electronic device (eg, the electronic device 304 ), or a network system (eg, the second network 399 ).
  • the wireless communication module 392 may include a peak data rate (eg, 20 Gbps or more) for realizing eMBB, loss coverage (eg, 164 dB or less) for realizing mMTC, or U-plane latency for realizing URLLC ( Example: downlink (DL) and uplink (UL) each 0.5 ms or less, or round trip 1 ms or less).
  • a peak data rate eg, 20 Gbps or more
  • loss coverage eg, 164 dB or less
  • U-plane latency for realizing URLLC
  • the antenna module 397 may transmit or receive a signal or power to the outside (eg, an external electronic device).
  • the antenna module 397 may include an antenna including a conductor formed on a substrate (eg, a PCB) or a radiator formed of a conductive pattern.
  • the antenna module 397 may include a plurality of antennas (eg, an array antenna). In this case, at least one antenna suitable for a communication scheme used in a communication network such as the first network 398 or the second network 399 is connected from the plurality of antennas by, for example, the communication module 390 . can be selected. A signal or power may be transmitted or received between the communication module 390 and an external electronic device through the selected at least one antenna.
  • other components eg, a radio frequency integrated circuit (RFIC)
  • RFIC radio frequency integrated circuit
  • the antenna module 397 may form a mmWave antenna module.
  • the mmWave antenna module comprises a printed circuit board, an RFIC disposed on or adjacent to a first side (eg, bottom side) of the printed circuit board and capable of supporting a designated high frequency band (eg, mmWave band); and a plurality of antennas (eg, an array antenna) disposed on or adjacent to a second side (eg, top or side) of the printed circuit board and capable of transmitting or receiving signals of the designated high frequency band. can do.
  • peripheral devices eg, a bus, general purpose input and output (GPIO), serial peripheral interface (SPI), or mobile industry processor interface (MIPI)
  • GPIO general purpose input and output
  • SPI serial peripheral interface
  • MIPI mobile industry processor interface
  • the command or data may be transmitted or received between the electronic device 301 and the external electronic device 304 through the server 308 connected to the second network 399 .
  • Each of the external electronic devices 302 or 304 may be the same as or different from the electronic device 301 .
  • all or part of the operations executed by the electronic device 301 may be executed by one or more external electronic devices 302 , 304 , or 308 .
  • the electronic device 301 may perform the function or service itself instead of executing the function or service itself.
  • one or more external electronic devices may be requested to perform at least a part of the function or the service.
  • One or more external electronic devices that have received the request may execute at least a part of the requested function or service, or an additional function or service related to the request, and transmit a result of the execution to the electronic device 301 .
  • the electronic device 301 may process the result as it is or additionally and provide it as at least a part of a response to the request.
  • cloud computing, distributed computing, mobile edge computing (MEC), or client-server computing technology may be used.
  • the electronic device 301 may provide an ultra-low latency service using, for example, distributed computing or mobile edge computing.
  • the external electronic device 304 may include an Internet of things (IoT) device.
  • the server 308 may be an intelligent server using machine learning and/or neural networks.
  • the external electronic device 304 or the server 308 may be included in the second network 399 .
  • the electronic device 301 may be applied to an intelligent service (eg, smart home, smart city, smart car, or health care) based on 5G communication technology and IoT-related technology.
  • the processor 320 connects an edge device (eg, the edge device 210 of FIG. 2A ) and a leaf device (eg, the leaf device 220 of FIG. 2A ) in the home network using the application 346 ). Control related to the edge computing service used can be performed.
  • an edge device eg, the edge device 210 of FIG. 2A
  • a leaf device eg, the leaf device 220 of FIG. 2A
  • Control related to the edge computing service used can be performed.
  • the application 346 may provide a function of registering the edge device and the leaf device with the IoT server (eg, the IoT management server 240 of FIG. 2A ).
  • the processor 320 may discover at least one edge device and a leaf device in the home network using the communication module 390 and receive device information (eg, identification information, network information) of each device. .
  • the processor 320 may display a list of identified devices on the application.
  • the processor 320 may request registration by transmitting device information of the edge device or the leaf device selected based on the user input to the IoT server.
  • the processor 320 may receive the name and/or location information of each device on the application 346 .
  • the processor 320 may receive data (eg, image streaming, sound data) obtained from a sensor of the leaf device from the leaf device from the cloud network while the edge mode of the edge device is deactivated. Thereafter, when the edge computing service is started, the data acquired from the leaf device is transmitted to the edge device, and the user device (eg, the user device 130 of FIG. 1 , the user device 230 of FIG. 2A , or the electronic device) 301 ) may receive sensor data and analysis data directly from the edge device or through a cloud network (eg, the cloud network 140 of FIG. 1 ) from the edge device.
  • data eg, image streaming, sound data
  • the processor 320 may display information related to connection or disconnection between the edge device and the leaf device on an application displayed on the display. For example, when the leaf device changes the connection from the first edge device to the second edge device according to a handover event, the user device 301 selects one of the leaf device, the first edge device, the second edge device, or the IoT server. Information related to the update of the edge-leaf connection may be received from at least one. The user device 301 may display updated edge-leaf connection information through an application based on the received information.
  • At least one of the components of the edge device or the leaf device may be configured to be at least partially identical to or similar to components of the electronic device 301 (eg, a user device).
  • the sensor of the leaf device may perform substantially the same function and/or operation as the sensor module 376 of the electronic device 301 .
  • the communication module of the edge device eg, the communication module 420 of FIG. 4
  • the interface eg, the interface 212 of FIG. 2A
  • the electronic device 301 may perform substantially the same function and/or operation as that of the interface 377 .
  • FIG. 4 is a block diagram of an edge device according to various embodiments of the present disclosure.
  • the edge device 400 shown in FIG. 4 is a first edge device (eg, the first edge device 1010 of FIG. 10 ) or a second edge device (eg, the second edge device of FIG. 10 ) according to various embodiments. 1020)) can be operated.
  • a handover event occurs while the edge device 400 is connected to a leaf device (eg, the leaf device 220 of FIG. 2A ) and performs an edge computing service, so that the leaf device is handed over to another edge device.
  • the edge device 400 may operate as a first edge device, and a handover event occurs while another edge device 400 is connected to a leaf device to perform an edge computing service, so that the leaf device becomes an edge device ( 400), the edge device 400 may operate as a second edge device.
  • a plurality of edge devices may exist, and each edge device may be a different type of device.
  • the edge device 400 may be implemented as a TV, a tablet PC, a laptop PC, or the like.
  • descriptions of features for the edge device 400 to execute device-specific functions will be omitted, and only operations necessary to operate as the edge device 400 in the edge computing system will be described.
  • the communication module 420 supports wireless communication (eg, short-range communication (Wi-Fi), cellular communication), a leaf device (eg, the leaf device 220 of FIG. 2A ), a user device ( For example: the user device 230 of FIG. 2A ) and an external server (eg, the IoT management server and the IoT hub server of FIG. 2A ) may transmit/receive data.
  • the communication module 420 is short-range wireless communication, near field communication (NFC), Bluetooth, bluetooth low energy (BLE), WiFi Direct, and a mesh network (eg, zigbee, z-wave). ) and/or UWB (ultra-wideband), and cellular communication, may be connected to a 4G network, and/or a 5G network (eg, standalone (SA), non-standalone (NSA)).
  • the sensor 440 may detect a movement of the electronic device.
  • the edge device 400 may be a device portable by a user (eg, a tablet PC, a laptop PC), and a gyroscope sensor to detect movement (or movement) of the edge device 400 , It may include at least one motion detection sensor such as an acceleration sensor.
  • the edge device 400 includes a sensor hub (not shown) that collects and processes data of various sensors 440 , and sensor data collected from the sensor hub may be provided to the processor 410 .
  • the power management module 450 may check the power state of the edge device 400 and may be implemented as at least a part of a power management integrated circuit (PMIC). For example, the power management module 450 detects the power state of the edge device 400, such as whether the edge device 400 is connected to an external power source, the amount of charge of the battery (not shown), and sends it to the processor 410 . can transmit the power state of the edge device 400, such as whether the edge device 400 is connected to an external power source, the amount of charge of the battery (not shown), and sends it to the processor 410 . can transmit
  • PMIC power management integrated circuit
  • the memory 430 may include a volatile memory and/or a non-volatile memory, and may store various data used in at least one component (eg, the processor 410 ) of the edge device 400 . It may be temporarily and/or permanently stored.
  • the memory 430 may store various instructions that may be executed by the processor 410 . Such instructions may include various control commands including arithmetic and logical operations, data movement, and input/output that can be recognized by the processor 410 .
  • the memory 430 may store device information, an edge runtime, a basic module, a device module, and a service module in relation to an edge computing service.
  • the device information may include identification information of the edge device 400 , for example, device ID, manufacturer, model name, capability, and device type.
  • the device information may further include at least some of location information (eg, a room, living room) and network information (eg, an IP address) of the edge device 400 .
  • location information e.g, a room, living room
  • network information e.g, an IP address
  • At least some of the device information may be input by the user on an application of the user device (eg, the electronic device 301 of FIG. 3 or the user device 301 of FIG. 3 ).
  • the edge runtime may include a daemon program for interworking with the IoT server.
  • the edge runtime is not executed when the edge mode of the edge device 400 is deactivated.
  • this value is It can be implemented using
  • the basic module may be configured as a container as a program necessary for communication with the IoT server.
  • a basic module for edge runtime and edge computing may be installed in the edge device 400 through a process process or software upgrade of the edge device 400 .
  • the edge device 400 may perform an over the air (OTA) software update as a software upgrade.
  • the OTA software update may include an open mobile alliance (OMA) download, a firmware OTA (FOTA), or a plain FTP (FTP).
  • the edge device 400 may store a device module and a service module as a module required for an edge computing service.
  • the device module may correspond to each connected leaf device, and the service module may correspond to each service to be performed.
  • a plurality of device modules and/or service modules may be installed according to the number of connected leaf devices and the number of services to be performed. (Example: device module 1 (219a) and device module 2 (219b) in FIG. 2A)
  • the device module converts data received according to the first protocol from the leaf device according to the second protocol (eg, message queue telemetry transport (MQTT)) and transmits it to an external server.
  • the first protocol and the second protocol are protocols related to a control channel for the edge device 400 to communicate with the IoT server, and the first protocol is a web socket.
  • the control channel is a channel for providing and/or processing device information
  • the edge device 400 may communicate with the IoT server using the control channel.
  • the service module may include programs that process and/or analyze the received data.
  • the edge device 400 During the process or software upgrade of the edge device 400 , only the edge runtime and the basic module may be installed, and the device module and the service module may not be installed. Thereafter, when the edge device 400 is connected to the leaf device, the device module and the service module may be downloaded and installed from the IoT server (eg, the module registry 254 of FIG. 2A ).
  • the IoT server eg, the module registry 254 of FIG. 2A
  • the memory 430 may further store various programs for executing a unique function of the edge device 400 (eg, an image output function of a TV).
  • the processor 410 is a configuration capable of performing an operation or data processing related to control and/or communication of each component of the edge device 400 , and includes a communication module 420 and a memory 430 . It may be operatively, functionally, and/or electrically coupled to each component of the back edge device 400 .
  • the edge device 400 is the first edge device (eg, in FIG. 10 ).
  • the second edge device eg, the second edge device 1020 of FIG. 10
  • a handover event is detected and an edge connection change process is performed according to the handover event.
  • various operations will be described.
  • the edge device 400 is connected to a leaf device (eg, the leaf device 220 of FIG. 2A ) through a home network, and may perform an edge computing service based on data received from the leaf device.
  • a leaf device eg, the leaf device 220 of FIG. 2A
  • the edge device 400 uses an audio-video (AV) module and an artificial intelligence (AI) vision module to stream video transmitted from the leaf device to an IoT server (eg:
  • AV audio-video
  • AI artificial intelligence
  • the data may be transmitted to the IoT management server 240 of FIG. 2A
  • image analysis eg, object recognition, face recognition
  • edge computing services that can be implemented through the edge device 400 and the leaf device and modules required accordingly are as follows.
  • Edge Computing Services device module service module camera Face Recognition, Object Detection MQTT Broker av stream gateway Face AI, Vision AI (Doorbell Service, Delivery notification) camera Daily Summary MQTT Broker av stream gateway Face AI, Pet AI (Daily Summary Video Clip) AI speaker Speaker Recognition MQTT Broker av stream gateway Speaker AI (Personized Service) TV Contents Recognition MQTT Broker av stream gateway Contents AI (AD Service, Shopping Service) Robot Vacuum Cleaner Pet Recognition, Bark detection MQTT Broker av stream gateway Pet AI (Pet Service)
  • the MQTT broker may be a module that provides a channel for exchanging commands and/or events between the leaf device and the edge device 400 .
  • the message queuing telemetry transport (MQTT) protocol includes a broker, a publisher, and a subscriber, and when an MQTT broker is installed in the edge device 400 , the MQTT broker of the edge device 400 receives the topic published by the publisher. It can perform the function of relaying to a subscriber.
  • the AV stream gateway may perform a function of relaying audio and/or video streaming transmitted from the leaf device to the AI module.
  • the processor 410 is connected to the leaf device to perform edge computing service while the edge device 400 state information (eg, resource status, network connection status, connected leaf device information, service being performed) ) to another device (eg, a second edge device) and/or an IoT server located in the home network.
  • the edge device 400 state information eg, resource status, network connection status, connected leaf device information, service being performed
  • another device eg, a second edge device
  • IoT server located in the home network.
  • the processor 410 may detect a handover event of an edge computing service being performed. For example, the processor 410 detects a handover event based on at least one of a movement (or movement) of the electronic device acquired using the sensor 440 or the strength of a signal received through the communication module 420 . can detect Alternatively, the processor 410 may detect a handover event based on at least one of available resources of the processor 410 and/or the memory 430 or the power state of the electronic device obtained from the power management module.
  • the processor 410 monitors information such as movement, resource shortage, or power state change during execution of the edge computing service, detects a handover event in advance before a situation in which the edge computing service is impossible to perform, and other devices can be forwarded to
  • a method for the processor 410 to detect a handover event will be described in more detail with reference to FIGS. 7 to 9 .
  • the edge device 400 may transmit a handover event to the IoT server through another network (eg, a cellular network).
  • another network eg, a cellular network
  • the processor 410 may identify the second edge device 400 located in the home network to handover the edge computing service.
  • the edge device 400 may identify the second edge device 400 through a discovery process or based on information received from the IoT server before the handover event occurs, or When an over event occurs, the second edge device 400 may be checked through discovery, or information related to the second edge device 400 located on the home network may be requested from the IoT server.
  • the processor 410 may check whether another identified edge device has a capability to receive an edge computing service handover with a leaf device.
  • the capability of the edge device includes whether the checked edge mode of the second edge device is activated, what services it can provide, whether it can be additionally connected to the leaf device, and the physical resources of the second edge device (eg, a processor). , memory available resources), an IP address, and may include at least some of OCF (open connectivity foundation) capability.
  • OCF open connectivity foundation
  • the processor 410 transmits the handover event to at least one of the second edge device, the leaf device, or the IoT server.
  • the processor 410 may transmit at least some of information on the connected leaf device, the type of service being performed, a module used for the service, and information on the second edge device to be handed over together with the handover event.
  • the processor 410 may terminate the edge computing service by disconnecting the leaf device.
  • the processor 410 notifies the IoT server of handover of the edge computing service and disconnection with the leaf device, and accordingly, the IoT server may update edge-leaf connection information.
  • the processor 410 may check a handover event of the edge computing service of the first edge device and the leaf device. For example, the processor 410 may receive information related to the handover event from the first edge device, and even if information related to the handover event is not received from the first edge device, the edge computing service delivered by the leaf device Based on a change request or a alive signal that the second edge device periodically exchanges with the first edge device, the occurrence of a handover event is confirmed and/or an operation for handover of the edge computing service to the second edge device is initiated.
  • the processor 410 may check a handover event of the edge computing service of the first edge device and the leaf device. For example, the processor 410 may receive information related to the handover event from the first edge device, and even if information related to the handover event is not received from the first edge device, the edge computing service delivered by the leaf device Based on a change request or a alive signal that the second edge device periodically exchanges with the first edge device, the occurrence of a handover event is confirmed and/or an operation
  • the processor 410 may check whether the edge device 400 can perform an edge computing service in response to a handover event. For example, the processor 410 is at least among the available resources of the processor 410 and/or memory, whether the edge mode is activated, or whether a module corresponding to the edge computing service being performed between the first edge device and the leaf device is installed. Based on some, it may be confirmed whether the edge device 400 can perform the edge computing service.
  • the processor 410 may transmit the result to at least one of the first edge device, the leaf device, and the IoT server.
  • the leaf device when it is determined that the edge device 400 cannot perform the edge computing service, the leaf device is connected to another edge device (eg, a third edge device in the network) or an IoT server to provide a service to at least one of another edge device, leaf device, or IoT server to perform
  • another edge device eg, a third edge device in the network
  • an IoT server to provide a service to at least one of another edge device, leaf device, or IoT server to perform
  • the processor 410 releases a connection with the first edge device to the leaf device in response to a handover event, and requests an edge computing service change including establishing a connection between the edge device 400 and the edge computing service. can be transmitted.
  • the processor 410 may perform a connection process for an edge computing service.
  • FIG. 5 is a block diagram of a leaf device according to various embodiments.
  • the leaf device 500 may include a communication module 520 , a processor 510 , and a sensor 540 , and even if some of the illustrated components are omitted or replaced, this document Various embodiments of can be implemented.
  • a plurality of leaf devices may exist, and each leaf device may be a different type of device.
  • the leaf device 500 may be implemented as a camera, a refrigerator, a light bulb, a digital thermometer, or the like.
  • descriptions of features for the leaf device 500 to execute device-specific functions will be omitted, and only operations necessary to operate as the leaf device 500 in the edge computing system will be described.
  • the communication module 520 supports wireless communication (eg, Wi-Fi), an edge device (eg, the edge device 210 of FIG. 2A , the edge device 400 of FIG. 4 ), a user A device (eg, the user device 230 of FIG. 2A , the user device 301 of FIG. 3 ) and an external server (eg, the IoT management server 240 of FIG. 2A , and the IoT hub server 250 ) can
  • wireless communication eg, Wi-Fi
  • an edge device eg, the edge device 210 of FIG. 2A , the edge device 400 of FIG. 4
  • a user A device eg, the user device 230 of FIG. 2A , the user device 301 of FIG. 3
  • an external server eg, the IoT management server 240 of FIG. 2A , and the IoT hub server 250
  • the leaf device 500 may include at least one sensor 540 .
  • the leaf device 500 may include an IP camera, it may include an image sensor for acquiring surrounding image data, and if it is an AI speaker, it may include a microphone for detecting surrounding sound.
  • a sensor 540 for sensing various data such as temperature, pressure, and impact amount may be provided according to the type of the leaf device 500 .
  • the processor 510 is a configuration capable of performing an operation or data processing related to control and/or communication of each component of the leaf device 500 , and a communication module 520 , a sensor 540 . It may be operatively, functionally, and/or electrically coupled with each component of the back leaf device 500 .
  • the leaf device 500 may be connected to a first edge device in the home network (eg, the first edge device 1010 of FIG. 10 ) to perform an edge computing service, and according to a handover event
  • the connection with the first edge device may be released and the edge computing service may be performed by being connected to the second edge device (eg, the second edge device 1020 of FIG. 10 ).
  • the processor 510 may perform an edge computing service by transmitting data (eg, image streaming) acquired through the sensor 540 to the first edge device through the communication module 520 .
  • data eg, image streaming
  • the processor 510 may check a handover event of the edge computing service.
  • the processor 510 may receive information related to a handover event from at least one of the first edge device, the second edge device, and the IoT server.
  • the processor 510 makes it impossible for the first edge device to perform an edge computing service when socket communication is not performed or when a connection termination on a transmission protocol is detected as an alive packet does not arrive. can be confirmed as
  • the processor 510 may transmit handover event information to the second edge device.
  • the processor 510 may identify a connectable second edge device for an edge computing service in response to a handover event. For example, the processor 510 may check information on the second edge device included in information related to a handover event received from at least one of the first edge device, the second edge device, and the IoT server. According to another embodiment, the second edge device may be identified through discovery on the home network.
  • the processor 510 may check whether the checked second edge device can perform the edge computing service. For example, the processor 510 is based on at least a part of the available resources of the processor 510 and/or memory of the second edge device, whether the edge mode is activated, or whether a module corresponding to the edge computing service is installed, It may be checked whether the second edge device can perform the edge computing service.
  • the processor 510 may request a connection between the second edge device and the edge computing service.
  • the processor 510 may transmit a request for an edge computing service or a cloud computing service to the IoT server.
  • the processor 510 may be connected to another edge device (eg, a third edge device) based on information received from the IoT server to perform an edge computing service or to perform a cloud computing service through the IoT server. there is.
  • FIG. 6 is a flowchart of a handover method of an edge device according to various embodiments.
  • the first edge device is an edge device that is connected to the current leaf device (eg, the leaf device 500 of FIG. 5 ) to perform edge computing services
  • the second edge device is located on the home network. It may be a device that can be connected to a leaf device when a handover event occurs.
  • the same edge device eg, edge device 400 in FIG. 4
  • the edge device may operate as the second edge device, and the edge device that has operated as the second edge device may operate as the first edge device.
  • the operation shown in FIG. 6 is not limited to operating in a specific subject (eg, a first edge device, a second edge device, a leaf device, and an IoT server).
  • a particular operation may be performed by a plurality of devices on the edge computing system, or may be performed by a device other than that described.
  • the first edge device may be connected to the leaf device on a home network to perform an edge computing service.
  • the leaf device is an IP camera
  • the edge device uses an audio-video (AV) module and an artificial intelligence (AI) vision module to stream video transmitted from the leaf device to an IoT server (eg, in FIG. 2A ).
  • AV audio-video
  • AI artificial intelligence
  • the IoT management server 240 and the IoT hub server 250 may be transmitted, and the image analysis data may be transmitted to the leaf device and/or the IoT server.
  • the first edge device is connected to the leaf device and while performing the edge computing service, the state information of the first edge device (eg, resource status, network connection status, information of the connected leaf device, service being performed) can be transmitted to another device (eg, a second edge device) and/or an IoT server located in the home network.
  • the state information of the first edge device eg, resource status, network connection status, information of the connected leaf device, service being performed
  • another device eg, a second edge device
  • IoT server located in the home network.
  • the first edge device, the second edge device, or the leaf device may detect a handover event.
  • the first edge device may be a device that a user can carry and move (eg, a tablet PC, a laptop PC), and the coverage of a Wi-Fi signal connectable to an access point (AP) of a home network is within several tens of meters. Since it is short, when the user takes the first edge device outdoors, the first edge device leaves the home network, and thus the edge computing service cannot be performed. In addition, since the first edge device performs edge computing services using some of the hardware and/or software resources, resources Occupying , there may be a shortage of resources for edge computing services. Also, when the power of the first edge device is insufficient, it may be impossible to provide the edge computing service. According to various embodiments, as described above, a handover event may be generated by determining a situation in which the first edge device cannot smoothly perform the edge computing service.
  • AP access point
  • the first edge device may determine a handover event based on at least one of a movement of the first edge device, a resource shortage, or a change in a power state.
  • the first edge device may monitor the information while the edge computing service is being performed, and may generate a handover event in advance before a situation in which the edge computing service cannot be performed occurs.
  • the first edge device may transmit the handover event to at least one of the second edge device, the leaf device, and the IoT server.
  • the first edge device may transmit a handover event to the IoT server through another network (eg, a cellular network).
  • the leaf device and/or the second edge device may detect a handover event by detecting that the signal transmitted from the first edge device is no longer transmitted.
  • a method for the first edge device to determine a handover event will be described in more detail with reference to FIGS. 7 to 9 .
  • the first edge device may identify the second edge device located in the home network.
  • the first edge device may identify the second edge device through a discovery process or based on information received from the IoT server before the handover event occurs, or the handover event occurs
  • the second edge device may be identified through discovery, or information related to the second edge device located on the home network may be requested from the IoT server to be transmitted.
  • operation 630 may be performed by a leaf device or an IoT server.
  • the leaf device receives a handover event from the first edge device or the IoT server or detects a handover event according to a change in a network signal
  • the second device based on the discovery process or information received from the IoT server You can check the edge device.
  • the first edge device may check whether the second edge device checked in operation 630 has a capability to receive an edge computing service handover with the leaf device.
  • the capability of the second edge device includes whether the checked edge mode of the second edge device is activated, what services it can provide, whether it can be additionally connected to the leaf device, and the physical resources of the second edge device (e.g. : processor, memory available resources), IP address, physical and/or software resources supported by the device, and methods of controlling the resources (eg, defined in IoT resource related standards such as open connectivity foundation (OCF), M2M, Connected Home over IP) capability) may include at least some of them.
  • IoT resource related standards such as open connectivity foundation (OCF), M2M, Connected Home over IP
  • the first edge device may determine that the edge mode is activated when the edge runtime of the second edge device is operating (or running).
  • the first edge device may confirm that the corresponding service can be provided.
  • the first edge device may check the service that the second edge device can perform, the device module installed in the second edge device, and the service module based on the device information received from the second edge device (or IoT server).
  • the first edge device has sufficient hardware and/or software resources to receive the leaf device and provide the service. can be checked to determine if it can be further connected with a leaf device.
  • the first edge device can synchronize and check the capability of the second edge device in advance before the handover event occurs, or the capability information can be uploaded to the IoT server in advance, or when a handover event occurs
  • the first edge device may be identified through the discovery process.
  • the discovery may be in the form of receiving a response by transmitting it in the network as a broadcasting message as a query on whether the edge computing service is supported.
  • the first edge device checks information that can be confirmed in advance among the capabilities of the second edge device (eg, a service that can be provided, OCF capability, etc.) through synchronization and requires confirmation in real time.
  • Information eg, physical resource, etc.
  • the first edge device may select one of them to handover the edge computing service. For example, the first edge device may determine one edge device suitable for receiving an edge computing service handover based on device information (or cloud parameters) and/or operation state information (or local parameters) of a plurality of edge devices.
  • the device information includes account, location information, edge computing service list, user weight information, device model information, service performance, online status, battery status, central processing unit (CPU) or random access memory (RAM) usage
  • edge service status may include at least one of
  • the operation state information may include at least one of whether the device wakes up or sleeps, an application running in the foreground, a connection state of a local network, and IP address information.
  • the IoT server primarily selects a part of a plurality of edge devices as a candidate device using at least a part of the device information and the operation state information, and the first edge device is a candidate device selected by the IoT server By establishing a connection with and checking the remaining part of device information and operation state information, one of the candidate devices may be finally determined as the second edge device.
  • operation 640 may be performed by a leaf device and/or an IoT server.
  • the first edge device may perform a handover operation of the edge computing service to the second edge device.
  • the process of handover of the edge computing service to the second edge device may be initiated by the first edge device, the second edge device, the leaf device, or the IoT server. Detailed embodiments will be described in more detail with reference to FIGS. 10-16. do it with
  • the second edge device may be connected to the leaf device to perform an edge computing service. Accordingly, the leaf device may transmit data (eg, image streaming) acquired through the sensor to the second edge device, and data analysis (eg, image analysis) may be performed in the second edge device.
  • the first edge device may pass data that has not been provided to the leaf device, but which has already been processed, to the second edge device.
  • the first edge device when the handover process of the edge computing service is started (or completed), the first edge device may release the connection with the leaf device.
  • the second edge device and/or the leaf device when the handover is completed (or initiated), the second edge device and/or the leaf device notifies the IoT server of a connection change, and the IoT server may update edge-leaf connection information.
  • FIG. 7 is a flowchart of a method of determining a handover event according to movement of an edge device according to various embodiments of the present disclosure
  • the edge device (eg, the edge device 400 of FIG. 4 ) includes at least one sensor (eg, the sensor 440 of FIG. 4 ) capable of detecting a motion of the edge device, and the sensor can be used to detect the motion of edge devices in real time.
  • the sensor eg, the sensor 440 of FIG. 4
  • the edge device may be connected to a leaf device (eg, the leaf device 500 of FIG. 5 ) to perform an edge computing operation.
  • a leaf device eg, the leaf device 500 of FIG. 5
  • the edge device uses an audio-video (AV) module and an artificial intelligence (AI) vision module to transmit video streaming from the leaf device to the IoT server, and analyze the video. Data can be sent to leaf devices and/or IoT servers.
  • AV audio-video
  • AI artificial intelligence
  • the edge device may determine whether the motion of the edge device detected through a sensor (eg, a gyro sensor or an acceleration sensor) is equal to or greater than a reference value. For example, the edge device may determine that the motion of the edge device is equal to or greater than a reference value when the motion of the edge device is equal to or greater than a predetermined speed and/or distance, or the number of times that the motion is sensed is greater than or equal to a predetermined value.
  • a sensor eg, a gyro sensor or an acceleration sensor
  • the edge device may determine whether the strength of a signal received from the AP through the communication module decreases.
  • the signal strength may be a received signal strength indicator (RSSI) and may be detected by a network chipset (eg, Wi-Fi chipset).
  • RSSI received signal strength indicator
  • network chipset eg, Wi-Fi chipset
  • the edge device determines the mobility of the edge device. is determined to have occurred, and it is possible to monitor whether an edge handover event has occurred.
  • the edge device may transmit information related to monitoring of the handover event to a connected leaf device, an external edge device connected to a home network, or an IoT server. Even while the edge device is monitoring the handover event, the edge computing service can continue to be performed by connecting with the leaf device.
  • the edge device may determine whether the detected motion of the edge device is greater than or equal to a predetermined distance and/or speed, and may determine whether the strength of a signal received from the AP is less than or equal to a predetermined value. According to an embodiment, the edge device may check only one of the motion of the edge device or the strength of a signal.
  • edge device For example, if a continuous motion is detected in the edge device and the signal received from the AP is weakened, it can be viewed as a situation in which the user moves the portable edge device from the room where the edge device and the leaf device are installed to another space. Since the AP has limited coverage, in this case, it can be seen that the edge device can no longer perform the function of the edge device on the home network.
  • the edge device determines that an edge handover event has occurred.
  • An operation for handover of an edge computing service to an external edge device (eg, the second edge device of FIG. 10 ) may be executed.
  • the edge device checks whether the change in motion and/or signal strength is lower than a predetermined level while monitoring the handover event, in this case, ends monitoring of the handover event, and edge computing service with the leaf device can continue to be performed.
  • FIG. 8 is a flowchart of a method of determining a handover event according to a resource of an edge device according to various embodiments of the present disclosure
  • the edge device may include a processor (eg, processor 410 of FIG. 4 ) and/or memory (eg, memory 420 of FIG. 4 ) of the edge device ) can determine whether to handover the edge computing service based on the available resources.
  • Edge device must perform its own functions (eg, tablet PC application, TV video transmission) other than edge computing service , it is possible to handover a leaf device to another edge device capable of edge computing services.
  • the edge device may check whether a situation that may change the resource state of the edge device, such as a user input or an alarm on the system, occurs, and monitor an edge handover event.
  • the edge device may be connected to a leaf device to perform an edge computing operation.
  • the edge device may detect whether a user input on the touch screen is generated. Since the user input on the touch screen is for performing an application or function provided by the edge device, available resources of a processor and/or memory required for an edge computing service may be reduced.
  • the edge device may detect whether a key (eg, hard key, soft key) input of the edge device occurs.
  • a key eg, hard key, soft key
  • the edge device may detect whether an input using a remote control is received.
  • the edge device may determine whether an alarm is generated in the operating system (OS). For example, it is possible to check the notification for the user provided by the operating system of the edge device, such as an emergency text message, SNS, system alarm, and the like.
  • OS operating system
  • the edge device may start resource monitoring.
  • operation 830 may be performed when any one of operations 822, 824, 826, and 828 is satisfied, and according to an embodiment, operation 830 may be performed when two or more conditions are satisfied.
  • the edge device may check how much of the hardware and/or software resources of the edge device required for the edge computing service are being used according to the execution of other functions or the occurrence of an event.
  • the edge device may determine whether the currently available resource is lower than a threshold value.
  • the threshold value may be determined according to the minimum amount of processor and/or memory required for the edge computing service.
  • the edge device determines that an edge handover event has occurred, and provides an edge to an external edge device (eg, the second edge device of FIG. 10 ).
  • An operation for handover of a computing service may be performed.
  • the edge device is The monitoring of the over event is terminated, and edge computing services with the leaf device can be continued.
  • FIG. 9 is a flowchart of a method of determining a handover event according to a power state or resource of an edge device according to various embodiments of the present disclosure
  • the edge device eg, the edge device 400 of FIG. 4
  • the power state of the edge device can be detected.
  • the edge device may be connected to a leaf device to perform an edge computing operation.
  • the edge device may determine whether the edge device operates in a low power mode. For example, depending on the setting of the edge device, the edge device may be set to operate in a low power mode when the edge device is not connected to an external power source and uses the power of the battery, or when the remaining amount of the battery is less than a predetermined value while the battery is not being charged. . If the edge device operates in low power mode or the remaining battery level is below a predetermined level, the edge device may be turned off due to insufficient power. Computing services may be continuously performed.
  • the edge device may determine whether a resource of a processor and/or a memory of the edge device is insufficient.
  • the edge device determines that an edge handover event has occurred, and provides an edge to an external edge device (eg, the second edge device of FIG. 10 ).
  • An operation for handover of a computing service may be performed.
  • FIG. 10 is a diagram illustrating a change process of an edge device when an edge handover is initiated by a second edge device according to various embodiments of the present disclosure.
  • FIG. 10 illustrates an embodiment in which the first edge device 1010 and the second edge device 1020 operate as subjects of handover when a handover event can be detected in advance.
  • the first edge device 1010 may be connected to the leaf device 1030 on a home network to perform an edge computing service.
  • the first edge device 1010 may detect a handover event.
  • the first edge device 1010 includes the movement of the first edge device 1010 acquired using a sensor (eg, the sensor 440 of FIG. 4 ), and a communication module (eg, the communication module of FIG. 4 ) 420)), the resource status of the processor (eg, the processor 410 of FIG. 4 ) and/or the memory (eg, the memory 430 of FIG. 4 ), and the power management module (eg, FIG. 4 )
  • the handover event may be detected based on at least one of the power states detected through the power management module 450 of the .
  • Various embodiments in which the first edge device 1010 detects a handover event have been described above with reference to FIGS. 7 to 9 .
  • the first edge device 1010 may identify the second edge device 1020 in the network to which the edge computing service is to be handed over. According to an embodiment, the first edge device 1010 checks the second edge device 1020 through a discovery process or based on information received from the IoT server 1040 before the handover event occurs. Alternatively, when a handover event occurs, the second edge device 1020 is checked through discovery, or information related to the second edge device 1020 located on the home network is transmitted to the IoT server 1040. you can request
  • the first edge device 1010 may check whether the checked second edge device 1020 has the capability to receive the edge computing service handover.
  • the capability of the second edge device 1020 is whether the checked edge mode of the second edge device 1020 is activated, what services it can provide, whether it can be additionally connected to the leaf device 1030.
  • the second edge device 1020 may include at least some of physical resources (eg, processor, memory available resources), an IP address, and open connectivity foundation (OCF) capability.
  • physical resources eg, processor, memory available resources
  • OCF open connectivity foundation
  • the first edge device 1010 may transmit a handover event to at least one of the second edge device 1020 , the leaf device 1030 , and the IoT server 1040 .
  • the first edge device 1010 may transmit information including information on the currently connected leaf device 1030 and edge computing service, or may transmit only information on the occurrence of a handover event.
  • the first edge device 1010 may broadcast a handover event to devices on a home network.
  • the second edge device 1020 may identify a handover event according to handover event information transmitted (or broadcast) from the first edge device 1010 .
  • the second edge device 1020 may request a change of the edge computing service delivered by the leaf device 1030 or the second edge device ( The generation of the handover event may be confirmed based on the alive packet exchanged periodically by the 1020 with the first edge device 1010 . In this case, operation 1064 may be omitted.
  • information on the leaf device 1030 has not been obtained in advance through connection with the first edge device 1010, or the handover event information transmitted from the first edge device 1010 (operation 1064). If information related to the leaf device 1030 is not included, in operation 1070 , the second edge device 1020 may identify the leaf device 1030 through discovery. Contrary to this, when the second edge device 1020 acquires information on the leaf device 1030 through handover event information or a signal periodically exchanged, operation 1070 may be omitted.
  • the second edge device 1020 may transmit an edge computing connection change request to the leaf device 1030 .
  • the leaf device 1030 may transmit an edge connection request to the second edge device 1020 in response to the request of the second edge device 1020 . Also, in operation 1076 , the leaf device 1030 may release the connection with the first edge device 1010 . According to an embodiment, the first edge device 1010 may pass data that has not been provided to the leaf device 1030 but has already been processed (eg, image analysis data) to the second edge device 1020 . Although operation 1076 is shown to be performed after operation 1074 in FIG. 10 , the order in which operations 1074 and 1076 are performed may be changed, and each operation may be performed at least partially simultaneously.
  • the second edge device 1020 may be connected to the leaf device 1030 to perform an edge computing service.
  • the edge computing service may be the same service as the edge computing service in operation 1050 .
  • the second edge device 1020 and/or the leaf device 1030 when the handover is completed (or initiated), notifies the IoT server 1040 of a connection change, and in operation 1090 , the IoT server 1040 may update edge-leaf connection information.
  • FIG. 11 is a diagram illustrating a process of changing an edge device when an edge handover is initiated by a second edge device according to various embodiments of the present disclosure.
  • FIG. 11 illustrates an embodiment in which the first edge device 1110 and the second edge device 1120 operate as subjects of handover when a handover event cannot be detected in advance.
  • the first edge device 1110 may be connected to the leaf device 1130 on a home network to perform an edge computing service.
  • a handover event may occur in the first edge device 1110 .
  • the handover event may occur in a situation in which the first edge device 1110 cannot detect it in advance, unlike the embodiment of FIG. 10 described above.
  • the first edge device 1110 transmits handover event information to the IoT server 1140 by connecting to another network (eg, a cellular network) when communication with an access point (AP) is impossible after moving outdoors. can be transmitted
  • another network eg, a cellular network
  • the leaf device 1130 may detect a handover event according to whether a signal transmitted from the first edge device 1110 is received. For example, when the leaf device 1130 does not perform socket communication or when a connection termination on a transmission protocol is detected as an alive packet does not arrive, the first edge device 1110 performs an edge computing service. It can be verified that this is impossible.
  • the leaf device 1130 and/or the IoT server 1140 may transmit handover event information to the second edge device 1120 .
  • the second edge device 1120 may check a handover event according to handover event information transmitted from the leaf device 1130 and/or the IoT server 1140 .
  • the second edge device 1120 may check the occurrence of a handover event based on the alive packet exchanged periodically with the first edge device 1110 . In this case, operation 1162 may be omitted.
  • information on the leaf device 1130 is not obtained in advance through connection with the first edge device 1110 , or a handover event received from the leaf device 1130 and/or the IoT server 1140 . If the information (operation 1162) does not include information related to the leaf device 1130, in operation 1170, the second edge device 1120 may identify the leaf device 1130 through discovery. Contrary to this, when the second edge device 1120 acquires the information of the leaf device 1130 through handover event information or a signal exchanged periodically, operation 1170 may be omitted.
  • the second edge device 1120 may transmit an edge computing connection change request to the leaf device 1130 .
  • the leaf device 1130 may transmit an edge connection request to the second edge device 1120 in response to the request of the second edge device 1120 .
  • the second edge device 1120 and the first edge device 1110 are connected to the leaf device 1130 to perform an edge computing service.
  • the edge computing service may be the same service as the edge computing service in operation 1150 .
  • the second edge device 1120 and/or the leaf device 1130 when the handover is completed (or initiated), notifies the IoT server 1140 of a connection change, and in operation 1190 , the IoT server 1140 may update edge-leaf connection information.
  • FIG. 12 is a diagram illustrating a change process of an edge device when an edge handover is initiated by a leaf device according to various embodiments of the present disclosure.
  • leaf device 12 illustrates an embodiment in which the leaf device 1230 operates as a handover subject when a handover event can be detected in advance.
  • the first edge device 1210 may be connected to the leaf device 1230 on a home network to perform an edge computing service.
  • the first edge device 1210 may detect a handover event and transmit handover event information to the leaf device 1230 .
  • the first edge device 1210 may include among the movement of the first edge device 1210 acquired using a sensor, the strength of a signal received through the communication module, the resource status of the processor and/or memory, and the power status.
  • a handover event may be detected based on at least one.
  • the first edge device 1210 detects a handover event have been described above with reference to FIGS. 7 to 9 .
  • the leaf device 1230 may identify a handover event according to handover event information transmitted (or broadcast) from the first edge device 1210 .
  • the leaf device 1230 may perform socket communication with the first edge device 1210 or a connection termination on a transmission protocol is sensed as an alive packet does not arrive, the first edge It may be determined that the device 1210 is unable to perform the edge computing service. In this case, operation 1260 may be omitted.
  • the leaf device 1230 when the handover event information (operation 1260) does not include information related to the second edge device 1220, in operation 1270, the leaf device 1230 performs a handover of the edge computing service.
  • the two-edge device 1220 may be discovered.
  • the leaf device 1230 may check whether the second edge device 1220 identified through discovery has a capability to receive an edge computing service handover.
  • the capability of the second edge device 1220 is whether the checked edge mode of the second edge device 1220 is activated, what services it can provide, whether it can be additionally connected to the leaf device 1230.
  • the second edge device 1220 may include at least some of physical resources (eg, processor and memory available resources), an IP address, and open connectivity foundation (OCF) capability.
  • the leaf device 1230 may identify the second edge device 1220 .
  • device information and capability information of the second edge device 1220 may be included in the handover event information, and in this case, operations 1270 and/or operation 1272 may be omitted.
  • the leaf device 1230 may attempt a handover by identifying an edge device in which the same service (eg, vision, NLU, etc.) is activated. there is.
  • the leaf device 1230 may transmit an edge computing connection request to the second edge device 1220 .
  • the leaf device 1230 may release the connection with the first edge device 1210 .
  • the leaf device 1230 may be connected to the second edge device 1220 to perform an edge computing service.
  • the leaf device 1230 and/or the second edge device 1220 notifies the IoT server 1240 of a connection change, and in operation 1290, the IoT server 1240 is edge- You can update leaf connection information.
  • FIG. 13 is a diagram illustrating a change process of an edge device when an edge handover is initiated by a leaf device according to various embodiments of the present disclosure.
  • leaf device 13 illustrates an embodiment in which the leaf device 1330 operates as a handover subject when a handover event can be detected in advance.
  • the first edge device 1310 may be connected to the leaf device 1330 on a home network to perform an edge computing service.
  • the first edge device 1310 may detect a handover event and transmit handover event information to the leaf device 1330 .
  • the leaf device 1330 may identify a handover event according to handover event information transmitted (or broadcast) from the first edge device 1310 .
  • the leaf device 1330 may perform socket communication with the first edge device 1310 or a connection termination on a transmission protocol is sensed as an alive packet does not arrive, the first edge device 1330 It may be determined that the device 1310 cannot perform the edge computing service. In this case, operation 1360 may be omitted.
  • the leaf device 1330 may confirm that the first edge device 1310 cannot perform the edge computing service, and may transmit a service request to the IoT server 1340 .
  • an artificial intelligence (AI) service which is a service related to image data acquired from the leaf device 1330, is performed on the edge device and/or IoT server 1340 in the network.
  • the leaf device 1330 may transmit a request for an edge computing service or a cloud computing service to the IoT server 1340 .
  • the IoT server 1340 checks at least one edge device registered with the same account and/or location as the leaf device 1330 in the database, and checks the operating state of the corresponding edge device.
  • the operation state is whether the checked edge mode of the second edge device 1320 is activated, what services can be provided, whether it can be additionally connected to the leaf device 1330, and the second edge device 1320 of the physical resource (eg, processor, memory available resource), IP address, and capability of the second edge device 1320 such as open connectivity foundation (OCF) capability.
  • the physical resource eg, processor, memory available resource
  • IP address e.g., IP address
  • OCF open connectivity foundation
  • the IoT server 1340 is located in the same home network as the leaf device 1330, and when a plurality of edge devices capable of edge computing services are identified, device information (or cloud parameters) of each edge device and /or it is possible to determine one edge device suitable for receiving an edge computing service handover based on the operation state information (or local parameter). Alternatively, a list of a plurality of edge devices capable of edge computing service may be transmitted to the user device, and one device may be determined as the second edge device 1320 according to the selection of the user device.
  • the IoT server 1340 may check whether the second edge device 1320 can perform the service requested by the leaf device 1330 .
  • the IoT server 1340 transmits device information of the second edge device 1320 to the leaf device 1330 , and the second edge device In connection with 1320 , it may notify to perform edge computing services.
  • the leaf device 1330 may transmit an edge connection request to the second edge device 1320 .
  • the leaf device 1330 may be connected to the second edge device 1320 to perform an edge computing service.
  • the IoT server 1340 connects to the leaf device 1330 as the IoT server 1340. It may notify you to perform cloud computing services.
  • the leaf device 1330 is connected to the IoT server 1340, and without transmitting the acquired data (eg, video streaming) to the edge device, it is transmitted directly to the IoT server 1340 to provide a cloud computing service.
  • FIG. 14 is a diagram illustrating a process of changing an edge device when an edge handover is initiated by an IoT server according to various embodiments of the present disclosure.
  • leaf device 1430 or the IoT server 1440 operates as a subject of handover when a handover event cannot be detected in advance.
  • the first edge device 1410 may be connected to the leaf device 1430 on a home network to perform an edge computing service.
  • a situation in which an edge computing service is suddenly impossible occurs in the first edge device 1410, such as disconnection of a network connection or power off, and thus a handover event may not be detected in advance.
  • the first edge device 1410 when the first edge device 1410 is disconnected from the network (eg, Wi-Fi network) used for the edge computing service, it uses another network (eg, cellular network) Handover event information may be transmitted to the IoT server 1440 .
  • the first edge device 1410 when the first edge device 1410 is in a situation in which access to another network is impossible, such as when the power is turned off, operation 1460 may be omitted, and the second edge device 1420, the leaf device 1430, or A handover event may be detected by the IoT server 1440 .
  • the IoT server 1440 checks at least one edge device registered with the same account and/or location as the leaf device 1430 in the database, and checks the operating state of the corresponding edge device.
  • the operating state may include the capability of the second edge device 1420 .
  • the IoT server 1440 may check whether the second edge device 1420 can perform the service requested by the leaf device 1430 .
  • the IoT server 1440 transmits device information of the second edge device 1420 to the leaf device 1430 , and the second edge device In connection with 1420, it may notify to perform edge computing service.
  • the leaf device 1430 may transmit an edge connection request to the second edge device 1420 .
  • the leaf device 1430 may be connected to the second edge device 1420 to perform an edge computing service.
  • the IoT server 1440 may update leaf-edge connection information as the leaf device 1430 is connected to the second edge device 1420 .
  • the IoT server 1440 connects to the leaf device 1430 as the IoT server 1440. It may notify you to perform cloud computing services.
  • the leaf device 1430 is connected to the IoT server 1440, and without transmitting the acquired data (eg, video streaming) to the edge device, it is transmitted directly to the IoT server 1440 to provide a cloud computing service.
  • the leaf device 1430 when the leaf device 1430 is not connected to the second edge device 1420 or there is no response from the IoT server 1440, the leaf device 1430 is an edge device found after local discovery.
  • a service connection may be requested, or information of the discovered edge device may be transmitted to the IoT server 1440 to request a service connection.
  • FIG. 15 illustrates a process of handing over some of the edge computing services being performed by the first edge device to the second edge device according to various embodiments of the present disclosure.
  • some of the edge computing services being performed between the first edge device 1510 and the leaf device 1530 are handed over to the second edge device 1520 according to a handover event, and the remaining part is handed over to the first edge device 1520. It may continue to be performed on the edge device 1510 .
  • the first edge device 1510 may be connected to the leaf device 1530 on a home network to perform an edge computing service.
  • the leaf device 1530 may be an IP camera device that acquires image data in real time, and services that can be provided through the acquired image data include a vision recognition service and a natural language understanding service. can do.
  • the second edge device 1520 may be connected to the home network, and an edge mode may be activated.
  • the second edge device 1520 may perform at least some of the services being performed by the first edge device 1510 , and may be a device in which a module necessary for the corresponding service is installed.
  • the first edge device 1510 may identify the second edge device 1520 .
  • the first edge device 1510 may detect a broadcasting signal from the second edge device 1520 and check whether the second edge device 1520 has connected to the home network or activated the edge mode.
  • the first edge device 1510 may transmit information on the first edge device 1510 and information on the edge computing service being performed to the second edge device 1520 .
  • the first edge device 1510 may broadcast functions and device performance capabilities that can be supported by the first edge device 1510 on a network.
  • the second edge device 1520 may transmit information of the second edge device 1520 to the first edge device 1510 .
  • the second edge device 1520 may transmit capability information of the second edge device 1520 to the first edge device 1510 in response to a signal broadcast from the first edge device 1510 . there is.
  • the first edge device 1510 and the second edge device 1520 are configured based on the capability information of the first edge device 1510 and the capability information of the second edge device 1520 .
  • the first edge device 1510 and the second edge device 1520 perform each service based on available resources of each device, installed modules (eg, device modules, service modules), mobility, power status, etc. You can decide which service is more suitable for each device.
  • the first edge device 1510 makes an edge connection change request for some of the services being performed (eg, natural language understanding service) along with the information of the second edge device 1520 and the leaf device. 1530 may be sent.
  • some of the services being performed eg, natural language understanding service
  • the leaf device 1530 transmits an edge connection request for a service (eg, natural language understanding service) determined to the second edge device 1520 according to the edge connection change request, and operation 1580 .
  • a service eg, natural language understanding service
  • the second edge device 1520 and the leaf device 1530 may be connected to each other to perform a predetermined service.
  • the first edge device 1510 and the leaf device 1530 continue to perform in the first edge device 1510 except for the service (eg, natural language understanding service) handed over to the second edge device 1520 . It can continue to perform the service it has decided to do (eg, a vision recognition service).
  • the first edge device 1510 and/or the second edge device 1520 notifies the IoT server 1540 that the edge connection has been changed, and in operation 1590, the IoT server 1540 ) can update edge-leaf connections.
  • FIG 16 illustrates a process of handing over some of the edge computing services being performed by the first edge device to the second edge device according to various embodiments of the present disclosure.
  • the first edge device 1610 may be connected to the leaf device 1630 on a home network to perform an edge computing service.
  • the leaf device 1630 may be an IP camera device that acquires image data in real time, and services that can be provided through the acquired image data include a vision recognition service and a natural language understanding service. can do.
  • the second edge device 1620 may be connected to the home network, and an edge mode may be activated.
  • the second edge device 1620 may transmit information on the second edge device 1620 to the IoT server 1640 .
  • the second edge device 1620 may transmit information including device information of the second edge device 1620 , resource status, installed modules, and edge mode activation status to the IoT server 1640 .
  • the IoT server 1640 may check information of the first edge device 1610 and the second edge device 1620 .
  • the IoT server 1640 may determine a service to be performed by each device based on capability information of the first edge device 1610 and capability information of the second edge device 1620 . For example, among the vision recognition service and natural language understanding service being performed by the first edge device 1610, the vision recognition service is continuously performed by the first edge device 1610, and the natural language understanding service is transferred to the second edge device 1620. It can be decided by handover.
  • the IoT server 1640 includes the first edge device 1610 and the second edge device 1620 based on available resources of each device, installed modules (eg, device modules, service modules), mobility, power status, etc. , it is possible to determine which of the services is more suitable for each device.
  • the IoT server 1640 may transmit information about a service to be performed by each device to the leaf device 1630 .
  • the leaf device 1630 transmits an edge connection request for a predetermined service (eg, natural language understanding service) to the second edge device 1620 according to the edge connection change request, and in operation 1674, the second edge device 1620 and the leaf device 1630 may be connected to each other to perform a predetermined service.
  • the first edge device 1610 and the leaf device 1630 continue to perform in the first edge device 1610 except for a service handed over to the second edge device 1620 (eg, natural language understanding service). It can continue to perform the service it has decided to do (eg, a vision recognition service).
  • the IoT server 1640 may update the edge-leaf connection.
  • An electronic device includes a communication module, a memory, and a processor operatively connected to the communication module and the memory, wherein the processor includes a first external device and a second external device on a local network.
  • the processor includes a first external device and a second external device on a local network.
  • the processor may be configured to receive the handover event from at least one of the first external device, the second external device, and the external server through the communication module.
  • the processor receives a predetermined signal from the first external device using the communication module while the first external device performs the edge computing service with the second external device, and When the predetermined signal is not received from the first external device, it may be configured to determine that the handover event has occurred.
  • the processor in response to the handover event, disconnects the connection from the first external device to the second external device and an edge including the electronic device and the establishment of a connection for the edge computing service Computing service may be configured to send a change request.
  • the processor may include available resources of the processor and/or the memory, whether an edge mode is activated, or a module corresponding to an edge computing service being performed between the first external device and the second external device. It may be configured to check whether the electronic device can perform the edge computing service based on at least a part of whether or not it is installed.
  • the processor when it is determined that the electronic device cannot perform the edge computing service, the processor is configured to connect the second external device to another edge device or an external server to perform the service. It may be configured to transmit to at least one of an external device, the second external device, or an external server.
  • the processor may be configured to perform some of edge computing services being performed between the first external device and the second external device.
  • the processor when the processor is connected to the second external device to perform the edge computing service, the processor may be configured to notify an external server of an edge computing service change.
  • An electronic device includes a communication module, a memory, and a processor operatively connected to the communication module and the memory, wherein the processor is Based on the received data, an edge computing service is performed, a handover event of the edge computing service is detected, and in response to the detection of the handover event, it is connected to the first external device through the communication module and the A second external device capable of performing an edge computing service is identified, and information related to the identified second external device and information related to the handover event is provided to the first external device, the second external device, or an external server. It may be set to transmit to at least one of
  • the processor includes at least one of the movement of the electronic device acquired using the sensor or the strength of a signal received through the communication module Based on one, it may be configured to detect the handover event.
  • the processor may be configured to detect the handover event based on at least one of an available resource of the processor and/or the memory or a power state of the electronic device.
  • the processor is configured to enable the second external device to be configured based on at least a part of available resources of the second external device, whether an edge mode is activated, or whether a module corresponding to the edge computing service is installed. It may be configured to check whether the edge computing service can be performed.
  • the processor may be configured to receive information related to whether the second external device can perform the edge computing service from the second external device or the external server.
  • information related to the second external device identified through a second network and information related to the handover event may be set to be transmitted to the external server.
  • An electronic device includes a communication module, a sensor, and a processor operatively connected to the communication module and the sensor, wherein the processor transmits data obtained through the sensor to the communication module transmits to the first external device to perform the edge computing service, checks the handover event of the edge computing service, and responds to the handover event and to request a connection for the edge computing service to the second external device.
  • the processor may be configured to identify the handover event based on the strength of a signal transmitted from the first external device through the communication module.
  • the processor may be configured to receive information related to the handover event from at least one of the first external device, the second external device, and the IoT server through the communication module.
  • the processor may be configured to request a connection to some of the edge computing services being performed from the second external device based on the received information related to the handover event.
  • the processor transmits a service connection request to the IoT server through the communication module in response to the handover event, and the second external device to perform the edge computing service from the IoT server. may be configured to receive information.
  • the processor when receiving a notification from the IoT server to connect to the cloud computing service, the processor may be configured to stop the edge computing service and transmit data obtained through the sensor to the IoT server there is.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Multimedia (AREA)
  • Information Transfer Between Computers (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

An electronic device according to various embodiments comprises a communication module, a memory, and a processor operatively connected to the communication module and the memory. The processor may be configured to: identify an handover event of an edge computing service being performed by a first external device and a second external device on a local network; identify whether or not the electronic device can perform the edge computing service; and, when the electronic device can perform the edge computing service, perform the edge computing service in connection with the second external device operating as a leaf device for the edge computing service.

Description

엣지 컴퓨팅 시스템 및 엣지 컴퓨팅 장치의 핸드오버 방법Edge Computing System and Handover Method of Edge Computing Device
본 문서는 엣지 컴퓨팅 시스템에 대한 것이며, 보다 상세하게는 리프 장치에서 획득한 데이터를 연결된 엣지 장치에 의해 엣지 컴퓨팅 서비스를 수행할 수 있는 엣지 컴퓨팅 시스템 및 엣지 컴퓨팅 시스템에서 리프 장치와 연결되는 엣지 장치를 다른 엣지 장치로 핸드오버 하는 방법에 대한 것이다.This document is about an edge computing system, and more specifically, an edge computing system that can perform edge computing services by an edge device connected to data acquired from a leaf device, and an edge device connected to a leaf device in the edge computing system. It is about how to handover to another edge device.
클라우드 컴퓨팅(cloud computing) 기술은 사용자와 다른 위치에 존재하는 컴퓨팅 자원을 네트워크를 통해 사용자에게 제공하여 서버, 저장소, 소프트웨어, 또는 분석 등의 컴퓨팅 서비스를 제공하는 기술이다. IoT 기기에서 수집한 사용자의 데이터나 컨텐츠는 클라우드 서버에 저장되고, 데이터의 가공을 통해 클라우드 서비스가 사용자에게 제공 되었다.Cloud computing technology is a technology for providing computing services such as servers, storage, software, or analysis by providing computing resources that exist in a different location to the user through a network. User data or contents collected from IoT devices are stored in cloud servers, and cloud services are provided to users through data processing.
사물 인터넷(internet of things, 이하 IoT)에서 생성된 데이터를 처리하기 위해 클라우드 컴퓨팅이 활용되고 있다. 클라우드 컴퓨팅은 IoT를 구성하는 장치, 데이터의 양이 증가함에 따라, 시스템에 부하가 생기게 되고, 데이터의 전달 및/또는 저장 과정에서 보안 또는 프라이버시 이슈가 발생할 수 있으며, 클라우드 서버에 오류가 생기거나 인터넷에 연결되지 않는 경우 서비스를 제공할 수 없는 문제점이 발생할 수 있다.Cloud computing is being utilized to process data generated in the Internet of Things (IoT). In cloud computing, as the amount of data and devices constituting the IoT increases, a load is created on the system, and security or privacy issues may occur in the process of data delivery and/or storage, an error may occur in the cloud server, or the Internet If it is not connected to , there may be a problem that the service cannot be provided.
이러한 클라우드 컴퓨팅의 문제점을 해결하기 위해 엣지 컴퓨팅(edge computing) 기술이 활용되고 있다. 엣지 컴퓨팅은 클라우드 컴퓨팅 및 서비스 중 일부를 네트워크의 엣지 단에 있는 장치로 확장하는 개방형 아키텍처이다. 예를 들어, 엣지 컴퓨팅 기술을 IoT에서 활용 하면, 클라우드 서버에서 처리되는 어플리케이션 또는 서비스 중 낮은 지연 및 프라이버시가 중요한 것은 엣지 장치 상에서 일부 분산 처리될 수 있다. In order to solve the problems of cloud computing, edge computing technology is being used. Edge computing is an open architecture that extends cloud computing and some of its services to devices at the edge of a network. For example, when edge computing technology is utilized in IoT, applications or services processed in a cloud server, where low latency and privacy are important, can be partially distributed on the edge device.
엣지 컴퓨팅 기술이 IoT에 활용되고 있으나, 종래의 엣지 컴퓨팅 서비스는 리프 장치에 대해 고정된 엣지 장치(edge device)에 고정된 모듈을 이용해 서비스를 제공하고 있다. 이 경우, 엣지 컴퓨팅 서비스를 위해 리프 장치와 엣지 장치를 연결한 이후, 리프 장치를 새로운 엣지 장치와 연결하기 위해서는 이전에 연결된 엣지 장치와의 연결을 해제한 이후 새로운 엣지 장치와 다시 연결하는 과정이 요구된다.Although edge computing technology is being used in IoT, the conventional edge computing service provides a service using a module fixed to an edge device fixed to a leaf device. In this case, after connecting the leaf device and the edge device for the edge computing service, in order to connect the leaf device with the new edge device, the process of disconnecting the previously connected edge device and then reconnecting with the new edge device is required do.
본 문서의 다양한 실시예들은 리프 장치와 연결된 엣지 장치가 일시적 또는 특정 조건에서 엣지 컴퓨팅 기능을 수행할 수 없는 경우, 엣지 컴퓨팅 기능을 담당하는 새로운 엣지 장치와 연결되어 엣지 컴퓨팅 서비스를 수행할 수 있도록 하는 엣지 컴퓨팅 시스템 및 엣지 컴퓨팅 장치의 핸드오버 방법을 제공함에 그 목적이 있다.Various embodiments of the present document provide a method for performing edge computing services by being connected to a new edge device in charge of edge computing functions when the edge device connected to the leaf device cannot perform the edge computing function temporarily or under specific conditions. An object of the present invention is to provide an edge computing system and a handover method of an edge computing device.
다양한 실시예에 따른 전자 장치는, 통신 모듈, 메모리, 및 상기 통신 모듈 및 상기 메모리와 작동적으로(operatively) 연결되는 프로세서를 포함하고, 상기 프로세서는, 로컬 네트워크 상의 제1외부 장치 및 제2외부 장치에서 수행 중인 엣지 컴퓨팅 서비스의 핸드오버 이벤트를 확인하고, 상기 전자 장치가 상기 엣지 컴퓨팅 서비스를 수행할 수 있는 지 확인하고, 및 상기 전자 장치가 상기 엣지 컴퓨팅 서비스를 수행할 수 있는 경우, 상기 엣지 컴퓨팅 서비스의 리프 장치로 동작하는 상기 제2외부 장치와 연결하여 상기 엣지 컴퓨팅 서비스를 수행하도록 설정될 수 있다.An electronic device according to various embodiments includes a communication module, a memory, and a processor operatively connected to the communication module and the memory, wherein the processor includes a first external device and a second external device on a local network. Check the handover event of the edge computing service being performed by the device, check whether the electronic device can perform the edge computing service, and when the electronic device can perform the edge computing service, the edge computing service It may be configured to perform the edge computing service in connection with the second external device operating as a leaf device of the computing service.
다양한 실시예에 따른 전자 장치는, 통신 모듈, 메모리, 및 상기 통신 모듈 및 상기 메모리와 작동적으로(operatively) 연결되는 프로세서를 포함하고, 상기 프로세서는, 상기 통신 모듈을 통해 연결된 제1외부 장치로부터 수신되는 데이터에 기초하여, 엣지 컴퓨팅 서비스를 수행하고, 상기 엣지 컴퓨팅 서비스의 핸드오버 이벤트를 감지하고, 상기 핸드오버 이벤트의 감지에 대응하여, 상기 통신 모듈을 통해 상기 제1외부 장치와 연결되어 상기 엣지 컴퓨팅 서비스를 수행할 수 있는 제2외부 장치를 확인하고, 및 상기 확인된 제2외부 장치와 관련된 정보 및 상기 핸드오버 이벤트와 관련된 정보를 상기 제1외부 장치, 상기 제2외부 장치 또는 외부 서버 중 적어도 하나에 전송하도록 설정될 수 있다.An electronic device according to various embodiments includes a communication module, a memory, and a processor operatively connected to the communication module and the memory, wherein the processor is Based on the received data, an edge computing service is performed, a handover event of the edge computing service is detected, and in response to the detection of the handover event, it is connected to the first external device through the communication module and the A second external device capable of performing an edge computing service is identified, and information related to the identified second external device and information related to the handover event is provided to the first external device, the second external device, or an external server. It may be set to transmit to at least one of
다양한 실시예에 따른 전자 장치는, 통신 모듈, 센서, 및 상기 통신 모듈 및 상기 센서와 작동적으로(operatively) 연결되는 프로세서를 포함하고, 상기 프로세서는, 상기 센서를 통해 획득되는 데이터를 상기 통신 모듈을 통해 제1외부 장치로 전송하여 엣지 컴퓨팅 서비스를 수행하고, 상기 엣지 컴퓨팅 서비스의 핸드오버 이벤트를 확인하고, 상기 핸드오버 이벤트에 대응하여, 상기 엣지 컴퓨팅 서비스를 위해 연결 가능한 제2외부 장치를 확인하고, 및 상기 제2외부 장치에 상기 엣지 컴퓨팅 서비스를 위한 연결을 요청하도록 설정될 수 있다.An electronic device according to various embodiments includes a communication module, a sensor, and a processor operatively connected to the communication module and the sensor, wherein the processor transmits data obtained through the sensor to the communication module to perform the edge computing service by transmitting to the first external device through and to request a connection for the edge computing service from the second external device.
본 문서의 다양한 실시예에 따르면, 리프 장치와 연결된 엣지 장치가 엣지 컴퓨팅 기능의 변경이 필요하다고 판단할 경우, 엣지 컴퓨팅 기능을 핸드오버 하여 새로운 엣지 장치에 의해 엣지 컴퓨팅 서비스가 수행될 수 있도록 하는 엣지 컴퓨팅 시스템 및 엣지 컴퓨팅 장치의 핸드오버 방법을 제공할 수 있다.According to various embodiments of the present document, when the edge device connected to the leaf device determines that it is necessary to change the edge computing function, the edge computing function is handed over so that the edge computing service can be performed by the new edge device. A computing system and a handover method of an edge computing device may be provided.
이 외에, 본 문서를 통해 직접적으로 또는 간접적으로 파악되는 다양한 기술적 효과들이 제공될 수 있다.In addition, various technical effects identified directly or indirectly through this document may be provided.
도 1은 다양한 실시예에 따른 IoT 환경 내의 장치들을 도시한 것이다.1 illustrates devices in an IoT environment according to various embodiments.
도 2a 및 도 2b는 다양한 실시예에 따른 엣지 컴퓨팅 시스템의 각 장치들을 도시한 것이다.2A and 2B illustrate respective devices of an edge computing system according to various embodiments.
도 3은 다양한 실시예들에 따른, 네트워크 환경 내의 사용자 장치의 블록도이다.3 is a block diagram of a user device within a network environment, in accordance with various embodiments.
도 4는 다양한 실시예에 따른 엣지 장치의 블록도이다.4 is a block diagram of an edge device according to various embodiments of the present disclosure;
도 5는 다양한 실시예에 따른 리프 장치의 블록도이다.5 is a block diagram of a leaf device according to various embodiments.
도 6은 다양한 실시예에 따른 엣지 장치의 핸드오버 방법의 흐름도이다.6 is a flowchart of a handover method of an edge device according to various embodiments.
도 7은 다양한 실시예에 따른 엣지 장치의 이동에 따라 핸드오버 이벤트를 판단하는 방법의 흐름도이다.7 is a flowchart of a method of determining a handover event according to movement of an edge device according to various embodiments of the present disclosure;
도 8은 다양한 실시예에 따른 엣지 장치의 리소스에 따라 핸드오버 이벤트를 판단하는 방법의 흐름도이다.8 is a flowchart of a method of determining a handover event according to a resource of an edge device according to various embodiments of the present disclosure;
도 9는 다양한 실시예에 따른 엣지 장치의 전원 상태 또는 리소스에 따라 핸드오버 이벤트를 판단하는 방법의 흐름도이다.9 is a flowchart of a method of determining a handover event according to a power state or resource of an edge device according to various embodiments of the present disclosure;
도 10은 다양한 실시예에 따른 제2엣지 장치에 의해 엣지 핸드오버가 개시되는 경우 엣지 장치의 변경 과정을 도시한 것이다.10 is a diagram illustrating a change process of an edge device when an edge handover is initiated by a second edge device according to various embodiments of the present disclosure.
도 11은 다양한 실시예에 따른 제2엣지 장치에 의해 엣지 핸드오버가 개시되는 경우 엣지 장치의 변경 과정을 도시한 것이다.11 is a diagram illustrating a process of changing an edge device when an edge handover is initiated by a second edge device according to various embodiments of the present disclosure.
도 12는 다양한 실시예에 따른 리프 장치에 의해 엣지 핸드오버가 개시되는 경우 엣지 장치의 변경 과정을 도시한 것이다.12 is a diagram illustrating a change process of an edge device when an edge handover is initiated by a leaf device according to various embodiments of the present disclosure.
도 13은 다양한 실시예에 따른 리프 장치에 의해 엣지 핸드오버가 개시되는 경우 엣지 장치의 변경 과정을 도시한 것이다.13 is a diagram illustrating a change process of an edge device when an edge handover is initiated by a leaf device according to various embodiments of the present disclosure.
도 14는 다양한 실시예에 따른 IoT 서버에 의해 엣지 핸드오버가 개시되는 경우 엣지 장치의 변경 과정을 도시한 것이다.14 is a diagram illustrating a process of changing an edge device when an edge handover is initiated by an IoT server according to various embodiments of the present disclosure.
도 15는 다양한 실시예에 따른 제1엣지 장치에서 수행 중인 엣지 컴퓨팅 서비스 중 일부를 제2엣지 장치에 핸드오버 하는 과정을 도시한 것이다. 15 illustrates a process of handing over some of the edge computing services being performed by the first edge device to the second edge device according to various embodiments of the present disclosure.
도 16은 다양한 실시예에 따른 제1엣지 장치에서 수행 중인 엣지 컴퓨팅 서비스 중 일부를 제2엣지 장치에 핸드오버 하는 과정을 도시한 것이다.16 illustrates a process of handing over some of the edge computing services being performed by the first edge device to the second edge device according to various embodiments of the present disclosure.
도 1은 다양한 실시예에 따른 IoT 환경(또는 IoT 시스템) 내의 장치들을 도시한 것이다.1 illustrates devices in an IoT environment (or IoT system) according to various embodiments.
도 1을 참조 하면, IoT(internet of things) 시스템(또는 엣지 컴퓨팅 시스템)(100)은 적어도 하나의 리프 장치(120)(leaf device), 적어도 하나의 엣지 장치(110)(edge device), 사용자 장치(130)(user device) 및 클라우드 네트워크(140)(cloud network)를 포함할 수 있다. 예를 들면, 리프 장치(120), 엣지 장치(110), 및 사용자 장치(130)는 인접하는 위치(예: 집 안)에 배치되어 동일한 홈 네트워크(예: 동일한 AP(access point))에 연결될 수 있고, 클라우드 네트워크(140)는 원격으로 위치하되 인터넷을 통해 리프 장치(120), 엣지 장치(110), 및 사용자 장치(130)와 연결될 수 있다.Referring to FIG. 1 , an internet of things (IoT) system (or edge computing system) 100 includes at least one leaf device 120 (leaf device), at least one edge device 110 (edge device), and a user. It may include a device 130 (user device) and a cloud network 140 (cloud network). For example, the leaf device 120 , the edge device 110 , and the user device 130 may be disposed in adjacent locations (eg, in a house) and connected to the same home network (eg, the same access point (AP)). The cloud network 140 may be remotely located, but may be connected to the leaf device 120 , the edge device 110 , and the user device 130 through the Internet.
본 문서에서 엣지 컴퓨팅 서비스(edge computing service)는 리프 장치와 인접하여 위치하고 동일한 홈 네트워크 상에 위치하는 엣지 장치에 리프 장치에서 획득한 데이터를 전송하고, 엣지 장치 상에서 일련의 데이터 처리 및 기타 서비스를 제공하는 기술을 의미할 수 있다. 본 문서에서는 센서를 통해 데이터를 획득하는 장치(예: 카메라(121), 냉장고(122), 전구(123a), 디지털 온도계(123b))를 리프 장치로 정의하지만, 리프 장치는 엣지 컴퓨팅 서비스의 클라이언트 장치, 엔드 장치, 센서 장치, IoT 장치, 슬레이브 장치와 같이 다른 명칭으로 정의될 수도 있다. 또한, 본 문서에서는 엣지 장치로 정의하지만, 엣지 장치는 엣지 컴퓨팅 서비스의 엣지 서버, 서버 장치, 마스터 장치, 허브 장치, 서비스 장치와 같이 다른 명칭으로 정의될 수도 있다.In this document, edge computing service is used to transmit data acquired from leaf devices to edge devices located adjacent to and located on the same home network of leaf devices, and to provide a series of data processing and other services on the edge devices It can mean the skill to Although this document defines a device that acquires data through a sensor (eg, a camera 121, a refrigerator 122, a light bulb 123a, and a digital thermometer 123b) as a leaf device, the leaf device is a client of an edge computing service. It may be defined by other names such as device, end device, sensor device, IoT device, and slave device. In addition, although defined as an edge device in this document, an edge device may be defined by other names, such as an edge server, a server device, a master device, a hub device, and a service device of an edge computing service.
본 문서에서는 엣지 컴퓨팅 시스템(edge computing system)(100) 내에서 각 장치의 기능, 동작에 따라서 리프 장치(120), 엣지 장치(110), 및 사용자 장치(130)로 분류해서 설명하나, 동일한 장치(예: 스마트 폰, 태블릿 PC)가 경우에 따라 리프 장치(120), 엣지 장치(110), 및 사용자 장치(130) 중 어느 하나로 동작할 수도 있다. 다시 말하면, 본 문서에서 설명하는 장치의 명칭, 정의가 해당 장치의 기능 및/또는 동작을 제한하지 않는다.In this document, the leaf device 120, the edge device 110, and the user device 130 are classified and described according to the function and operation of each device in the edge computing system 100, but the same device (eg, a smart phone, a tablet PC) may operate as any one of the leaf device 120 , the edge device 110 , and the user device 130 in some cases. In other words, the names and definitions of devices described in this document do not limit the functions and/or operations of the devices.
다양한 실시예에 따르면, 리프 장치(120)는 IoT 시스템(100)의 엔드 포인트(end point)로써 센서를 이용해 다양한 데이터를 수집하여 엣지 장치(110) 또는 클라우드 네트워크(140)로 전송할 수 있다. 또한, 리프 장치(120)는 클라우드 네트워크(140) 또는 사용자 장치(130)로부터 전달되는 커맨드에 따라 다양한 동작을 수행할 수 있다. 도 1을 참조 하면, 카메라(121), 냉장고(122), 전구(123a), 디지털 온도계(123b) 등의 장치가 리프 장치(120)가 될 수 있다.According to various embodiments, the leaf device 120 may collect various data using a sensor as an end point of the IoT system 100 and transmit it to the edge device 110 or the cloud network 140 . Also, the leaf device 120 may perform various operations according to a command transmitted from the cloud network 140 or the user device 130 . Referring to FIG. 1 , a device such as a camera 121 , a refrigerator 122 , a light bulb 123a , and a digital thermometer 123b may be the leaf device 120 .
다양한 실시예에 따르면, 리프 장치(120)는 인터넷을 통해 클라우드 네트워크(140)에 접속할 수 있으며, 리프 장치(120) 중 인터넷 프로토콜(IP)을 지원하지 않는 장치(예: 전구(123a), 디지털 온도계(123b))는 지원하는 비 IP 기반 통신(예: bluetooth, zigbee)으로 허브 장치(124)에 센싱한 데이터를 전송하고, 허브 장치(124)는 인터넷을 통해 클라우드 네트워크(140)에 각 리프 장치(123a, 123b)의 센싱 데이터를 전송할 수 있다. 리프 장치(120)의 세부 구성 및 동작에 대해서는 도 5를 통해 보다 상세히 설명하기로 한다.According to various embodiments, the leaf device 120 may access the cloud network 140 through the Internet, and devices that do not support Internet Protocol (IP) among the leaf devices 120 (eg, the light bulb 123a, digital The thermometer 123b) transmits the sensed data to the hub device 124 through supported non-IP-based communication (eg, bluetooth, zigbee), and the hub device 124 sends each leaf to the cloud network 140 via the Internet. Sensing data of the devices 123a and 123b may be transmitted. The detailed configuration and operation of the leaf device 120 will be described in more detail with reference to FIG. 5 .
다양한 실시예에 따르면, 클라우드 네트워크(140)는 네트워크 상에 위치하고, IoT 시스템(100)에서 클라우드 컴퓨팅 서비스를 지원하는 다양한 서버 장치(예: IoT 매니지 서버, IoT 허브 서버)를 포함할 수 있다. 클라우드 네트워크(140)는 리프 장치(120)에서 수신한 센싱 데이터에 대한 컴퓨팅 처리를 수행하고, 리프 장치(120)의 제어를 위한 명령을 전송할 수 있다.According to various embodiments, the cloud network 140 is located on the network and may include various server devices (eg, IoT management server and IoT hub server) supporting cloud computing services in the IoT system 100 . The cloud network 140 may perform computing processing on the sensing data received from the leaf device 120 and transmit a command for controlling the leaf device 120 .
다양한 실시예에 따르면, 클라우드 네트워크(140)는 홈 네트워크 내의 특정 장치가 엣지 장치(110)로 동작할 수 있도록 운영 및 관리하는 기능을 수행할 수 있다. 예를 들어, 클라우드 네트워크(140)는 IoT 서버(예: IoT 매니지 서버, 또는 IoT 허브 서버)를 포함하며, IoT 서버는 엣지 장치(110)와 리프 장치(120)의 등록, 연결, 관리 등 엣지 컴퓨팅 서비스를 수행하고, 엣지 컴퓨팅 서비스를 위해 필요한 모듈(예: 디바이스 모듈, 서비스 모듈)을 엣지 장치(110)에 제공할 수 있다.According to various embodiments, the cloud network 140 may perform a function of operating and managing a specific device in the home network to operate as the edge device 110 . For example, the cloud network 140 includes an IoT server (eg, an IoT management server or an IoT hub server), and the IoT server is an edge device such as registration, connection, and management of the edge device 110 and the leaf device 120 . A computing service may be performed and a module (eg, a device module, a service module) necessary for the edge computing service may be provided to the edge device 110 .
다양한 실시예에 따르면, 엣지 장치(110)는 리프 장치(120)로부터 수신되는 데이터를 직접 처리하거나, 클라우드 네트워크(140)(예: IoT 서버)로 전송할 수 있다. 엣지 장치(110)는 TV(112), 태블릿 PC(111) 등 엣지 컴퓨팅 서비스를 위해 필요한 하드웨어 및/또는 소프트웨어 자원을 포함하는 장치일 수 있다. 엣지 장치(110)는 인터넷을 통해 클라우드 네트워크(140)와 연결될 수 있고, 리프 장치(120)와는 홈 네트워크를 형성할 수 있다. According to various embodiments, the edge device 110 may directly process data received from the leaf device 120 or transmit it to the cloud network 140 (eg, an IoT server). The edge device 110 may be a device including hardware and/or software resources necessary for an edge computing service, such as a TV 112 and a tablet PC 111 . The edge device 110 may be connected to the cloud network 140 through the Internet, and may form a home network with the leaf device 120 .
다양한 실시예에 따르면, 홈 네트워크 내에 복수의 엣지 장치들(110)이 존재할 수 있으며, 리프 장치(120)는 복수의 엣지 장치들(110) 중 어느 하나와 연결되어 데이터를 전송할 수 있다. 예를 들면, 엣지 장치(110)는 특정 리프 장치(120)가 연결될 때, 엣지 컴퓨팅 서비스를 위해 필요한 모듈(예: 디바이스 모듈, 서비스 모듈)을 클라우드 네트워크(140)로부터 다운로드 받아 실행할 수 있다. According to various embodiments, a plurality of edge devices 110 may exist in the home network, and the leaf device 120 may be connected to any one of the plurality of edge devices 110 to transmit data. For example, when a specific leaf device 120 is connected, the edge device 110 may download and execute a module (eg, a device module, a service module) required for an edge computing service from the cloud network 140 .
다양한 실시예에 따르면, 엣지 장치(110)는 기기 고유의 기능(예: TV의 영상 출력 기능)을 수행할 수 있으며, 고유 기능의 수행과 적어도 일부 동시에 또는 고유 기능을 수행하지 않는 유휴 시간 동안 하드웨어 및/또는 소프트웨어 자원을 통해 엣지 컴퓨팅 서비스를 수행할 수 있다.According to various embodiments, the edge device 110 may perform a device-specific function (eg, an image output function of a TV), and may perform hardware at least partially concurrently with the performance of the unique function or during an idle time that does not perform the unique function. and/or may perform edge computing services through software resources.
엣지 장치(110)의 세부 구성 및 동작에 대해서는 도 4를 통해 보다 상세히 설명하기로 한다.A detailed configuration and operation of the edge device 110 will be described in more detail with reference to FIG. 4 .
다양한 실시예에 따르면, 사용자 장치(130)는 어플리케이션을 통해 엣지 컴퓨팅 서비스(edge computing service)와 관련된 다양한 사용자 인터페이스(user interface)를 제공할 수 있다. 예를 들어, 사용자 장치(130)는 리프 장치(120)에서 획득한 데이터(예: 카메라 영상 스트리밍) 또는 상기 데이터를 엣지 장치(110) 또는 클라우드 네트워크(140)에서 처리한 결과 데이터(예: 사람 인식)를 디스플레이 상에 표시할 수 있다. 또한, 사용자 장치(130)는 엣지 장치(110) 및/또는 리프 장치(120)의 연결, 서버 등록과 같은 사용자 입력을 수신하여 클라우드 네트워크(140)로 전송할 수 있다. 사용자 장치(130)의 세부 구성 및 동작에 대해서는 도 3을 통해 보다 상세히 설명하기로 한다.According to various embodiments, the user device 130 may provide various user interfaces related to edge computing services through applications. For example, the user device 130 may obtain data (eg, camera image streaming) acquired from the leaf device 120 or data as a result of processing the data in the edge device 110 or the cloud network 140 (eg, a person). recognition) can be displayed on the display. In addition, the user device 130 may receive a user input such as connection of the edge device 110 and/or the leaf device 120 and server registration, and transmit it to the cloud network 140 . A detailed configuration and operation of the user device 130 will be described in more detail with reference to FIG. 3 .
다양한 실시예에 따르면, 리프 장치(120)는 홈 네트워크 내에 위치하는 복수의 엣지 장치(110) 중 어느 하나와 연결되어 엣지 컴퓨팅 서비스를 수행할 수 있으며, 각 엣지 장치의 상태에 따라 다른 엣지 장치로 연결을 핸드오버(handover) 할 수 있다. 여기서, 핸드오버는 리프 장치(120)와 특정 엣지 장치가 연결되어 엣지 컴퓨팅 서비스를 수행 중인 상태에서, 리프 장치(120)가 다른 엣지 장치로 연결을 전환 하여 수행 중이던 엣지 컴퓨팅 서비스를 연속적으로 수행하도록 하는 것을 의미할 수 있다. 예를 들어, 리프 장치(120)와 제1엣지 장치(예: 태블릿 PC(111))에 연결되어 엣지 컴퓨팅 서비스를 수행하는 중에 제1엣지 장치의 이동, 네트워크 이탈, 리소스 부족, 전원 상태 변경과 같이 제1엣지 장치가 엣지 컴퓨팅 기능을 수행할 수 없는 상황인 경우, 핸드오버 이벤트에 따라 리프 장치(120)는 홈 네트워크 내의 제2엣지 장치(예: TV(112))와 연결되어 엣지 컴퓨팅 서비스를 수행할 수 있다.According to various embodiments, the leaf device 120 may be connected to any one of a plurality of edge devices 110 located in the home network to perform an edge computing service, and may switch to another edge device according to the state of each edge device. A connection can be handed over. Here, in the handover, in a state in which the leaf device 120 and a specific edge device are connected and the edge computing service is being performed, the leaf device 120 switches the connection to another edge device to continuously perform the edge computing service being performed. can mean doing For example, while connected to the leaf device 120 and the first edge device (eg, the tablet PC 111) and performing edge computing services, the movement of the first edge device, network departure, lack of resources, change of power state, and Similarly, when the first edge device cannot perform the edge computing function, according to the handover event, the leaf device 120 is connected to the second edge device (eg, the TV 112) in the home network to provide an edge computing service. can be performed.
도 2a 및 도 2b는 다양한 실시예에 따른 엣지 컴퓨팅 시스템의 각 장치들을 도시한 것이다.2A and 2B illustrate respective devices of an edge computing system according to various embodiments.
도 2a를 참조 하면, 엣지 컴퓨팅 시스템은 리프 장치(220), 엣지 장치(210), 사용자 장치(230), IoT 허브 서버(250) 및 IoT 매니지 서버(240)를 포함할 수 있다. 도 1을 통해 설명한 바와 같이, 홈 네트워크 상에 다양한 IoT 기기들이 존재할 수 있으며, 도 2에서는 하나의 리프 장치(leaf device)(예: 도 1의 카메라(121))와 하나의 엣지 장치(edge device)(예: 도 1의 TV(112))를 예로 들어 설명하기로 한다.Referring to FIG. 2A , the edge computing system may include a leaf device 220 , an edge device 210 , a user device 230 , an IoT hub server 250 , and an IoT management server 240 . As described with reference to FIG. 1 , various IoT devices may exist on the home network, and in FIG. 2 , one leaf device (eg, the camera 121 of FIG. 1 ) and one edge device ) (eg, the TV 112 of FIG. 1 ) will be described as an example.
다양한 실시예에 따르면, IoT 매니지 서버(240)(예: SmartThingsTM 서버)는 엣지 컴퓨팅 서비스의 결정, 연결 및/또는 운영을 위해 다양한 서비스를 제공하는 서버 장치로써, 프로비전 매니저(242), 모듈 매니저(244) 및 엣지-리프 매니저(246)를 포함할 수 있다.According to various embodiments, the IoT management server 240 (eg, SmartThings TM server) is a server device that provides various services for determining, connecting and/or operating edge computing services, and includes a provision manager 242, a module It may include a manager 244 and an edge-leaf manager 246 .
다양한 실시예에 따르면, 프로비전 매니저(242)(provision manager)는 엣지 장치(210)가 IoT 허브 서버(250)와 연결될 수 있도록 중간에서 중계하는 기능을 수행할 수 있다. 예를 들어, 프로비전 매니저(242)는 엣지 장치(210)가 IoT 매니지 서버(240)에 최초 등록되는 경우에, 엣지 장치(210)가 IoT 허브 서버(250)와 연결될 수 있도록 하는 연결 스트링(connection string)을 엣지 장치(210)에 전송할 수 있다.According to various embodiments, the provision manager 242 may perform a relay function in the middle so that the edge device 210 can be connected to the IoT hub server 250 . For example, when the edge device 210 is first registered with the IoT management server 240 , the provision manager 242 provides a connection string ( connection string) to the edge device 210 .
다양한 실시예에 따르면, 모듈 매니저(244)(module manager)는 엣지 컴퓨팅 서비스를 위해 제공하는 다양한 모듈 및 각 서비스를 지원하는 기기에 대한 정보들을 관리할 수 있다. 여기서, 엣지 컴퓨팅 서비스를 수행하기 위해 필요한 모듈은 엣지 장치(210)가 리프 장치(220)로부터 전송되는 데이터를 외부 서버(예: IoT 허브 서버(250))로 전송할 수 있도록 하는 디바이스 모듈(219) 및 리프 장치(220)에서 전송되는 데이터를 기반으로 엣지 장치(210)에서 서비스를 구현하기 위해 실행되는 프로그램들을 포함하는 서비스 모듈(218)을 포함할 수 있다.According to various embodiments, the module manager 244 may manage information on various modules provided for edge computing services and devices supporting each service. Here, the module required to perform the edge computing service is a device module 219 that enables the edge device 210 to transmit data transmitted from the leaf device 220 to an external server (eg, IoT hub server 250). and a service module 218 including programs executed to implement a service in the edge device 210 based on data transmitted from the leaf device 220 .
다양한 실시예에 따르면, 엣지-리프 매니저(246)(edge-leaf manager)는 여러 홈 네트워크에 존재하는 엣지 장치(210)와 리프 장치(220)의 연결 상태를 관리할 수 있다. 예를 들어, IoT 매니지 서버(240)에 등록된 엣지 장치(210)와 리프 장치(220)가 서로 연결 또는 연결 해제 되는 경우, 엣지 장치(210) 및/또는 리프 장치(220)에서 연결 또는 연결 해제 정보를 IoT 매니지 서버(240)에 전송하고, IoT 매니지 서버(240)는 실시간으로 어떠한 엣지 장치(210)와 리프 장치(220)가 연결되었는지, 어떠한 서비스를 수행하는 중인지에 대한 정보를 저장할 수 있다.According to various embodiments, the edge-leaf manager 246 may manage the connection state between the edge device 210 and the leaf device 220 existing in several home networks. For example, when the edge device 210 and the leaf device 220 registered in the IoT management server 240 are connected or disconnected from each other, the edge device 210 and/or the leaf device 220 connects or connects. The release information is transmitted to the IoT management server 240, and the IoT management server 240 can store information about which edge device 210 and leaf device 220 are connected in real time, and which service is being performed. there is.
다양한 실시예에 따르면, 리프 장치(220)가 특정 엣지 장치(예: 도 1의 태블릿 PC(111))와 연결되어 엣지 컴퓨팅 서비스를 수행하다가 핸드오버 이벤트에 따라 해당 엣지 장치와 연결을 해제하고 다른 엣지 장치(예: 도 1의 TV(112))와 연결되어 엣지 컴퓨팅 서비스를 수행하는 경우, IoT 매니지 서버(240)는 핸드오버 이벤트에 따라 변경된 엣지 장치(210)와 리프 장치(240)의 연결 정보를 업데이트 할 수 있다.According to various embodiments, the leaf device 220 is connected to a specific edge device (eg, the tablet PC 111 of FIG. 1 ) to perform an edge computing service, and then disconnects from the corresponding edge device according to a handover event and releases the connection to another edge device. When an edge computing service is performed by being connected to an edge device (eg, the TV 112 in FIG. 1 ), the IoT management server 240 connects the edge device 210 and the leaf device 240 changed according to the handover event. Information can be updated.
다양한 실시예에 따르면, IoT 허브 서버(250)는 클라우드 컴퓨팅 플랫폼(cloud computing platform)을 지원 하며, 클라우드 환경 내에 있는 리프 장치(220)와 엣지 장치(210)가 서로 연결되는 데 필요한 데이터를 제공할 수 있다. IoT 허브 서버(250)는 IoT 허브(252) 및 모듈 레지스트리(254)를 포함할 수 있다.According to various embodiments, the IoT hub server 250 supports a cloud computing platform, and provides data necessary for the leaf device 220 and the edge device 210 in the cloud environment to be connected to each other. can The IoT hub server 250 may include an IoT hub 252 and a module registry 254 .
다양한 실시예에 따르면, 모듈 레지스트리(254)(module registry)는 엣지 컴퓨팅 서비스를 수행하기 위해 필요한 모듈들(예: 디바이스 모듈(219), 서비스 모듈(218))의 저장소일 수 있다.According to various embodiments, the module registry 254 may be a storage of modules (eg, the device module 219 and the service module 218 ) required to perform an edge computing service.
다양한 실시예에 따르면, IoT 허브(IoT hub)(252)는 엣지 장치(210)와 연결을 유지하며, 모듈 레지스트리(254)에 저장된 모듈을 엣지 장치(210)에 제공하고, 여러 엣지 장치(210)에 설치된 모듈들의 정보를 유지할 수 있다.According to various embodiments, the IoT hub 252 maintains a connection with the edge device 210 , provides a module stored in the module registry 254 to the edge device 210 , and provides multiple edge devices 210 . ) can maintain information of installed modules.
다양한 실시예에 따르면, 엣지 장치(210)(예: 도 1의 엣지 장치(110))는 TV, 태블릿 PC, 랩톱 PC 등 기기 고유의 기능을 가지고, 엣지 컴퓨팅 서비스를 위한 하드웨어 및/또는 소프트웨어 구성(예: 엣지 런타임, 기본 모듈)을 포함하는 장치일 수 있다. 고유 기능의 수행과 적어도 일부 동시에 또는 고유 기능을 수행하지 않는 유휴 시간 동안 하드웨어 및/또는 소프트웨어 자원을 통해 엣지 컴퓨팅 서비스를 수행할 수 있다.According to various embodiments, the edge device 210 (eg, the edge device 110 of FIG. 1 ) has device-specific functions such as a TV, a tablet PC, and a laptop PC, and configures hardware and/or software for an edge computing service. It can be a device containing (eg edge runtime, base module). The edge computing service may be performed through hardware and/or software resources at least partially concurrently with the performance of the intrinsic function or during idle time when the intrinsic function is not performed.
다양한 실시예에 따르면, 엣지 장치(210)는 클라우드(예: IoT 매니지 서버(240), IoT 허브 서버(250))와 통신하기 위한 인터페이스(212), 운영 체제(OS, operating system)(214) 및 엣지 런타임(216)을 포함할 수 있다. 예를 들면, 엣지 장치(210)는 운영 체제(214)를 동작하기 위한 하드웨어 조건(예: CPU 성능)이 필요할 수 있고, RTOS(real time operating system)로 구성될 수 있다.According to various embodiments, the edge device 210 includes an interface 212 and an operating system (OS) 214 for communicating with the cloud (eg, the IoT management server 240 and the IoT hub server 250 ). and edge runtime 216 . For example, the edge device 210 may require hardware conditions (eg, CPU performance) for operating the operating system 214 , and may be configured as a real time operating system (RTOS).
엣지 장치(210)의 공정 과정 또는 소프트웨어 업그레이드를 통해 엣지 장치(210)에 엣지 런타임(216)(edge runtime) 및 엣지 컴퓨팅을 위한 기본 모듈이 설치될 수 있다. 여기서, 엣지 런타임(216)은 IoT 서버와 연동을 위한 데몬(daemon) 프로그램을 포함할 수 있으며, 기본 모듈은 IoT 서버와 통신에 필요한 프로그램으로써 컨테이너(container)로 구성될 수 있다. 예를 들면, 기본 모듈은 엣지 런타임(216) 환경에서 설치되는 컨테이너일 수 있다.An edge runtime 216 (edge runtime) and a basic module for edge computing may be installed in the edge device 210 through a process process or software upgrade of the edge device 210 . Here, the edge runtime 216 may include a daemon program for interworking with the IoT server, and the basic module may be configured as a container as a program necessary for communication with the IoT server. For example, the basic module may be a container installed in the edge runtime 216 environment.
다양한 실시예에 따르면, 엣지 장치(210)는 특정 리프 장치(220)와 연결되는 경우, IoT 허브 서버(250)로부터 엣지 컴퓨팅 서비스를 수행하기 위한 적어도 하나의 모듈을 수신하여 설치할 수 있다. According to various embodiments, when the edge device 210 is connected to a specific leaf device 220 , it may receive and install at least one module for performing an edge computing service from the IoT hub server 250 .
예를 들면, 적어도 하나의 모듈은, 연결되는 리프 장치(220)의 종류 및/또는 수행할 수 있는 서비스의 종류에 따라 결정될 수 있으며, 해당 리프 장치(220)에 대응하는 디바이스 모듈(219) 및/또는 수행할 서비스의 종류에 대응하는 서비스 모듈(218)을 포함할 수 있다. 엣지 장치(210)가 복수의 리프 장치들(220)과 연결되는 경우, 각각의 리프 장치(220)와 대응하는 디바이스 모듈(219)(예: 디바이스 모듈 1(219a), 디바이스 모듈 2(219b))이 설치될 수 있다. 엣지 장치(210)는 프로비전(provision) 과정에서 엣지 런타임(216)을 실행하여 IoT 허브 서버(250)와 연결되고, 리프 장치(220)의 종류에 따라 상기 적어도 하나의 모듈이 추가로 설치되고 실행될 수 있다. 엣지 장치(210)는 IoT 허브 서버(250) 또는 IoT 매니지 서버(240)로부터 수신되는 커맨드에 따라 엣지 모드를 활성화 또는 비활성화 할 수 있다. 엣지 모드가 비활성화 된 경우 엣지 장치(210)는 고유의 기능(예: TV의 영상 출력 기능)만 수행하게 되고, 디바이스 모듈(219) 및 서비스 모듈(218)은 실행되지 않을 수 있다.For example, the at least one module may be determined according to the type of the leaf apparatus 220 to be connected and/or the type of service that can be performed, and a device module 219 corresponding to the leaf apparatus 220 and / or may include a service module 218 corresponding to the type of service to be performed. When the edge device 210 is connected to the plurality of leaf devices 220 , each leaf device 220 and the corresponding device module 219 (eg, device module 1 219a , device module 2 219b ) ) can be installed. The edge device 210 is connected to the IoT hub server 250 by executing the edge runtime 216 in the provisioning process, and the at least one module is additionally installed according to the type of the leaf device 220 and can be executed The edge device 210 may activate or deactivate the edge mode according to a command received from the IoT hub server 250 or the IoT management server 240 . When the edge mode is deactivated, the edge device 210 performs only a unique function (eg, an image output function of the TV), and the device module 219 and the service module 218 may not be executed.
다양한 실시예에 따르면, 리프 장치(220)(예: 도 1의 리프 장치(120))는 센서를 이용해 획득한 데이터를 연결된 엣지 장치(210) 또는 클라우드 네트워크(예: IoT 매니지 서버(240), IoT 허브 서버(250))에 전송할 수 있다. 예를 들어, 리프 장치(220)로 동작하는 IP(internet protocol) 카메라의 경우, 엣지 장치(210)와 연결되어 영상 스트리밍을 엣지 장치(210)에 전송할 수 있다.According to various embodiments, the leaf device 220 (eg, the leaf device 120 of FIG. 1 ) transmits data acquired using a sensor to the connected edge device 210 or a cloud network (eg, IoT management server 240 ); It can be transmitted to the IoT hub server (250). For example, in the case of an IP (internet protocol) camera operating as the leaf device 220 , it may be connected to the edge device 210 to transmit video streaming to the edge device 210 .
다양한 실시예에 따르면, 사용자 장치(230)는 스마트 폰, 태블릿 PC 등 다양한 어플리케이션을 실행할 수 있고, 사용자 인터페이스(UI, user interface)를 표시할 수 있는 디스플레이를 포함하는 장치일 수 있다. 사용자 장치(230)는 엣지 컴퓨팅 서비스를 위한 어플리케이션을 설치 및/또는 실행하고, 해당 어플리케이션을 통해 리프 장치(220)에서 생성된 컨텐츠와 알림(notification)을 수신할 수 있다. 엣지 장치(210)와 리프 장치(220)가 연결된 경우, 리프 장치(220)에서 생성된 컨텐츠나 알림은, 엣지 장치(210)를 통하여 사용자 장치(230)에 전송될 수 있다.According to various embodiments, the user device 230 may be a device including a display capable of executing various applications, such as a smart phone and a tablet PC, and displaying a user interface (UI). The user device 230 may install and/or execute an application for an edge computing service, and receive content and a notification generated by the leaf device 220 through the corresponding application. When the edge device 210 and the leaf device 220 are connected, the content or notification generated by the leaf device 220 may be transmitted to the user device 230 through the edge device 210 .
다양한 실시예에 따르면, IoT 허브 서버(250) 및 IoT 매니지 서버(240)의 기능은 하나의 서버 장치(예: 도 2b의 IoT 서버(260))에 의해 수행될 수 있다. 예를 들어, 도 2b를 참조 하면, IoT 서버(260)는 앞서 설명한 IoT 허브 서버(250) 및 IoT 매니지 서버(240)의 구성인 IoT 허브(261)(예: 도 2a의 IoT 허브(252)), 모듈 레지스트리(262)(예: 도 2a의 모듈 레지스트리(254)), 프로비전 매니저(263)(예: 도 2a의 프로비전 매니저(242)), 모듈 매니저(264)(예: 도 2a의 모듈 매니저(244)) 및 엣지-리프 매니저(265)(예: 도 2a의 엣지-리프 매니저(246))를 포함할 수 있다. According to various embodiments, the functions of the IoT hub server 250 and the IoT management server 240 may be performed by one server device (eg, the IoT server 260 of FIG. 2B ). For example, referring to FIG. 2B , the IoT server 260 includes the IoT hub 261 (eg, the IoT hub 252 of FIG. 2A ) that is a configuration of the IoT hub server 250 and the IoT management server 240 described above. ), module registry 262 (eg, module registry 254 in FIG. 2A ), provision manager 263 (eg, provision manager 242 in FIG. 2A ), module manager 264 (eg, FIG. 2A ). of the module manager 244) and the edge-leaf manager 265 (eg, the edge-leaf manager 246 of FIG. 2A).
또는 상기 기능들은 3 이상의 복수의 서버 장치들에 의해 수행될 수도 있다. 예를 들어, 도 2a의 IoT 허브 서버(250), IoT 매니지 서버(240)의 각 구성들이 네트워크 상에 존재하는 3 이상의 복수의 서버 장치들에 의해 분산 배치 되거나, 각 구성에서 수행되는 일부 동작들도 여러 서버 장치들에 의해 분산 수행될 수 있다.Alternatively, the functions may be performed by three or more plurality of server devices. For example, each configuration of the IoT hub server 250 and the IoT management server 240 of FIG. 2A is distributedly arranged by three or more plurality of server devices existing on the network, or some operations performed in each configuration It may also be distributed by several server devices.
도 3은 다양한 실시예들에 따른, 네트워크 환경 내의 사용자 장치의 블록도이다. 이하에서는 엣지 컴퓨팅 시스템의 사용자 장치(예: 도 1의 사용자 장치(130), 도 2a의 사용자 장치(230))를 전자 장치(301)로 지칭할 수도 있다.3 is a block diagram of a user device within a network environment, in accordance with various embodiments. Hereinafter, a user device of the edge computing system (eg, the user device 130 of FIG. 1 and the user device 230 of FIG. 2A ) may be referred to as an electronic device 301 .
도 3을 참조하면, 네트워크 환경(300)에서 사용자 장치(또는 전자 장치)(301)는 제 1 네트워크(398)(예: 근거리 무선 통신 네트워크)를 통하여 전자 장치(302)와 통신하거나, 또는 제 2 네트워크(399)(예: 원거리 무선 통신 네트워크)를 통하여 전자 장치(304) 또는 서버(308)와 통신할 수 있다. 일실시예에 따르면, 전자 장치(301)는 서버(308)를 통하여 전자 장치(304)와 통신할 수 있다. 일실시예에 따르면, 전자 장치(301)는 프로세서(320), 메모리(330), 입력 모듈(350), 음향 출력 모듈(355), 디스플레이 모듈(360), 오디오 모듈(370), 센서 모듈(376), 인터페이스(377), 연결 단자(378), 햅틱 모듈(379), 카메라 모듈(380), 전력 관리 모듈(388), 배터리(389), 통신 모듈(390), 가입자 식별 모듈(396), 또는 안테나 모듈(397)을 포함할 수 있다. 어떤 실시예에서는, 전자 장치(301)에는, 이 구성요소들 중 적어도 하나(예: 연결 단자(378))가 생략되거나, 하나 이상의 다른 구성요소가 추가될 수 있다. 어떤 실시예에서는, 이 구성요소들 중 일부들(예: 센서 모듈(376), 카메라 모듈(380), 또는 안테나 모듈(397))은 하나의 구성요소(예: 디스플레이 모듈(360))로 통합될 수 있다.Referring to FIG. 3 , in the network environment 300 , the user device (or electronic device) 301 communicates with the electronic device 302 through a first network 398 (eg, a short-range wireless communication network), or 2 may communicate with the electronic device 304 or the server 308 through the network 399 (eg, a remote wireless communication network). According to an embodiment, the electronic device 301 may communicate with the electronic device 304 through the server 308 . According to an embodiment, the electronic device 301 includes a processor 320 , a memory 330 , an input module 350 , a sound output module 355 , a display module 360 , an audio module 370 , and a sensor module ( 376 , interface 377 , connection terminal 378 , haptic module 379 , camera module 380 , power management module 388 , battery 389 , communication module 390 , subscriber identification module 396 ) , or an antenna module 397 . In some embodiments, at least one of these components (eg, the connection terminal 378 ) may be omitted or one or more other components may be added to the electronic device 301 . In some embodiments, some of these components (eg, sensor module 376 , camera module 380 , or antenna module 397 ) are integrated into one component (eg, display module 360 ). can be
프로세서(320)는, 예를 들면, 소프트웨어(예: 프로그램(340))를 실행하여 프로세서(320)에 연결된 전자 장치(301)의 적어도 하나의 다른 구성요소(예: 하드웨어 또는 소프트웨어 구성요소)를 제어할 수 있고, 다양한 데이터 처리 또는 연산을 수행할 수 있다. 일실시예에 따르면, 데이터 처리 또는 연산의 적어도 일부로서, 프로세서(320)는 다른 구성요소(예: 센서 모듈(376) 또는 통신 모듈(390))로부터 수신된 명령 또는 데이터를 휘발성 메모리(332)에 저장하고, 휘발성 메모리(332)에 저장된 명령 또는 데이터를 처리하고, 결과 데이터를 비휘발성 메모리(334)에 저장할 수 있다. 일실시예에 따르면, 프로세서(320)는 메인 프로세서(321)(예: 중앙 처리 장치 또는 어플리케이션 프로세서) 또는 이와는 독립적으로 또는 함께 운영 가능한 보조 프로세서(323)(예: 그래픽 처리 장치, 신경망 처리 장치(NPU: neural processing unit), 이미지 시그널 프로세서, 센서 허브 프로세서, 또는 커뮤니케이션 프로세서)를 포함할 수 있다. 예를 들어, 전자 장치(301)가 메인 프로세서(321) 및 보조 프로세서(323)를 포함하는 경우, 보조 프로세서(323)는 메인 프로세서(321)보다 저전력을 사용하거나, 지정된 기능에 특화되도록 설정될 수 있다. 보조 프로세서(323)는 메인 프로세서(321)와 별개로, 또는 그 일부로서 구현될 수 있다.The processor 320, for example, executes software (eg, a program 340) to execute at least one other component (eg, a hardware or software component) of the electronic device 301 connected to the processor 320 . It can control and perform various data processing or operations. According to one embodiment, as at least part of data processing or computation, the processor 320 converts commands or data received from other components (eg, the sensor module 376 or the communication module 390 ) to the volatile memory 332 . may be stored in , process commands or data stored in the volatile memory 332 , and store the result data in the non-volatile memory 334 . According to an embodiment, the processor 320 is a main processor 321 (eg, central processing unit or application processor) or a secondary processor 323 (eg, a graphics processing unit, a neural network processing unit) a neural processing unit (NPU), an image signal processor, a sensor hub processor, or a communication processor). For example, when the electronic device 301 includes a main processor 321 and a sub-processor 323 , the sub-processor 323 uses less power than the main processor 321 or is set to be specialized for a specified function. can The auxiliary processor 323 may be implemented separately from or as a part of the main processor 321 .
보조 프로세서(323)는, 예를 들면, 메인 프로세서(321)가 인액티브(예: 슬립) 상태에 있는 동안 메인 프로세서(321)를 대신하여, 또는 메인 프로세서(321)가 액티브(예: 어플리케이션 실행) 상태에 있는 동안 메인 프로세서(321)와 함께, 전자 장치(301)의 구성요소들 중 적어도 하나의 구성요소(예: 디스플레이 모듈(360), 센서 모듈(376), 또는 통신 모듈(390))와 관련된 기능 또는 상태들의 적어도 일부를 제어할 수 있다. 일실시예에 따르면, 보조 프로세서(323)(예: 이미지 시그널 프로세서 또는 커뮤니케이션 프로세서)는 기능적으로 관련 있는 다른 구성요소(예: 카메라 모듈(380) 또는 통신 모듈(390))의 일부로서 구현될 수 있다. 일실시예에 따르면, 보조 프로세서(323)(예: 신경망 처리 장치)는 인공지능 모델의 처리에 특화된 하드웨어 구조를 포함할 수 있다. 인공지능 모델은 기계 학습을 통해 생성될 수 있다. 이러한 학습은, 예를 들어, 인공지능이 수행되는 전자 장치(301) 자체에서 수행될 수 있고, 별도의 서버(예: 서버(308))를 통해 수행될 수도 있다. 학습 알고리즘은, 예를 들어, 지도형 학습(supervised learning), 비지도형 학습(unsupervised learning), 준지도형 학습(semi-supervised learning) 또는 강화 학습(reinforcement learning)을 포함할 수 있으나, 전술한 예에 한정되지 않는다. 인공지능 모델은, 복수의 인공 신경망 레이어들을 포함할 수 있다. 인공 신경망은 심층 신경망(DNN: deep neural network), CNN(convolutional neural network), RNN(recurrent neural network), RBM(restricted boltzmann machine), DBN(deep belief network), BRDNN(bidirectional recurrent deep neural network), 심층 Q-네트워크(deep Q-networks) 또는 상기 중 둘 이상의 조합 중 하나일 수 있으나, 전술한 예에 한정되지 않는다. 인공지능 모델은 하드웨어 구조 이외에, 추가적으로 또는 대체적으로, 소프트웨어 구조를 포함할 수 있다.The coprocessor 323 may be, for example, on behalf of the main processor 321 while the main processor 321 is in an inactive (eg, sleep) state, or when the main processor 321 is active (eg, executing an application). ), together with the main processor 321, at least one of the components of the electronic device 301 (eg, the display module 360, the sensor module 376, or the communication module 390) It is possible to control at least some of the related functions or states. According to one embodiment, the coprocessor 323 (eg, image signal processor or communication processor) may be implemented as part of another functionally related component (eg, camera module 380 or communication module 390). there is. According to an embodiment, the auxiliary processor 323 (eg, a neural network processing unit) may include a hardware structure specialized for processing an artificial intelligence model. Artificial intelligence models can be created through machine learning. Such learning may be performed, for example, in the electronic device 301 itself on which artificial intelligence is performed, or may be performed through a separate server (eg, the server 308 ). The learning algorithm may include, for example, supervised learning, unsupervised learning, semi-supervised learning, or reinforcement learning, but in the above example not limited The artificial intelligence model may include a plurality of artificial neural network layers. Artificial neural networks include deep neural networks (DNNs), convolutional neural networks (CNNs), recurrent neural networks (RNNs), restricted boltzmann machines (RBMs), deep belief networks (DBNs), bidirectional recurrent deep neural networks (BRDNNs), It may be one of deep Q-networks or a combination of two or more of the above, but is not limited to the above example. The artificial intelligence model may include, in addition to, or alternatively, a software structure in addition to the hardware structure.
메모리(330)는, 전자 장치(301)의 적어도 하나의 구성요소(예: 프로세서(320) 또는 센서 모듈(376))에 의해 사용되는 다양한 데이터를 저장할 수 있다. 데이터는, 예를 들어, 소프트웨어(예: 프로그램(340)) 및, 이와 관련된 명령에 대한 입력 데이터 또는 출력 데이터를 포함할 수 있다. 메모리(330)는, 휘발성 메모리(332) 또는 비휘발성 메모리(334)를 포함할 수 있다. The memory 330 may store various data used by at least one component (eg, the processor 320 or the sensor module 376 ) of the electronic device 301 . The data may include, for example, input data or output data for software (eg, the program 340 ) and instructions related thereto. The memory 330 may include a volatile memory 332 or a non-volatile memory 334 .
프로그램(340)은 메모리(330)에 소프트웨어로서 저장될 수 있으며, 예를 들면, 운영 체제(342), 미들 웨어(344) 또는 어플리케이션(346)을 포함할 수 있다. The program 340 may be stored as software in the memory 330 , and may include, for example, an operating system 342 , middleware 344 , or an application 346 .
입력 모듈(350)은, 전자 장치(301)의 구성요소(예: 프로세서(320))에 사용될 명령 또는 데이터를 전자 장치(301)의 외부(예: 사용자)로부터 수신할 수 있다. 입력 모듈(350)은, 예를 들면, 마이크, 마우스, 키보드, 키(예: 버튼), 또는 디지털 펜(예: 스타일러스 펜)을 포함할 수 있다. The input module 350 may receive a command or data to be used in a component (eg, the processor 320 ) of the electronic device 301 from the outside (eg, a user) of the electronic device 301 . The input module 350 may include, for example, a microphone, a mouse, a keyboard, a key (eg, a button), or a digital pen (eg, a stylus pen).
음향 출력 모듈(355)은 음향 신호를 전자 장치(301)의 외부로 출력할 수 있다. 음향 출력 모듈(355)은, 예를 들면, 스피커 또는 리시버를 포함할 수 있다. 스피커는 멀티미디어 재생 또는 녹음 재생과 같이 일반적인 용도로 사용될 수 있다. 리시버는 착신 전화를 수신하기 위해 사용될 수 있다. 일실시예에 따르면, 리시버는 스피커와 별개로, 또는 그 일부로서 구현될 수 있다.The sound output module 355 may output a sound signal to the outside of the electronic device 301 . The sound output module 355 may include, for example, a speaker or a receiver. The speaker can be used for general purposes such as multimedia playback or recording playback. The receiver may be used to receive an incoming call. According to one embodiment, the receiver may be implemented separately from or as part of the speaker.
디스플레이 모듈(360)은 전자 장치(301)의 외부(예: 사용자)로 정보를 시각적으로 제공할 수 있다. 디스플레이 모듈(360)은, 예를 들면, 디스플레이, 홀로그램 장치, 또는 프로젝터 및 해당 장치를 제어하기 위한 제어 회로를 포함할 수 있다. 일실시예에 따르면, 디스플레이 모듈(360)은 터치를 감지하도록 설정된 터치 센서, 또는 상기 터치에 의해 발생되는 힘의 세기를 측정하도록 설정된 압력 센서를 포함할 수 있다. The display module 360 may visually provide information to the outside (eg, a user) of the electronic device 301 . The display module 360 may include, for example, a control circuit for controlling a display, a hologram device, or a projector and a corresponding device. According to an embodiment, the display module 360 may include a touch sensor configured to sense a touch or a pressure sensor configured to measure the intensity of a force generated by the touch.
오디오 모듈(370)은 소리를 전기 신호로 변환시키거나, 반대로 전기 신호를 소리로 변환시킬 수 있다. 일실시예에 따르면, 오디오 모듈(370)은, 입력 모듈(350)을 통해 소리를 획득하거나, 음향 출력 모듈(355), 또는 전자 장치(301)와 직접 또는 무선으로 연결된 외부 전자 장치(예: 전자 장치(302))(예: 스피커 또는 헤드폰)를 통해 소리를 출력할 수 있다.The audio module 370 may convert a sound into an electric signal or, conversely, convert an electric signal into a sound. According to an embodiment, the audio module 370 obtains a sound through the input module 350 or an external electronic device (eg, a sound output module 355 ) connected directly or wirelessly with the electronic device 301 . The electronic device 302 may output sound through (eg, a speaker or headphones).
센서 모듈(376)은 전자 장치(301)의 작동 상태(예: 전력 또는 온도), 또는 외부의 환경 상태(예: 사용자 상태)를 감지하고, 감지된 상태에 대응하는 전기 신호 또는 데이터 값을 생성할 수 있다. 일실시예에 따르면, 센서 모듈(376)은, 예를 들면, 제스처 센서, 자이로 센서, 기압 센서, 마그네틱 센서, 가속도 센서, 그립 센서, 근접 센서, 컬러 센서, IR(infrared) 센서, 생체 센서, 온도 센서, 습도 센서, 또는 조도 센서를 포함할 수 있다. The sensor module 376 detects an operating state (eg, power or temperature) of the electronic device 301 or an external environmental state (eg, a user state), and generates an electrical signal or data value corresponding to the sensed state. can do. According to one embodiment, the sensor module 376 may include, for example, a gesture sensor, a gyro sensor, a barometric pressure sensor, a magnetic sensor, an acceleration sensor, a grip sensor, a proximity sensor, a color sensor, an IR (infrared) sensor, a biometric sensor, It may include a temperature sensor, a humidity sensor, or an illuminance sensor.
인터페이스(377)는 전자 장치(301)가 외부 전자 장치(예: 전자 장치(302))와 직접 또는 무선으로 연결되기 위해 사용될 수 있는 하나 이상의 지정된 프로토콜들을 지원할 수 있다. 일실시예에 따르면, 인터페이스(377)는, 예를 들면, HDMI(high definition multimedia interface), USB(universal serial bus) 인터페이스, SD카드 인터페이스, 또는 오디오 인터페이스를 포함할 수 있다.The interface 377 may support one or more specified protocols that may be used by the electronic device 301 to directly or wirelessly connect with an external electronic device (eg, the electronic device 302 ). According to an embodiment, the interface 377 may include, for example, a high definition multimedia interface (HDMI), a universal serial bus (USB) interface, an SD card interface, or an audio interface.
연결 단자(378)는, 그를 통해서 전자 장치(301)가 외부 전자 장치(예: 전자 장치(302))와 물리적으로 연결될 수 있는 커넥터를 포함할 수 있다. 일실시예에 따르면, 연결 단자(378)는, 예를 들면, HDMI 커넥터, USB 커넥터, SD 카드 커넥터, 또는 오디오 커넥터(예: 헤드폰 커넥터)를 포함할 수 있다.The connection terminal 378 may include a connector through which the electronic device 301 can be physically connected to an external electronic device (eg, the electronic device 302 ). According to an embodiment, the connection terminal 378 may include, for example, an HDMI connector, a USB connector, an SD card connector, or an audio connector (eg, a headphone connector).
햅틱 모듈(379)은 전기적 신호를 사용자가 촉각 또는 운동 감각을 통해서 인지할 수 있는 기계적인 자극(예: 진동 또는 움직임) 또는 전기적인 자극으로 변환할 수 있다. 일실시예에 따르면, 햅틱 모듈(379)은, 예를 들면, 모터, 압전 소자, 또는 전기 자극 장치를 포함할 수 있다.The haptic module 379 may convert an electrical signal into a mechanical stimulus (eg, vibration or movement) or an electrical stimulus that the user can perceive through tactile or kinesthetic sense. According to an embodiment, the haptic module 379 may include, for example, a motor, a piezoelectric element, or an electrical stimulation device.
카메라 모듈(380)은 정지 영상 및 동영상을 촬영할 수 있다. 일실시예에 따르면, 카메라 모듈(380)은 하나 이상의 렌즈들, 이미지 센서들, 이미지 시그널 프로세서들, 또는 플래시들을 포함할 수 있다.The camera module 380 may capture still images and moving images. According to one embodiment, the camera module 380 may include one or more lenses, image sensors, image signal processors, or flashes.
전력 관리 모듈(388)은 전자 장치(301)에 공급되는 전력을 관리할 수 있다. 일실시예에 따르면, 전력 관리 모듈(388)은, 예를 들면, PMIC(power management integrated circuit)의 적어도 일부로서 구현될 수 있다.The power management module 388 may manage power supplied to the electronic device 301 . According to an embodiment, the power management module 388 may be implemented as, for example, at least a part of a power management integrated circuit (PMIC).
배터리(389)는 전자 장치(301)의 적어도 하나의 구성요소에 전력을 공급할 수 있다. 일실시예에 따르면, 배터리(389)는, 예를 들면, 재충전 불가능한 1차 전지, 재충전 가능한 2차 전지 또는 연료 전지를 포함할 수 있다.The battery 389 may supply power to at least one component of the electronic device 301 . According to one embodiment, battery 389 may include, for example, a non-rechargeable primary cell, a rechargeable secondary cell, or a fuel cell.
통신 모듈(390)은 전자 장치(301)와 외부 전자 장치(예: 전자 장치(302), 전자 장치(304), 또는 서버(308)) 간의 직접(예: 유선) 통신 채널 또는 무선 통신 채널의 수립, 및 수립된 통신 채널을 통한 통신 수행을 지원할 수 있다. 통신 모듈(390)은 프로세서(320)(예: 어플리케이션 프로세서)와 독립적으로 운영되고, 직접(예: 유선) 통신 또는 무선 통신을 지원하는 하나 이상의 커뮤니케이션 프로세서를 포함할 수 있다. 일실시예에 따르면, 통신 모듈(390)은 무선 통신 모듈(392)(예: 셀룰러 통신 모듈, 근거리 무선 통신 모듈, 또는 GNSS(global navigation satellite system) 통신 모듈) 또는 유선 통신 모듈(394)(예: LAN(local area network) 통신 모듈, 또는 전력선 통신 모듈)을 포함할 수 있다. 이들 통신 모듈 중 해당하는 통신 모듈은 제 1 네트워크(398)(예: 블루투스, WiFi(wireless fidelity) direct 또는 IrDA(infrared data association)와 같은 근거리 통신 네트워크) 또는 제 2 네트워크(399)(예: 레거시 셀룰러 네트워크, 5G 네트워크, 차세대 통신 네트워크, 인터넷, 또는 컴퓨터 네트워크(예: LAN 또는 WAN)와 같은 원거리 통신 네트워크)를 통하여 외부의 전자 장치(304)와 통신할 수 있다. 이런 여러 종류의 통신 모듈들은 하나의 구성요소(예: 단일 칩)로 통합되거나, 또는 서로 별도의 복수의 구성요소들(예: 복수 칩들)로 구현될 수 있다. 무선 통신 모듈(392)은 가입자 식별 모듈(396)에 저장된 가입자 정보(예: 국제 모바일 가입자 식별자(IMSI))를 이용하여 제 1 네트워크(398) 또는 제 2 네트워크(399)와 같은 통신 네트워크 내에서 전자 장치(301)를 확인 또는 인증할 수 있다. The communication module 390 is a direct (eg, wired) communication channel or a wireless communication channel between the electronic device 301 and an external electronic device (eg, the electronic device 302, the electronic device 304, or the server 308). It can support establishment and communication performance through the established communication channel. The communication module 390 may include one or more communication processors that operate independently of the processor 320 (eg, an application processor) and support direct (eg, wired) communication or wireless communication. According to one embodiment, the communication module 390 is a wireless communication module 392 (eg, a cellular communication module, a short-range wireless communication module, or a global navigation satellite system (GNSS) communication module) or a wired communication module 394 (eg, : It may include a LAN (local area network) communication module, or a power line communication module). A corresponding communication module among these communication modules is a first network 398 (eg, a short-range communication network such as Bluetooth, wireless fidelity (WiFi) direct, or infrared data association (IrDA)) or a second network 399 (eg, legacy It may communicate with the external electronic device 304 through a cellular network, a 5G network, a next-generation communication network, the Internet, or a computer network (eg, a telecommunication network such as a LAN or a WAN). These various types of communication modules may be integrated into one component (eg, a single chip) or may be implemented as a plurality of components (eg, multiple chips) separate from each other. The wireless communication module 392 uses the subscriber information (eg, International Mobile Subscriber Identifier (IMSI)) stored in the subscriber identification module 396 within a communication network, such as the first network 398 or the second network 399 . The electronic device 301 may be identified or authenticated.
무선 통신 모듈(392)은 4G 네트워크 이후의 5G 네트워크 및 차세대 통신 기술, 예를 들어, NR 접속 기술(new radio access technology)을 지원할 수 있다. NR 접속 기술은 고용량 데이터의 고속 전송(eMBB(enhanced mobile broadband)), 단말 전력 최소화와 다수 단말의 접속(mMTC(massive machine type communications)), 또는 고신뢰도와 저지연(URLLC(ultra-reliable and low-latency communications))을 지원할 수 있다. 무선 통신 모듈(392)은, 예를 들어, 높은 데이터 전송률 달성을 위해, 고주파 대역(예: mmWave 대역)을 지원할 수 있다. 무선 통신 모듈(392)은 고주파 대역에서의 성능 확보를 위한 다양한 기술들, 예를 들어, 빔포밍(beamforming), 거대 배열 다중 입출력(massive MIMO(multiple-input and multiple-output)), 전차원 다중입출력(FD-MIMO: full dimensional MIMO), 어레이 안테나(array antenna), 아날로그 빔형성(analog beam-forming), 또는 대규모 안테나(large scale antenna)와 같은 기술들을 지원할 수 있다. 무선 통신 모듈(392)은 전자 장치(301), 외부 전자 장치(예: 전자 장치(304)) 또는 네트워크 시스템(예: 제 2 네트워크(399))에 규정되는 다양한 요구사항을 지원할 수 있다. 일실시예에 따르면, 무선 통신 모듈(392)은 eMBB 실현을 위한 Peak data rate(예: 20Gbps 이상), mMTC 실현을 위한 손실 Coverage(예: 164dB 이하), 또는 URLLC 실현을 위한 U-plane latency(예: 다운링크(DL) 및 업링크(UL) 각각 0.5ms 이하, 또는 라운드 트립 1ms 이하)를 지원할 수 있다.The wireless communication module 392 may support a 5G network after a 4G network and a next-generation communication technology, for example, a new radio access technology (NR). NR access technology includes high-speed transmission of high-capacity data (eMBB (enhanced mobile broadband)), minimization of terminal power and access to multiple terminals (mMTC (massive machine type communications)), or high reliability and low latency (URLLC (ultra-reliable and low-latency) -latency communications)). The wireless communication module 392 may support a high frequency band (eg, mmWave band) to achieve a high data rate, for example. The wireless communication module 392 uses various techniques for securing performance in a high frequency band, for example, beamforming, massive multiple-input and multiple-output (MIMO), all-dimensional multiplexing. It may support technologies such as full dimensional MIMO (FD-MIMO), an array antenna, analog beam-forming, or a large scale antenna. The wireless communication module 392 may support various requirements specified in the electronic device 301 , an external electronic device (eg, the electronic device 304 ), or a network system (eg, the second network 399 ). According to an embodiment, the wireless communication module 392 may include a peak data rate (eg, 20 Gbps or more) for realizing eMBB, loss coverage (eg, 164 dB or less) for realizing mMTC, or U-plane latency for realizing URLLC ( Example: downlink (DL) and uplink (UL) each 0.5 ms or less, or round trip 1 ms or less).
안테나 모듈(397)은 신호 또는 전력을 외부(예: 외부의 전자 장치)로 송신하거나 외부로부터 수신할 수 있다. 일실시예에 따르면, 안테나 모듈(397)은 서브스트레이트(예: PCB) 위에 형성된 도전체 또는 도전성 패턴으로 이루어진 방사체를 포함하는 안테나를 포함할 수 있다. 일실시예에 따르면, 안테나 모듈(397)은 복수의 안테나들(예: 어레이 안테나)을 포함할 수 있다. 이런 경우, 제 1 네트워크(398) 또는 제 2 네트워크(399)와 같은 통신 네트워크에서 사용되는 통신 방식에 적합한 적어도 하나의 안테나가, 예를 들면, 통신 모듈(390)에 의하여 상기 복수의 안테나들로부터 선택될 수 있다. 신호 또는 전력은 상기 선택된 적어도 하나의 안테나를 통하여 통신 모듈(390)과 외부의 전자 장치 간에 송신되거나 수신될 수 있다. 어떤 실시예에 따르면, 방사체 이외에 다른 부품(예: RFIC(radio frequency integrated circuit))이 추가로 안테나 모듈(397)의 일부로 형성될 수 있다. The antenna module 397 may transmit or receive a signal or power to the outside (eg, an external electronic device). According to an embodiment, the antenna module 397 may include an antenna including a conductor formed on a substrate (eg, a PCB) or a radiator formed of a conductive pattern. According to an embodiment, the antenna module 397 may include a plurality of antennas (eg, an array antenna). In this case, at least one antenna suitable for a communication scheme used in a communication network such as the first network 398 or the second network 399 is connected from the plurality of antennas by, for example, the communication module 390 . can be selected. A signal or power may be transmitted or received between the communication module 390 and an external electronic device through the selected at least one antenna. According to some embodiments, other components (eg, a radio frequency integrated circuit (RFIC)) other than the radiator may be additionally formed as a part of the antenna module 397 .
다양한 실시예에 따르면, 안테나 모듈(397)은 mmWave 안테나 모듈을 형성할 수 있다. 일실시예에 따르면, mmWave 안테나 모듈은 인쇄 회로 기판, 상기 인쇄 회로 기판의 제 1 면(예: 아래 면)에 또는 그에 인접하여 배치되고 지정된 고주파 대역(예: mmWave 대역)을 지원할 수 있는 RFIC, 및 상기 인쇄 회로 기판의 제 2 면(예: 윗 면 또는 측 면)에 또는 그에 인접하여 배치되고 상기 지정된 고주파 대역의 신호를 송신 또는 수신할 수 있는 복수의 안테나들(예: 어레이 안테나)을 포함할 수 있다.According to various embodiments, the antenna module 397 may form a mmWave antenna module. According to one embodiment, the mmWave antenna module comprises a printed circuit board, an RFIC disposed on or adjacent to a first side (eg, bottom side) of the printed circuit board and capable of supporting a designated high frequency band (eg, mmWave band); and a plurality of antennas (eg, an array antenna) disposed on or adjacent to a second side (eg, top or side) of the printed circuit board and capable of transmitting or receiving signals of the designated high frequency band. can do.
상기 구성요소들 중 적어도 일부는 주변 기기들간 통신 방식(예: 버스, GPIO(general purpose input and output), SPI(serial peripheral interface), 또는 MIPI(mobile industry processor interface))을 통해 서로 연결되고 신호(예: 명령 또는 데이터)를 상호간에 교환할 수 있다.At least some of the components are connected to each other through a communication method between peripheral devices (eg, a bus, general purpose input and output (GPIO), serial peripheral interface (SPI), or mobile industry processor interface (MIPI)) and a signal ( eg commands or data) can be exchanged with each other.
일실시예에 따르면, 명령 또는 데이터는 제 2 네트워크(399)에 연결된 서버(308)를 통해서 전자 장치(301)와 외부의 전자 장치(304)간에 송신 또는 수신될 수 있다. 외부의 전자 장치(302, 또는 304) 각각은 전자 장치(301)와 동일한 또는 다른 종류의 장치일 수 있다. 일실시예에 따르면, 전자 장치(301)에서 실행되는 동작들의 전부 또는 일부는 외부의 전자 장치들(302, 304, 또는 308) 중 하나 이상의 외부의 전자 장치들에서 실행될 수 있다. 예를 들면, 전자 장치(301)가 어떤 기능이나 서비스를 자동으로, 또는 사용자 또는 다른 장치로부터의 요청에 반응하여 수행해야 할 경우에, 전자 장치(301)는 기능 또는 서비스를 자체적으로 실행시키는 대신에 또는 추가적으로, 하나 이상의 외부의 전자 장치들에게 그 기능 또는 그 서비스의 적어도 일부를 수행하라고 요청할 수 있다. 상기 요청을 수신한 하나 이상의 외부의 전자 장치들은 요청된 기능 또는 서비스의 적어도 일부, 또는 상기 요청과 관련된 추가 기능 또는 서비스를 실행하고, 그 실행의 결과를 전자 장치(301)로 전달할 수 있다. 전자 장치(301)는 상기 결과를, 그대로 또는 추가적으로 처리하여, 상기 요청에 대한 응답의 적어도 일부로서 제공할 수 있다. 이를 위하여, 예를 들면, 클라우드 컴퓨팅, 분산 컴퓨팅, 모바일 에지 컴퓨팅(MEC: mobile edge computing), 또는 클라이언트-서버 컴퓨팅 기술이 이용될 수 있다. 전자 장치(301)는, 예를 들어, 분산 컴퓨팅 또는 모바일 에지 컴퓨팅을 이용하여 초저지연 서비스를 제공할 수 있다. 다른 실시예에 있어서, 외부의 전자 장치(304)는 IoT(internet of things) 기기를 포함할 수 있다. 서버(308)는 기계 학습 및/또는 신경망을 이용한 지능형 서버일 수 있다. 일실시예에 따르면, 외부의 전자 장치(304) 또는 서버(308)는 제 2 네트워크(399) 내에 포함될 수 있다. 전자 장치(301)는 5G 통신 기술 및 IoT 관련 기술을 기반으로 지능형 서비스(예: 스마트 홈, 스마트 시티, 스마트 카, 또는 헬스 케어)에 적용될 수 있다. According to an embodiment, the command or data may be transmitted or received between the electronic device 301 and the external electronic device 304 through the server 308 connected to the second network 399 . Each of the external electronic devices 302 or 304 may be the same as or different from the electronic device 301 . According to an embodiment, all or part of the operations executed by the electronic device 301 may be executed by one or more external electronic devices 302 , 304 , or 308 . For example, when the electronic device 301 is to perform a function or service automatically or in response to a request from a user or other device, the electronic device 301 may perform the function or service itself instead of executing the function or service itself. Alternatively or additionally, one or more external electronic devices may be requested to perform at least a part of the function or the service. One or more external electronic devices that have received the request may execute at least a part of the requested function or service, or an additional function or service related to the request, and transmit a result of the execution to the electronic device 301 . The electronic device 301 may process the result as it is or additionally and provide it as at least a part of a response to the request. For this, for example, cloud computing, distributed computing, mobile edge computing (MEC), or client-server computing technology may be used. The electronic device 301 may provide an ultra-low latency service using, for example, distributed computing or mobile edge computing. In another embodiment, the external electronic device 304 may include an Internet of things (IoT) device. The server 308 may be an intelligent server using machine learning and/or neural networks. According to an embodiment, the external electronic device 304 or the server 308 may be included in the second network 399 . The electronic device 301 may be applied to an intelligent service (eg, smart home, smart city, smart car, or health care) based on 5G communication technology and IoT-related technology.
다양한 실시예에 따르면, 프로세서(320)는 어플리케이션(346)을 이용해 홈 네트워크 내의 엣지 장치(예: 도 2a의 엣지 장치(210))와 리프 장치(예: 도 2a의 리프 장치(220))를 이용한 엣지 컴퓨팅 서비스와 관련된 제어를 수행할 수 있다. According to various embodiments, the processor 320 connects an edge device (eg, the edge device 210 of FIG. 2A ) and a leaf device (eg, the leaf device 220 of FIG. 2A ) in the home network using the application 346 ). Control related to the edge computing service used can be performed.
다양한 실시예에 따르면, 어플리케이션(346)은 엣지 장치 및 리프 장치를 IoT 서버(예: 도 2a의 IoT 매니지 서버(240))에 등록하는 기능을 제공할 수 있다. 예를 들어, 프로세서(320)는 통신 모듈(390)을 이용해 홈 네트워크 내의 적어도 하나의 엣지 장치 및 리프 장치를 디스커버리 하고, 각 장치의 디바이스 정보(예: 식별 정보, 네트워크 정보)를 수신할 수 있다.According to various embodiments, the application 346 may provide a function of registering the edge device and the leaf device with the IoT server (eg, the IoT management server 240 of FIG. 2A ). For example, the processor 320 may discover at least one edge device and a leaf device in the home network using the communication module 390 and receive device information (eg, identification information, network information) of each device. .
프로세서(320)는 확인된 장치들의 리스트를 어플리케이션 상에 표시할 수 있다. 프로세서(320)는 사용자 입력에 기초하여 선택된 엣지 장치 또는 리프 장치의 디바이스 정보를 IoT 서버에 전송하여 등록을 요청할 수 있다. 또한, 프로세서(320)는 어플리케이션(346) 상에서 각 장치의 명칭, 및/또는 위치 정보 등을 입력 받을 수 있다.The processor 320 may display a list of identified devices on the application. The processor 320 may request registration by transmitting device information of the edge device or the leaf device selected based on the user input to the IoT server. In addition, the processor 320 may receive the name and/or location information of each device on the application 346 .
다양한 실시예에 따르면, 프로세서(320)는 엣지 장치의 엣지 모드가 비활성화 된 상태에서는 리프 장치로부터 리프 장치의 센서에서 획득한 데이터(예: 영상 스트리밍, 사운드 데이터)를 클라우드 네트워크로부터 수신할 수 있다. 이 후, 엣지 컴퓨팅 서비스가 개시 되는 경우, 리프 장치에서 획득한 데이터는 엣지 장치로 전송되고, 사용자 장치(예: 도 1의 사용자 장치(130), 도 2a의 사용자 장치(230), 또는 전자 장치(301))는 센서 데이터 및 분석 데이터를 엣지 장치로부터 직접 수신하거나, 엣지 장치로부터 클라우드 네트워크(예: 도 1의 클라우드 네트워크(140))를 거쳐 수신할 수 있다.According to various embodiments, the processor 320 may receive data (eg, image streaming, sound data) obtained from a sensor of the leaf device from the leaf device from the cloud network while the edge mode of the edge device is deactivated. Thereafter, when the edge computing service is started, the data acquired from the leaf device is transmitted to the edge device, and the user device (eg, the user device 130 of FIG. 1 , the user device 230 of FIG. 2A , or the electronic device) 301 ) may receive sensor data and analysis data directly from the edge device or through a cloud network (eg, the cloud network 140 of FIG. 1 ) from the edge device.
다양한 실시예에 따르면, 프로세서(320)는 엣지 장치와 리프 장치의 연결 또는 연결 해제와 관련된 정보를 디스플레이에 표시되는 어플리케이션 상에 표시할 수 있다. 예를 들어, 핸드오버 이벤트에 따라 리프 장치가 제1엣지 장치에서 제2엣지 장치로 연결을 변경하는 경우, 사용자 장치(301)는 리프 장치, 제1엣지 장치, 제2엣지 장치 또는 IoT 서버 중 적어도 하나로부터 엣지-리프 연결의 업데이트와 관련된 정보를 수신할 수 있다. 사용자 장치(301)는 수신한 정보에 기반하여 어플리케이션을 통해 업데이트 된 엣지-리프 연결 정보를 표시할 수 있다.According to various embodiments, the processor 320 may display information related to connection or disconnection between the edge device and the leaf device on an application displayed on the display. For example, when the leaf device changes the connection from the first edge device to the second edge device according to a handover event, the user device 301 selects one of the leaf device, the first edge device, the second edge device, or the IoT server. Information related to the update of the edge-leaf connection may be received from at least one. The user device 301 may display updated edge-leaf connection information through an application based on the received information.
다양한 실시예에 따르면, 엣지 장치, 또는 리프 장치의 구성 요소 중 적어도 하나는, 전자 장치(301)(예: 사용자 장치)의 구성 요소와 적어도 일부 동일하거나 유사하게 구성될 수 있다. 예를 들면, 리프 장치의 센서는 전자 장치(301)의 센서 모듈(376)과 실질적으로 동일한 기능 및/또는 동작을 수행할 수 있다. 또한, 엣지 장치의 통신 모듈(예: 도 4의 통신 모듈(420))은 전자 장치(301)의 통신 모듈(190)과, 인터페이스(예: 도 2a의 인터페이스(212))는 전자 장치(301)의 인터페이스(377)와 실질적으로 동일한 기능 및/또는 동작을 수행할 수 있다.According to various embodiments, at least one of the components of the edge device or the leaf device may be configured to be at least partially identical to or similar to components of the electronic device 301 (eg, a user device). For example, the sensor of the leaf device may perform substantially the same function and/or operation as the sensor module 376 of the electronic device 301 . In addition, the communication module of the edge device (eg, the communication module 420 of FIG. 4 ) is the communication module 190 of the electronic device 301 , and the interface (eg, the interface 212 of FIG. 2A ) is the electronic device 301 . ) may perform substantially the same function and/or operation as that of the interface 377 .
도 4는 다양한 실시예에 따른 엣지 장치의 블록도이다.4 is a block diagram of an edge device according to various embodiments of the present disclosure;
도 4에 도시된 엣지 장치(400)는 다양한 실시예에 따른 제1엣지 장치(예: 도 10의 제1엣지 장치(1010)) 또는 제2엣지 장치(예: 도 10의 제2엣지 장치(1020))로 동작할 수 있다. 예를 들어, 엣지 장치(400)가 리프 장치(예: 도 2a의 리프 장치(220))와 연결되어 엣지 컴퓨팅 서비스를 수행하는 중 핸드오버 이벤트가 발생하여 리프 장치가 다른 엣지 장치로 핸드오버 할 수 있는 경우 엣지 장치(400)는 제1엣지 장치로 동작할 수 있고, 다른 엣지 장치(400)가 리프 장치와 연결되어 엣지 컴퓨팅 서비스를 수행하는 중 핸드오버 이벤트가 발생하여 리프 장치가 엣지 장치(400)로 핸드오버 할 수 있는 경우 엣지 장치(400)는 제2엣지 장치로 동작할 수도 있다.The edge device 400 shown in FIG. 4 is a first edge device (eg, the first edge device 1010 of FIG. 10 ) or a second edge device (eg, the second edge device of FIG. 10 ) according to various embodiments. 1020)) can be operated. For example, a handover event occurs while the edge device 400 is connected to a leaf device (eg, the leaf device 220 of FIG. 2A ) and performs an edge computing service, so that the leaf device is handed over to another edge device. If possible, the edge device 400 may operate as a first edge device, and a handover event occurs while another edge device 400 is connected to a leaf device to perform an edge computing service, so that the leaf device becomes an edge device ( 400), the edge device 400 may operate as a second edge device.
다양한 실시예에 따른 엣지 컴퓨팅 시스템(edge computing system)에서 복수의 엣지 장치(예: 도 1의 태블릿 PC(111), TV(112))들이 존재할 수 있고, 각 엣지 장치는 서로 다른 종류의 장치일 수 있다. 예를 들어, 엣지 장치(400)(edge device)는 TV, 태블릿 PC, 랩탑 PC 등으로 구현될 수 있다. 이하에서는, 엣지 장치(400)가 기기 고유의 기능을 실행하기 위한 특징들의 설명은 생략하고, 엣지 컴퓨팅 시스템에서 엣지 장치(400)로 동작하기 위해 필요한 동작들에 한해서 설명하기로 한다.In an edge computing system according to various embodiments, a plurality of edge devices (eg, the tablet PC 111 and TV 112 of FIG. 1 ) may exist, and each edge device may be a different type of device. can For example, the edge device 400 may be implemented as a TV, a tablet PC, a laptop PC, or the like. Hereinafter, descriptions of features for the edge device 400 to execute device-specific functions will be omitted, and only operations necessary to operate as the edge device 400 in the edge computing system will be described.
다양한 실시예에 따르면, 통신 모듈(420)은 무선 통신(예: 근거리 통신(Wi-Fi), 셀룰러 통신)을 지원하며, 리프 장치(예: 도 2a의 리프 장치(220)), 사용자 장치(예: 도 2a의 사용자 장치(230)), 외부 서버(예: 도 2a의 IoT 매니지 서버, IoT 허브 서버)와 데이터를 송수신할 수 있다. 일 실시예에 따르면, 통신 모듈(420)은 근거리 무선 통신으로, NFC(near field communication), 블루투스, BLE(bluetooth low energy), WiFi Direct, 메시 네트워크(mesh network)(예: zigbee, z-wave) 및/또는 UWB(ultra-wideband)로 연결될 수 있고, 셀룰러 통신으로, 4G 네트워크, 및/또는 5G 네트워크(예: SA(standalone), NSA(non-standalone))로 연결될 수 있다. According to various embodiments, the communication module 420 supports wireless communication (eg, short-range communication (Wi-Fi), cellular communication), a leaf device (eg, the leaf device 220 of FIG. 2A ), a user device ( For example: the user device 230 of FIG. 2A ) and an external server (eg, the IoT management server and the IoT hub server of FIG. 2A ) may transmit/receive data. According to an embodiment, the communication module 420 is short-range wireless communication, near field communication (NFC), Bluetooth, bluetooth low energy (BLE), WiFi Direct, and a mesh network (eg, zigbee, z-wave). ) and/or UWB (ultra-wideband), and cellular communication, may be connected to a 4G network, and/or a 5G network (eg, standalone (SA), non-standalone (NSA)).
다양한 실시예에 따르면, 센서(440)는 전자 장치의 움직임을 감지할 수 있다. 예를 들어, 엣지 장치(400)는 사용자에 의해 휴대 가능한 장치(예: 태블릿 PC, 랩톱 PC)일 수 있으며, 엣지 장치(400)의 움직임(또는 이동)을 감지하기 위해 자이로(gyroscope) 센서, 가속도 센서와 같은 적어도 하나의 움직임 감지 센서를 포함할 수 있다. 엣지 장치(400)는 다양한 센서(440)의 데이터를 수집 및 처리하는 센서 허브(미도시)를 포함하고, 센서 허브에서 수집된 센서 데이터가 프로세서(410)에 제공될 수 있다.According to various embodiments, the sensor 440 may detect a movement of the electronic device. For example, the edge device 400 may be a device portable by a user (eg, a tablet PC, a laptop PC), and a gyroscope sensor to detect movement (or movement) of the edge device 400 , It may include at least one motion detection sensor such as an acceleration sensor. The edge device 400 includes a sensor hub (not shown) that collects and processes data of various sensors 440 , and sensor data collected from the sensor hub may be provided to the processor 410 .
다양한 실시예에 따르면, 전원 관리 모듈(450)은 엣지 장치(400)의 전원 상태를 확인할 수 있으며, PMIC(power management integrated circuit)의 적어도 일부로 구현될 수 있다. 예를 들어, 전원 관리 모듈(450)은 엣지 장치(400)가 외부 전원에 연결 되었는 지 여부, 배터리(미도시)의 충전량과 같은 엣지 장치(400)의 전원 상태를 감지하여 프로세서(410)에 전달할 수 있다.According to various embodiments, the power management module 450 may check the power state of the edge device 400 and may be implemented as at least a part of a power management integrated circuit (PMIC). For example, the power management module 450 detects the power state of the edge device 400, such as whether the edge device 400 is connected to an external power source, the amount of charge of the battery (not shown), and sends it to the processor 410 . can transmit
다양한 실시예에 따르면, 메모리(430)는 휘발성 메모리 및/또는 비휘발성 메모리를 포함할 수 있으며, 엣지 장치(400)의 적어도 하나의 구성요소(예: 프로세서(410))에서 사용되는 다양한 데이터를 일시적 및/또는 영구적으로 저장할 수 있다. 메모리(430)는 프로세서(410)에서 수행될 수 있는 다양한 인스트럭션(instruction)들을 저장할 수 있다. 이와 같은 인스트럭션들은 프로세서(410)에 의해 인식될 수 있는 산술 및 논리 연산, 데이터 이동, 입출력을 포함하는 다양한 제어 명령을 포함할 수 있다.According to various embodiments, the memory 430 may include a volatile memory and/or a non-volatile memory, and may store various data used in at least one component (eg, the processor 410 ) of the edge device 400 . It may be temporarily and/or permanently stored. The memory 430 may store various instructions that may be executed by the processor 410 . Such instructions may include various control commands including arithmetic and logical operations, data movement, and input/output that can be recognized by the processor 410 .
다양한 실시예에 따르면, 메모리(430)는 엣지 컴퓨팅 서비스와 관련하여, 디바이스 정보, 엣지 런타임, 기본 모듈, 디바이스 모듈 및 서비스 모듈을 저장할 수 있다. According to various embodiments, the memory 430 may store device information, an edge runtime, a basic module, a device module, and a service module in relation to an edge computing service.
다양한 실시예에 따르면, 디바이스 정보는 엣지 장치(400)의 식별 정보를 포함할 수 있으며, 예를 들어, 디바이스 ID, 제조사, 모델명, 성능(capability) 및 기기 종류를 포함할 수 있다. 또한, 디바이스 정보는 엣지 장치(400)의 위치 정보(예: 방, 거실) 및 네트워크 정보(예: IP 주소) 중 적어도 일부를 더 포함할 수 있다. 디바이스 정보 중 적어도 일부(예: 위치 정보)는 사용자가 사용자 장치(예: 도 3의 전자 장치(301), 또는 사용자 장치(301))의 어플리케이션 상에서 입력한 것일 수 있다.According to various embodiments, the device information may include identification information of the edge device 400 , for example, device ID, manufacturer, model name, capability, and device type. In addition, the device information may further include at least some of location information (eg, a room, living room) and network information (eg, an IP address) of the edge device 400 . At least some of the device information (eg, location information) may be input by the user on an application of the user device (eg, the electronic device 301 of FIG. 3 or the user device 301 of FIG. 3 ).
다양한 실시예에 따르면, 엣지 런타임(edge runtime)은 IoT 서버와 연동을 위한 데몬(daemon) 프로그램을 포함할 수 있다. 엣지 런타임은 엣지 장치(400)의 엣지 모드가 비활성화 된 상태에서는 실행되지 않고, IoT 서버(예: 도 2a의 IoT 매니지 서버(240))로부터 연결 스트링(connection string)을 수신하는 경우, 이 값을 이용하여 실행될 수 있다. According to various embodiments, the edge runtime may include a daemon program for interworking with the IoT server. The edge runtime is not executed when the edge mode of the edge device 400 is deactivated. When receiving a connection string from the IoT server (eg, the IoT management server 240 of FIG. 2A ), this value is It can be implemented using
다양한 실시예에 따르면, 기본 모듈은 IoT 서버와 통신에 필요한 프로그램으로써 컨테이너(container)로 구성될 수 있다. 엣지 장치(400)의 공정 과정 또는 소프트웨어 업그레이드를 통해, 엣지 장치(400)에 엣지 런타임(edge runtime) 및 엣지 컴퓨팅을 위한 기본 모듈이 설치될 수 있다. 일 실시예에 따르면, 엣지 장치(400)는 소프트웨어 업그레이드로 OTA(over the air) 소프트웨어 업데이트를 수행할 수 있다. 예를 들면, OTA 소프트웨어 업데이트로 OMA(open mobile alliance) 다운로드, FOTA(firmware OTA), 또는 플레인 FTP(plain FTP)를 포함할 수 있다.According to various embodiments, the basic module may be configured as a container as a program necessary for communication with the IoT server. A basic module for edge runtime and edge computing may be installed in the edge device 400 through a process process or software upgrade of the edge device 400 . According to an embodiment, the edge device 400 may perform an over the air (OTA) software update as a software upgrade. For example, the OTA software update may include an open mobile alliance (OMA) download, a firmware OTA (FOTA), or a plain FTP (FTP).
다양한 실시예에 따르면, 엣지 장치(400)는 엣지 컴퓨팅 서비스에 필요한 모듈로써, 디바이스 모듈(device module) 및 서비스 모듈(service module)을 저장할 수 있다. 디바이스 모듈은 연결되는 리프 장치 각각에 대응할 수 있고, 서비스 모듈은 수행할 서비스 각각에 대응할 수 있다. 예를 들면, 디바이스 모듈 및/또는 서비스 모듈은 연결되는 리프 장치의 개수, 수행할 서비스의 개수에 따라 복수 개가 설치될 수도 있다. (예: 도 2a의 디바이스 모듈 1(219a) 및 디바이스 모듈 2(219b))According to various embodiments, the edge device 400 may store a device module and a service module as a module required for an edge computing service. The device module may correspond to each connected leaf device, and the service module may correspond to each service to be performed. For example, a plurality of device modules and/or service modules may be installed according to the number of connected leaf devices and the number of services to be performed. (Example: device module 1 (219a) and device module 2 (219b) in FIG. 2A)
다양한 실시예에 따르면, 디바이스 모듈은 리프 장치에서 제1 프로토콜에 따라 수신되는 데이터를 제2 프로토콜(예: MQTT(message queue telemetry transport))에 따라 변환하여 외부 서버로 전송하도록 지원하는 프로그램들을 포함할 수 있다. 일 실시예에 따라, 제1 프로토콜 및 제2 프로토콜은, 엣지 장치(400)가 IoT 서버와의 통신을 위한 컨트롤 채널(control channel)과 관련된 프로토콜이며, 제1 프로토콜은 웹 소켓(web socket)을 포함할 수 있다. 예를 들면, 컨트롤 채널은, 디바이스 정보의 제공 및/또는 처리를 위한 채널로, 엣지 장치(400)는, 컨트롤 채널을 이용하여 IoT 서버와 통신을 수행할 수 있다. 또한, 서비스 모듈은 수신되는 데이터를 처리 및/분석하는 프로그램들을 포함할 수 있다.According to various embodiments, the device module converts data received according to the first protocol from the leaf device according to the second protocol (eg, message queue telemetry transport (MQTT)) and transmits it to an external server. can According to an embodiment, the first protocol and the second protocol are protocols related to a control channel for the edge device 400 to communicate with the IoT server, and the first protocol is a web socket. may include For example, the control channel is a channel for providing and/or processing device information, and the edge device 400 may communicate with the IoT server using the control channel. In addition, the service module may include programs that process and/or analyze the received data.
엣지 장치(400)의 공정 과정 또는 소프트웨어 업그레이드 시에는 엣지 런타임 및 기본 모듈만 설치되고, 디바이스 모듈 및 서비스 모듈은 설치되지 않을 수 있다. 이 후, 엣지 장치(400)가 리프 장치와 연결되는 경우 IoT 서버(예: 도 2a의 모듈 레지스트리(254))로부터 디바이스 모듈 및 서비스 모듈을 다운로드 받아 설치할 수 있다.During the process or software upgrade of the edge device 400 , only the edge runtime and the basic module may be installed, and the device module and the service module may not be installed. Thereafter, when the edge device 400 is connected to the leaf device, the device module and the service module may be downloaded and installed from the IoT server (eg, the module registry 254 of FIG. 2A ).
메모리(430)는 도시된 구성 외에 엣지 장치(400)의 고유 기능(예: TV의 영상 출력 기능)을 실행하기 위한 다양한 프로그램을 더 저장할 수 있다.In addition to the illustrated configuration, the memory 430 may further store various programs for executing a unique function of the edge device 400 (eg, an image output function of a TV).
다양한 실시예에 따르면, 프로세서(410)는 엣지 장치(400)의 각 구성요소들의 제어 및/또는 통신에 관한 연산이나 데이터 처리를 수행할 수 있는 구성으로써, 통신 모듈(420), 메모리(430) 등 엣지 장치(400)의 각 구성요소와 작동적으로(operatively), 기능적으로(functionally) 및/또는 전기적으로(electrically) 연결될 수 있다. According to various embodiments, the processor 410 is a configuration capable of performing an operation or data processing related to control and/or communication of each component of the edge device 400 , and includes a communication module 420 and a memory 430 . It may be operatively, functionally, and/or electrically coupled to each component of the back edge device 400 .
다양한 실시예에 따르면, 프로세서(410)가 엣지 장치(400) 내에서 구현할 수 있는 연산 및 데이터 처리 기능에는 한정됨이 없을 것이나, 이하에서는 엣지 장치(400)가 제1엣지 장치(예: 도 10의 제1엣지 장치(1010)) 및 제2엣지 장치(예: 도 10의 제2엣지 장치(1020))로 동작하는 경우에 있어서 핸드오버 이벤트의 감지, 핸드오버 이벤트에 따라 엣지 연결 변경 과정을 수행하는 경우의 다양한 동작들에 대해 설명하기로 한다.According to various embodiments, there will be no limitations on the arithmetic and data processing functions that the processor 410 can implement within the edge device 400 , but below, the edge device 400 is the first edge device (eg, in FIG. 10 ). When operating as the first edge device 1010) and the second edge device (eg, the second edge device 1020 of FIG. 10 ), a handover event is detected and an edge connection change process is performed according to the handover event. In this case, various operations will be described.
이하에서는 엣지 장치(400)가 제1엣지 장치로 동작하는 경우, 엣지 장치(400)의 동작들에 대해 설명하기로 한다.Hereinafter, operations of the edge device 400 when the edge device 400 operates as the first edge device will be described.
다양한 실시예에 따르면, 엣지 장치(400)는 리프 장치(예: 도 2a의 리프 장치(220))와 홈 네트워크를 통해 연결되고, 리프 장치에서 수신되는 데이터에 기초하여 엣지 컴퓨팅 서비스를 수행할 수 있다. 예를 들어, 리프 장치가 IP 카메라인 경우, 엣지 장치(400)는 AV(audio-video) 모듈 및 AI(artificial intelligence) vision 모듈을 이용하여, 리프 장치에서 전송되는 영상 스트리밍을 IoT 서버(예: 도 2a의 IoT 매니지 서버(240))로 전송하고, 영상 분석(예: 객체 인식, 얼굴 인식)을 수행하여 분석 데이터를 리프 장치 및/또는 IoT 서버로 전송할 수 있다.According to various embodiments, the edge device 400 is connected to a leaf device (eg, the leaf device 220 of FIG. 2A ) through a home network, and may perform an edge computing service based on data received from the leaf device. there is. For example, when the leaf device is an IP camera, the edge device 400 uses an audio-video (AV) module and an artificial intelligence (AI) vision module to stream video transmitted from the leaf device to an IoT server (eg: The data may be transmitted to the IoT management server 240 of FIG. 2A ) and image analysis (eg, object recognition, face recognition) may be performed to transmit the analysis data to the leaf device and/or the IoT server.
엣지 장치(400) 및 리프 장치를 통해 구현할 수 있는 엣지 컴퓨팅 서비스 및 그에 따라 필요한 모듈의 예는 다음과 같다.Examples of edge computing services that can be implemented through the edge device 400 and the leaf device and modules required accordingly are as follows.
리프 장치leaf device 엣지 컴퓨팅 서비스Edge Computing Services 디바이스 모듈device module 서비스 모듈service module
카메라camera Face Recognition, Object DetectionFace Recognition, Object Detection MQTT Broker
av stream gateway
MQTT Broker
av stream gateway
Face AI, Vision AI
(Doorbell Service, Delivery notification)
Face AI, Vision AI
(Doorbell Service, Delivery notification)
카메라camera Daily SummaryDaily Summary MQTT Broker
av stream gateway
MQTT Broker
av stream gateway
Face AI, Pet AI
(Daily Summary Video Clip)
Face AI, Pet AI
(Daily Summary Video Clip)
AI 스피커AI speaker Speaker RecognitionSpeaker Recognition MQTT Broker
av stream gateway
MQTT Broker
av stream gateway
Speaker AI
(Personized Service)
Speaker AI
(Personized Service)
TVTV Contents RecognitionContents Recognition MQTT Broker
av stream gateway
MQTT Broker
av stream gateway
Contents AI
(AD Service, Shopping Service)
Contents AI
(AD Service, Shopping Service)
Robot Vaccum CleanerRobot Vacuum Cleaner Pet Recognition, Bark detectionPet Recognition, Bark detection MQTT Broker
av stream gateway
MQTT Broker
av stream gateway
Pet AI
(Pet Service)
Pet AI
(Pet Service)
상기 표 1에서, MQTT broker는 리프 장치와 엣지 장치(400) 간의 커맨드 및/또는 이벤트를 주고 받는 채널을 제공하는 모듈일 수 있다. 예를 들어, MQTT(message queueing telemetry transport) 프로토콜은 broker, publisher, subscriber를 포함하고, 엣지 장치(400)에 MQTT broker가 설치되는 경우, 엣지 장치(400)의 MQTT broker에서 publisher에서 발행된 topic을 subscriber로 중계하는 기능을 수행할 수 있다.In Table 1, the MQTT broker may be a module that provides a channel for exchanging commands and/or events between the leaf device and the edge device 400 . For example, the message queuing telemetry transport (MQTT) protocol includes a broker, a publisher, and a subscriber, and when an MQTT broker is installed in the edge device 400 , the MQTT broker of the edge device 400 receives the topic published by the publisher. It can perform the function of relaying to a subscriber.
AV 스트림 게이트웨이(audio video stream gateway는 리프 장치에서 전송되는 오디오 및/또는 비디오 스트리밍을 AI 모듈에 중계해주는 기능을 수행할 수 있다.The AV stream gateway may perform a function of relaying audio and/or video streaming transmitted from the leaf device to the AI module.
다양한 실시예에 따르면, 프로세서(410)는 리프 장치와 연결되어 엣지 컴퓨팅 서비스를 수행하는 동안 엣지 장치(400)의 상태 정보(예: 리소스 상태, 네트워크 연결 상태, 연결된 리프 장치의 정보, 수행 중인 서비스)를 홈 네트워크에 위치한 다른 장치(예: 제2엣지 장치) 및/또는 IoT 서버에 전송할 수 있다.According to various embodiments, the processor 410 is connected to the leaf device to perform edge computing service while the edge device 400 state information (eg, resource status, network connection status, connected leaf device information, service being performed) ) to another device (eg, a second edge device) and/or an IoT server located in the home network.
다양한 실시예에 따르면, 프로세서(410)는 수행 중인 엣지 컴퓨팅 서비스의 핸드오버 이벤트를 감지할 수 있다. 예를 들어, 프로세서(410)는 센서(440)를 이용하여 획득한 전자 장치의 움직임(또는 이동) 또는 통신 모듈(420)을 통해 수신되는 신호의 세기 중 적어도 하나에 기초하여, 핸드오버 이벤트를 감지할 수 있다. 또는, 프로세서(410)는 프로세서(410) 및/또는 메모리(430)의 가용 리소스 또는 전력 관리 모듈로부터 획득한 전자 장치의 전력 상태 중 적어도 하나에 기초하여, 핸드오버 이벤트를 감지할 수 있다.According to various embodiments, the processor 410 may detect a handover event of an edge computing service being performed. For example, the processor 410 detects a handover event based on at least one of a movement (or movement) of the electronic device acquired using the sensor 440 or the strength of a signal received through the communication module 420 . can detect Alternatively, the processor 410 may detect a handover event based on at least one of available resources of the processor 410 and/or the memory 430 or the power state of the electronic device obtained from the power management module.
프로세서(410)는 엣지 컴퓨팅 서비스의 수행 중에 움직임, 리소스 부족, 또는 전원 상태 변경 과 같은 정보들을 모니터링 하고, 엣지 컴퓨팅 서비스의 수행이 불가능한 상황이 발생하기 이전에 핸드오버 이벤트를 미리 감지하여, 다른 장치에 전달할 수 있다.The processor 410 monitors information such as movement, resource shortage, or power state change during execution of the edge computing service, detects a handover event in advance before a situation in which the edge computing service is impossible to perform, and other devices can be forwarded to
프로세서(410)가 핸드오버 이벤트를 감지하는 방법에 대해서는 도 7 내지 도 9를 통해 보다 상세히 설명하기로 한다.A method for the processor 410 to detect a handover event will be described in more detail with reference to FIGS. 7 to 9 .
다양한 실시예에 따르면, 엣지 장치(400)가 핸드오버 이벤트를 미리 감지하고 다른 장치에 전달하기 이전에, 네트워크 연결 해제, 전원 오프와 같이 갑작스럽게 엣지 컴퓨팅 서비스가 불가능한 상황이 발생할 수도 있다. 이 경우, 엣지 장치(400)는 다른 네트워크(예: 셀룰러 네트워크)를 통해 IoT 서버로 핸드오버 이벤트를 전달 할 수 있다. According to various embodiments, before the edge device 400 detects a handover event in advance and transmits it to another device, a situation in which the edge computing service is suddenly impossible, such as disconnection of a network or power off, may occur. In this case, the edge device 400 may transmit a handover event to the IoT server through another network (eg, a cellular network).
다양한 실시예에 따르면, 프로세서(410)는 엣지 컴퓨팅 서비스를 핸드오버 하기 위해 홈 네트워크 내에 위치한 제2엣지 장치(400)를 확인할 수 있다. 일 실시예에 따르면, 엣지 장치(400)는 핸드오버 이벤트의 발생 이전에 디스커버리(discovery) 과정을 통해 또는 IoT 서버로부터 수신한 정보에 기초하여 제2엣지 장치(400)를 확인할 수 있으며, 또는 핸드오버 이벤트가 발생하는 경우 디스커버리를 통해 제2엣지 장치(400)를 확인하거나, IoT 서버에 홈 네트워크 상에 위치하는 제2엣지 장치(400)와 관련된 정보의 전송을 요청할 수 있다. According to various embodiments, the processor 410 may identify the second edge device 400 located in the home network to handover the edge computing service. According to an embodiment, the edge device 400 may identify the second edge device 400 through a discovery process or based on information received from the IoT server before the handover event occurs, or When an over event occurs, the second edge device 400 may be checked through discovery, or information related to the second edge device 400 located on the home network may be requested from the IoT server.
다양한 실시예에 따르면, 프로세서(410)는 확인된 다른 엣지 장치가 리프 장치와의 엣지 컴퓨팅 서비스를 핸드오버 받을 수 있는 capability가 있는지 확인할 수 있다. 여기서, 엣지 장치의 capability는 확인된 제2엣지 장치의 엣지 모드가 활성화 되어 있는지, 제공할 수 있는 서비스가 무엇인지, 리프 장치와 추가적으로 연결될 수 있는지 여부, 제2엣지 장치의 물리적 리소스(예: 프로세서, 메모리 가용 리소스), IP주소, OCF(open connectivity foundation) capability 중 적어도 일부를 포함할 수 있다.According to various embodiments, the processor 410 may check whether another identified edge device has a capability to receive an edge computing service handover with a leaf device. Here, the capability of the edge device includes whether the checked edge mode of the second edge device is activated, what services it can provide, whether it can be additionally connected to the leaf device, and the physical resources of the second edge device (eg, a processor). , memory available resources), an IP address, and may include at least some of OCF (open connectivity foundation) capability.
다양한 실시예에 따르면, 프로세서(410)는 핸드오버 이벤트가 감지되고 서비스를 핸드오버 할 제2엣지 장치가 결정되는 경우, 제2엣지 장치, 리프 장치 또는 IoT 서버 중 적어도 하나에 핸드오버 이벤트를 전달할 수 있다. 이 경우, 프로세서(410)는 연결된 리프 장치의 정보, 수행 중인 서비스의 종류, 서비스에 사용되는 모듈, 핸드오버 할 제2엣지 장치의 정보 중 적어도 일부를 핸드오버 이벤트와 함께 전달할 수 있다.According to various embodiments, when a handover event is detected and a second edge device to handover a service is determined, the processor 410 transmits the handover event to at least one of the second edge device, the leaf device, or the IoT server. can In this case, the processor 410 may transmit at least some of information on the connected leaf device, the type of service being performed, a module used for the service, and information on the second edge device to be handed over together with the handover event.
다양한 실시예에 따르면, 프로세서(410)는 제2엣지 장치와 리프 장치가 연결되는 경우, 리프 장치와의 연결을 해제하여 엣지 컴퓨팅 서비스를 종료할 수 있다. 프로세서(410)는 IoT 서버에 엣지 컴퓨팅 서비스의 핸드오버 및 리프 장치와의 연결 해제를 통지하고, 이에 따라 IoT 서버는 엣지-리프 연결 정보를 업데이트 할 수 있다.According to various embodiments, when the second edge device and the leaf device are connected, the processor 410 may terminate the edge computing service by disconnecting the leaf device. The processor 410 notifies the IoT server of handover of the edge computing service and disconnection with the leaf device, and accordingly, the IoT server may update edge-leaf connection information.
이하에서는 엣지 장치(400)가 제2엣지 장치로 동작하는 경우, 엣지 장치(400)의 동작들에 대해 설명하기로 한다.Hereinafter, operations of the edge device 400 when the edge device 400 operates as the second edge device will be described.
다양한 실시예에 따르면, 프로세서(410)는 제1엣지 장치 및 리프 장치의 엣지 컴퓨팅 서비스의 핸드오버 이벤트를 확인할 수 있다. 예를 들어, 프로세서(410)는 제1엣지 장치로부터 핸드오버 이벤트와 관련된 정보를 수신할 수 있으며, 제1엣지 장치로부터 핸드오버 이벤트와 관련된 정보가 수신되지 않더라도 리프 장치가 전달하는 엣지 컴퓨팅 서비스의 변경 요청 또는 제2엣지 장치가 제1엣지 장치와 주기적으로 주고 받는 alive 신호를 기반으로 핸드오버 이벤트의 발생을 확인하거나 및/또는 엣지 컴퓨팅 서비스를 제2엣지 장치로 핸드오버 하기 위한 동작을 개시할 수 있다.According to various embodiments, the processor 410 may check a handover event of the edge computing service of the first edge device and the leaf device. For example, the processor 410 may receive information related to the handover event from the first edge device, and even if information related to the handover event is not received from the first edge device, the edge computing service delivered by the leaf device Based on a change request or a alive signal that the second edge device periodically exchanges with the first edge device, the occurrence of a handover event is confirmed and/or an operation for handover of the edge computing service to the second edge device is initiated. can
다양한 실시예에 따르면, 프로세서(410)는 핸드오버 이벤트에 대응하여 엣지 장치(400)가 엣지 컴퓨팅 서비스를 수행할 수 있는 지 확인할 수 있다. 예를 들어, 프로세서(410)는 프로세서(410) 및/또는 메모리의 가용 리소스, 엣지 모드의 활성화 여부, 또는 제1엣지 장치와 리프 장치 간에 수행 중인 엣지 컴퓨팅 서비스에 대응하는 모듈의 설치 여부 중 적어도 일부에 기초하여, 엣지 장치(400)가 상기 엣지 컴퓨팅 서비스를 수행할 수 있는 지 확인할 수 있다.According to various embodiments, the processor 410 may check whether the edge device 400 can perform an edge computing service in response to a handover event. For example, the processor 410 is at least among the available resources of the processor 410 and/or memory, whether the edge mode is activated, or whether a module corresponding to the edge computing service being performed between the first edge device and the leaf device is installed. Based on some, it may be confirmed whether the edge device 400 can perform the edge computing service.
다양한 실시예에 따르면, 엣지 장치(400)가 서비스를 핸드오버 받을 수 있는 것으로 판단되는 경우, 프로세서(410)는 그 결과를 제1엣지 장치, 리프 장치 또는 IoT 서버 중 적어도 하나에 전송할 수 있다. According to various embodiments, when it is determined that the edge device 400 can receive a service handover, the processor 410 may transmit the result to at least one of the first edge device, the leaf device, and the IoT server.
다양한 실시예에 따르면, 엣지 장치(400)가 상기 엣지 컴퓨팅 서비스를 수행할 수 없는 것으로 판단되는 경우, 리프 장치가 또 다른 엣지 장치(예: 네트워크 내의 제3엣지 장치) 또는 IoT 서버와 연결되어 서비스를 수행하도록 다른 엣지 장치, 리프 장치 또는 IoT 서버 중 적어도 하나에 전송할 수 있다.According to various embodiments, when it is determined that the edge device 400 cannot perform the edge computing service, the leaf device is connected to another edge device (eg, a third edge device in the network) or an IoT server to provide a service to at least one of another edge device, leaf device, or IoT server to perform
다양한 실시예에 따르면, 프로세서(410)는 핸드오버 이벤트에 대응하여 리프 장치에 제1엣지 장치와 연결을 해제하고 엣지 장치(400)와 엣지 컴퓨팅 서비스를 위한 연결 수립을 포함하는 엣지 컴퓨팅 서비스 변경 요청을 전송할 수 있다. 다른 실시예에 따르면, 프로세서(410)는 리프 장치로부터 엣지 연결 요청이 수신되는 경우, 엣지 컴퓨팅 서비스를 위한 연결 과정을 수행할 수 있다.According to various embodiments, the processor 410 releases a connection with the first edge device to the leaf device in response to a handover event, and requests an edge computing service change including establishing a connection between the edge device 400 and the edge computing service. can be transmitted. According to another embodiment, when an edge connection request is received from the leaf device, the processor 410 may perform a connection process for an edge computing service.
도 5는 다양한 실시예에 따른 리프 장치의 블록도이다.5 is a block diagram of a leaf device according to various embodiments.
도 5를 참조 하면, 다양한 실시예에 따른 리프 장치(500)는 통신 모듈(520), 프로세서(510) 및 센서(540)를 포함할 수 있으며, 도시된 구성 중 일부가 생략 또는 치환되더라도 본 문서의 다양한 실시예들을 구현할 수 있다.Referring to FIG. 5 , the leaf device 500 according to various embodiments may include a communication module 520 , a processor 510 , and a sensor 540 , and even if some of the illustrated components are omitted or replaced, this document Various embodiments of can be implemented.
다양한 실시예에 따른 엣지 컴퓨팅 시스템(edge computing system)에서 복수의 리프 장치들(예: 도 1의 120)이 존재할 수 있고, 각 리프 장치는 서로 다른 종류의 장치일 수 있다. 예를 들어, 리프 장치(500)는 카메라, 냉장고, 전구, 디지털 온도계 등으로 구현될 수 있다. 이하에서는, 리프 장치(500)가 기기 고유의 기능을 실행하기 위한 특징들의 설명은 생략하고, 엣지 컴퓨팅 시스템에서 리프 장치(500)로 동작하기 위해 필요한 동작들에 한해서 설명하기로 한다.In an edge computing system according to various embodiments, a plurality of leaf devices (eg, 120 in FIG. 1 ) may exist, and each leaf device may be a different type of device. For example, the leaf device 500 may be implemented as a camera, a refrigerator, a light bulb, a digital thermometer, or the like. Hereinafter, descriptions of features for the leaf device 500 to execute device-specific functions will be omitted, and only operations necessary to operate as the leaf device 500 in the edge computing system will be described.
다양한 실시예에 따르면, 통신 모듈(520)은 무선 통신(예: Wi-Fi)을 지원하며, 엣지 장치(예: 도 2a의 엣지 장치(210), 도 4의 엣지 장치(400)), 사용자 장치(예: 도 2a의 사용자 장치(230), 도 3의 사용자 장치(301)), 외부 서버(예: 도 2a의 IoT 매니지 서버(240), IoT 허브 서버(250))와 데이터를 송수신할 수 있다.According to various embodiments, the communication module 520 supports wireless communication (eg, Wi-Fi), an edge device (eg, the edge device 210 of FIG. 2A , the edge device 400 of FIG. 4 ), a user A device (eg, the user device 230 of FIG. 2A , the user device 301 of FIG. 3 ) and an external server (eg, the IoT management server 240 of FIG. 2A , and the IoT hub server 250 ) can
다양한 실시예에 따르면, 리프 장치(500)는 적어도 하나의 센서(540)를 포함할 수 있다. 예를 들어, 리프 장치(500)가 IP 카메라인 경우 주변의 영상 데이터를 획득하는 이미지 센서를 포함하고, AI 스피커인 경우, 주변의 사운드를 감지하는 마이크로 폰을 포함할 수 있다. 또는, 리프 장치(500)의 종류에 따라 온도, 압력, 충격량 등 다양한 데이터를 감지하기 위한 센서(540)가 구비될 수 있다.According to various embodiments, the leaf device 500 may include at least one sensor 540 . For example, if the leaf device 500 is an IP camera, it may include an image sensor for acquiring surrounding image data, and if it is an AI speaker, it may include a microphone for detecting surrounding sound. Alternatively, a sensor 540 for sensing various data such as temperature, pressure, and impact amount may be provided according to the type of the leaf device 500 .
다양한 실시예에 따르면, 프로세서(510)는 리프 장치(500)의 각 구성요소들의 제어 및/또는 통신에 관한 연산이나 데이터 처리를 수행할 수 있는 구성으로써, 통신 모듈(520), 센서(540) 등 리프 장치(500)의 각 구성요소와 작동적으로(operatively), 기능적으로(functionally) 및/또는 전기적으로(electrically) 연결될 수 있다. According to various embodiments, the processor 510 is a configuration capable of performing an operation or data processing related to control and/or communication of each component of the leaf device 500 , and a communication module 520 , a sensor 540 . It may be operatively, functionally, and/or electrically coupled with each component of the back leaf device 500 .
다양한 실시예에 따르면, 리프 장치(500)는 홈 네트워크 내의 제1엣지 장치(예: 도 10의 제1엣지 장치(1010))와 연결되어 엣지 컴퓨팅 서비스를 수행할 수 있으며, 핸드오버 이벤트에 따라 제1엣지 장치와 연결을 해제하고 제2엣지 장치(예: 도 10의 제2엣지 장치(1020))와 연결되어 엣지 컴퓨팅 서비스를 수행할 수 있다.According to various embodiments, the leaf device 500 may be connected to a first edge device in the home network (eg, the first edge device 1010 of FIG. 10 ) to perform an edge computing service, and according to a handover event The connection with the first edge device may be released and the edge computing service may be performed by being connected to the second edge device (eg, the second edge device 1020 of FIG. 10 ).
다양한 실시예에 따르면, 프로세서(510)는 센서(540)를 통해 획득되는 데이터(예: 영상 스트리밍)를 통신 모듈(520)을 통해 제1엣지 장치로 전송하여 엣지 컴퓨팅 서비스를 수행할 수 있다. According to various embodiments, the processor 510 may perform an edge computing service by transmitting data (eg, image streaming) acquired through the sensor 540 to the first edge device through the communication module 520 .
다양한 실시예에 따르면, 프로세서(510)는 엣지 컴퓨팅 서비스의 핸드오버 이벤트를 확인할 수 있다. 예를 들어, 프로세서(510)는 제1엣지 장치, 제2엣지 장치 또는 IoT 서버 중 적어도 하나로부터 핸드오버 이벤트와 관련된 정보를 수신할 수 있다. According to various embodiments, the processor 510 may check a handover event of the edge computing service. For example, the processor 510 may receive information related to a handover event from at least one of the first edge device, the second edge device, and the IoT server.
다양한 실시예에 따르면, 프로세서(510)는 socket 통신이 되지 않거나, alive 패킷이 도달하지 않음에 따라 전송 프로토콜(transmission protocol) 상의 연결 종료가 감지되는 경우 제1엣지 장치가 엣지 컴퓨팅 서비스의 수행이 불가능한 것으로 확인할 수 있다.According to various embodiments, the processor 510 makes it impossible for the first edge device to perform an edge computing service when socket communication is not performed or when a connection termination on a transmission protocol is detected as an alive packet does not arrive. can be confirmed as
다양한 실시예에 따르면, 프로세서(510)는 핸드오버 이벤트를 감지하는 경우, 제2엣지 장치에 핸드오버 이벤트 정보를 전송할 수 있다.According to various embodiments, when detecting a handover event, the processor 510 may transmit handover event information to the second edge device.
다양한 실시예에 따르면, 프로세서(510)는 핸드오버 이벤트에 대응하여, 엣지 컴퓨팅 서비스를 위해 연결 가능한 제2엣지 장치를 확인할 수 있다. 예를 들어, 프로세서(510)는 제1엣지 장치, 제2엣지 장치 또는 IoT 서버 중 적어도 하나로부터 수신되는 핸드오버 이벤트와 관련된 정보에 포함된 제2엣지 장치의 정보를 확인할 수 있다. 다른 실시예에 따르면, 홈 네트워크 상에서 디스커버리를 통해 제2엣지 장치를 확인할 수 있다.According to various embodiments, the processor 510 may identify a connectable second edge device for an edge computing service in response to a handover event. For example, the processor 510 may check information on the second edge device included in information related to a handover event received from at least one of the first edge device, the second edge device, and the IoT server. According to another embodiment, the second edge device may be identified through discovery on the home network.
다양한 실시예에 따르면, 프로세서(510)는 확인된 제2엣지 장치가 엣지 컴퓨팅 서비스를 수행할 수 있는 지 확인할 수 있다. 예를 들어, 프로세서(510)는 제2엣지 장치의 프로세서(510) 및/또는 메모리의 가용 리소스, 엣지 모드의 활성화 여부, 또는 엣지 컴퓨팅 서비스에 대응하는 모듈의 설치 여부 중 적어도 일부에 기초하여, 제2엣지 장치가 상기 엣지 컴퓨팅 서비스를 수행할 수 있는 지 확인할 수 있다. According to various embodiments, the processor 510 may check whether the checked second edge device can perform the edge computing service. For example, the processor 510 is based on at least a part of the available resources of the processor 510 and/or memory of the second edge device, whether the edge mode is activated, or whether a module corresponding to the edge computing service is installed, It may be checked whether the second edge device can perform the edge computing service.
다양한 실시예에 따르면, 제2엣지 장치가 서비스를 핸드오버 받을 수 있는 것으로 판단되는 경우, 프로세서(510)는 제2엣지 장치와 엣지 컴퓨팅 서비스를 위한 연결을 요청할 수 있다. According to various embodiments, when it is determined that the second edge device can receive a service handover, the processor 510 may request a connection between the second edge device and the edge computing service.
다양한 실시예에 따르면, 제2엣지 장치가 상기 엣지 컴퓨팅 서비스를 수행할 수 없는 것으로 판단되는 경우, 프로세서(510)는 엣지 컴퓨팅 서비스 또는 클라우드 컴퓨팅 서비스의 요청을 IoT 서버로 전송할 수 있다. 이 경우, 프로세서(510)는 IoT 서버로부터 수신되는 정보에 기초하여 또 다른 엣지 장치(예: 제3엣지 장치)와 연결되어 엣지 컴퓨팅 서비스를 수행하거나, IoT 서버를 통해 클라우드 컴퓨팅 서비스를 수행할 수 있다.According to various embodiments, when it is determined that the second edge device cannot perform the edge computing service, the processor 510 may transmit a request for an edge computing service or a cloud computing service to the IoT server. In this case, the processor 510 may be connected to another edge device (eg, a third edge device) based on information received from the IoT server to perform an edge computing service or to perform a cloud computing service through the IoT server. there is.
도 6은 다양한 실시예에 따른 엣지 장치의 핸드오버 방법의 흐름도이다.6 is a flowchart of a handover method of an edge device according to various embodiments.
도 6을 참조 하면, 제1엣지 장치는 현재 리프 장치(예: 도 5의 리프 장치(500))와 연결되어 엣지 컴퓨팅 서비스를 수행하는 엣지 장치이고, 제2엣지 장치는 홈 네트워크 상에 위치하여 핸드오버 이벤트의 발생 시에 리프 장치와 연결될 수 있는 장치일 수 있다. 동일한 엣지 장치(예: 도 4의 엣지 장치(400))가 서비스 수행 상태에 따라 제1엣지 장치(예: 도 10의 제1엣지 장치(1010)) 또는 제2엣지 장치(예: 도 10의 제2엣지 장치(1020))로 동작할 수 있고, 제1엣지 장치에서 제2엣지 장치로 핸드오버 이후에 다시 제2엣지 장치 상에서 핸드오버 이벤트가 발생하는 경우 이전에 제1엣지 장치로 동작하던 엣지 장치가 제2엣지 장치로 동작하고, 제2엣지 장치로 동작하던 엣지 장치가 제1엣지 장치로 동작할 수 있다.Referring to FIG. 6 , the first edge device is an edge device that is connected to the current leaf device (eg, the leaf device 500 of FIG. 5 ) to perform edge computing services, and the second edge device is located on the home network. It may be a device that can be connected to a leaf device when a handover event occurs. The same edge device (eg, edge device 400 in FIG. 4 ) may use a first edge device (eg, first edge device 1010 in FIG. 10 ) or a second edge device (eg, in FIG. 10 ) depending on the service execution state. It can operate as the second edge device 1020), and when a handover event occurs again on the second edge device after handover from the first edge device to the second edge device, it previously operated as the first edge device. The edge device may operate as the second edge device, and the edge device that has operated as the second edge device may operate as the first edge device.
도 6에 도시된 동작은 특정 주체(예: 제1엣지 장치, 제2엣지 장치, 리프 장치, IoT 서버)에서 동작하는 것으로 한정되지 않는다. 예를 들어, 특정 동작이 엣지 컴퓨팅 시스템 상의 복수의 장치에 의해서 수행될 수도 있고, 설명된 것과 다른 장치에 의해서 수행될 수도 있다.The operation shown in FIG. 6 is not limited to operating in a specific subject (eg, a first edge device, a second edge device, a leaf device, and an IoT server). For example, a particular operation may be performed by a plurality of devices on the edge computing system, or may be performed by a device other than that described.
다양한 실시예에 따르면, 동작 610에서, 제1엣지 장치는 리프 장치와 홈 네트워크 상에서 연결되어, 엣지 컴퓨팅 서비스를 수행할 수 있다. 예를 들어, 리프 장치가 IP 카메라인 경우, 엣지 장치는 AV(audio-video) 모듈 및 AI(artificial intelligence) vision 모듈을 이용하여, 리프 장치에서 전송되는 영상 스트리밍을 IoT 서버(예: 도 2a의 IoT 매니지 서버(240), IoT 허브 서버(250))로 전송하고, 영상 분석 데이터를 리프 장치 및/또는 IoT 서버로 전송할 수 있다.According to various embodiments, in operation 610, the first edge device may be connected to the leaf device on a home network to perform an edge computing service. For example, if the leaf device is an IP camera, the edge device uses an audio-video (AV) module and an artificial intelligence (AI) vision module to stream video transmitted from the leaf device to an IoT server (eg, in FIG. 2A ). The IoT management server 240 and the IoT hub server 250 may be transmitted, and the image analysis data may be transmitted to the leaf device and/or the IoT server.
다양한 실시예에 따르면, 제1엣지 장치는 리프 장치와 연결되어 엣지 컴퓨팅 서비스를 수행하는 동안 제1엣지 장치의 상태 정보(예: 리소스 상태, 네트워크 연결 상태, 연결된 리프 장치의 정보, 수행 중인 서비스)를 홈 네트워크에 위치한 다른 장치(예: 제2엣지 장치) 및/또는 IoT 서버에 전송할 수 있다.According to various embodiments, the first edge device is connected to the leaf device and while performing the edge computing service, the state information of the first edge device (eg, resource status, network connection status, information of the connected leaf device, service being performed) can be transmitted to another device (eg, a second edge device) and/or an IoT server located in the home network.
다양한 실시예에 따르면, 동작 620에서, 제1엣지 장치, 제2엣지 장치 또는 리프 장치는 핸드오버 이벤트를 감지할 수 있다. According to various embodiments, in operation 620, the first edge device, the second edge device, or the leaf device may detect a handover event.
예를 들어, 제1엣지 장치는 사용자가 휴대 및 이동 가능한 장치(예: 태블릿 PC, 랩탑 PC)일 수 있고, 홈 네트워크의 AP(access point)와 연결 가능한 Wi-Fi 신호의 커버리지는 수십 미터 이내로 짧기 때문에, 사용자가 제1엣지 장치를 실외로 가지고 나가는 경우 제1엣지 장치가 홈 네트워크에서 벗어나므로 엣지 컴퓨팅 서비스를 수행할 수 없게 된다. 또한, 제1엣지 장치는 하드웨어 및/또는 소프트웨어 리소스 중 일부를 이용해 엣지 컴퓨팅 서비스를 수행하기 때문에, 제1엣지 장치의 고유 기능(예: 태블릿 PC의 어플리케이션, TV의 영상 출력)의 수행으로 인해 리소스를 점유하는 경우 엣지 컴퓨팅 서비스를 위한 리소스 부족이 발생할 수 있다. 또한, 제1엣지 장치의 전원이 부족한 경우 엣지 컴퓨팅 서비스의 제공이 불가능할 수 있다. 다양한 실시예에 따르면, 이와 같이 제1엣지 장치가 엣지 컴퓨팅 서비스를 원활히 수행할 수 없는 상황을 판단하여 핸드오버 이벤트를 발생 할 수 있다.For example, the first edge device may be a device that a user can carry and move (eg, a tablet PC, a laptop PC), and the coverage of a Wi-Fi signal connectable to an access point (AP) of a home network is within several tens of meters. Since it is short, when the user takes the first edge device outdoors, the first edge device leaves the home network, and thus the edge computing service cannot be performed. In addition, since the first edge device performs edge computing services using some of the hardware and/or software resources, resources Occupying , there may be a shortage of resources for edge computing services. Also, when the power of the first edge device is insufficient, it may be impossible to provide the edge computing service. According to various embodiments, as described above, a handover event may be generated by determining a situation in which the first edge device cannot smoothly perform the edge computing service.
다양한 실시예에 따르면, 제1엣지 장치는 제1엣지 장치의 움직임, 리소스 부족, 또는 전원 상태 변경 중 적어도 하나에 기초하여 핸드오버 이벤트를 결정할 수 있다. 제1엣지 장치는 엣지 컴퓨팅 서비스의 수행 중에 상기 정보들을 모니터링 하고, 엣지 컴퓨팅 서비스의 수행이 불가능한 상황이 발생하기 이전에 핸드오버 이벤트를 미리 발생 시킬 수 있다.According to various embodiments, the first edge device may determine a handover event based on at least one of a movement of the first edge device, a resource shortage, or a change in a power state. The first edge device may monitor the information while the edge computing service is being performed, and may generate a handover event in advance before a situation in which the edge computing service cannot be performed occurs.
다양한 실시예에 따르면, 제1엣지 장치는 핸드오버 이벤트가 감지되는 경우, 제2엣지 장치, 리프 장치 또는 IoT 서버 중 적어도 하나에 핸드오버 이벤트를 전달할 수 있다.According to various embodiments, when a handover event is detected, the first edge device may transmit the handover event to at least one of the second edge device, the leaf device, and the IoT server.
다양한 실시예에 따르면, 제1엣지 장치가 핸드오버 이벤트를 미리 감지하고 다른 장치에 전달하기 이전에, 네트워크 연결 해제, 전원 오프와 같이 갑작스럽게 엣지 컴퓨팅 서비스가 불가능한 상황이 발생할 수도 있다. 이 경우, 제1엣지 장치는 다른 네트워크(예: 셀룰러 네트워크)를 통해 IoT 서버로 핸드오버 이벤트를 전달 할 수 있다. 또한, 리프 장치 및/또는 제2엣지 장치는 제1엣지 장치로부터 전송되는 신호가 더 이상 전송되지 않음을 감지하여 핸드오버 이벤트를 확인할 수 있다.According to various embodiments, before the first edge device detects a handover event in advance and transmits it to another device, a situation in which the edge computing service is suddenly impossible, such as disconnection from a network or power off, may occur. In this case, the first edge device may transmit a handover event to the IoT server through another network (eg, a cellular network). In addition, the leaf device and/or the second edge device may detect a handover event by detecting that the signal transmitted from the first edge device is no longer transmitted.
제1엣지 장치가 핸드오버 이벤트를 결정하는 방법에 대해서는 도 7 내지 도 9를 통해 보다 상세히 설명하기로 한다.A method for the first edge device to determine a handover event will be described in more detail with reference to FIGS. 7 to 9 .
다양한 실시예에 따르면, 동작 630에서, 제1엣지 장치는 홈 네트워크 내에 위치한 제2엣지 장치를 확인할 수 있다. 일 실시예에 따르면, 제1엣지 장치는 핸드오버 이벤트의 발생 이전에 디스커버리(discovery) 과정을 통해 또는 IoT 서버로부터 수신한 정보에 기초하여 제2엣지 장치를 확인할 수 있으며, 또는 핸드오버 이벤트가 발생하는 경우 디스커버리를 통해 제2엣지 장치를 확인하거나, IoT 서버에 홈 네트워크 상에 위치하는 제2엣지 장치와 관련된 정보의 전송을 요청할 수 있다. According to various embodiments, in operation 630, the first edge device may identify the second edge device located in the home network. According to an embodiment, the first edge device may identify the second edge device through a discovery process or based on information received from the IoT server before the handover event occurs, or the handover event occurs In this case, the second edge device may be identified through discovery, or information related to the second edge device located on the home network may be requested from the IoT server to be transmitted.
다양한 실시예에 따르면, 동작 630은 리프 장치 또는 IoT 서버에 의해 수행될 수도 있다. 예를 들어, 리프 장치는 제1엣지 장치 또는 IoT 서버로부터 핸드오버 이벤트를 전달 받거나, 네트워크 신호의 변경에 따라 핸드오버 이벤트를 감지하는 경우, 디스커버리 과정 또는 IoT 서버로부터 수신한 정보에 기초하여 제2엣지 장치를 확인할 수 있다.According to various embodiments, operation 630 may be performed by a leaf device or an IoT server. For example, when the leaf device receives a handover event from the first edge device or the IoT server or detects a handover event according to a change in a network signal, the second device based on the discovery process or information received from the IoT server You can check the edge device.
다양한 실시예에 따르면, 동작 640에서, 제1엣지 장치는 동작 630에서 확인된 제2엣지 장치가 리프 장치와의 엣지 컴퓨팅 서비스를 핸드오버 받을 수 있는 capability가 있는지 확인할 수 있다. 여기서, 제2엣지 장치의 capability는 확인된 제2엣지 장치의 엣지 모드가 활성화 되어 있는지, 제공할 수 있는 서비스가 무엇인지, 리프 장치와 추가적으로 연결될 수 있는지 여부, 제2엣지 장치의 물리적 리소스(예: 프로세서, 메모리 가용 리소스), IP주소, 장치가 지원하는 물리적 및/또는 소프트웨어 리소스와 리소스의 제어 방법(예: OCF(open connectivity foundation), M2M, Connected Home over IP와 같은 IoT 리소스 관련 표준에서 정의된 capability) 중 적어도 일부를 포함할 수 있다. 일 실시예에 따르면, 제1엣지 장치는 제2엣지 장치의 엣지 런타임이 동작(또는 실행) 중인 경우 엣지 모드가 활성화 된 것으로 확인할 수 있다. 또한, 제1엣지 장치는 제2엣지 장치가 다른 리프 장치와 연결되어 엣지 컴퓨팅 서비스를 수행하고 있거나 이전에 수행한 적 있는 경우 해당 서비스가 제공 가능한 것으로 확인할 수 있다. 또는, 제1엣지 장치는 제2엣지 장치(또는 IoT 서버)로부터 수신된 디바이스 정보에 기초하여 제2엣지 장치가 수행할 수 있는 서비스, 제2엣지 장치에 설치된 디바이스 모듈 및 서비스 모듈을 확인할 수 있다. 또한, 제1엣지 장치는 제2엣지 장치가 고유 기능 실행 및/또는 다른 리프 장치와 연결되어 엣지 컴퓨팅 서비스를 수행함에 따라, 리프 장치를 핸드오버 받아 서비스를 제공할 하드웨어 및/또는 소프트웨어 리소스가 충분한 지 확인하여 리프 장치와 추가적으로 연결될 수 있는지 결정할 수 있다.According to various embodiments, in operation 640 , the first edge device may check whether the second edge device checked in operation 630 has a capability to receive an edge computing service handover with the leaf device. Here, the capability of the second edge device includes whether the checked edge mode of the second edge device is activated, what services it can provide, whether it can be additionally connected to the leaf device, and the physical resources of the second edge device (e.g. : processor, memory available resources), IP address, physical and/or software resources supported by the device, and methods of controlling the resources (eg, defined in IoT resource related standards such as open connectivity foundation (OCF), M2M, Connected Home over IP) capability) may include at least some of them. According to an embodiment, the first edge device may determine that the edge mode is activated when the edge runtime of the second edge device is operating (or running). In addition, when the second edge device is connected to another leaf device to perform an edge computing service or has performed it before, the first edge device may confirm that the corresponding service can be provided. Alternatively, the first edge device may check the service that the second edge device can perform, the device module installed in the second edge device, and the service module based on the device information received from the second edge device (or IoT server). . In addition, as the second edge device executes its own function and/or is connected to other leaf devices to perform edge computing services, the first edge device has sufficient hardware and/or software resources to receive the leaf device and provide the service. can be checked to determine if it can be further connected with a leaf device.
다양한 실시예에 따르면, 제1엣지 장치는 핸드오버 이벤트가 발생하기 이전에 제2엣지 장치의 capability를 미리 동기화 해서 확인하거나 capability 정보가 IoT 서버에 미리 업로드 될 수 있으며, 또는 핸드오버 이벤트의 발생 시 제1엣지 장치가 디스커버리 과정을 통해 확인할 수 있다. 여기서, 디스커버리는 엣지 컴퓨팅 서비스를 지원하는 지에 대한 쿼리(query)로 브로드캐스팅 메시지로써 네트워크 내에 전송하여 응답을 받는 형태일 수 있다. 다른 실시예에 따르면, 제1엣지 장치는 상기 제2엣지 장치의 capability 중 사전에 확인할 수 있는 정보(예: 제공할 수 있는 서비스, OCF capability 등)는 동기화를 통해 확인하고, 실시간으로 확인이 필요한 정보(예: 물리적 리소스 등)는 핸드오버 이벤트 발생 시에 제2엣지 장치에 요청하여 확인할 수 있다.According to various embodiments, the first edge device can synchronize and check the capability of the second edge device in advance before the handover event occurs, or the capability information can be uploaded to the IoT server in advance, or when a handover event occurs The first edge device may be identified through the discovery process. Here, the discovery may be in the form of receiving a response by transmitting it in the network as a broadcasting message as a query on whether the edge computing service is supported. According to another embodiment, the first edge device checks information that can be confirmed in advance among the capabilities of the second edge device (eg, a service that can be provided, OCF capability, etc.) through synchronization and requires confirmation in real time. Information (eg, physical resource, etc.) can be confirmed by requesting the second edge device when a handover event occurs.
다양한 실시예에 따르면, 제1엣지 장치는 홈 네트워크 내에 핸드오버 조건을 만족하는 복수의 엣지 장치가 확인되는 경우, 이 중 하나를 선택하여 엣지 컴퓨팅 서비스를 핸드오버 할 수 있다. 예를 들어, 제1엣지 장치는 복수의 엣지 장치의 디바이스 정보(또는 클라우드 파라미터) 및/또는 동작 상태 정보(또는 로컬 파라미터)에 기초하여 엣지 컴퓨팅 서비스를 핸드오버 받기에 적절한 하나의 엣지 장치를 결정할 수 있다. 여기서, 디바이스 정보는 계정, 위치 정보, 엣지 컴퓨팅 서비스 리스트, 사용자 가중치 정보, 디바이스 모델 정보, 서비스 성능, 온라인 여부, 배터리 상태, CPU(central processing unit) 또는 RAM(random access memory) 사용량, 엣지 서비스 상태 중 적어도 하나를 포함할 수 있고, 동작 상태 정보는 기기의 웨이크업 또는 슬립 여부, 포 그라운드에 실행 중인 어플리케이션, 로컬 네트워크의 연결 상태, IP 주소 정보 중 적어도 하나를 포함할 수 있다. 일 실시예에 따르면, IoT 서버가 상기 디바이스 정보 및 동작 상태 정보 중 적어도 일부를 이용하여 1차적으로 복수의 엣지 장치 중 일부를 후보 기기로 선택하고, 제1엣지 장치가 IoT 서버에 의해 선택된 후보 기기와 연결을 수립하여 디바이스 정보 및 동작 상태 정보 중 나머지 일부를 확인하여 최종적으로 후보 기기 중 하나를 제2엣지 장치로 결정할 수 있다.According to various embodiments, when a plurality of edge devices satisfying a handover condition are identified in the home network, the first edge device may select one of them to handover the edge computing service. For example, the first edge device may determine one edge device suitable for receiving an edge computing service handover based on device information (or cloud parameters) and/or operation state information (or local parameters) of a plurality of edge devices. can Here, the device information includes account, location information, edge computing service list, user weight information, device model information, service performance, online status, battery status, central processing unit (CPU) or random access memory (RAM) usage, edge service status may include at least one of, and the operation state information may include at least one of whether the device wakes up or sleeps, an application running in the foreground, a connection state of a local network, and IP address information. According to an embodiment, the IoT server primarily selects a part of a plurality of edge devices as a candidate device using at least a part of the device information and the operation state information, and the first edge device is a candidate device selected by the IoT server By establishing a connection with and checking the remaining part of device information and operation state information, one of the candidate devices may be finally determined as the second edge device.
다양한 실시예에 따르면, 동작 640은 리프 장치 및/또는 IoT 서버에 의해 수행될 수도 있다. According to various embodiments, operation 640 may be performed by a leaf device and/or an IoT server.
다양한 실시예에 따르면, 동작 640에서 제2엣지 장치가 핸드오버 조건을 만족하는 경우, 동작 650에서, 제1엣지 장치는 제2엣지 장치로 엣지 컴퓨팅 서비스의 핸드오버 동작을 실행할 수 있다. 제2엣지 장치로 엣지 컴퓨팅 서비스를 핸드오버 하는 과정은 제1엣지 장치, 제2엣지 장치, 리프 장치 또는 IoT 서버에 의해 개시될 수 있으며, 자세한 실시예들은 도 10-16을 통해 보다 상세히 설명하기로 한다.According to various embodiments, if the second edge device satisfies the handover condition in operation 640, in operation 650, the first edge device may perform a handover operation of the edge computing service to the second edge device. The process of handover of the edge computing service to the second edge device may be initiated by the first edge device, the second edge device, the leaf device, or the IoT server. Detailed embodiments will be described in more detail with reference to FIGS. 10-16. do it with
다양한 실시예에 따르면, 동작 660에서, 제2엣지 장치는 리프 장치와 연결되어 엣지 컴퓨팅 서비스를 수행할 수 있다. 이에 따라, 리프 장치는 센서를 통해 획득한 데이터(예: 영상 스트리밍)를 제2엣지 장치에 전송하고, 제2엣지 장치에서 데이터 분석(예: 영상 분석) 등의 처리가 수행될 수 있다. 제1엣지 장치는 리프 장치에 제공하지 않았으나 이미 처리가 끝난 데이터를 제2엣지 장치로 넘겨줄 수 있다. According to various embodiments, in operation 660, the second edge device may be connected to the leaf device to perform an edge computing service. Accordingly, the leaf device may transmit data (eg, image streaming) acquired through the sensor to the second edge device, and data analysis (eg, image analysis) may be performed in the second edge device. The first edge device may pass data that has not been provided to the leaf device, but which has already been processed, to the second edge device.
다양한 실시예에 따르면, 엣지 컴퓨팅 서비스의 핸드오버 과정이 개시되는 경우(또는 완료되는 경우), 제1엣지 장치는 리프 장치와의 연결을 해제할 수 있다. 또한, 제2엣지 장치 및/또는 리프 장치는 핸드오버가 완료되는 경우(또는 개시되는 경우), IoT 서버에 연결 변경을 통지하고, IoT 서버는 엣지-리프 연결 정보를 업데이트 할 수 있다.According to various embodiments, when the handover process of the edge computing service is started (or completed), the first edge device may release the connection with the leaf device. In addition, when the handover is completed (or initiated), the second edge device and/or the leaf device notifies the IoT server of a connection change, and the IoT server may update edge-leaf connection information.
도 7은 다양한 실시예에 따른 엣지 장치의 이동에 따라 핸드오버 이벤트를 판단하는 방법의 흐름도이다.7 is a flowchart of a method of determining a handover event according to movement of an edge device according to various embodiments of the present disclosure;
다양한 실시예에 따르면, 엣지 장치(예: 도 4의 엣지 장치(400))는 엣지 장치의 움직임을 감지할 수 있는 적어도 하나의 센서(예: 도 4의 센서(440))를 포함하고, 센서를 이용해 엣지 장치의 움직임을 실시간으로 감지할 수 있다.According to various embodiments, the edge device (eg, the edge device 400 of FIG. 4 ) includes at least one sensor (eg, the sensor 440 of FIG. 4 ) capable of detecting a motion of the edge device, and the sensor can be used to detect the motion of edge devices in real time.
다양한 실시예에 따르면, 동작 710에서, 엣지 장치는 리프 장치(예: 도 5의 리프 장치(500))와 연결되어 엣지 컴퓨팅 동작을 수행할 수 있다. 예를 들어, 리프 장치가 IP 카메라인 경우, 엣지 장치는 AV(audio-video) 모듈 및 AI(artificial intelligence) vision 모듈을 이용하여, 리프 장치에서 전송되는 영상 스트리밍을 IoT 서버로 전송하고, 영상 분석 데이터를 리프 장치 및/또는 IoT 서버로 전송할 수 있다.According to various embodiments, in operation 710 , the edge device may be connected to a leaf device (eg, the leaf device 500 of FIG. 5 ) to perform an edge computing operation. For example, if the leaf device is an IP camera, the edge device uses an audio-video (AV) module and an artificial intelligence (AI) vision module to transmit video streaming from the leaf device to the IoT server, and analyze the video. Data can be sent to leaf devices and/or IoT servers.
다양한 실시예에 따르면, 동작 720에서, 엣지 장치는 센서(예: 자이로 센서, 가속도 센서)를 통해 감지된 엣지 장치의 움직임이 기준 값 이상인 지 확인할 수 있다. 예를 들어, 엣지 장치는 엣지 장치의 움직임이 소정 속도 및/또는 거리 이상이거나, 움직임이 감지된 횟수가 소정 이상인 경우, 엣지 장치의 움직임이 기준 값 이상인 것으로 결정할 수 있다.According to various embodiments, in operation 720, the edge device may determine whether the motion of the edge device detected through a sensor (eg, a gyro sensor or an acceleration sensor) is equal to or greater than a reference value. For example, the edge device may determine that the motion of the edge device is equal to or greater than a reference value when the motion of the edge device is equal to or greater than a predetermined speed and/or distance, or the number of times that the motion is sensed is greater than or equal to a predetermined value.
다양한 실시예에 따르면, 동작 730에서, 엣지 장치는 통신 모듈을 통해 AP로부터 수신되는 신호의 세기가 감소하는 지 확인할 수 있다. 여기서, 신호의 세기는 RSSI(received signal strength indicator)일 수 있으며 네트워크 칩셋(예: Wi-Fi chipset)에서 감지될 수 있다.According to various embodiments, in operation 730, the edge device may determine whether the strength of a signal received from the AP through the communication module decreases. Here, the signal strength may be a received signal strength indicator (RSSI) and may be detected by a network chipset (eg, Wi-Fi chipset).
다양한 실시예에 따르면, 엣지 장치의 움직임이 기준 값 이상이고, AP로부터 수신되는 신호의 세기가 감소 중인 경우, 동작 740에서, 엣지 장치(예: 도 4의 프로세서)는 엣지 장치의 이동(mobility)이 발생한 것으로 판단하고, 엣지 핸드오버 이벤트의 발생 여부를 모니터링 할 수 있다. According to various embodiments, when the motion of the edge device is equal to or greater than the reference value and the strength of a signal received from the AP is decreasing, in operation 740 , the edge device (eg, the processor of FIG. 4 ) determines the mobility of the edge device. is determined to have occurred, and it is possible to monitor whether an edge handover event has occurred.
다양한 실시예에 따르면, 엣지 장치는 핸드오버 이벤트의 모니터링이 개시되는 경우, 연결된 리프 장치, 홈 네트워크 상에 접속된 외부 엣지 장치 또는 IoT 서버에 핸드오버 이벤트의 모니터링과 관련된 정보를 전송할 수 있다. 엣지 장치가 핸드오버 이벤트를 모니터링 하는 중에도, 리프 장치와 연결되어 엣지 컴퓨팅 서비스는 계속 수행할 수 있다.According to various embodiments, when monitoring of a handover event is started, the edge device may transmit information related to monitoring of the handover event to a connected leaf device, an external edge device connected to a home network, or an IoT server. Even while the edge device is monitoring the handover event, the edge computing service can continue to be performed by connecting with the leaf device.
다양한 실시예에 따르면, 동작 750에서, 엣지 장치는 감지된 엣지 장치의 움직임이 일정 거리 및/또는 속도 이상인 지 확인하고, AP로부터 수신되는 신호의 세기가 일정 값 이하인지 확인할 수 있다. 일 실시예에 따르면, 엣지 장치는 엣지 장치의 움직임 또는 신호의 세기 중 하나만을 확인할 수 있다. According to various embodiments, in operation 750 , the edge device may determine whether the detected motion of the edge device is greater than or equal to a predetermined distance and/or speed, and may determine whether the strength of a signal received from the AP is less than or equal to a predetermined value. According to an embodiment, the edge device may check only one of the motion of the edge device or the strength of a signal.
예를 들어, 엣지 장치에서 지속적인 움직임이 감지되고, AP에서 수신되는 신호가 약해지는 것은 사용자가 휴대 가능한 엣지 장치를 엣지 장치 및 리프 장치가 설치된 실내에서 다른 공간으로 이동 시키는 상황으로 볼 수 있다. AP는 한정된 커버리지를 갖기 때문에, 이 경우 엣지 장치가 더 이상 홈 네트워크 상에서 엣지 장치의 기능을 수행할 수 없는 것으로 볼 수 있다.For example, if a continuous motion is detected in the edge device and the signal received from the AP is weakened, it can be viewed as a situation in which the user moves the portable edge device from the room where the edge device and the leaf device are installed to another space. Since the AP has limited coverage, in this case, it can be seen that the edge device can no longer perform the function of the edge device on the home network.
다양한 실시예에 따르면, 엣지 장치의 움직임이 일정 거리 및/또는 속도 이상이고, AP로부터 수신되는 신호의 세기가 일정 값 이하인 경우, 동작 760에서, 엣지 장치는 엣지 핸드오버 이벤트가 발생한 것으로 결정하고, 외부 엣지 장치(예: 도 10의 제2엣지 장치)에 엣지 컴퓨팅 서비스를 핸드오버 하기 위한 동작을 실행할 수 있다. According to various embodiments, when the movement of the edge device is greater than a certain distance and/or speed and the strength of a signal received from the AP is less than or equal to a certain value, in operation 760, the edge device determines that an edge handover event has occurred, An operation for handover of an edge computing service to an external edge device (eg, the second edge device of FIG. 10 ) may be executed.
엣지 장치가 리프 장치와 수행 중인 엣지 컴퓨팅 서비스를 다른 엣지 장치로 핸드오버 하는 과정에 대해서는 도 10-16을 통해 보다 상세히 설명하기로 한다.A process in which an edge device handovers a leaf device and an edge computing service being performed to another edge device will be described in more detail with reference to FIGS. 10-16 .
동작 770에서, 엣지 장치는 핸드오버 이벤트를 모니터링 하는 중, 움직임 및/또는 신호 세기의 변화가 소정 이하로 낮은 지 확인하고, 이 경우 핸드오버 이벤트의 모니터링을 종료하고, 리프 장치와의 엣지 컴퓨팅 서비스는 계속 수행할 수 있다.In operation 770, the edge device checks whether the change in motion and/or signal strength is lower than a predetermined level while monitoring the handover event, in this case, ends monitoring of the handover event, and edge computing service with the leaf device can continue to be performed.
도 8은 다양한 실시예에 따른 엣지 장치의 리소스에 따라 핸드오버 이벤트를 판단하는 방법의 흐름도이다.8 is a flowchart of a method of determining a handover event according to a resource of an edge device according to various embodiments of the present disclosure;
다양한 실시예에 따르면, 엣지 장치(예: 도 4의 엣지 장치(400))는 엣지 장치의 프로세서(예: 도 4의 프로세서(410)) 및/또는 메모리(예: 도 4의 메모리(420))의 가용 리소스에 기초하여 엣지 컴퓨팅 서비스를 핸드오버 할 지 결정할 수 있다. 엣지 장치는 엣지 컴퓨팅 서비스 이외에 고유의 기능(예: 태블릿 PC의 어플리케이션, TV의 영상 송출)을 수행해야 하며, 이와 같은 고유 기능의 수행에 따라 가용 리소스가 부족하여 엣지 컴퓨팅 서비스를 제공할 수 없는 경우, 엣지 컴퓨팅 서비스가 가능한 다른 엣지 장치로 리프 장치를 핸드오버 할 수 있다.According to various embodiments, the edge device (eg, edge device 400 of FIG. 4 ) may include a processor (eg, processor 410 of FIG. 4 ) and/or memory (eg, memory 420 of FIG. 4 ) of the edge device ) can determine whether to handover the edge computing service based on the available resources. Edge device must perform its own functions (eg, tablet PC application, TV video transmission) other than edge computing service , it is possible to handover a leaf device to another edge device capable of edge computing services.
다양한 실시예에 따르면, 엣지 장치는 사용자의 입력, 시스템 상의 알람 발생과 같이, 엣지 장치의 리소스 상태에 변경을 줄 수 있는 상황이 발생하는 지 확인하고, 엣지 핸드오버 이벤트를 모니터링 할 수 있다.According to various embodiments, the edge device may check whether a situation that may change the resource state of the edge device, such as a user input or an alarm on the system, occurs, and monitor an edge handover event.
다양한 실시예에 따르면, 동작 810에서, 엣지 장치는 리프 장치와 연결되어 엣지 컴퓨팅 동작을 수행할 수 있다.According to various embodiments, in operation 810 , the edge device may be connected to a leaf device to perform an edge computing operation.
다양한 실시예에 따르면, 동작 822에서, 엣지 장치는 터치 스크린 상의 사용자 입력이 발생하는 지 감지할 수 있다. 터치 스크린 상의 사용자 입력은 엣지 장치에서 제공하는 어플리케이션 또는 기능을 수행하기 위한 것이므로, 엣지 컴퓨팅 서비스를 위해 필요한 프로세서 및/또는 메모리의 가용 리소스가 감소될 수 있다.According to various embodiments, in operation 822 , the edge device may detect whether a user input on the touch screen is generated. Since the user input on the touch screen is for performing an application or function provided by the edge device, available resources of a processor and/or memory required for an edge computing service may be reduced.
다양한 실시예에 따르면, 동작 824에서, 엣지 장치는 엣지 장치의 키(예: 하드 키, 소프트 키) 입력이 발생하는 지 감지할 수 있다.According to various embodiments, in operation 824 , the edge device may detect whether a key (eg, hard key, soft key) input of the edge device occurs.
다양한 실시예에 따르면, 동작 828에서, 엣지 장치는 리모콘(remote control)을 이용한 입력이 수신되는 지 감지할 수 있다.According to various embodiments, in operation 828 , the edge device may detect whether an input using a remote control is received.
다양한 실시예에 따르면, 동작 826에서, 엣지 장치는 운영체제(OS)에서 알람이 발생하는 지 확인할 수 있다. 예를 들어, 엣지 장치의 운영체제에서 제공하는 사용자를 위한 notification 인 긴급 문자, SNS, 시스템 알람 등을 확인할 수 있다.According to various embodiments, in operation 826, the edge device may determine whether an alarm is generated in the operating system (OS). For example, it is possible to check the notification for the user provided by the operating system of the edge device, such as an emergency text message, SNS, system alarm, and the like.
다양한 실시예에 따르면, 동작 822, 824, 826, 828 중 적어도 하나의 조건을 만족하는 경우, 동작 830에서, 엣지 장치는 리소스 모니터링을 시작할 수 있다. 여기서, 동작 830은 동작 822, 824, 826, 828 중 어느 하나가 만족되는 경우에 수행될 수 있으며, 일 실시예에 따르면 2 이상의 조건이 만족되는 경우에 수행될 수 있다.According to various embodiments, when at least one condition among operations 822, 824, 826, and 828 is satisfied, in operation 830, the edge device may start resource monitoring. Here, operation 830 may be performed when any one of operations 822, 824, 826, and 828 is satisfied, and according to an embodiment, operation 830 may be performed when two or more conditions are satisfied.
예를 들어, 엣지 장치는 엣지 컴퓨팅 서비스를 위해 필요한 엣지 장치의 하드웨어 및/또는 소프트웨어 자원이 다른 기능의 실행 또는 이벤트 발생에 따라 얼마나 사용 중인지 확인할 수 있다. For example, the edge device may check how much of the hardware and/or software resources of the edge device required for the edge computing service are being used according to the execution of other functions or the occurrence of an event.
다양한 실시예에 따르면, 동작 840에서, 엣지 장치는 현재 가용 리소스가 임계값보다 낮아지는 지 확인할 수 있다. 여기서, 임계값은 엣지 컴퓨팅 서비스를 위해 필요한 프로세서 및/또는 메모리의 최소 사용량에 따라 결정될 수 있다.According to various embodiments, in operation 840, the edge device may determine whether the currently available resource is lower than a threshold value. Here, the threshold value may be determined according to the minimum amount of processor and/or memory required for the edge computing service.
다양한 실시예에 따르면, 현재 가용 리소스가 임계값보다 낮아지는 경우, 동작 860에서, 엣지 장치는 엣지 핸드오버 이벤트가 발생한 것으로 결정하고, 외부 엣지 장치(예: 도 10의 제2엣지 장치)에 엣지 컴퓨팅 서비스를 핸드오버 하기 위한 동작을 실행할 수 있다. According to various embodiments, when the currently available resource is lower than the threshold, in operation 860, the edge device determines that an edge handover event has occurred, and provides an edge to an external edge device (eg, the second edge device of FIG. 10 ). An operation for handover of a computing service may be performed.
이와 달리, 현재 가용 리소스가 임계값보다 높은 값을 유지하고, 동작 850에서, 엣지 컴퓨팅 동작 외에 다른 동작(예: 태블릿 PC의 어플리케이션, TV의 영상 제공)이 없는 것으로 확인되는 경우, 엣지 장치는 핸드오버 이벤트의 모니터링을 종료하고, 리프 장치와의 엣지 컴퓨팅 서비스는 계속 수행할 수 있다.On the other hand, if the currently available resource maintains a value higher than the threshold, and in operation 850, it is determined that there is no operation other than the edge computing operation (eg, application of a tablet PC, providing an image of a TV), the edge device is The monitoring of the over event is terminated, and edge computing services with the leaf device can be continued.
도 9는 다양한 실시예에 따른 엣지 장치의 전원 상태 또는 리소스에 따라 핸드오버 이벤트를 판단하는 방법의 흐름도이다.9 is a flowchart of a method of determining a handover event according to a power state or resource of an edge device according to various embodiments of the present disclosure;
다양한 실시예에 따르면, 엣지 장치(예: 도 4의 엣지 장치(400))는 전원 관리 모듈(도 4의 전원 관리 모듈(450))을 이용해 외부 전원에 연결 되었는 지 여부, 배터리의 충전량과 같은 엣지 장치의 전원 상태를 감지할 수 있다.According to various embodiments, whether the edge device (eg, the edge device 400 of FIG. 4 ) is connected to an external power source using a power management module (the power management module 450 of FIG. 4 ), The power state of the edge device can be detected.
다양한 실시예에 따르면, 동작 910에서, 엣지 장치는 리프 장치와 연결되어 엣지 컴퓨팅 동작을 수행할 수 있다.According to various embodiments, in operation 910 , the edge device may be connected to a leaf device to perform an edge computing operation.
다양한 실시예에 따르면, 동작 920에서, 엣지 장치는 엣지 장치가 저전력 모드로 동작하는 지 확인할 수 있다. 예를 들어, 엣지 장치의 설정에 따라 엣지 장치가 외부 전원에 연결되지 않고 배터리의 전원을 사용하거나, 배터리가 충전 중이지 않은 상태에서 배터리 잔여량이 소정 이하인 경우, 저전력 모드로 동작하도록 설정될 수 있다. 엣지 장치가 저전력 모드로 동작하거나, 배터리 잔여량이 소정 이하인 경우에는 엣지 장치가 전원 부족으로 꺼질 우려가 있는 상태이기 때문에, 엣지 장치는 전원 부족으로 꺼지기 전에 핸드오버 이벤트를 발생하여 다른 엣지 장치에 의해 엣지 컴퓨팅 서비스가 연속적으로 수행되도록 할 수 있다.According to various embodiments, in operation 920 , the edge device may determine whether the edge device operates in a low power mode. For example, depending on the setting of the edge device, the edge device may be set to operate in a low power mode when the edge device is not connected to an external power source and uses the power of the battery, or when the remaining amount of the battery is less than a predetermined value while the battery is not being charged. . If the edge device operates in low power mode or the remaining battery level is below a predetermined level, the edge device may be turned off due to insufficient power. Computing services may be continuously performed.
다양한 실시예에 따르면, 동작 930에서, 엣지 장치는 엣지 장치의 프로세서 및/또는 메모리의 리소스가 부족한 상태인 지 확인할 수 있다.According to various embodiments, in operation 930 , the edge device may determine whether a resource of a processor and/or a memory of the edge device is insufficient.
다양한 실시예에 따르면, 동작 920 및 동작 930의 조건을 만족하는 경우, 동작 940에서 엣지 장치는 엣지 핸드오버 이벤트가 발생한 것으로 결정하고, 외부 엣지 장치(예: 도 10의 제2엣지 장치)에 엣지 컴퓨팅 서비스를 핸드오버 하기 위한 동작을 실행할 수 있다. According to various embodiments, when the conditions of operations 920 and 930 are satisfied, in operation 940, the edge device determines that an edge handover event has occurred, and provides an edge to an external edge device (eg, the second edge device of FIG. 10 ). An operation for handover of a computing service may be performed.
도 10은 다양한 실시예에 따른 제2엣지 장치에 의해 엣지 핸드오버가 개시되는 경우 엣지 장치의 변경 과정을 도시한 것이다.10 is a diagram illustrating a change process of an edge device when an edge handover is initiated by a second edge device according to various embodiments of the present disclosure.
도 10은 핸드오버 이벤트를 미리 감지할 수 있는 경우에 제1엣지 장치(1010) 및 제2엣지 장치(1020)가 핸드오버의 주체로써 동작하는 실시예에 대한 것이다.10 illustrates an embodiment in which the first edge device 1010 and the second edge device 1020 operate as subjects of handover when a handover event can be detected in advance.
다양한 실시예에 따르면, 동작 1050에서, 제1엣지 장치(1010)는 리프 장치(1030)와 홈 네트워크 상에서 연결되어, 엣지 컴퓨팅 서비스를 수행할 수 있다.According to various embodiments, in operation 1050 , the first edge device 1010 may be connected to the leaf device 1030 on a home network to perform an edge computing service.
다양한 실시예에 따르면, 동작 1060에서, 제1엣지 장치(1010)는 핸드오버 이벤트를 감지할 수 있다. 예를 들어, 제1엣지 장치(1010)는 센서(예: 도 4의 센서(440))를 이용하여 획득한 제1엣지 장치(1010)의 움직임, 통신 모듈(예: 도 4의 통신 모듈(420))을 통해 수신되는 신호의 세기, 프로세서(예: 도 4의 프로세서(410)) 및/또는 메모리(예: 도 4의 메모리(430))의 리소스 상태, 전원 관리 모듈(예: 도 4의 전원 관리 모듈(450))을 통해 감지되는 전원 상태 중 적어도 하나에 기초하여 핸드오버 이벤트를 감지할 수 있다. 제1엣지 장치(1010)가 핸드오버 이벤트를 감지하는 다양한 실시예에 대해서는 앞서 도 7 내지 9를 통해 설명한 바 있다.According to various embodiments, in operation 1060 , the first edge device 1010 may detect a handover event. For example, the first edge device 1010 includes the movement of the first edge device 1010 acquired using a sensor (eg, the sensor 440 of FIG. 4 ), and a communication module (eg, the communication module of FIG. 4 ) 420)), the resource status of the processor (eg, the processor 410 of FIG. 4 ) and/or the memory (eg, the memory 430 of FIG. 4 ), and the power management module (eg, FIG. 4 ) The handover event may be detected based on at least one of the power states detected through the power management module 450 of the . Various embodiments in which the first edge device 1010 detects a handover event have been described above with reference to FIGS. 7 to 9 .
다양한 실시예에 따르면, 동작 1062에서, 제1엣지 장치(1010)는 엣지 컴퓨팅 서비스를 핸드오버 할 네트워크 내의 제2엣지 장치(1020)를 확인할 수 있다. 일 실시예에 따르면, 제1엣지 장치(1010)는 핸드오버 이벤트의 발생 이전에 디스커버리(discovery) 과정을 통해 또는 IoT 서버(1040)로부터 수신한 정보에 기초하여 제2엣지 장치(1020)를 확인할 수 있으며, 또는 핸드오버 이벤트가 발생하는 경우 디스커버리를 통해 제2엣지 장치(1020)를 확인하거나, IoT 서버(1040)에 홈 네트워크 상에 위치하는 제2엣지 장치(1020)와 관련된 정보의 전송을 요청할 수 있다. According to various embodiments, in operation 1062 , the first edge device 1010 may identify the second edge device 1020 in the network to which the edge computing service is to be handed over. According to an embodiment, the first edge device 1010 checks the second edge device 1020 through a discovery process or based on information received from the IoT server 1040 before the handover event occurs. Alternatively, when a handover event occurs, the second edge device 1020 is checked through discovery, or information related to the second edge device 1020 located on the home network is transmitted to the IoT server 1040. you can request
다양한 실시예에 따르면, 제1엣지 장치(1010)는 확인된 제2엣지 장치(1020)가 엣지 컴퓨팅 서비스를 핸드오버 받을 수 있는 capability가 있는지 확인할 수 있다. 여기서, 제2엣지 장치(1020)의 capability는 확인된 제2엣지 장치(1020)의 엣지 모드가 활성화 되어 있는지, 제공할 수 있는 서비스가 무엇인지, 리프 장치(1030)와 추가적으로 연결될 수 있는지 여부, 제2엣지 장치(1020)의 물리적 리소스(예: 프로세서, 메모리 가용 리소스), IP주소, OCF(open connectivity foundation) capability 중 적어도 일부를 포함할 수 있다. According to various embodiments, the first edge device 1010 may check whether the checked second edge device 1020 has the capability to receive the edge computing service handover. Here, the capability of the second edge device 1020 is whether the checked edge mode of the second edge device 1020 is activated, what services it can provide, whether it can be additionally connected to the leaf device 1030, The second edge device 1020 may include at least some of physical resources (eg, processor, memory available resources), an IP address, and open connectivity foundation (OCF) capability.
다양한 실시예에 따르면, 동작 1064에서, 제1엣지 장치(1010)는 제2엣지 장치(1020), 리프 장치(1030) 또는 IoT 서버(1040) 중 적어도 하나에 핸드오버 이벤트를 전송할 수 있다. 이 경우, 제1엣지 장치(1010)는 현재 연결된 리프 장치(1030) 및 엣지 컴퓨팅 서비스의 정보의 정보를 포함하여 전송할 수 있고, 또는 핸드오버 이벤트의 발생에 대한 정보만 전송할 수도 있다. 일 실시예에 따르면, 제1엣지 장치(1010)는 핸드오버 이벤트를 홈 네트워크 상의 장치들에 브로드캐스팅 할 수 있다.According to various embodiments, in operation 1064 , the first edge device 1010 may transmit a handover event to at least one of the second edge device 1020 , the leaf device 1030 , and the IoT server 1040 . In this case, the first edge device 1010 may transmit information including information on the currently connected leaf device 1030 and edge computing service, or may transmit only information on the occurrence of a handover event. According to an embodiment, the first edge device 1010 may broadcast a handover event to devices on a home network.
다양한 실시예에 따르면, 동작 1066에서, 제2엣지 장치(1020)는 제1엣지 장치(1010)로부터 전송(또는 브로드캐스팅)되는 핸드오버 이벤트 정보에 따라, 핸드오버 이벤트를 확인할 수 있다.According to various embodiments, in operation 1066 , the second edge device 1020 may identify a handover event according to handover event information transmitted (or broadcast) from the first edge device 1010 .
일 실시예에 따르면, 제2엣지 장치(1020)는 제1엣지 장치(1010)로부터 핸드오버 이벤트가 전송되지 않더라도, 리프 장치(1030)가 전달하는 엣지 컴퓨팅 서비스의 변경 요청 또는 제2엣지 장치(1020)가 제1엣지 장치(1010)와 주기적으로 주고 받는 alive 패킷을 기반으로 핸드오버 이벤트의 발생을 확인할 수 있다. 이 경우, 동작 1064는 생략될 수도 있다.According to an embodiment, even if a handover event is not transmitted from the first edge device 1010, the second edge device 1020 may request a change of the edge computing service delivered by the leaf device 1030 or the second edge device ( The generation of the handover event may be confirmed based on the alive packet exchanged periodically by the 1020 with the first edge device 1010 . In this case, operation 1064 may be omitted.
다양한 실시예에 따르면, 제1엣지 장치(1010)와 연결을 통해 리프 장치(1030)의 정보를 미리 획득하지 못하였거나, 제1엣지 장치(1010)로부터 전달되는 핸드오버 이벤트 정보(동작 1064)에 리프 장치(1030)와 관련된 정보가 포함되어 있지 않은 경우, 동작 1070에서, 제2엣지 장치(1020)는 디스커버리를 통해 리프 장치(1030)를 확인할 수 있다. 이와 달리, 제2엣지 장치(1020)가 핸드오버 이벤트 정보 또는 주기적으로 주고 받는 신호를 통해 리프 장치(1030)의 정보를 획득한 경우 동작 1070은 생략될 수 있다.According to various embodiments, information on the leaf device 1030 has not been obtained in advance through connection with the first edge device 1010, or the handover event information transmitted from the first edge device 1010 (operation 1064). If information related to the leaf device 1030 is not included, in operation 1070 , the second edge device 1020 may identify the leaf device 1030 through discovery. Contrary to this, when the second edge device 1020 acquires information on the leaf device 1030 through handover event information or a signal periodically exchanged, operation 1070 may be omitted.
다양한 실시예에 따르면, 동작 1072에서, 제2엣지 장치(1020)는 리프 장치(1030)에 엣지 컴퓨팅 연결 변경 요청을 전송할 수 있다. According to various embodiments, in operation 1072 , the second edge device 1020 may transmit an edge computing connection change request to the leaf device 1030 .
다양한 실시예에 따르면, 동작 1074에서, 리프 장치(1030)는 제2엣지 장치(1020)의 요청에 응답하여, 제2엣지 장치(1020)에 엣지 연결 요청을 전송할 수 있다. 또한, 동작 1076에서 리프 장치(1030)는 제1엣지 장치(1010)와의 연결을 해제할 수 있다. 일 실시예에 따르면, 제1엣지 장치(1010)는 리프 장치(1030)에 제공하지 않았으나 이미 처리가 끝난 데이터(예: 영상 분석 데이터)를 제2엣지 장치(1020)로 넘겨줄 수 있다. 도 10에서는 동작 1074의 수행 이후에 동작 1076이 수행되는 것으로 도시되어 있으나, 동작 1074 및 동작 1076이 수행되는 순서가 변경될 수 있고, 각 동작이 적어도 일부 동시에 수행될 수도 있다.According to various embodiments, in operation 1074 , the leaf device 1030 may transmit an edge connection request to the second edge device 1020 in response to the request of the second edge device 1020 . Also, in operation 1076 , the leaf device 1030 may release the connection with the first edge device 1010 . According to an embodiment, the first edge device 1010 may pass data that has not been provided to the leaf device 1030 but has already been processed (eg, image analysis data) to the second edge device 1020 . Although operation 1076 is shown to be performed after operation 1074 in FIG. 10 , the order in which operations 1074 and 1076 are performed may be changed, and each operation may be performed at least partially simultaneously.
다양한 실시예에 따르면, 동작 1080에서, 제2엣지 장치(1020)는 리프 장치(1030)와 연결되어, 엣지 컴퓨팅 서비스를 수행할 수 있다. 여기서, 엣지 컴퓨팅 서비스는 동작 1050의 엣지 컴퓨팅 서비스와 동일한 서비스 일 수 있다.According to various embodiments, in operation 1080, the second edge device 1020 may be connected to the leaf device 1030 to perform an edge computing service. Here, the edge computing service may be the same service as the edge computing service in operation 1050 .
다양한 실시예에 따르면, 제2엣지 장치(1020) 및/또는 리프 장치(1030)는 핸드오버가 완료되는 경우(또는 개시되는 경우), IoT 서버(1040)에 연결 변경을 통지하고, 동작 1090에서, IoT 서버(1040)는 엣지-리프 연결 정보를 업데이트 할 수 있다.According to various embodiments, when the handover is completed (or initiated), the second edge device 1020 and/or the leaf device 1030 notifies the IoT server 1040 of a connection change, and in operation 1090 , the IoT server 1040 may update edge-leaf connection information.
도 11은 다양한 실시예에 따른 제2엣지 장치에 의해 엣지 핸드오버가 개시되는 경우 엣지 장치의 변경 과정을 도시한 것이다.11 is a diagram illustrating a process of changing an edge device when an edge handover is initiated by a second edge device according to various embodiments of the present disclosure.
도 11은 핸드오버 이벤트를 미리 감지할 수 없는 경우에 제1엣지 장치(1110) 및 제2엣지 장치(1120)가 핸드오버의 주체로써 동작하는 실시예에 대한 것이다.11 illustrates an embodiment in which the first edge device 1110 and the second edge device 1120 operate as subjects of handover when a handover event cannot be detected in advance.
다양한 실시예에 따르면, 동작 1150에서, 제1엣지 장치(1110)는 리프 장치(1130)와 홈 네트워크 상에서 연결되어, 엣지 컴퓨팅 서비스를 수행할 수 있다.According to various embodiments, in operation 1150 , the first edge device 1110 may be connected to the leaf device 1130 on a home network to perform an edge computing service.
다양한 실시예에 따르면, 동작 1160에서, 제1엣지 장치(1110)에서 핸드오버 이벤트가 발생할 수 있다. 본 실시예에서 핸드오버 이벤트는 앞서 설명한 도 10의 실시예와 달리, 제1엣지 장치(1110) 상에서 미리 감지하지 못하는 상황에 발생할 수 있다. 예를 들어, 제1엣지 장치(1110)가 핸드오버 이벤트를 미리 감지하고 다른 장치에 전달하기 이전에, 네트워크 연결 해제, 전원 오프와 같이 갑작스럽게 엣지 컴퓨팅 서비스가 불가능한 상황이 발생할 수도 있다. 일 실시예에 따르면, 제1엣지 장치(1110)는 실외로 이동하여 AP(access point)와 통신이 불가능한 경우 다른 네트워크(예: 셀룰러 네트워크)에 연결하여 IoT 서버(1140)에 핸드오버 이벤트 정보를 전송할 수 있다.According to various embodiments, in operation 1160 , a handover event may occur in the first edge device 1110 . In this embodiment, the handover event may occur in a situation in which the first edge device 1110 cannot detect it in advance, unlike the embodiment of FIG. 10 described above. For example, before the first edge device 1110 detects a handover event in advance and transmits it to another device, a situation in which the edge computing service is suddenly impossible, such as disconnection of a network or power off, may occur. According to an embodiment, the first edge device 1110 transmits handover event information to the IoT server 1140 by connecting to another network (eg, a cellular network) when communication with an access point (AP) is impossible after moving outdoors. can be transmitted
다양한 실시예에 따르면, 리프 장치(1130)는 제1엣지 장치(1110)로부터 전송되는 신호의 수신 여부에 따라 핸드오버 이벤트를 감지할 수 있다. 예를 들어, 리프 장치(1130)는 socket 통신이 되지 않거나, alive 패킷이 도달하지 않음에 따라 전송 프로토콜(transmission protocol) 상의 연결 종료가 감지되는 경우 제1엣지 장치(1110)가 엣지 컴퓨팅 서비스의 수행이 불가능한 것으로 확인할 수 있다.According to various embodiments, the leaf device 1130 may detect a handover event according to whether a signal transmitted from the first edge device 1110 is received. For example, when the leaf device 1130 does not perform socket communication or when a connection termination on a transmission protocol is detected as an alive packet does not arrive, the first edge device 1110 performs an edge computing service. It can be verified that this is impossible.
다양한 실시예에 따르면, 동작 1162에서, 리프 장치(1130) 및/또는 IoT 서버(1140)는 핸드오버 이벤트를 감지하는 경우, 제2엣지 장치(1120)에 핸드오버 이벤트 정보를 전송할 수 있다.According to various embodiments, in operation 1162 , when detecting a handover event, the leaf device 1130 and/or the IoT server 1140 may transmit handover event information to the second edge device 1120 .
다양한 실시예에 따르면, 동작 1164에서, 제2엣지 장치(1120)는 리프 장치(1130) 및/또는 IoT 서버(1140)로부터 전송되는 핸드오버 이벤트 정보에 따라 핸드오버 이벤트를 확인할 수 있다. 다른 실시예에 따르면, 제2엣지 장치(1120)는 제1엣지 장치(1110)와 주기적으로 주고 받는 alive 패킷을 기반으로 핸드오버 이벤트의 발생을 확인할 수 있다. 이 경우, 동작 1162는 생략될 수 있다.According to various embodiments, in operation 1164 , the second edge device 1120 may check a handover event according to handover event information transmitted from the leaf device 1130 and/or the IoT server 1140 . According to another embodiment, the second edge device 1120 may check the occurrence of a handover event based on the alive packet exchanged periodically with the first edge device 1110 . In this case, operation 1162 may be omitted.
다양한 실시예에 따르면, 제1엣지 장치(1110)와 연결을 통해 리프 장치(1130)의 정보를 미리 획득하지 못하였거나, 리프 장치(1130) 및/또는 IoT 서버(1140)로부터 수신되는 핸드오버 이벤트 정보(동작 1162)에 리프 장치(1130)와 관련된 정보가 포함되어 있지 않은 경우, 동작 1170에서, 제2엣지 장치(1120)는 디스커버리를 통해 리프 장치(1130)를 확인할 수 있다. 이와 달리, 제2엣지 장치(1120)가 핸드오버 이벤트 정보 또는 주기적으로 주고 받는 신호를 통해 리프 장치(1130)의 정보를 획득한 경우 동작 1170은 생략될 수 있다.According to various embodiments, information on the leaf device 1130 is not obtained in advance through connection with the first edge device 1110 , or a handover event received from the leaf device 1130 and/or the IoT server 1140 . If the information (operation 1162) does not include information related to the leaf device 1130, in operation 1170, the second edge device 1120 may identify the leaf device 1130 through discovery. Contrary to this, when the second edge device 1120 acquires the information of the leaf device 1130 through handover event information or a signal exchanged periodically, operation 1170 may be omitted.
다양한 실시예에 따르면, 동작 1172에서, 제2엣지 장치(1120)는 리프 장치(1130)에 엣지 컴퓨팅 연결 변경 요청을 전송할 수 있다. According to various embodiments, in operation 1172 , the second edge device 1120 may transmit an edge computing connection change request to the leaf device 1130 .
다양한 실시예에 따르면, 동작 1174에서, 리프 장치(1130)는 제2엣지 장치(1120)의 요청에 응답하여, 제2엣지 장치(1120)에 엣지 연결 요청을 전송할 수 있다. According to various embodiments, in operation 1174 , the leaf device 1130 may transmit an edge connection request to the second edge device 1120 in response to the request of the second edge device 1120 .
다양한 실시예에 따르면, 동작 1180에서, 제2엣지 장치(1120)는 제1엣지 장치(1110)는 리프 장치(1130)와 연결되어, 엣지 컴퓨팅 서비스를 수행할 수 있다. 여기서, 엣지 컴퓨팅 서비스는 동작 1150의 엣지 컴퓨팅 서비스와 동일한 서비스 일 수 있다.According to various embodiments, in operation 1180 , the second edge device 1120 and the first edge device 1110 are connected to the leaf device 1130 to perform an edge computing service. Here, the edge computing service may be the same service as the edge computing service in operation 1150 .
다양한 실시예에 따르면, 제2엣지 장치(1120) 및/또는 리프 장치(1130)는 핸드오버가 완료되는 경우(또는 개시되는 경우), IoT 서버(1140)에 연결 변경을 통지하고, 동작 1190에서, IoT 서버(1140)는 엣지-리프 연결 정보를 업데이트 할 수 있다.According to various embodiments, when the handover is completed (or initiated), the second edge device 1120 and/or the leaf device 1130 notifies the IoT server 1140 of a connection change, and in operation 1190 , the IoT server 1140 may update edge-leaf connection information.
도 12는 다양한 실시예에 따른 리프 장치에 의해 엣지 핸드오버가 개시되는 경우 엣지 장치의 변경 과정을 도시한 것이다.12 is a diagram illustrating a change process of an edge device when an edge handover is initiated by a leaf device according to various embodiments of the present disclosure.
도 12는 핸드오버 이벤트를 미리 감지할 수 있는 경우에 리프 장치(1230)가 핸드오버의 주체로써 동작하는 실시예에 대한 것이다.12 illustrates an embodiment in which the leaf device 1230 operates as a handover subject when a handover event can be detected in advance.
다양한 실시예에 따르면, 동작 1250에서, 제1엣지 장치(1210)는 리프 장치(1230)와 홈 네트워크 상에서 연결되어, 엣지 컴퓨팅 서비스를 수행할 수 있다.According to various embodiments, in operation 1250 , the first edge device 1210 may be connected to the leaf device 1230 on a home network to perform an edge computing service.
다양한 실시예에 따르면, 동작 1260에서, 제1엣지 장치(1210)는 핸드오버 이벤트를 감지하고, 핸드오버 이벤트 정보를 리프 장치(1230)에 전송할 수 있다. 예를 들어, 제1엣지 장치(1210)는 센서를 이용하여 획득한 제1엣지 장치(1210)의 움직임, 통신 모듈을 통해 수신되는 신호의 세기, 프로세서 및/또는 메모리의 리소스 상태, 전원 상태 중 적어도 하나에 기초하여 핸드오버 이벤트를 감지할 수 있다. 제1엣지 장치(1210)가 핸드오버 이벤트를 감지하는 다양한 실시예에 대해서는 앞서 도 7 내지 9를 통해 설명한 바 있다.According to various embodiments, in operation 1260 , the first edge device 1210 may detect a handover event and transmit handover event information to the leaf device 1230 . For example, the first edge device 1210 may include among the movement of the first edge device 1210 acquired using a sensor, the strength of a signal received through the communication module, the resource status of the processor and/or memory, and the power status. A handover event may be detected based on at least one. Various embodiments in which the first edge device 1210 detects a handover event have been described above with reference to FIGS. 7 to 9 .
다양한 실시예에 따르면, 동작 1262에서, 리프 장치(1230)는 제1엣지 장치(1210)에서 전송(또는 브로드캐스팅)되는 핸드오버 이벤트 정보에 따라, 핸드오버 이벤트를 확인할 수 있다. 다른 실시예에 따르면, 리프 장치(1230)는 제1엣지 장치(1210)와 socket 통신이 되지 않거나, alive 패킷이 도달하지 않음에 따라 전송 프로토콜(transmission protocol) 상의 연결 종료가 감지되는 경우 제1엣지 장치(1210)가 엣지 컴퓨팅 서비스의 수행이 불가능한 것으로 확인할 수 있다. 이 경우, 동작 1260은 생략될 수도 있다.According to various embodiments, in operation 1262 , the leaf device 1230 may identify a handover event according to handover event information transmitted (or broadcast) from the first edge device 1210 . According to another embodiment, when the leaf device 1230 does not perform socket communication with the first edge device 1210 or a connection termination on a transmission protocol is sensed as an alive packet does not arrive, the first edge It may be determined that the device 1210 is unable to perform the edge computing service. In this case, operation 1260 may be omitted.
다양한 실시예에 따르면, 핸드오버 이벤트 정보(동작 1260)에 제2엣지 장치(1220)와 관련된 정보가 포함되어 있지 않은 경우, 동작 1270에서, 리프 장치(1230)는 엣지 컴퓨팅 서비스를 핸드오버 할 제2엣지 장치(1220)를 디스커버리 할 수 있다. According to various embodiments, when the handover event information (operation 1260) does not include information related to the second edge device 1220, in operation 1270, the leaf device 1230 performs a handover of the edge computing service. The two-edge device 1220 may be discovered.
다양한 실시예에 따르면, 동작 1272에서, 리프 장치(1230)는 디스커버리를 통해 확인된 제2엣지 장치(1220)가 엣지 컴퓨팅 서비스를 핸드오버 받을 수 있는 capability가 있는지 확인할 수 있다. 여기서, 제2엣지 장치(1220)의 capability는 확인된 제2엣지 장치(1220)의 엣지 모드가 활성화 되어 있는지, 제공할 수 있는 서비스가 무엇인지, 리프 장치(1230)와 추가적으로 연결될 수 있는지 여부, 제2엣지 장치(1220)의 물리적 리소스(예: 프로세서, 메모리 가용 리소스), IP주소, OCF(open connectivity foundation) capability 중 적어도 일부를 포함할 수 있다.According to various embodiments, in operation 1272 , the leaf device 1230 may check whether the second edge device 1220 identified through discovery has a capability to receive an edge computing service handover. Here, the capability of the second edge device 1220 is whether the checked edge mode of the second edge device 1220 is activated, what services it can provide, whether it can be additionally connected to the leaf device 1230, The second edge device 1220 may include at least some of physical resources (eg, processor and memory available resources), an IP address, and open connectivity foundation (OCF) capability.
동작 1272에서, 리프 장치(1230)는 제2엣지 장치(1220)를 확인할 수 있다. 일 실시예에 따르면, 핸드오버 이벤트 정보에 제2엣지 장치(1220)의 디바이스 정보 및 capability 정보가 포함될 수 있으며, 이 경우, 동작 1270 및/또는 동작 1272는 생략될 수 있다. 일 실시예에 따르면, 리프 장치(1230)는 홈 네트워크 상에 복수의 엣지 장치가 존재하는 경우, 동일한 서비스(예: vision, NLU 등)가 활성화 되어 있는 엣지 장치를 확인하여 핸드오버를 시도할 수 있다.In operation 1272 , the leaf device 1230 may identify the second edge device 1220 . According to an embodiment, device information and capability information of the second edge device 1220 may be included in the handover event information, and in this case, operations 1270 and/or operation 1272 may be omitted. According to an embodiment, when a plurality of edge devices exist on the home network, the leaf device 1230 may attempt a handover by identifying an edge device in which the same service (eg, vision, NLU, etc.) is activated. there is.
다양한 실시예에 따르면, 동작 1274에서, 리프 장치(1230)는 제2엣지 장치(1220)에 엣지 컴퓨팅 연결 요청을 전송할 수 있다. 동작 1276에서, 리프 장치(1230)는 제1엣지 장치(1210)와의 연결을 해제할 수 있다. According to various embodiments, in operation 1274 , the leaf device 1230 may transmit an edge computing connection request to the second edge device 1220 . In operation 1276 , the leaf device 1230 may release the connection with the first edge device 1210 .
다양한 실시예에 따르면, 동작 1280에서, 리프 장치(1230)는 제2엣지 장치(1220)와 연결되어 엣지 컴퓨팅 서비스를 수행할 수 있다.According to various embodiments, in operation 1280 , the leaf device 1230 may be connected to the second edge device 1220 to perform an edge computing service.
다양한 실시예에 따르면, 동작 1282에서, 리프 장치(1230) 및/또는 제2엣지 장치(1220)는 IoT 서버(1240)에 연결 변경을 통지하고, 동작 1290에서, IoT 서버(1240)는 엣지-리프 연결 정보를 업데이트 할 수 있다.According to various embodiments, in operation 1282, the leaf device 1230 and/or the second edge device 1220 notifies the IoT server 1240 of a connection change, and in operation 1290, the IoT server 1240 is edge- You can update leaf connection information.
도 13은 다양한 실시예에 따른 리프 장치에 의해 엣지 핸드오버가 개시되는 경우 엣지 장치의 변경 과정을 도시한 것이다.13 is a diagram illustrating a change process of an edge device when an edge handover is initiated by a leaf device according to various embodiments of the present disclosure.
도 13은 핸드오버 이벤트를 미리 감지할 수 있는 경우에 리프 장치(1330)가 핸드오버의 주체로써 동작하는 실시예에 대한 것이다.13 illustrates an embodiment in which the leaf device 1330 operates as a handover subject when a handover event can be detected in advance.
다양한 실시예에 따르면, 동작 1350에서, 제1엣지 장치(1310)는 리프 장치(1330)와 홈 네트워크 상에서 연결되어, 엣지 컴퓨팅 서비스를 수행할 수 있다.According to various embodiments, in operation 1350 , the first edge device 1310 may be connected to the leaf device 1330 on a home network to perform an edge computing service.
다양한 실시예에 따르면, 동작 1360에서, 제1엣지 장치(1310)는 핸드오버 이벤트를 감지하고, 핸드오버 이벤트 정보를 리프 장치(1330)에 전송할 수 있다. According to various embodiments, in operation 1360 , the first edge device 1310 may detect a handover event and transmit handover event information to the leaf device 1330 .
다양한 실시예에 따르면, 동작 1362에서, 리프 장치(1330)는 제1엣지 장치(1310)에서 전송(또는 브로드캐스팅)되는 핸드오버 이벤트 정보에 따라, 핸드오버 이벤트를 확인할 수 있다. 다른 실시예에 따르면, 리프 장치(1330)는 제1엣지 장치(1310)와 socket 통신이 되지 않거나, alive 패킷이 도달하지 않음에 따라 전송 프로토콜(transmission protocol) 상의 연결 종료가 감지되는 경우 제1엣지 장치(1310)가 엣지 컴퓨팅 서비스의 수행이 불가능한 것으로 확인할 수 있다. 이 경우, 동작 1360은 생략될 수도 있다.According to various embodiments, in operation 1362 , the leaf device 1330 may identify a handover event according to handover event information transmitted (or broadcast) from the first edge device 1310 . According to another embodiment, when the leaf device 1330 does not perform socket communication with the first edge device 1310 or a connection termination on a transmission protocol is sensed as an alive packet does not arrive, the first edge device 1330 It may be determined that the device 1310 cannot perform the edge computing service. In this case, operation 1360 may be omitted.
다양한 실시예에 따르면, 동작 1370에서, 리프 장치(1330)는 제1엣지 장치(1310)가 엣지 컴퓨팅 서비스를 수행할 수 없음을 확인하고, IoT 서버(1340)에 서비스 요청을 전송할 수 있다. 예를 들어, 리프 장치(1330)가 IP 카메라인 경우 리프 장치(1330)에서 획득한 영상 데이터와 관련된 서비스인 AI(artificial intelligence) 서비스는 네트워크 내의 엣지 장치 및/또는 IoT 서버(1340) 상에서 수행될 수 있다. 리프 장치(1330)는 엣지 컴퓨팅 서비스 또는 클라우드 컴퓨팅 서비스의 요청을 IoT 서버(1340)로 전송할 수 있다.According to various embodiments, in operation 1370 , the leaf device 1330 may confirm that the first edge device 1310 cannot perform the edge computing service, and may transmit a service request to the IoT server 1340 . For example, when the leaf device 1330 is an IP camera, an artificial intelligence (AI) service, which is a service related to image data acquired from the leaf device 1330, is performed on the edge device and/or IoT server 1340 in the network. can The leaf device 1330 may transmit a request for an edge computing service or a cloud computing service to the IoT server 1340 .
다양한 실시예에 따르면, 동작 1372에서, IoT 서버(1340)는 데이터베이스에서 리프 장치(1330)와 동일한 계정 및/또는 위치로 등록된 적어도 하나의 엣지 장치를 확인하고, 해당 엣지 장치의 동작 상태를 확인할 수 있다. 여기서, 동작 상태는 확인된 제2엣지 장치(1320)의 엣지 모드가 활성화 되어 있는지, 제공할 수 있는 서비스가 무엇인지, 리프 장치(1330)와 추가적으로 연결될 수 있는지 여부, 제2엣지 장치(1320)의 물리적 리소스(예: 프로세서, 메모리 가용 리소스), IP주소, OCF(open connectivity foundation) capability 와 같은 제2엣지 장치(1320)의 capability를 포함할 수 있다. According to various embodiments, in operation 1372 , the IoT server 1340 checks at least one edge device registered with the same account and/or location as the leaf device 1330 in the database, and checks the operating state of the corresponding edge device. can Here, the operation state is whether the checked edge mode of the second edge device 1320 is activated, what services can be provided, whether it can be additionally connected to the leaf device 1330, and the second edge device 1320 of the physical resource (eg, processor, memory available resource), IP address, and capability of the second edge device 1320 such as open connectivity foundation (OCF) capability.
다양한 실시예에 따르면, IoT 서버(1340)는 리프 장치(1330)와 동일한 홈 네트워크에 위치하고, 엣지 컴퓨팅 서비스가 가능한 복수의 엣지 장치가 확인되는 경우, 각 엣지 장치의 디바이스 정보(또는 클라우드 파라미터) 및/또는 동작 상태 정보(또는 로컬 파라미터)에 기초하여 엣지 컴퓨팅 서비스를 핸드오버 받기에 적절한 하나의 엣지 장치를 결정할 수 있다. 또는, 엣지 컴퓨팅 서비스가 가능한 복수의 엣지 장치의 리스트를 사용자 장치로 전송하고, 사용자 장치의 선택에 따라 하나의 장치를 제2엣지 장치(1320)로 결정할 수 있다.According to various embodiments, the IoT server 1340 is located in the same home network as the leaf device 1330, and when a plurality of edge devices capable of edge computing services are identified, device information (or cloud parameters) of each edge device and /or it is possible to determine one edge device suitable for receiving an edge computing service handover based on the operation state information (or local parameter). Alternatively, a list of a plurality of edge devices capable of edge computing service may be transmitted to the user device, and one device may be determined as the second edge device 1320 according to the selection of the user device.
다양한 실시예에 따르면, 동작 1380에서, IoT 서버(1340)는 제2엣지 장치(1320)가 리프 장치(1330)에서 요청한 서비스를 수행할 수 있는 지 확인할 수 있다. 제2엣지 장치(1320)가 서비스를 수행할 수 있는 경우, 동작 1382에서, IoT 서버(1340)는 제2엣지 장치(1320)의 디바이스 정보를 리프 장치(1330)에 전송하여, 제2엣지 장치(1320)와 연결하여 엣지 컴퓨팅 서비스를 수행하도록 통지할 수 있다.According to various embodiments, in operation 1380 , the IoT server 1340 may check whether the second edge device 1320 can perform the service requested by the leaf device 1330 . When the second edge device 1320 can perform the service, in operation 1382 , the IoT server 1340 transmits device information of the second edge device 1320 to the leaf device 1330 , and the second edge device In connection with 1320 , it may notify to perform edge computing services.
다양한 실시예에 따르면, 동작 1384에서, 리프 장치(1330)는 제2엣지 장치(1320)에 엣지 연결 요청을 전송할 수 있다. 동작 1386에서, 리프 장치(1330)는 제2엣지 장치(1320)와 연결되어, 엣지 컴퓨팅 서비스를 수행할 수 있다.According to various embodiments, in operation 1384 , the leaf device 1330 may transmit an edge connection request to the second edge device 1320 . In operation 1386 , the leaf device 1330 may be connected to the second edge device 1320 to perform an edge computing service.
이와 달리, 제2엣지 장치(1320)가 리프 장치(1330)에서 요청한 서비스를 수행할 수 없는 경우, 동작 1390에서, IoT 서버(1340)는 리프 장치(1330)에 IoT 서버(1340)로 연결하여 클라우드 컴퓨팅 서비스를 수행하도록 통지할 수 있다. 동작 1392에서 리프 장치(1330)는 IoT 서버(1340)와 연결되어, 획득한 데이터(예: 영상 스트리밍)를 엣지 장치에 전송하지 않고, 바로 IoT 서버(1340)로 전송하여 클라우드 컴퓨팅 서비스가 제공될 수 있다.On the other hand, if the second edge device 1320 cannot perform the service requested by the leaf device 1330, in operation 1390, the IoT server 1340 connects to the leaf device 1330 as the IoT server 1340. It may notify you to perform cloud computing services. In operation 1392, the leaf device 1330 is connected to the IoT server 1340, and without transmitting the acquired data (eg, video streaming) to the edge device, it is transmitted directly to the IoT server 1340 to provide a cloud computing service. can
도 14는 다양한 실시예에 따른 IoT 서버에 의해 엣지 핸드오버가 개시되는 경우 엣지 장치의 변경 과정을 도시한 것이다.14 is a diagram illustrating a process of changing an edge device when an edge handover is initiated by an IoT server according to various embodiments of the present disclosure.
도 14는 핸드오버 이벤트를 미리 감지할 수 없는 경우에 리프 장치(1430) 또는 IoT 서버(1440)가 핸드오버의 주체로써 동작하는 실시예에 대한 것이다.14 illustrates an embodiment in which the leaf device 1430 or the IoT server 1440 operates as a subject of handover when a handover event cannot be detected in advance.
다양한 실시예에 따르면, 동작 1450에서, 제1엣지 장치(1410)는 리프 장치(1430)와 홈 네트워크 상에서 연결되어, 엣지 컴퓨팅 서비스를 수행할 수 있다.According to various embodiments, in operation 1450 , the first edge device 1410 may be connected to the leaf device 1430 on a home network to perform an edge computing service.
본 실시예에서는 네트워크 연결 해제, 전원 오프와 같이 제1엣지 장치(1410)가 갑작스럽게 엣지 컴퓨팅 서비스가 불가능한 상황이 발생하여, 핸드오버 이벤트를 미리 감지하지 못하는 상황일 수 있다. In the present embodiment, a situation in which an edge computing service is suddenly impossible occurs in the first edge device 1410, such as disconnection of a network connection or power off, and thus a handover event may not be detected in advance.
다양한 실시예에 따르면, 동작 1460에서, 제1엣지 장치(1410)는 엣지 컴퓨팅 서비스에 사용되는 네트워크(예: Wi-Fi 네트워크)와 연결이 해제되는 경우, 다른 네트워크(예: 셀룰러 네트워크)를 이용해 IoT 서버(1440)에 핸드오버 이벤트 정보를 전송할 수 있다. 다른 실시예에 따르면, 제1엣지 장치(1410)가 전원 오프와 같이 다른 네트워크에 접속이 불가능한 상황인 경우, 동작 1460은 생략될 수 있으며, 제2엣지 장치(1420), 리프 장치(1430) 또는 IoT 서버(1440)에 의해 핸드오버 이벤트가 감지될 수 있다.According to various embodiments, in operation 1460, when the first edge device 1410 is disconnected from the network (eg, Wi-Fi network) used for the edge computing service, it uses another network (eg, cellular network) Handover event information may be transmitted to the IoT server 1440 . According to another embodiment, when the first edge device 1410 is in a situation in which access to another network is impossible, such as when the power is turned off, operation 1460 may be omitted, and the second edge device 1420, the leaf device 1430, or A handover event may be detected by the IoT server 1440 .
다양한 실시예에 따르면, 동작 1462에서, IoT 서버(1440)는 데이터베이스에서 리프 장치(1430)와 동일한 계정 및/또는 위치로 등록된 적어도 하나의 엣지 장치를 확인하고, 해당 엣지 장치의 동작 상태를 확인할 수 있다. 여기서, 동작 상태는 제2엣지 장치(1420)의 capability를 포함할 수 있다. According to various embodiments, in operation 1462, the IoT server 1440 checks at least one edge device registered with the same account and/or location as the leaf device 1430 in the database, and checks the operating state of the corresponding edge device. can Here, the operating state may include the capability of the second edge device 1420 .
다양한 실시예에 따르면, 동작 1470에서, IoT 서버(1440)는 제2엣지 장치(1420)가 리프 장치(1430)에서 요청한 서비스를 수행할 수 있는 지 확인할 수 있다. 제2엣지 장치(1420)가 서비스를 수행할 수 있는 경우, 동작 1472에서, IoT 서버(1440)는 제2엣지 장치(1420)의 디바이스 정보를 리프 장치(1430)에 전송하여, 제2엣지 장치(1420)와 연결하여 엣지 컴퓨팅 서비스를 수행하도록 통지할 수 있다.According to various embodiments, in operation 1470 , the IoT server 1440 may check whether the second edge device 1420 can perform the service requested by the leaf device 1430 . When the second edge device 1420 can perform the service, in operation 1472 , the IoT server 1440 transmits device information of the second edge device 1420 to the leaf device 1430 , and the second edge device In connection with 1420, it may notify to perform edge computing service.
다양한 실시예에 따르면, 동작 1474에서, 리프 장치(1430)는 제2엣지 장치(1420)에 엣지 연결 요청을 전송할 수 있다. 동작 1476에서, 리프 장치(1430)는 제2엣지 장치(1420)와 연결되어, 엣지 컴퓨팅 서비스를 수행할 수 있다. 동작 1480에서, IoT 서버(1440)는 리프 장치(1430)가 제2엣지 장치(1420)와 연결됨에 따라 리프-엣지 연결 정보를 업데이트 할 수 있다.According to various embodiments, in operation 1474 , the leaf device 1430 may transmit an edge connection request to the second edge device 1420 . In operation 1476 , the leaf device 1430 may be connected to the second edge device 1420 to perform an edge computing service. In operation 1480 , the IoT server 1440 may update leaf-edge connection information as the leaf device 1430 is connected to the second edge device 1420 .
이와 달리, 제2엣지 장치(1420)가 리프 장치(1430)에서 요청한 서비스를 수행할 수 없는 경우, 동작 1490에서, IoT 서버(1440)는 리프 장치(1430)에 IoT 서버(1440)로 연결하여 클라우드 컴퓨팅 서비스를 수행하도록 통지할 수 있다. 동작 1492에서 리프 장치(1430)는 IoT 서버(1440)와 연결되어, 획득한 데이터(예: 영상 스트리밍)를 엣지 장치에 전송하지 않고, 바로 IoT 서버(1440)로 전송하여 클라우드 컴퓨팅 서비스가 제공될 수 있다.On the other hand, if the second edge device 1420 cannot perform the service requested by the leaf device 1430, in operation 1490, the IoT server 1440 connects to the leaf device 1430 as the IoT server 1440. It may notify you to perform cloud computing services. In operation 1492, the leaf device 1430 is connected to the IoT server 1440, and without transmitting the acquired data (eg, video streaming) to the edge device, it is transmitted directly to the IoT server 1440 to provide a cloud computing service. can
다른 실시예에 따르면, 리프 장치(1430)가 제2엣지 장치(1420)와 연결이 이루어지지 않거나, IoT 서버(1440)로부터 응답이 없는 경우, 리프 장치(1430)가 로컬 디스커버리 후 발견되는 엣지 장치에 서비스 연결을 요청하거나, 발견된 엣지 장치의 정보를 IoT 서버(1440)에 전송하여 서비스 연결을 요청할 수 있다.According to another embodiment, when the leaf device 1430 is not connected to the second edge device 1420 or there is no response from the IoT server 1440, the leaf device 1430 is an edge device found after local discovery. A service connection may be requested, or information of the discovered edge device may be transmitted to the IoT server 1440 to request a service connection.
도 15는 다양한 실시예에 따른 제1엣지 장치에서 수행 중인 엣지 컴퓨팅 서비스 중 일부를 제2엣지 장치에 핸드오버 하는 과정을 도시한 것이다. 15 illustrates a process of handing over some of the edge computing services being performed by the first edge device to the second edge device according to various embodiments of the present disclosure.
다양한 실시예에 따르면, 핸드오버 이벤트에 따라 제1엣지 장치(1510)와 리프 장치(1530) 간에 수행 중인 엣지 컴퓨팅 서비스 중 일부는 제2엣지 장치(1520)로 핸드오버 하고, 나머지 일부는 제1엣지 장치(1510) 상에서 계속해서 수행할 수 있다.According to various embodiments, some of the edge computing services being performed between the first edge device 1510 and the leaf device 1530 are handed over to the second edge device 1520 according to a handover event, and the remaining part is handed over to the first edge device 1520. It may continue to be performed on the edge device 1510 .
다양한 실시예에 따르면, 동작 1550에서, 제1엣지 장치(1510)는 리프 장치(1530)와 홈 네트워크 상에서 연결되어, 엣지 컴퓨팅 서비스를 수행할 수 있다. 예를 들어, 리프 장치(1530)는 영상 데이터를 실시간으로 획득하는 IP 카메라 장치일 수 있고, 획득한 영상 데이터를 통해 제공할 수 있는 서비스는 vision 인식 서비스 및 자연어 이해(natural language understanding) 서비스를 포함할 수 있다.According to various embodiments, in operation 1550 , the first edge device 1510 may be connected to the leaf device 1530 on a home network to perform an edge computing service. For example, the leaf device 1530 may be an IP camera device that acquires image data in real time, and services that can be provided through the acquired image data include a vision recognition service and a natural language understanding service. can do.
다양한 실시예에 따르면, 동작 1560에서, 제2엣지 장치(1520)가 홈 네트워크에 연결되고, 엣지 모드가 활성화 될 수 있다. 여기서, 제2엣지 장치(1520)는 제1엣지 장치(1510)에서 수행 중인 서비스 중 적어도 일부를 수행할 수 있으며, 해당 서비스를 위해 필요한 모듈을 설치한 장치일 수 있다.According to various embodiments, in operation 1560 , the second edge device 1520 may be connected to the home network, and an edge mode may be activated. Here, the second edge device 1520 may perform at least some of the services being performed by the first edge device 1510 , and may be a device in which a module necessary for the corresponding service is installed.
다양한 실시예에 따르면, 동작 1562에서, 제1엣지 장치(1510)는 제2엣지 장치(1520)를 확인할 수 있다. 제1엣지 장치(1510)는 제2엣지 장치(1520)에서 브로드캐스팅 신호를 감지하여 제2엣지 장치(1520)가 홈 네트워크 상에 접속 하였는지, 엣지 모드를 활성화 하였는지 확인할 수 있다.According to various embodiments, in operation 1562 , the first edge device 1510 may identify the second edge device 1520 . The first edge device 1510 may detect a broadcasting signal from the second edge device 1520 and check whether the second edge device 1520 has connected to the home network or activated the edge mode.
다양한 실시예에 따르면, 동작 1570에서, 제1엣지 장치(1510)는 제1엣지 장치(1510)의 정보 및 수행 중인 엣지 컴퓨팅 서비스에 대한 정보를 제2엣지 장치(1520)에 전송할 수 있다. 예를 들어, 제1엣지 장치(1510)는 제1엣지 장치(1510)에서 지원할 수 있는 기능 및 디바이스 성능 capability를 네트워크 상에 브로드캐스팅 할 수 있다.According to various embodiments, in operation 1570 , the first edge device 1510 may transmit information on the first edge device 1510 and information on the edge computing service being performed to the second edge device 1520 . For example, the first edge device 1510 may broadcast functions and device performance capabilities that can be supported by the first edge device 1510 on a network.
다양한 실시예에 따르면, 동작 1572에서, 제2엣지 장치(1520)는 제2엣지 장치(1520)의 정보를 제1엣지 장치(1510)에 전달할 수 있다. 예를 들어, 제2엣지 장치(1520)는 제1엣지 장치(1510)에서 브로드캐스팅 되는 신호에 대한 응답으로, 제2엣지 장치(1520)의 capability 정보를 제1엣지 장치(1510)에 전송할 수 있다.According to various embodiments, in operation 1572 , the second edge device 1520 may transmit information of the second edge device 1520 to the first edge device 1510 . For example, the second edge device 1520 may transmit capability information of the second edge device 1520 to the first edge device 1510 in response to a signal broadcast from the first edge device 1510 . there is.
다양한 실시예에 따르면, 동작 1574에서, 제1엣지 장치(1510) 및 제2엣지 장치(1520)는 제1엣지 장치(1510)의 capability 정보 및 제2엣지 장치(1520)의 capability 정보에 기초하여 각 장치에서 수행할 서비스를 결정할 수 있다. 예를 들어, 제1엣지 장치(1510)에서 수행 중인 vision 인식 서비스 및 자연어 이해 서비스 중 vision 인식 서비스는 제1엣지 장치(1510)에서 계속 수행하고, 자연어 이해 서비스는 제2엣지 장치(1520)로 핸드오버 하는 것으로 결정할 수 있다. 이 경우, 제1엣지 장치(1510) 및 제2엣지 장치(1520)는 각 장치의 가용 리소스, 설치된 모듈(예: 디바이스 모듈, 서비스 모듈), 이동성(mobility), 전원 상태 등에 기초하여, 각 서비스 중 각 장치에 더 적합한 서비스를 결정할 수 있다.According to various embodiments, in operation 1574 , the first edge device 1510 and the second edge device 1520 are configured based on the capability information of the first edge device 1510 and the capability information of the second edge device 1520 . You can decide which service to perform on each device. For example, among the vision recognition service and natural language understanding service being performed by the first edge device 1510 , the vision recognition service is continuously performed by the first edge device 1510 , and the natural language understanding service is transferred to the second edge device 1520 . It can be decided by handover. In this case, the first edge device 1510 and the second edge device 1520 perform each service based on available resources of each device, installed modules (eg, device modules, service modules), mobility, power status, etc. You can decide which service is more suitable for each device.
다양한 실시예에 따르면, 동작 1578에서, 제1엣지 장치(1510)는 수행 중인 서비스 중 일부(예: 자연어 이해 서비스)에 대해 엣지 연결 변경 요청을 제2엣지 장치(1520)의 정보와 함께 리프 장치(1530)에 전송할 수 있다. According to various embodiments, in operation 1578 , the first edge device 1510 makes an edge connection change request for some of the services being performed (eg, natural language understanding service) along with the information of the second edge device 1520 and the leaf device. 1530 may be sent.
다양한 실시예에 따르면, 동작 1578에서, 리프 장치(1530)는 엣지 연결 변경 요청에 따라 제2엣지 장치(1520)에 정해진 서비스(예: 자연어 이해 서비스)에 대한 엣지 연결 요청을 전송하고, 동작 1580에서, 제2엣지 장치(1520) 및 리프 장치(1530)는 서로 연결되어 정해진 서비스를 수행할 수 있다. 동작 1582에서, 제1엣지 장치(1510) 및 리프 장치(1530)는 제2엣지 장치(1520)로 핸드오버 한 서비스(예: 자연어 이해 서비스)를 제외하고 제1엣지 장치(1510)에서 계속 수행하기로 결정된 서비스(예: vision 인식 서비스)를 계속 수행할 수 있다.According to various embodiments, in operation 1578 , the leaf device 1530 transmits an edge connection request for a service (eg, natural language understanding service) determined to the second edge device 1520 according to the edge connection change request, and operation 1580 . , the second edge device 1520 and the leaf device 1530 may be connected to each other to perform a predetermined service. In operation 1582, the first edge device 1510 and the leaf device 1530 continue to perform in the first edge device 1510 except for the service (eg, natural language understanding service) handed over to the second edge device 1520 . It can continue to perform the service it has decided to do (eg, a vision recognition service).
다양한 실시예에 따르면, 동작 1584에서, 제1엣지 장치(1510) 및/또는 제2엣지 장치(1520)는 엣지 연결이 변경되었음을 IoT 서버(1540)에 통지하고, 동작 1590에서, IoT 서버(1540)는 엣지-리프 연결을 업데이트 할 수 있다.According to various embodiments, in operation 1584, the first edge device 1510 and/or the second edge device 1520 notifies the IoT server 1540 that the edge connection has been changed, and in operation 1590, the IoT server 1540 ) can update edge-leaf connections.
도 16은 다양한 실시예에 따른 제1엣지 장치에서 수행 중인 엣지 컴퓨팅 서비스 중 일부를 제2엣지 장치에 핸드오버 하는 과정을 도시한 것이다.16 illustrates a process of handing over some of the edge computing services being performed by the first edge device to the second edge device according to various embodiments of the present disclosure.
다양한 실시예에 따르면, 동작 1650에서, 제1엣지 장치(1610)는 리프 장치(1630)와 홈 네트워크 상에서 연결되어, 엣지 컴퓨팅 서비스를 수행할 수 있다. 예를 들어, 리프 장치(1630)는 영상 데이터를 실시간으로 획득하는 IP 카메라 장치일 수 있고, 획득한 영상 데이터를 통해 제공할 수 있는 서비스는 vision 인식 서비스 및 자연어 이해(natural language understanding) 서비스를 포함할 수 있다.According to various embodiments, in operation 1650 , the first edge device 1610 may be connected to the leaf device 1630 on a home network to perform an edge computing service. For example, the leaf device 1630 may be an IP camera device that acquires image data in real time, and services that can be provided through the acquired image data include a vision recognition service and a natural language understanding service. can do.
다양한 실시예에 따르면, 동작 1660에서, 제2엣지 장치(1620)가 홈 네트워크에 연결되고, 엣지 모드가 활성화 될 수 있다. According to various embodiments, in operation 1660 , the second edge device 1620 may be connected to the home network, and an edge mode may be activated.
다양한 실시예에 따르면, 동작 1662에서, 제2엣지 장치(1620)는 제2엣지 장치(1620)의 정보를 IoT 서버(1640)에 전송할 수 있다. 예를 들어, 제2엣지 장치(1620)는 제2엣지 장치(1620)의 디바이스 정보, 리소스 상태, 설치된 모듈, 엣지 모드의 활성화 상태를 포함하는 정보를 IoT 서버(1640)에 전송할 수 있다.According to various embodiments, in operation 1662 , the second edge device 1620 may transmit information on the second edge device 1620 to the IoT server 1640 . For example, the second edge device 1620 may transmit information including device information of the second edge device 1620 , resource status, installed modules, and edge mode activation status to the IoT server 1640 .
다양한 실시예에 따르면, 동작 1664에서, IoT 서버(1640)는 제1엣지 장치(1610) 및 제2엣지 장치(1620)의 정보를 확인할 수 있다. 동작 1666에서, IoT 서버(1640)는 제1엣지 장치(1610)의 capability 정보 및 제2엣지 장치(1620)의 capability 정보에 기초하여 각 장치에서 수행할 서비스를 결정할 수 있다. 예를 들어, 제1엣지 장치(1610)에서 수행 중인 vision 인식 서비스 및 자연어 이해 서비스 중 vision 인식 서비스는 제1엣지 장치(1610)에서 계속 수행하고, 자연어 이해 서비스는 제2엣지 장치(1620)로 핸드오버 하는 것으로 결정할 수 있다. IoT 서버(1640)는 제1엣지 장치(1610) 및 제2엣지 장치(1620)는 각 장치의 가용 리소스, 설치된 모듈(예: 디바이스 모듈, 서비스 모듈), 이동성(mobility), 전원 상태 등에 기초하여, 각 서비스 중 각 장치에 더 적합한 서비스를 결정할 수 있다.According to various embodiments, in operation 1664 , the IoT server 1640 may check information of the first edge device 1610 and the second edge device 1620 . In operation 1666 , the IoT server 1640 may determine a service to be performed by each device based on capability information of the first edge device 1610 and capability information of the second edge device 1620 . For example, among the vision recognition service and natural language understanding service being performed by the first edge device 1610, the vision recognition service is continuously performed by the first edge device 1610, and the natural language understanding service is transferred to the second edge device 1620. It can be decided by handover. The IoT server 1640 includes the first edge device 1610 and the second edge device 1620 based on available resources of each device, installed modules (eg, device modules, service modules), mobility, power status, etc. , it is possible to determine which of the services is more suitable for each device.
다양한 실시예에 따르면, 동작 1670에서, IoT 서버(1640)는 각 장치에서 수행할 서비스에 대한 정보를 리프 장치(1630)에 전송할 수 있다. 동작 1672에서, 리프 장치(1630)는 엣지 연결 변경 요청에 따라 제2엣지 장치(1620)에 정해진 서비스(예: 자연어 이해 서비스)에 대한 엣지 연결 요청을 전송하고, 동작 1674에서, 제2엣지 장치(1620) 및 리프 장치(1630)는 서로 연결되어 정해진 서비스를 수행할 수 있다. 동작 1676에서, 제1엣지 장치(1610) 및 리프 장치(1630)는 제2엣지 장치(1620)로 핸드오버 한 서비스(예: 자연어 이해 서비스)를 제외하고 제1엣지 장치(1610)에서 계속 수행하기로 결정된 서비스(예: vision 인식 서비스)를 계속 수행할 수 있다. 동작 1680에서, IoT 서버(1640)는 엣지-리프 연결을 업데이트 할 수 있다.According to various embodiments, in operation 1670 , the IoT server 1640 may transmit information about a service to be performed by each device to the leaf device 1630 . In operation 1672, the leaf device 1630 transmits an edge connection request for a predetermined service (eg, natural language understanding service) to the second edge device 1620 according to the edge connection change request, and in operation 1674, the second edge device 1620 and the leaf device 1630 may be connected to each other to perform a predetermined service. In operation 1676, the first edge device 1610 and the leaf device 1630 continue to perform in the first edge device 1610 except for a service handed over to the second edge device 1620 (eg, natural language understanding service). It can continue to perform the service it has decided to do (eg, a vision recognition service). In operation 1680, the IoT server 1640 may update the edge-leaf connection.
다양한 실시예에 따른 전자 장치는, 통신 모듈, 메모리, 및 상기 통신 모듈 및 상기 메모리와 작동적으로(operatively) 연결되는 프로세서를 포함하고, 상기 프로세서는, 로컬 네트워크 상의 제1외부 장치 및 제2외부 장치에서 수행 중인 엣지 컴퓨팅 서비스의 핸드오버 이벤트를 확인하고, 상기 전자 장치가 상기 엣지 컴퓨팅 서비스를 수행할 수 있는 지 확인하고, 및 상기 전자 장치가 상기 엣지 컴퓨팅 서비스를 수행할 수 있는 경우, 상기 엣지 컴퓨팅 서비스의 리프 장치로 동작하는 상기 제2외부 장치와 연결하여 상기 엣지 컴퓨팅 서비스를 수행하도록 설정될 수 있다.An electronic device according to various embodiments includes a communication module, a memory, and a processor operatively connected to the communication module and the memory, wherein the processor includes a first external device and a second external device on a local network. Check the handover event of the edge computing service being performed by the device, check whether the electronic device can perform the edge computing service, and when the electronic device can perform the edge computing service, the edge computing service It may be configured to perform the edge computing service in connection with the second external device operating as a leaf device of the computing service.
다양한 실시예에 따르면, 상기 프로세서는, 상기 통신 모듈을 통해 상기 제1외부 장치, 상기 제2외부 장치 또는 외부 서버 중 적어도 하나로부터 상기 핸드오버 이벤트를 수신하도록 설정될 수 있다.According to various embodiments, the processor may be configured to receive the handover event from at least one of the first external device, the second external device, and the external server through the communication module.
다양한 실시예에 따르면, 상기 프로세서는, 상기 제1외부 장치가 상기 제2외부 장치와 상기 엣지 컴퓨팅 서비스를 수행하는 동안, 상기 통신 모듈을 이용해 상기 제1외부 장치로부터 정해진 신호를 수신하고, 및 상기 제1외부 장치로부터 상기 정해진 신호가 수신되지 않는 경우, 상기 핸드오버 이벤트가 발생한 것으로 판단하도록 설정될 수 있다.According to various embodiments, the processor receives a predetermined signal from the first external device using the communication module while the first external device performs the edge computing service with the second external device, and When the predetermined signal is not received from the first external device, it may be configured to determine that the handover event has occurred.
다양한 실시예에 따르면, 상기 프로세서는, 상기 핸드오버 이벤트에 대응하여, 상기 제2외부 장치에 상기 제1외부 장치와 연결을 해제하고 상기 전자 장치와 상기 엣지 컴퓨팅 서비스를 위한 연결 수립을 포함하는 엣지 컴퓨팅 서비스 변경 요청을 전송하도록 설정될 수 있다.According to various embodiments, the processor, in response to the handover event, disconnects the connection from the first external device to the second external device and an edge including the electronic device and the establishment of a connection for the edge computing service Computing service may be configured to send a change request.
다양한 실시예에 따르면, 상기 프로세서는, 상기 프로세서 및/또는 상기 메모리의 가용 리소스, 엣지 모드의 활성화 여부, 또는 상기 제1외부 장치와 상기 제2외부 장치 간에 수행 중인 엣지 컴퓨팅 서비스에 대응하는 모듈의 설치 여부 중 적어도 일부에 기초하여, 상기 전자 장치가 상기 엣지 컴퓨팅 서비스를 수행할 수 있는 지 확인하도록 설정될 수 있다.According to various embodiments, the processor may include available resources of the processor and/or the memory, whether an edge mode is activated, or a module corresponding to an edge computing service being performed between the first external device and the second external device. It may be configured to check whether the electronic device can perform the edge computing service based on at least a part of whether or not it is installed.
다양한 실시예에 따르면, 상기 프로세서는, 상기 전자 장치가 상기 엣지 컴퓨팅 서비스를 수행할 수 없는 것으로 확인되는 경우, 상기 제2외부 장치가 다른 엣지 장치 또는 외부 서버와 연결되어 서비스를 수행하도록 상기 제1외부 장치, 상기 제2외부 장치 또는 외부 서버 중 적어도 하나에 전송하도록 설정될 수 있다.According to various embodiments, when it is determined that the electronic device cannot perform the edge computing service, the processor is configured to connect the second external device to another edge device or an external server to perform the service. It may be configured to transmit to at least one of an external device, the second external device, or an external server.
다양한 실시예에 따르면, 상기 프로세서는, 상기 제1외부 장치와 상기 제2외부 장치 간에 수행 중인 엣지 컴퓨팅 서비스 중 일부를 수행하도록 설정될 수 있다.According to various embodiments, the processor may be configured to perform some of edge computing services being performed between the first external device and the second external device.
다양한 실시예에 따르면, 상기 프로세서는, 상기 제2외부 장치와 연결되어 상기 엣지 컴퓨팅 서비스를 수행하는 경우, 외부 서버에 엣지 컴퓨팅 서비스 변경을 통지하도록 설정될 수 있다.According to various embodiments, when the processor is connected to the second external device to perform the edge computing service, the processor may be configured to notify an external server of an edge computing service change.
다양한 실시예에 따른 전자 장치는, 통신 모듈, 메모리, 및 상기 통신 모듈 및 상기 메모리와 작동적으로(operatively) 연결되는 프로세서를 포함하고, 상기 프로세서는, 상기 통신 모듈을 통해 연결된 제1외부 장치로부터 수신되는 데이터에 기초하여, 엣지 컴퓨팅 서비스를 수행하고, 상기 엣지 컴퓨팅 서비스의 핸드오버 이벤트를 감지하고, 상기 핸드오버 이벤트의 감지에 대응하여, 상기 통신 모듈을 통해 상기 제1외부 장치와 연결되어 상기 엣지 컴퓨팅 서비스를 수행할 수 있는 제2외부 장치를 확인하고, 및 상기 확인된 제2외부 장치와 관련된 정보 및 상기 핸드오버 이벤트와 관련된 정보를 상기 제1외부 장치, 상기 제2외부 장치 또는 외부 서버 중 적어도 하나에 전송하도록 설정될 수 있다.An electronic device according to various embodiments includes a communication module, a memory, and a processor operatively connected to the communication module and the memory, wherein the processor is Based on the received data, an edge computing service is performed, a handover event of the edge computing service is detected, and in response to the detection of the handover event, it is connected to the first external device through the communication module and the A second external device capable of performing an edge computing service is identified, and information related to the identified second external device and information related to the handover event is provided to the first external device, the second external device, or an external server. It may be set to transmit to at least one of
다양한 실시예에 따르면, 상기 전자 장치의 움직임을 감지하기 위한 센서를 더 포함하고, 상기 프로세서는, 상기 센서를 이용하여 획득한 상기 전자 장치의 움직임 또는 상기 통신 모듈을 통해 수신되는 신호의 세기 중 적어도 하나에 기초하여, 상기 핸드오버 이벤트를 감지하도록 설정될 수 있다.According to various embodiments of the present disclosure, further comprising a sensor for detecting a movement of the electronic device, wherein the processor includes at least one of the movement of the electronic device acquired using the sensor or the strength of a signal received through the communication module Based on one, it may be configured to detect the handover event.
다양한 실시예에 따르면, 상기 프로세서는, 상기 프로세서 및/또는 상기 메모리의 가용 리소스 또는 상기 전자 장치의 전력 상태 중 적어도 하나에 기초하여, 상기 핸드오버 이벤트를 감지하도록 설정될 수 있다.According to various embodiments, the processor may be configured to detect the handover event based on at least one of an available resource of the processor and/or the memory or a power state of the electronic device.
다양한 실시예에 따르면, 상기 프로세서는, 상기 제2외부 장치의 가용 리소스, 엣지 모드의 활성화 여부, 또는 상기 엣지 컴퓨팅 서비스에 대응하는 모듈의 설치 여부 중 적어도 일부에 기초하여, 상기 제2외부 장치가 상기 엣지 컴퓨팅 서비스를 수행할 수 있는 지 확인하도록 설정될 수 있다.According to various embodiments, the processor is configured to enable the second external device to be configured based on at least a part of available resources of the second external device, whether an edge mode is activated, or whether a module corresponding to the edge computing service is installed. It may be configured to check whether the edge computing service can be performed.
다양한 실시예에 따르면, 상기 프로세서는, 상기 제2외부 장치가 상기 엣지 컴퓨팅 서비스를 수행할 수 있는지 여부와 관련된 정보를 상기 제2외부 장치 또는 상기 외부 서버로부터 수신하도록 설정될 수 있다.According to various embodiments, the processor may be configured to receive information related to whether the second external device can perform the edge computing service from the second external device or the external server.
다양한 실시예에 따르면, 상기 프로세서는, 상기 엣지 컴퓨팅 서비스에 사용되는 제1네트워크와 연결이 해제되는 경우, 제2네트워크를 통해 상기 확인된 제2외부 장치와 관련된 정보 및 상기 핸드오버 이벤트와 관련된 정보를 상기 외부 서버에 전송하도록 설정될 수 있다.According to various embodiments, when the processor is disconnected from the first network used for the edge computing service, information related to the second external device identified through a second network and information related to the handover event may be set to be transmitted to the external server.
다양한 실시예에 따른 전자 장치는, 통신 모듈, 센서, 및 상기 통신 모듈 및 상기 센서와 작동적으로(operatively) 연결되는 프로세서를 포함하고, 상기 프로세서는, 상기 센서를 통해 획득되는 데이터를 상기 통신 모듈을 통해 제1외부 장치로 전송하여 엣지 컴퓨팅 서비스를 수행하고, 상기 엣지 컴퓨팅 서비스의 핸드오버 이벤트를 확인하고, 상기 핸드오버 이벤트에 대응하여, 상기 엣지 컴퓨팅 서비스를 위해 연결 가능한 제2외부 장치를 확인하고, 및 상기 제2외부 장치에 상기 엣지 컴퓨팅 서비스를 위한 연결을 요청하도록 설정될 수 있다.An electronic device according to various embodiments includes a communication module, a sensor, and a processor operatively connected to the communication module and the sensor, wherein the processor transmits data obtained through the sensor to the communication module transmits to the first external device to perform the edge computing service, checks the handover event of the edge computing service, and responds to the handover event and to request a connection for the edge computing service to the second external device.
다양한 실시예에 따르면, 상기 프로세서는, 상기 통신 모듈을 통해 상기 제1외부 장치로부터 전송되는 신호의 세기에 기초하여 상기 핸드오버 이벤트를 확인하도록 설정될 수 있다.According to various embodiments, the processor may be configured to identify the handover event based on the strength of a signal transmitted from the first external device through the communication module.
다양한 실시예에 따르면, 상기 프로세서는, 상기 통신 모듈을 통해 상기 제1외부 장치, 상기 제2외부 장치 또는 IoT 서버 중 적어도 하나로부터 상기 핸드오버 이벤트와 관련된 정보를 수신하도록 설정될 수 있다.According to various embodiments, the processor may be configured to receive information related to the handover event from at least one of the first external device, the second external device, and the IoT server through the communication module.
다양한 실시예에 따르면, 상기 프로세서는, 상기 수신되는 핸드오버 이벤트와 관련된 정보에 기초하여, 상기 수행 중인 엣지 컴퓨팅 서비스 중 일부에 대한 연결을 상기 제2외부 장치에 요청하도록 설정될 수 있다.According to various embodiments, the processor may be configured to request a connection to some of the edge computing services being performed from the second external device based on the received information related to the handover event.
다양한 실시예에 따르면, 상기 프로세서는, 상기 핸드오버 이벤트에 대응하여, 상기 통신 모듈을 통해 IoT 서버에 서비스 연결 요청을 전송하고, 상기 IoT 서버로부터 상기 엣지 컴퓨팅 서비스를 수행할 상기 제2외부 장치의 정보를 수신하도록 설정될 수 있다.According to various embodiments, the processor transmits a service connection request to the IoT server through the communication module in response to the handover event, and the second external device to perform the edge computing service from the IoT server. may be configured to receive information.
다양한 실시예에 따르면, 상기 프로세서는, 상기 IoT 서버로부터 클라우드 컴퓨팅 서비스로 연결되도록 통지를 받은 경우, 상기 엣지 컴퓨팅 서비스를 중단하고, 상기 센서를 통해 획득되는 데이터를 상기 IoT 서버로 전송하도록 설정될 수 있다.According to various embodiments, when receiving a notification from the IoT server to connect to the cloud computing service, the processor may be configured to stop the edge computing service and transmit data obtained through the sensor to the IoT server there is.

Claims (15)

  1. 전자 장치에 있어서,In an electronic device,
    통신 모듈;communication module;
    메모리; 및Memory; and
    상기 통신 모듈 및 상기 메모리와 작동적으로(operatively) 연결되는 프로세서를 포함하고,a processor operatively coupled to the communication module and the memory;
    상기 프로세서는,The processor is
    로컬 네트워크 상의 제1외부 장치 및 제2외부 장치에서 수행 중인 엣지 컴퓨팅 서비스의 핸드오버 이벤트를 확인하고,Check the handover event of the edge computing service being performed by the first external device and the second external device on the local network,
    상기 전자 장치가 상기 엣지 컴퓨팅 서비스를 수행할 수 있는 지 확인하고, 및check whether the electronic device can perform the edge computing service; and
    상기 전자 장치가 상기 엣지 컴퓨팅 서비스를 수행할 수 있는 경우, 상기 엣지 컴퓨팅 서비스의 리프 장치로 동작하는 상기 제2외부 장치와 연결하여 상기 엣지 컴퓨팅 서비스를 수행하도록 설정된 전자 장치.An electronic device configured to perform the edge computing service in connection with the second external device operating as a leaf device of the edge computing service when the electronic device can perform the edge computing service.
  2. 제 1항에 있어서,The method of claim 1,
    상기 프로세서는,The processor is
    상기 통신 모듈을 통해 상기 제1외부 장치, 상기 제2외부 장치 또는 외부 서버 중 적어도 하나로부터 상기 핸드오버 이벤트를 수신하도록 설정된 전자 장치.an electronic device configured to receive the handover event from at least one of the first external device, the second external device, and an external server through the communication module.
  3. 제 1항에 있어서,The method of claim 1,
    상기 프로세서는,The processor is
    상기 제1외부 장치가 상기 제2외부 장치와 상기 엣지 컴퓨팅 서비스를 수행하는 동안, 상기 통신 모듈을 이용해 상기 제1외부 장치로부터 정해진 신호를 수신하고, 및While the first external device performs the edge computing service with the second external device, receiving a predetermined signal from the first external device using the communication module, and
    상기 제1외부 장치로부터 상기 정해진 신호가 수신되지 않는 경우, 상기 핸드오버 이벤트가 발생한 것으로 판단하도록 설정된 전자 장치.An electronic device configured to determine that the handover event has occurred when the predetermined signal is not received from the first external device.
  4. 제 1항에 있어서,The method of claim 1,
    상기 프로세서는,The processor is
    상기 핸드오버 이벤트에 대응하여, 상기 제2외부 장치에 상기 제1외부 장치와 연결을 해제하고 상기 전자 장치와 상기 엣지 컴퓨팅 서비스를 위한 연결 수립을 포함하는 엣지 컴퓨팅 서비스 변경 요청을 전송하도록 설정된 전자 장치.In response to the handover event, an electronic device configured to transmit an edge computing service change request including disconnecting the connection from the first external device and establishing a connection between the electronic device and the edge computing service to the second external device .
  5. 제 1항에 있어서,The method of claim 1,
    상기 프로세서는,The processor is
    상기 프로세서 및/또는 상기 메모리의 가용 리소스, 엣지 모드의 활성화 여부, 또는 상기 제1외부 장치와 상기 제2외부 장치 간에 수행 중인 엣지 컴퓨팅 서비스에 대응하는 모듈의 설치 여부 중 적어도 일부에 기초하여, 상기 전자 장치가 상기 엣지 컴퓨팅 서비스를 수행할 수 있는 지 확인하도록 설정된 전자 장치.Based on at least a part of available resources of the processor and/or the memory, whether an edge mode is activated, or whether a module corresponding to the edge computing service being performed between the first external device and the second external device is installed. An electronic device configured to check whether the electronic device can perform the edge computing service.
  6. 제 5항에 있어서,6. The method of claim 5,
    상기 프로세서는,The processor is
    상기 전자 장치가 상기 엣지 컴퓨팅 서비스를 수행할 수 없는 것으로 확인되는 경우, 상기 제2외부 장치가 다른 엣지 장치 또는 외부 서버와 연결되어 서비스를 수행하도록 상기 제1외부 장치, 상기 제2외부 장치 또는 외부 서버 중 적어도 하나에 전송하도록 설정된 전자 장치.When it is determined that the electronic device cannot perform the edge computing service, the first external device, the second external device, or an external device connects the second external device to another edge device or an external server to perform the service. An electronic device configured to transmit to at least one of the servers.
  7. 제 1항에 있어서,The method of claim 1,
    상기 프로세서는,The processor is
    상기 제1외부 장치와 상기 제2외부 장치 간에 수행 중인 엣지 컴퓨팅 서비스 중 일부를 수행하도록 설정된 전자 장치.An electronic device configured to perform some of the edge computing services being performed between the first external device and the second external device.
  8. 제 1항에 있어서,The method of claim 1,
    상기 프로세서는,The processor is
    상기 제2외부 장치와 연결되어 상기 엣지 컴퓨팅 서비스를 수행하는 경우, 외부 서버에 엣지 컴퓨팅 서비스 변경을 통지하도록 설정된 전자 장치.An electronic device configured to notify an external server of an edge computing service change when connected to the second external device to perform the edge computing service.
  9. 전자 장치에 있어서,In an electronic device,
    통신 모듈;communication module;
    메모리; 및Memory; and
    상기 통신 모듈 및 상기 메모리와 작동적으로(operatively) 연결되는 프로세서를 포함하고,a processor operatively coupled to the communication module and the memory;
    상기 프로세서는,The processor is
    상기 통신 모듈을 통해 연결된 제1외부 장치로부터 수신되는 데이터에 기초하여, 엣지 컴퓨팅 서비스를 수행하고,performing an edge computing service based on data received from a first external device connected through the communication module;
    상기 엣지 컴퓨팅 서비스의 핸드오버 이벤트를 감지하고,detecting a handover event of the edge computing service,
    상기 핸드오버 이벤트의 감지에 대응하여, 상기 통신 모듈을 통해 상기 제1외부 장치와 연결되어 상기 엣지 컴퓨팅 서비스를 수행할 수 있는 제2외부 장치를 확인하고, 및In response to the detection of the handover event, a second external device connected to the first external device through the communication module and capable of performing the edge computing service is identified, and
    상기 확인된 제2외부 장치와 관련된 정보 및 상기 핸드오버 이벤트와 관련된 정보를 상기 제1외부 장치, 상기 제2외부 장치 또는 외부 서버 중 적어도 하나에 전송하도록 설정된 전자 장치.an electronic device configured to transmit the checked information related to the second external device and information related to the handover event to at least one of the first external device, the second external device, and an external server.
  10. 제 9항에 있어서,10. The method of claim 9,
    상기 전자 장치의 움직임을 감지하기 위한 센서를 더 포함하고,Further comprising a sensor for detecting the movement of the electronic device,
    상기 프로세서는,The processor is
    상기 센서를 이용하여 획득한 상기 전자 장치의 움직임 또는 상기 통신 모듈을 통해 수신되는 신호의 세기 중 적어도 하나에 기초하여, 상기 핸드오버 이벤트를 감지하도록 설정된 전자 장치.An electronic device configured to detect the handover event based on at least one of a movement of the electronic device acquired using the sensor or a strength of a signal received through the communication module.
  11. 제 9항에 있어서,10. The method of claim 9,
    상기 프로세서는,The processor is
    상기 프로세서 및/또는 상기 메모리의 가용 리소스 또는 상기 전자 장치의 전력 상태 중 적어도 하나에 기초하여, 상기 핸드오버 이벤트를 감지하도록 설정된 전자 장치.an electronic device configured to detect the handover event based on at least one of an available resource of the processor and/or the memory or a power state of the electronic device.
  12. 제 9항에 있어서,10. The method of claim 9,
    상기 프로세서는,The processor is
    상기 제2외부 장치의 가용 리소스, 엣지 모드의 활성화 여부, 또는 상기 엣지 컴퓨팅 서비스에 대응하는 모듈의 설치 여부 중 적어도 일부에 기초하여, 상기 제2외부 장치가 상기 엣지 컴퓨팅 서비스를 수행할 수 있는 지 확인하도록 설정된 전자 장치.Whether the second external device can perform the edge computing service based on at least a part of available resources of the second external device, whether an edge mode is activated, or whether a module corresponding to the edge computing service is installed Electronic devices set up to verify.
  13. 전자 장치에 있어서,In an electronic device,
    통신 모듈;communication module;
    센서; 및sensor; and
    상기 통신 모듈 및 상기 센서와 작동적으로(operatively) 연결되는 프로세서를 포함하고,a processor operatively connected to the communication module and the sensor;
    상기 프로세서는,The processor is
    상기 센서를 통해 획득되는 데이터를 상기 통신 모듈을 통해 제1외부 장치로 전송하여 엣지 컴퓨팅 서비스를 수행하고,An edge computing service is performed by transmitting data acquired through the sensor to a first external device through the communication module,
    상기 엣지 컴퓨팅 서비스의 핸드오버 이벤트를 확인하고,Check the handover event of the edge computing service,
    상기 핸드오버 이벤트에 대응하여, 상기 엣지 컴퓨팅 서비스를 위해 연결 가능한 제2외부 장치를 확인하고, 및In response to the handover event, identify a connectable second external device for the edge computing service, and
    상기 제2외부 장치에 상기 엣지 컴퓨팅 서비스를 위한 연결을 요청하도록 설정된 전자 장치.An electronic device configured to request a connection for the edge computing service to the second external device.
  14. 제 13항에 있어서,14. The method of claim 13,
    상기 프로세서는,The processor is
    상기 통신 모듈을 통해 상기 제1외부 장치, 상기 제2외부 장치 또는 IoT 서버 중 적어도 하나로부터 상기 핸드오버 이벤트와 관련된 정보를 수신하도록 설정된 전자 장치.The electronic device is configured to receive information related to the handover event from at least one of the first external device, the second external device, and the IoT server through the communication module.
  15. 제 13항에 있어서,14. The method of claim 13,
    상기 프로세서는,The processor is
    상기 핸드오버 이벤트에 대응하여, 상기 통신 모듈을 통해 IoT 서버에 서비스 연결 요청을 전송하고, In response to the handover event, transmit a service connection request to the IoT server through the communication module,
    상기 IoT 서버로부터 상기 엣지 컴퓨팅 서비스를 수행할 상기 제2외부 장치의 정보를 수신하도록 설정된 전자 장치.An electronic device configured to receive information on the second external device to perform the edge computing service from the IoT server.
PCT/KR2021/012461 2020-09-15 2021-09-14 Edge computing system and handover method for edge computing device WO2022060046A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
KR1020200118373A KR20220036136A (en) 2020-09-15 2020-09-15 Edge computing system and method for handover of edge computing device
KR10-2020-0118373 2020-09-15

Publications (1)

Publication Number Publication Date
WO2022060046A1 true WO2022060046A1 (en) 2022-03-24

Family

ID=80777143

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/KR2021/012461 WO2022060046A1 (en) 2020-09-15 2021-09-14 Edge computing system and handover method for edge computing device

Country Status (2)

Country Link
KR (1) KR20220036136A (en)
WO (1) WO2022060046A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115914220A (en) * 2022-09-27 2023-04-04 国网山西省电力公司 Edge computing equipment control method and device and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20180242204A1 (en) * 2015-10-21 2018-08-23 Huawei Technologies Co., Ltd. Mec platform handover method, apparatus, and system
KR20180124419A (en) * 2017-05-11 2018-11-21 에스케이텔레콤 주식회사 Application excution system based on distributed cloud, apparatus and control method thereof using the system
US20190021033A1 (en) * 2017-07-13 2019-01-17 Hon Hai Precision Industry Co., Ltd. Handover method and apparatus
US20190141593A1 (en) * 2017-11-03 2019-05-09 Hon Hai Precision Industry Co., Ltd. Methods and related devices for optimizing a mobile edge computing (mec) system
WO2019236755A1 (en) * 2018-06-06 2019-12-12 Intel Corporation Vehicle-to-everything session and service continuity in automotive edge computing systems

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20180242204A1 (en) * 2015-10-21 2018-08-23 Huawei Technologies Co., Ltd. Mec platform handover method, apparatus, and system
KR20180124419A (en) * 2017-05-11 2018-11-21 에스케이텔레콤 주식회사 Application excution system based on distributed cloud, apparatus and control method thereof using the system
US20190021033A1 (en) * 2017-07-13 2019-01-17 Hon Hai Precision Industry Co., Ltd. Handover method and apparatus
US20190141593A1 (en) * 2017-11-03 2019-05-09 Hon Hai Precision Industry Co., Ltd. Methods and related devices for optimizing a mobile edge computing (mec) system
WO2019236755A1 (en) * 2018-06-06 2019-12-12 Intel Corporation Vehicle-to-everything session and service continuity in automotive edge computing systems

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115914220A (en) * 2022-09-27 2023-04-04 国网山西省电力公司 Edge computing equipment control method and device and storage medium

Also Published As

Publication number Publication date
KR20220036136A (en) 2022-03-22

Similar Documents

Publication Publication Date Title
WO2022019681A1 (en) Edge computing system and method for recommending connection device
WO2022019682A1 (en) Edge computing system and method
WO2020067677A1 (en) Method for operating application requiring communication with external device, and electronic device therefor
WO2022203168A1 (en) Electronic device for transmitting data through uwb communication, and electronic device operating method
WO2022060046A1 (en) Edge computing system and handover method for edge computing device
WO2021033961A1 (en) Electronic device and method for providing service by electronic device
WO2023277335A1 (en) Electronic device for performing network management operation and operation method thereof
WO2022124846A1 (en) Hub device of iot environment, and method for processing event based on local network
WO2022239994A1 (en) Electronic device, and method for updating external electronic device by using same
WO2022030814A1 (en) Method for managing wireless connection of electronic device, and apparatus therefor
WO2022031019A1 (en) Method for searching for lost device by using uwb and ar, and apparatus therefor
WO2022173144A1 (en) Electronic device, and method for determining provisioning device in edge computing network
WO2023075207A1 (en) Electronic device for providing location-based service, and operating method therefor
WO2023090722A1 (en) Response packet transmission device and method
WO2023068612A1 (en) Electronic device for providing location-based service and operation method thereof
WO2023136453A1 (en) Method for setting available channels for wlan and electronic device for performing same method
WO2023234522A1 (en) Electronic device for switching d2d communication connection and operation method for electronic device
WO2023043000A1 (en) Electronic device and method for performing communication through virtual private network, and computer-readable storage medium
WO2024080543A1 (en) Electronic device for generating video summary, and operating method therefor
WO2022154364A1 (en) Method and apparatus for managing wireless connection of electronic device
WO2024053897A1 (en) Electronic device and nan-based communication method
WO2023013878A1 (en) Device and method for establishing connection
WO2024058375A1 (en) Electronic device for supporting multi-sim, and electronic device operating method
WO2024019376A1 (en) File transmission system, electronic device, and file transmission method by same electronic device
WO2024034787A1 (en) Electronic device for managing controlled device and operation method therefor

Legal Events

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

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 21869668

Country of ref document: EP

Kind code of ref document: A1