KR20210072687A - Electronic device and controlling method of electronic device - Google Patents

Electronic device and controlling method of electronic device Download PDF

Info

Publication number
KR20210072687A
KR20210072687A KR1020200127461A KR20200127461A KR20210072687A KR 20210072687 A KR20210072687 A KR 20210072687A KR 1020200127461 A KR1020200127461 A KR 1020200127461A KR 20200127461 A KR20200127461 A KR 20200127461A KR 20210072687 A KR20210072687 A KR 20210072687A
Authority
KR
South Korea
Prior art keywords
neural network
network model
electronic device
information
external device
Prior art date
Application number
KR1020200127461A
Other languages
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 삼성전자주식회사
Priority to EP20898630.7A priority Critical patent/EP4004825A4/en
Priority to PCT/KR2020/017655 priority patent/WO2021118173A1/en
Priority to CN202080084829.8A priority patent/CN114787825A/en
Priority to US17/113,615 priority patent/US11914688B2/en
Publication of KR20210072687A publication Critical patent/KR20210072687A/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N3/00Computing arrangements based on biological models
    • G06N3/02Neural networks
    • G06N3/04Architecture, e.g. interconnection topology
    • G06N3/045Combinations of networks
    • G06N3/0454
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N3/00Computing arrangements based on biological models
    • G06N3/02Neural networks
    • G06N3/06Physical realisation, i.e. hardware implementation of neural networks, neurons or parts of neurons
    • G06N3/063Physical realisation, i.e. hardware implementation of neural networks, neurons or parts of neurons using electronic means
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N3/00Computing arrangements based on biological models
    • G06N3/02Neural networks
    • G06N3/08Learning methods

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Health & Medical Sciences (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Biomedical Technology (AREA)
  • Biophysics (AREA)
  • Evolutionary Computation (AREA)
  • Computational Linguistics (AREA)
  • Data Mining & Analysis (AREA)
  • Artificial Intelligence (AREA)
  • General Health & Medical Sciences (AREA)
  • Molecular Biology (AREA)
  • Computing Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Mathematical Physics (AREA)
  • Software Systems (AREA)
  • Neurology (AREA)
  • Telephone Function (AREA)

Abstract

Disclosed are an electronic device and a control method thereof. The electronic device of the present invention comprises: a communication unit; a memory for storing first device information on hardware of the electronic device and a hardware suitability identifying module for identifying a neural network model suitable for the hardware of the electronic device; and a processor for controlling the communication unit such that a first signal is transmitted to request information on at least one neural network model included in at least one external device when a user input is received. In accordance with the present invention, the electronic device can identify whether each of at least one neural network model included in the first external device is suitable for the hardware of the electronic device and whether each of the at least one neural network model identified as suitable for the hardware of the electronic device is suitable to replace the neural network model included in the electronic device, based on the first device information on the hardware of the electronic device, second device information on the hardware of the first external device, first model information on at least one neural network model included in the first external device, and second model information on at least one neural network model included in the electronic device. In addition, the electronic device can transmit a request for installation data of the at least one neural network model identified to the first external device and then install a neural network model based on the installation data received from the first external device.

Description

전자 장치 및 전자 장치의 제어 방법{ELECTRONIC DEVICE AND CONTROLLING METHOD OF ELECTRONIC DEVICE}ELECTRONIC DEVICE AND CONTROLLING METHOD OF ELECTRONIC DEVICE

본 개시는 전자 장치 및 전자 장치의 제어 방법에 관한 것으로서, 구체적으로는 외부 장치에 포함된 신경망 모델의 전이 적합성을 식별하기 위한 전자 장치 및 전자 장치의 제어 방법에 관한 것이다.The present disclosure relates to an electronic device and a control method of the electronic device, and more particularly, to an electronic device and a control method of the electronic device for identifying transition suitability of a neural network model included in an external device.

근래에는 개인화된 신경망 모델을 통해 사용자 별로 맞춤형 서비스를 제공하는 기술에 대한 사용자와 업계의 요구가 증가하고 있다. 그런데, 다른 한편으로는 사용자 개인의 프라이버시에 관련된 개인 데이터의 보호에 대한 요구 또한 증가하고 있어, 신경망 모델의 개인화에 필요한 개인 데이터를 수집하여 신경망 모델을 학습시키는 것이 제한되는 경우가 적지 않은 실정이다. In recent years, user and industry demand for a technology that provides a customized service for each user through a personalized neural network model is increasing. However, on the other hand, the demand for protection of personal data related to the privacy of individual users is also increasing, so there are many cases in which it is limited to collect personal data necessary for personalization of the neural network model and train the neural network model.

따라서, 외부 서버 또는 클라우드 등으로 개인 데이터를 전송하지 않고 온 디바이스(on-device)로 신경망 모델을 이용할 수 있도록 하는 기술, 그리고 특정 디바이스에서 개인화된 신경망 모델에 대한 정보를 디바이스 간 직접 통신(device to device)을 통해 다른 디바이스에 전이(transfer)하는 기술에 대한 연구가 주목받고 있다.Therefore, a technology that enables a neural network model to be used on-device without transmitting personal data to an external server or cloud, etc., and a device to device-to-device direct communication of information about a personalized neural network model in a specific device Device), research on technology for transferring to another device is attracting attention.

한편, 특정 디바이스에서 개인화된 신경망 모델에 대한 정보를 다른 디바이스에 전이하는 경우, 디바이스의 유형이 서로 상이하거나 디바이스의 유형이 동일하더라도 하드웨어 사양이 서로 상이하면, 신경망 모델을 전이하는 것이 적합하지 않을 수 있다. 따라서, 디바이스에서 개인화된 신경망 모델에 대한 정보를 다른 디바이스에 전이함에 있어서, 서로 다른 디바이스 상호 간에 그 신경망 모델을 전이하는 것이 적합한지에 대한 식별 과정을 수행할 필요가 있다.On the other hand, when transferring information about a personalized neural network model from a specific device to another device, it may not be appropriate to transfer the neural network model if the types of devices are different or if the hardware specifications are different even if the device types are the same. have. Therefore, when transferring information about a personalized neural network model from a device to another device, it is necessary to perform an identification process for whether it is appropriate to transfer the neural network model between different devices.

또한, 전자 장치의 사용자가 새로운 전자 장치를 구입하는 경우, 기존의 전자 장치에서 개인화된 신경망 모델을 새로운 전자 장치에 효율적이고도 신뢰성 있는 방법으로 전이할 수 있는 기술에 대한 필요성이 대두되고 있다. In addition, when a user of an electronic device purchases a new electronic device, there is a need for a technology capable of transferring a personalized neural network model from an existing electronic device to a new electronic device in an efficient and reliable manner.

본 개시는 상술한 바와 같은 필요성에 따른 것으로서, 본 개시의 목적은 전자 장치 및 외부 장치 각각의 하드웨어 사양에 대한 정보와 신경망 모델에 대한 정보를 바탕으로, 외부 장치에 포함된 신경망 모델을 전자 장치에 전이하는 것이 적합한 것인지를 식별할 수 있는 전자 장치 및 전자 장치의 제어 방법을 제공함에 있다.The present disclosure is in accordance with the above-described necessity, and an object of the present disclosure is to provide a neural network model included in an external device to an electronic device based on information on hardware specifications and neural network models of an electronic device and an external device. An object of the present invention is to provide an electronic device capable of identifying whether transition is appropriate and a method for controlling the electronic device.

상술한 바와 같은 목적을 달성하기 위한 본 개시의 일 실시 예에 따르면, 외부 장치에 포함된 신경망 모델의 전이 적합성을 식별하기 위한 전자 장치는 통신부, 상기 전자 장치의 하드웨어 사양에 대한 제1 기기 정보 및 상기 전자 장치의 하드웨어에 적합한 신경망 모델을 식별하는 하드웨어 적합성 식별 모듈을 저장하는 메모리 및 사용자 입력이 수신되면, 적어도 하나의 외부 장치에 포함된 적어도 하나의 신경망 모델에 관련된 정보를 요청하기 위한 제1 신호를 전송하도록 상기 통신부를 제어하고, 상기 제1 신호에 대한 응답으로, 상기 통신부를 통해 상기 적어도 하나의 외부 장치 중 제1 외부 장치로부터 상기 제1 외부 장치의 하드웨어 사양에 대한 제2 기기 정보 및 상기 제1 외부 장치에 포함된 적어도 하나의 신경망 모델에 대한 제1 모델 정보를 포함하는 제2 신호를 수신하고, 상기 제1 기기 정보, 상기 제2 기기 정보 및 상기 제1 모델 정보를 상기 하드웨어 적합성 식별 모듈에 입력하여, 상기 제1 외부 장치에 포함된 적어도 하나의 신경망 모델 각각이 상기 전자 장치의 하드웨어에 적합한지 여부를 식별하며, 상기 전자 장치의 하드웨어에 적합한 것으로 식별된 적어도 하나의 신경망 모델의 설치 데이터에 대한 요청을 포함하는 제3 신호를 상기 제1 외부 장치로 전송하도록 상기 통신부를 제어하고, 상기 제3 신호에 대한 응답으로, 상기 통신부를 통해 상기 제1 외부 장치로부터 상기 전자 장치의 하드웨어에 적합한 것으로 식별된 적어도 하나의 신경망 모델의 설치 데이터를 포함하는 제4 신호를 수신하는 프로세서를 포함하며, 상기 프로세서는 상기 전자 장치에 포함된 복수의 하드웨어 구성 각각의 사양이 상기 제1 외부 장치에 포함된 복수의 하드웨어 구성의 사양 이상이면, 상기 제1 외부 장치에 포함된 상기 적어도 하나의 신경망 모델이 상기 전자 장치의 하드웨어에 적합한 것으로 식별하고, 상기 전자 장치에 포함된 복수의 하드웨어의 구성 중 적어도 하나의 사양이 상기 제1 외부 장치에 포함된 복수의 하드웨어 구성의 사양 미만이면, 상기 제1 외부 장치에 포함된 상기 적어도 하나의 신경망 모델 중 상기 전자 장치에 포함된 복수의 하드웨어 구성의 사양 보다 낮은 하드웨어 요구 사양을 갖는 하나 이상의 신경망 모델이 상기 전자 장치의 하드웨어에 적합한 것으로 식별한다. According to an embodiment of the present disclosure for achieving the above object, an electronic device for identifying transition suitability of a neural network model included in an external device includes a communication unit, first device information for a hardware specification of the electronic device, and When a memory for storing a hardware suitability identification module for identifying a neural network model suitable for hardware of the electronic device and a user input are received, a first signal for requesting information related to at least one neural network model included in at least one external device control the communication unit to transmit, in response to the first signal, from a first external device among the at least one external device through the communication unit, second device information about the hardware specification of the first external device and the Receive a second signal including first model information for at least one neural network model included in a first external device, and identify the hardware suitability of the first device information, the second device information, and the first model information Input to the module, it is identified whether each of the at least one neural network model included in the first external device is suitable for the hardware of the electronic device, and at least one neural network model identified as being suitable for the hardware of the electronic device is installed Controls the communication unit to transmit a third signal including a request for data to the first external device, and in response to the third signal, from the first external device to the hardware of the electronic device through the communication unit a processor for receiving a fourth signal including installation data of at least one neural network model identified as suitable, wherein the processor includes a specification of each of a plurality of hardware components included in the electronic device included in the first external device If the specification of the plurality of hardware components is greater than or equal to the specification, the at least one neural network model included in the first external device is identified as being suitable for the hardware of the electronic device, and at least one of the plurality of hardware configurations included in the electronic device is identified. of the specification included in the first external device If it is less than the specification of the plurality of hardware configurations, one or more neural network models having a hardware requirement lower than the specifications of the plurality of hardware configurations included in the electronic device among the at least one neural network model included in the first external device is the Identifies that it is suitable for the hardware of the electronic device.

여기서, 상기 제1 기기 정보는 상기 프로세서의 사양, 상기 메모리의 사양 및 상기 전자 장치에 포함된 데이터 획득부의 사양에 대한 정보를 포함하고, 상기 전자 장치에 포함된 데이터 획득부는 상기 전자 장치에 포함된 적어도 하나의 신경망 모델에 입력되는 데이터를 획득하며, 상기 전자 장치에 포함된 카메라, 마이크 및 센서 중 적어도 하나를 포함하고, 상기 제2 기기 정보는 상기 제1 외부 장치에 포함된 프로세서의 사양, 상기 제1 외부 장치에 포함된 메모리의 사양 및 상기 제1 외부 장치에 포함된 데이터 획득부의 사양에 대한 정보를 포함하고, 상기 제1 외부 장치에 포함된 데이터 획득부는 상기 제1 외부 장치에 포함된 적어도 하나의 신경망 모델에 입력되는 데이터를 획득하며, 상기 제1 외부 장치에 포함된 카메라, 마이크 및 센서 중 적어도 하나를 포함하고, 상기 제1 모델 정보는 상기 제1 외부 장치에 포함된 적어도 하나의 신경망 모델 각각의 하드웨어 요구 사양에 대한 정보를 포함할 수 있다. Here, the first device information includes information about the specification of the processor, the specification of the memory, and the specification of the data acquisition unit included in the electronic device, and the data acquisition unit included in the electronic device is included in the electronic device. Acquires data input to at least one neural network model, and includes at least one of a camera, a microphone, and a sensor included in the electronic device, and the second device information includes: a specification of a processor included in the first external device; and information on a specification of a memory included in the first external device and a specification of a data acquisition unit included in the first external device, wherein the data acquisition unit included in the first external device includes at least one data acquisition unit included in the first external device Acquires data input to one neural network model, and includes at least one of a camera, a microphone, and a sensor included in the first external device, wherein the first model information includes at least one neural network included in the first external device It may include information about the hardware requirements of each model.

여기서, 상기 메모리는 상기 전자 장치에 포함된 적어도 하나의 신경망 모델에 대한 제2 모델 정보 및 상기 전자 장치에 포함된 신경망 모델을 대체하기에 적합한 신경망 모델을 식별하는 모델 적합성 식별 모듈을 저장하고, 상기 프로세서는 상기 전자 장치의 하드웨어에 적합한 적어도 하나의 신경망 모델이 식별되면, 상기 제1 모델 정보 및 상기 제2 모델 정보를 상기 모델 적합성 식별 모듈에 입력하여, 상기 전자 장치의 하드웨어에 적합한 것으로 식별된 적어도 하나의 신경망 모델 각각이 상기 전자 장치에 포함된 신경망 모델을 대체하기에 적합한지 여부를 식별하고, 상기 제3 신호는 상기 전자 장치에 포함된 신경망 모델을 대체하기에 적합한 것으로 식별된 적어도 하나의 신경망 모델의 설치 데이터에 대한 요청을 포함하고, 상기 제4 신호는 상기 전자 장치에 포함된 신경망 모델을 대체하기에 적합한 것으로 식별된 적어도 하나의 신경망 모델의 설치 데이터를 포함할 수 있다.Here, the memory stores second model information on at least one neural network model included in the electronic device and a model suitability identification module for identifying a neural network model suitable for replacing the neural network model included in the electronic device, and When at least one neural network model suitable for the hardware of the electronic device is identified, the processor inputs the first model information and the second model information to the model suitability identification module, and the at least one neural network model that is suitable for the hardware of the electronic device is identified. at least one neural network identified as suitable for replacing each neural network model included in the electronic device, and the third signal being suitable for replacing a neural network model included in the electronic device It may include a request for installation data of a model, and the fourth signal may include installation data of at least one neural network model identified as suitable for replacing a neural network model included in the electronic device.

여기서, 상기 제1 모델 정보는 상기 제1 외부 장치에 포함된 적어도 하나의 신경망 모델 각각의 서비스 유형에 대한 정보 및 개인화 레벨에 대한 정보를 더 포함하고, 상기 제2 모델 정보는 상기 전자 장치에 포함된 적어도 하나의 신경망 모델 각각의 서비스 유형에 대한 정보 및 개인화 레벨에 대한 정보를 포함할 수 있다. Here, the first model information further includes information about a service type and a personalization level of each of the at least one neural network model included in the first external device, and the second model information is included in the electronic device It may include information on each service type and personalization level of each of the at least one neural network model.

여기서, 상기 프로세서는 상기 제1 모델 정보 및 상기 제2 모델 정보 각각에 포함된 서비스 유형에 대한 정보를 바탕으로 상기 전자 장치에 포함된 적어도 하나의 신경망 모델의 서비스 유형과 상기 전자 장치의 하드웨어에 적합한 것으로 식별된 적어도 하나의 신경망 모델의 서비스 유형을 비교하고, 상기 전자 장치의 하드웨어에 적합한 것으로 식별된 적어도 하나의 신경망 모델 중 제1 신경망 모델의 서비스 유형이 상기 전자 장치에 포함된 복수의 신경망 모델 중 제2 신경망 모델의 서비스 유형과 동일하면, 상기 제1 모델 정보 및 상기 제2 모델 정보 각각에 포함된 개인화 레벨에 대한 정보를 바탕으로 상기 제1 신경망 모델의 개인화 레벨과 상기 제2 신경망 모델의 개인화 레벨을 비교하며,상기 제1 신경망 모델의 개인화 레벨이 상기 제2 신경망 모델의 개인화 레벨보다 높으면, 상기 제1 신경망 모델이 상기 제2 신경망 모델을 대체하는 것이 적합한 것으로 식별할 수 있다.Here, the processor is configured to be configured to be suitable for a service type of at least one neural network model included in the electronic device and hardware of the electronic device based on information on a service type included in each of the first model information and the second model information. The service type of the at least one neural network model identified as one is compared, and the service type of the first neural network model among the at least one neural network model identified as suitable for the hardware of the electronic device is selected from among the plurality of neural network models included in the electronic device. If the service type of the second neural network model is the same, the personalization level of the first neural network model and the personalization of the second neural network model based on the information on the personalization level included in each of the first model information and the second model information Comparing the levels, if the personalization level of the first neural network model is higher than the personalization level of the second neural network model, it may be identified that the first neural network model is suitable to replace the second neural network model.

여기서, 상기 제1 신경망 모델의 개인화 레벨은 상기 제1 신경망 모델에 대한 상기 제1 외부 장치의 사용자의 사용 이력에 대한 정보 및 상기 제1 신경망 모델에 대한 상기 제1 외부 장치의 사용자의 피드백에 대한 정보 중 적어도 하나를 바탕으로 식별되고, 상기 제2 신경망 모델의 개인화 레벨은 상기 제2 신경망 모델에 대한 상기 전자 장치의 사용자의 사용 이력에 대한 정보 및 상기 제2 신경망 모델에 대한 상기 전자 장치의 사용자의 피드백에 대한 정보 중 적어도 하나를 바탕으로 식별될 수 있다. Here, the personalization level of the first neural network model is information about the user's history of use of the first external device for the first neural network model and the feedback of the user of the first external device for the first neural network model. is identified based on at least one of information, and the personalization level of the second neural network model is information about a user's history of use of the electronic device for the second neural network model and a user of the electronic device for the second neural network model may be identified based on at least one of information on the feedback of .

한편, 상기 제2 신호는 상기 전자 장치에 대한 제1 사용자 정보 및 상기 제1 외부 장치에 대한 제2 사용자 정보를 바탕으로 사용자 인증이 완료됨에 따라, 상기 통신부를 통해 상기 제1 외부 장치로부터 수신되며, 상기 제1 사용자 정보는 상기 전자 장치의 사용자에 대한 계정 정보 및 상기 전자 장치에 대한 식별 정보 중 적어도 하나를 포함하고, 상기 제2 사용자 정보는 상기 제1 외부 장치의 사용자에 대한 계정 정보 및 상기 제1 외부 장치에 대한 식별 정보 중 적어도 하나를 포함할 수 있다. Meanwhile, the second signal is received from the first external device through the communication unit as user authentication is completed based on the first user information on the electronic device and the second user information on the first external device, , the first user information includes at least one of account information for a user of the electronic device and identification information for the electronic device, and the second user information includes account information for a user of the first external device and the It may include at least one of identification information on the first external device.

한편, 상기 전자 장치는 디스플레이를 더 포함하고, 상기 프로세서는 상기 전자 장치의 하드웨어에 적합한 것으로 식별된 적어도 하나의 신경망 모델에 대한 정보를 포함하는 사용자 인터페이스를 표시하도록 상기 디스플레이를 제어하고, 상기 사용자 인터페이스를 통해 상기 전자 장치의 하드웨어에 적합한 것으로 식별된 적어도 하나의 신경망 모델 중 하나 이상의 신경망 모델을 선택하는 사용자 입력을 수신하며, 상기 제3 신호는 상기 선택된 하나 이상의 신경망 모델의 설치 데이터에 대한 요청을 포함하고, 상기 제4 신호는 상기 선택된 하나 이상의 신경망 모델의 설치 데이터를 포함할 수 있다. Meanwhile, the electronic device further includes a display, and the processor controls the display to display a user interface including information on at least one neural network model identified as suitable for hardware of the electronic device, and the user interface Receives a user input for selecting one or more neural network models from among the one or more neural network models identified as suitable for the hardware of the electronic device, and the third signal includes a request for installation data of the selected one or more neural network models and the fourth signal may include installation data of the selected one or more neural network models.

상술한 바와 같은 목적을 달성하기 위한 본 개시의 일 실시 예에 따르면, 전자 장치의 하드웨어 사양에 대한 제1 기기 정보 및 상기 전자 장치의 하드웨어에 적합한 신경망 모델을 식별하는 하드웨어 적합성 식별 모듈이 저장되며, 외부 장치에 포함된 신경망 모델의 전이 적합성을 식별하기 위한 전자 장치의 제어 방법은 사용자 입력이 수신되면, 적어도 하나의 외부 장치에 포함된 적어도 하나의 신경망 모델에 관련된 정보를 요청하기 위한 제1 신호를 전송하는 단계, 상기 제1 신호에 대한 응답으로, 상기 적어도 하나의 외부 장치 중 제1 외부 장치로부터 상기 제1 외부 장치의 하드웨어 사양에 대한 제2 기기 정보 및 상기 제1 외부 장치에 포함된 적어도 하나의 신경망 모델에 대한 제1 모델 정보를 포함하는 제2 신호를 수신하는 단계, 상기 제1 기기 정보, 상기 제2 기기 정보 및 상기 제1 모델 정보를 상기 하드웨어 적합성 식별 모듈에 입력하여, 상기 제1 외부 장치에 포함된 적어도 하나의 신경망 모델 각각이 상기 전자 장치의 하드웨어에 적합한지 여부를 식별하는 단계, 상기 전자 장치의 하드웨어에 적합한 것으로 식별된 적어도 하나의 신경망 모델의 설치 데이터에 대한 요청을 포함하는 제3 신호를 상기 제1 외부 장치로 전송하는 단계 및 상기 제3 신호에 대한 응답으로, 상기 제1 외부 장치로부터 상기 전자 장치의 하드웨어에 적합한 것으로 식별된 적어도 하나의 신경망 모델의 설치 데이터를 포함하는 제4 신호를 수신하는 단계를 포함하고, 상기 식별하는 단계는 상기 전자 장치에 포함된 복수의 하드웨어 구성 각각의 사양이 상기 제1 외부 장치에 포함된 복수의 하드웨어 구성의 사양 이상이면, 상기 제1 외부 장치에 포함된 상기 적어도 하나의 신경망 모델이 상기 전자 장치의 하드웨어에 적합한 것으로 식별하는 단계 및 상기 전자 장치에 포함된 복수의 하드웨어 구성 중 적어도 하나의 사양이 상기 제1 외부 장치에 포함된 복수의 하드웨어 구성의 사양 미만이면, 상기 제1 외부 장치에 포함된 상기 적어도 하나의 신경망 모델 중 상기 전자 장치에 포함된 복수의 하드웨어 구성의 사양 보다 낮은 하드웨어 요구 사양을 갖는 하나 이상의 신경망 모델이 상기 전자 장치의 하드웨어에 적합한 것으로 식별하는 단계를 포함한다.According to an embodiment of the present disclosure for achieving the object as described above, a hardware conformance identification module for identifying first device information on a hardware specification of an electronic device and a neural network model suitable for the hardware of the electronic device is stored, When a user input is received, the control method of an electronic device for identifying the transitive suitability of a neural network model included in an external device receives a first signal for requesting information related to at least one neural network model included in at least one external device. transmitting, in response to the first signal, from a first external device among the at least one external device, second device information about a hardware specification of the first external device, and at least one included in the first external device receiving a second signal including first model information for a neural network model of Identifying whether each of the at least one neural network model included in the external device is suitable for the hardware of the electronic device, comprising a request for installation data of the at least one neural network model identified as being suitable for the hardware of the electronic device transmitting a third signal to the first external device, and in response to the third signal, including installation data of at least one neural network model identified as suitable for hardware of the electronic device from the first external device and receiving a fourth signal, wherein the identifying may include, if a specification of each of a plurality of hardware components included in the electronic device is greater than or equal to a specification of a plurality of hardware components included in the first external device, the first identifying the at least one neural network model included in the external device as being suitable for the hardware of the electronic device; and specifying at least one specification among a plurality of hardware configurations included in the electronic device. If it is less than the specification of the hardware configuration, it is included in the first external device and identifying one or more neural network models having a hardware requirement specification lower than a specification of a plurality of hardware components included in the electronic device among the at least one neural network model as being suitable for hardware of the electronic device.

여기서, 상기 제1 기기 정보는 상기 전자 장치에 포함된 프로세서의 사양, 상기 전자 장치에 포함된 메모리의 사양 및 상기 전자 장치에 포함된 데이터 획득부의 사양에 대한 정보를 포함하고, 상기 전자 장치에 포함된 데이터 획득부는 상기 전자 장치에 포함된 적어도 하나의 신경망 모델에 입력되는 데이터를 획득하며, 상기 전자 장치에 포함된 카메라, 마이크 및 센서 중 적어도 하나를 포함하고, 상기 제2 기기 정보는 상기 제1 외부 장치에 포함된 프로세서의 사양, 상기 제1 외부 장치에 포함된 메모리의 사양 및 상기 제1 외부 장치에 포함된 데이터 획득부의 사양에 대한 정보를 포함하고, 상기 제1 외부 장치에 포함된 데이터 획득부는 상기 제1 외부 장치에 포함된 적어도 하나의 신경망 모델에 입력되는 데이터를 획득하며, 상기 제1 외부 장치에 포함된 카메라, 마이크 및 센서 중 적어도 하나를 포함하고, 상기 제1 모델 정보는 상기 제1 외부 장치에 포함된 적어도 하나의 신경망 모델 각각의 하드웨어 요구 사양에 대한 정보를 포함할 수 있다.Here, the first device information includes information on a specification of a processor included in the electronic device, a specification of a memory included in the electronic device, and a specification of a data acquisition unit included in the electronic device, and is included in the electronic device The obtained data acquisition unit acquires data input to at least one neural network model included in the electronic device, and includes at least one of a camera, a microphone, and a sensor included in the electronic device, wherein the second device information includes the first Acquire data included in the first external device, including information on a specification of a processor included in the external device, a specification of a memory included in the first external device, and a specification of a data acquisition unit included in the first external device The unit obtains data input to at least one neural network model included in the first external device, and includes at least one of a camera, a microphone, and a sensor included in the first external device, wherein the first model information is 1 may include information on hardware requirements for each of the at least one neural network model included in the external device.

여기서, 상기 전자 장치에는 상기 전자 장치에 포함된 적어도 하나의 신경망 모델에 대한 제2 모델 정보 및 상기 전자 장치에 포함된 신경망 모델을 대체하기에 적합한 신경망 모델을 식별하는 모델 적합성 식별 모듈이 더 저장되며, 상기 전자 장치의 제어 방법은 상기 전자 장치의 하드웨어에 적합한 적어도 하나의 신경망 모델이 식별되면, 상기 제1 모델 정보 및 상기 제2 모델 정보를 상기 모델 적합성 식별 모듈에 입력하여, 상기 전자 장치의 하드웨어에 적합한 것으로 식별된 적어도 하나의 신경망 모델 각각이 상기 전자 장치에 포함된 신경망 모델을 대체하기에 적합한지 여부를 식별하는 단계를 더 포함하고, 상기 제3 신호는 상기 전자 장치에 포함된 신경망 모델을 대체하기에 적합한 것으로 식별된 적어도 하나의 신경망 모델의 설치 데이터에 대한 요청을 포함하고, 상기 제4 신호는 상기 전자 장치에 포함된 신경망 모델을 대체하기에 적합한 것으로 식별된 적어도 하나의 신경망 모델의 설치 데이터를 포함할 수 있다. Here, the electronic device further stores second model information on at least one neural network model included in the electronic device and a model suitability identification module for identifying a neural network model suitable for replacing the neural network model included in the electronic device, , when at least one neural network model suitable for hardware of the electronic device is identified, the control method of the electronic device inputs the first model information and the second model information into the model suitability identification module, Further comprising the step of identifying whether each of the at least one neural network model identified as suitable to be suitable for replacing the neural network model included in the electronic device, the third signal is the neural network model included in the electronic device and a request for installation data of at least one neural network model identified as suitable for replacement, wherein the fourth signal includes installation of at least one neural network model identified as suitable for replacing the neural network model included in the electronic device. It may contain data.

여기서, 상기 제1 모델 정보는 상기 제1 외부 장치에 포함된 적어도 하나의 신경망 모델 각각의 서비스 유형에 대한 정보 및 개인화 레벨에 대한 정보를 더 포함하고, 상기 제2 모델 정보는 상기 전자 장치에 포함된 적어도 하나의 신경망 모델 각각의 서비스 유형에 대한 정보 및 개인화 레벨에 대한 정보를 포함할 수 있다. Here, the first model information further includes information about a service type and a personalization level of each of the at least one neural network model included in the first external device, and the second model information is included in the electronic device It may include information on each service type and personalization level of each of the at least one neural network model.

여기서, 상기 전자 장치에 포함된 신경망 모델을 대체하기에 적합한 적어도 하나의 신경망 모델을 식별하는 단계는 상기 제1 모델 정보 및 상기 제2 모델 정보 각각에 포함된 서비스 유형에 대한 정보를 바탕으로 상기 전자 장치에 포함된 적어도 하나의 신경망 모델의 서비스 유형과 상기 전자 장치의 하드웨어에 적합한 것으로 식별된 적어도 하나의 신경망 모델의 서비스 유형을 비교하는 단계, 상기 전자 장치의 하드웨어에 적합한 것으로 식별된 적어도 하나의 신경망 모델 중 제1 신경망 모델의 서비스 유형이 상기 전자 장치에 포함된 복수의 신경망 모델 중 제2 신경망 모델의 서비스 유형과 동일하면, 상기 제1 모델 정보 및 상기 제2 모델 정보 각각에 포함된 개인화 레벨에 대한 정보를 바탕으로 상기 제1 신경망 모델의 개인화 레벨과 상기 제2 신경망 모델의 개인화 레벨을 비교하는 단계 및 상기 제1 신경망 모델의 개인화 레벨이 상기 제2 신경망 모델의 개인화 레벨보다 높으면, 상기 제1 신경망 모델이 상기 제2 신경망 모델을 대체하는 것이 적합한 것으로 식별하는 단계를 포함할 수 있다. Here, the step of identifying at least one neural network model suitable for replacing the neural network model included in the electronic device includes the electronic device based on information on service types included in each of the first model information and the second model information. Comparing a service type of at least one neural network model included in a device with a service type of at least one neural network model identified as suitable for hardware of the electronic device, at least one neural network identified as suitable for hardware of the electronic device If the service type of the first neural network model among the models is the same as the service type of the second neural network model among the plurality of neural network models included in the electronic device, the personalization level included in each of the first model information and the second model information comparing the personalization level of the first neural network model with the personalization level of the second neural network model based on the information about the first neural network model, and if the personalization level of the first neural network model is higher than the personalization level of the second neural network model, the first identifying that a neural network model is suitable to replace the second neural network model.

여기서, 상기 제1 신경망 모델의 개인화 레벨은 상기 제1 신경망 모델에 대한 상기 제1 외부 장치의 사용자의 사용 이력에 대한 정보 및 상기 제1 신경망 모델에 대한 상기 제1 외부 장치의 사용자의 피드백에 대한 정보 중 적어도 하나를 바탕으로 식별되고, 상기 제2 신경망 모델의 개인화 레벨은 상기 제2 신경망 모델에 대한 상기 전자 장치의 사용자의 사용 이력에 대한 정보 및 상기 제2 신경망 모델에 대한 상기 전자 장치의 사용자의 피드백에 대한 정보 중 적어도 하나를 바탕으로 식별될 수 있다. Here, the personalization level of the first neural network model is information about the user's history of use of the first external device for the first neural network model and the feedback of the user of the first external device for the first neural network model. is identified based on at least one of information, and the personalization level of the second neural network model is information about a user's history of use of the electronic device for the second neural network model and a user of the electronic device for the second neural network model may be identified based on at least one of information on the feedback of .

한편, 상기 제2 신호는 상기 전자 장치에 대한 제1 사용자 정보 및 상기 제1 외부 장치에 대한 제2 사용자 정보를 바탕으로 사용자 인증이 완료됨에 따라, 상기 제1 외부 장치로부터 수신되며, 상기 제1 사용자 정보는 상기 전자 장치의 사용자에 대한 계정 정보 및 상기 전자 장치에 대한 식별 정보 중 적어도 하나를 포함하고, 상기 제2 사용자 정보는 상기 제1 외부 장치의 사용자에 대한 계정 정보 및 상기 제1 외부 장치에 대한 식별 정보 중 적어도 하나를 포함할 수 있다. Meanwhile, the second signal is received from the first external device as user authentication is completed based on the first user information on the electronic device and the second user information on the first external device, and the first signal is received from the first external device. The user information includes at least one of account information for a user of the electronic device and identification information for the electronic device, and the second user information includes account information for a user of the first external device and the first external device. It may include at least one of identification information for.

한편, 상기 전자 장치의 제어 방법은 상기 전자 장치의 하드웨어에 적합한 것으로 식별된 적어도 하나의 신경망 모델에 대한 정보를 포함하는 사용자 인터페이스를 표시하는 단계 및 상기 사용자 인터페이스를 통해 상기 전자 장치의 하드웨어에 적합한 것으로 식별된 적어도 하나의 신경망 모델 중 하나 이상의 신경망 모델을 선택하는 사용자 입력을 수신하는 단계를 더 포함하고, 상기 제3 신호는 상기 선택된 하나 이상의 신경망 모델의 설치 데이터에 대한 요청을 포함하고, 상기 제4 신호는 상기 선택된 하나 이상의 신경망 모델의 설치 데이터를 포함할 수 있다. Meanwhile, the method for controlling the electronic device includes displaying a user interface including information on at least one neural network model identified as being suitable for hardware of the electronic device, and determining that it is suitable for the hardware of the electronic device through the user interface. Receiving a user input for selecting one or more neural network models from among the identified at least one neural network model, wherein the third signal includes a request for installation data of the selected one or more neural network models; The signal may include installation data of the selected one or more neural network models.

상술한 바와 같은 목적을 달성하기 위한 본 개시의 일 실시 예에 따르면, 전자 장치의 하드웨어 사양에 대한 제1 기기 정보 및 상기 전자 장치의 하드웨어에 적합한 신경망 모델을 식별하는 하드웨어 적합성 식별 모듈이 저장되며, 외부 장치에 포함된 신경망 모델의 전이 적합성을 식별하기 위한 전자 장치의 제어 방법을 실행하는 프로그램을 포함하는 비일시적 컴퓨터 판독 가능 기록매체에 있어서, 상기 전자 장치의 제어 방법은 전자 장치의 제어 방법은 사용자 입력이 수신되면, 적어도 하나의 외부 장치에 포함된 적어도 하나의 신경망 모델에 관련된 정보를 요청하기 위한 제1 신호를 전송하는 단계, 상기 제1 신호에 대한 응답으로, 상기 적어도 하나의 외부 장치 중 제1 외부 장치로부터 상기 제1 외부 장치의 하드웨어 사양에 대한 제2 기기 정보 및 상기 제1 외부 장치에 포함된 적어도 하나의 신경망 모델에 대한 제1 모델 정보를 포함하는 제2 신호를 수신하는 단계, 상기 제1 기기 정보, 상기 제2 기기 정보 및 상기 제1 모델 정보를 상기 하드웨어 적합성 식별 모듈에 입력하여, 상기 제1 외부 장치에 포함된 적어도 하나의 신경망 모델 각각이 상기 전자 장치의 하드웨어에 적합한지 여부를 식별하는 단계, 상기 전자 장치의 하드웨어에 적합한 것으로 식별된 적어도 하나의 신경망 모델의 설치 데이터에 대한 요청을 포함하는 제3 신호를 상기 제1 외부 장치로 전송하는 단계 및 상기 제3 신호에 대한 응답으로, 상기 제1 외부 장치로부터 상기 전자 장치의 하드웨어에 적합한 것으로 식별된 적어도 하나의 신경망 모델의 설치 데이터를 포함하는 제4 신호를 수신하는 단계를 포함하고, 상기 식별하는 단계는 상기 전자 장치에 포함된 복수의 하드웨어 구성 각각의 사양이 상기 제1 외부 장치에 포함된 복수의 하드웨어 구성의 사양 이상이면, 상기 제1 외부 장치에 포함된 상기 적어도 하나의 신경망 모델이 상기 전자 장치의 하드웨어에 적합한 것으로 식별하는 단계 및 상기 전자 장치에 포함된 복수의 하드웨어 구성 중 적어도 하나의 사양이 상기 제1 외부 장치에 포함된 복수의 하드웨어 구성의 사양 미만이면, 상기 제1 외부 장치에 포함된 상기 적어도 하나의 신경망 모델 중 상기 전자 장치에 포함된 복수의 하드웨어 구성의 사양 보다 낮은 하드웨어 요구 사양을 갖는 하나 이상의 신경망 모델이 상기 전자 장치의 하드웨어에 적합한 것으로 식별하는 단계를 포함한다.According to an embodiment of the present disclosure for achieving the object as described above, a hardware conformance identification module for identifying first device information on a hardware specification of an electronic device and a neural network model suitable for the hardware of the electronic device is stored, A non-transitory computer-readable recording medium including a program for executing a control method of an electronic device for identifying transition suitability of a neural network model included in an external device, wherein the control method of the electronic device is configured by a user When an input is received, transmitting a first signal for requesting information related to at least one neural network model included in at least one external device, in response to the first signal, a second one of the at least one external device 1 Receiving, from an external device, a second signal including second device information on a hardware specification of the first external device and first model information on at least one neural network model included in the first external device; Whether each of the at least one neural network model included in the first external device is suitable for the hardware of the electronic device by inputting the first device information, the second device information, and the first model information into the hardware suitability identification module Transmitting a third signal including a request for installation data of at least one neural network model identified as suitable for hardware of the electronic device to the first external device, and a response to the third signal receiving, from the first external device, a fourth signal including installation data of at least one neural network model identified as suitable for hardware of the electronic device, wherein the identifying includes in the electronic device If the specification of each of the plurality of hardware components is greater than or equal to the specification of the plurality of hardware components included in the first external device, it is identified that the at least one neural network model included in the first external device is suitable for the hardware of the electronic device. and a plurality of hardware included in the electronic device. If the specification of at least one of the configuration is less than the specification of a plurality of hardware configurations included in the first external device, a plurality of hardware configurations included in the electronic device among the at least one neural network model included in the first external device and identifying that one or more neural network models having a hardware requirement specification lower than the specification of the electronic device are suitable for the hardware of the electronic device.

상술한 바와 같은 목적을 달성하기 위한 본 개시의 일 실시 예에 따르면, 외부 장치에 포함된 신경망 모델의 전이 적합성을 식별하기 위한 전자 장치는 통신부, 상기 전자 장치에 포함된 적어도 하나의 신경망 모델에 대한 내부 모델 정보 및 상기 전자 장치에 포함된 신경망 모델을 대체하기에 적합한 신경망 모델을 식별하는 모델 적합성 식별 모듈을 저장하는 메모리 및 사용자 입력이 수신되면, 적어도 하나의 외부 장치에 포함된 적어도 하나의 신경망 모델에 관련된 정보를 요청하기 위한 제1 신호를 전송하도록 상기 통신부를 제어하고, 상기 제1 신호에 대한 응답으로, 상기 통신부를 통해 상기 적어도 하나의 외부 장치 중 제1 외부 장치로부터 제1 외부 장치에 포함된 적어도 하나의 신경망 모델에 대한 외부 모델 정보를 포함하는 제2 신호를 수신하고, 상기 내부 모델 정보 및 상기 외부 모델 정보를 상기 모델 적합성 식별 모듈에 입력하여, 상기 제1 외부 장치에 포함된 적어도 하나의 신경망 모델 각각이 상기 전자 장치에 포함된 신경망 모델을 대체하기에 적합한지 여부를 식별하며, 상기 전자 장치에 포함된 신경망 모델을 대체하기에 적합한 것으로 식별된 적어도 하나의 신경망 모델의 설치 데이터에 대한 요청을 포함하는 제3 신호를 상기 제1 외부 장치로 전송하도록 상기 통신부를 제어하고, 상기 제3 신호에 대한 응답으로, 상기 통신부를 통해 상기 제1 외부 장치로부터 상기 식별된 적어도 하나의 신경망 모델의 설치 데이터를 포함하는 제4 신호를 수신하는 프로세서를 포함하며,상기 프로세서는 상기 내부 모델 정보 및 상기 외부 모델 정보 각각에 포함된 서비스 유형에 대한 정보를 바탕으로 상기 전자 장치에 포함된 적어도 하나의 신경망 모델의 서비스 유형과 상기 제1 외부 장치에 포함된 적어도 하나의 신경망 모델의 서비스 유형을 비교하고, 상기 제1 외부 장치에 포함된 적어도 하나의 신경망 모델 중 제1 신경망 모델의 서비스 유형이 상기 전자 장치에 포함된 복수의 신경망 모델 중 제2 신경망 모델의 서비스 유형과 동일하면, 상기 내부 모델 정보 및 상기 외부 모델 정보 각각에 포함된 개인화 레벨에 대한 정보를 바탕으로 상기 제1 신경망 모델의 개인화 레벨과 상기 제2 신경망 모델의 개인화 레벨을 비교하며, 상기 제1 신경망 모델의 개인화 레벨이 상기 제2 신경망 모델의 개인화 레벨보다 높으면, 상기 제1 신경망 모델이 상기 제2 신경망 모델을 대체하는 것이 적합한 것으로 식별할 수 있다. According to an embodiment of the present disclosure for achieving the object as described above, an electronic device for identifying the transitive suitability of a neural network model included in an external device includes a communication unit, and at least one neural network model included in the electronic device. When a memory for storing internal model information and a model suitability identification module for identifying a neural network model suitable for replacing a neural network model included in the electronic device and a user input are received, at least one neural network model included in at least one external device control the communication unit to transmit a first signal for requesting information related to, and in response to the first signal, include in the first external device from a first external device among the at least one external device through the communication unit Receive a second signal including external model information for at least one neural network model that has been used, input the internal model information and the external model information to the model suitability identification module, and at least one included in the first external device Identifies whether each of the neural network models is suitable for replacing the neural network model included in the electronic device, and for installation data of at least one neural network model identified as being suitable for replacing the neural network model included in the electronic device. control the communication unit to transmit a third signal including a request to the first external device, and in response to the third signal, the identified at least one neural network model from the first external device through the communication unit A processor for receiving a fourth signal including installation data, wherein the processor includes at least one neural network included in the electronic device based on information on a service type included in each of the internal model information and the external model information. The service type of the model is compared with the service type of at least one neural network model included in the first external device, and the service type of the first neural network model among the at least one neural network model included in the first external device is determined by the electronic device. A second neural network among a plurality of neural network models included in If it is the same as the service type of the model, comparing the personalization level of the first neural network model and the personalization level of the second neural network model based on the information on the personalization level included in each of the internal model information and the external model information, If the personalization level of the first neural network model is higher than the personalization level of the second neural network model, it may be identified that the first neural network model is suitable to replace the second neural network model.

여기서, 상기 제1 신경망 모델의 개인화 레벨은 상기 제1 신경망 모델에 대한 상기 제1 외부 장치의 사용자의 사용 이력에 대한 정보 및 상기 제1 신경망 모델에 대한 상기 제1 외부 장치의 사용자의 피드백에 대한 정보 중 적어도 하나를 바탕으로 식별되고, 상기 제2 신경망 모델의 개인화 레벨은 상기 제2 신경망 모델에 대한 상기 전자 장치의 사용자의 사용 이력에 대한 정보 및 상기 제2 신경망 모델에 대한 상기 전자 장치의 사용자의 피드백에 대한 정보 중 적어도 하나를 바탕으로 식별될 수 있다. Here, the personalization level of the first neural network model is information about the user's history of use of the first external device for the first neural network model and the feedback of the user of the first external device for the first neural network model. is identified based on at least one of information, and the personalization level of the second neural network model is information about a user's history of use of the electronic device for the second neural network model and a user of the electronic device for the second neural network model may be identified based on at least one of information on the feedback of .

도 1은 본 개시의 일 실시 예에 따른 전자 장치의 제어 방법을 나타내는 흐름도,
도 2 내지 도 4는 도 1에 따른 전자 장치의 제어 방법을 수행하기 위한 하드웨어 적합성 식별 모듈의 동작에 대해 구체적으로 설명하기 위한 도면,
도 5a는 본 개시의 다른 실시 예에 따른 전자 장치의 제어 방법을 나타내는 흐름도,
도 5a는 본 개시의 또 다른 실시 예에 따른 전자 장치의 제어 방법을 나타내는 흐름도,
도 6 내지 도 8은 도 5a 및 도 5b에 따른 전자 장치의 제어 방법을 수행하기 위한 모델 적합성 식별 모듈의 동작에 대해 구체적으로 설명하기 위한 도면,
도 9는 본 개시의 또 다른 실시 예에 따른 전자 장치의 제어 방법을 설명하기 위한 도면,
도 10은 본 개시에 따른 외부 장치가 복수 개인 경우의 실시 예에 대해 설명하기 위한 시퀀스도,
도 11은 본 개시의 일 실시 예에 따라 전자 장치에 의해 제공되는 사용자 인터페이스에 대해 설명하기 위한 도면,
도 12는 본 개시의 일 실시 예에 따라 제1 외부 장치에 의해 제공되는 사용자 인터페이스에 대해 설명하기 위한 도면,
도 13은 본 개시에 따른 전자 장치, 제1 외부 장치 및 제2 외부 장치의 일 예를 나타내는 도면,
도 14는 제1 외부 장치에 포함된 신경망 모델을 제2 외부 장치로 전이하는 경우 전자 장치에 의해 전이 적합성을 식별하는 과정을 설명하기 위한 시퀀스도,
도 15는 본 개시에 따른 전자 장치에 포함된 소프트웨어 모듈의 아키텍처를 상세하게 나타내는 블록도,
도 16은 본 개시에 따른 제1 외부 장치에 포함된 소프트웨어 모듈의 아키텍처를 상세하게 나타내는 블록도,
도 17은 본 개시에 따른 전자 장치에 포함된 하드웨어 구성의 아키텍처를 간략하게 나타내는 블록도, 그리고,
도 18은 본 개시에 따른 전자 장치에 포함된 하드웨어 구성의 아키텍처를 보다 상세하게 나타내는 블록도이다.
1 is a flowchart illustrating a control method of an electronic device according to an embodiment of the present disclosure;
2 to 4 are diagrams for specifically explaining the operation of the hardware conformity identification module for performing the control method of the electronic device according to FIG. 1;
5A is a flowchart illustrating a control method of an electronic device according to another embodiment of the present disclosure;
5A is a flowchart illustrating a control method of an electronic device according to another embodiment of the present disclosure;
6 to 8 are diagrams for explaining in detail the operation of the model suitability identification module for performing the control method of the electronic device according to FIGS. 5A and 5B;
9 is a view for explaining a method of controlling an electronic device according to another embodiment of the present disclosure;
10 is a sequence diagram for explaining an embodiment when there are a plurality of external devices according to the present disclosure;
11 is a view for explaining a user interface provided by an electronic device according to an embodiment of the present disclosure;
12 is a view for explaining a user interface provided by a first external device according to an embodiment of the present disclosure;
13 is a diagram illustrating an example of an electronic device, a first external device, and a second external device according to the present disclosure;
14 is a sequence diagram for explaining a process of identifying transition suitability by an electronic device when a neural network model included in a first external device is transferred to a second external device;
15 is a block diagram illustrating in detail an architecture of a software module included in an electronic device according to the present disclosure;
16 is a block diagram illustrating in detail the architecture of a software module included in a first external device according to the present disclosure;
17 is a block diagram schematically illustrating an architecture of a hardware configuration included in an electronic device according to the present disclosure;
18 is a block diagram illustrating in more detail an architecture of a hardware configuration included in an electronic device according to the present disclosure.

본 실시 예들은 다양한 변환을 가할 수 있고 여러 가지 실시 예를 가질 수 있는바, 특정 실시 예들을 도면에 예시하고 상세한 설명에 상세하게 설명하고자 한다. 그러나 이는 특정한 실시 형태에 대해 범위를 한정하려는 것이 아니며, 본 개시의 실시 예의 다양한 변경(modifications), 균등물(equivalents), 및/또는 대체물(alternatives)을 포함하는 것으로 이해되어야 한다. 도면의 설명과 관련하여, 유사한 구성요소에 대해서는 유사한 참조 부호가 사용될 수 있다.Since the present embodiments can apply various transformations and can have various embodiments, specific embodiments are illustrated in the drawings and described in detail in the detailed description. However, this is not intended to limit the scope of the specific embodiments, and should be understood to include various modifications, equivalents, and/or alternatives of the embodiments of the present disclosure. In connection with the description of the drawings, like reference numerals may be used for like components.

본 개시를 설명함에 있어서, 관련된 공지 기능 혹은 구성에 대한 구체적인 설명이 본 개시의 요지를 불필요하게 흐릴 수 있다고 판단되는 경우 그에 대한 상세한 설명은 생략한다. In describing the present disclosure, if it is determined that a detailed description of a related known function or configuration may unnecessarily obscure the subject matter of the present disclosure, a detailed description thereof will be omitted.

덧붙여, 하기 실시 예는 여러 가지 다른 형태로 변형될 수 있으며, 본 개시의 기술적 사상의 범위가 하기 실시 예에 한정되는 것은 아니다. 오히려, 이들 실시 예는 본 개시를 더욱 충실하고 완전하게 하고, 당업자에게 본 개시의 기술적 사상을 완전하게 전달하기 위하여 제공되는 것이다.In addition, the following examples may be modified in various other forms, and the scope of the technical spirit of the present disclosure is not limited to the following examples. Rather, these embodiments are provided to more fully and complete the present disclosure, and to fully convey the technical spirit of the present disclosure to those skilled in the art.

본 개시에서 사용한 용어는 단지 특정한 실시 예를 설명하기 위해 사용된 것으로, 권리범위를 한정하려는 의도가 아니다. 단수의 표현은 문맥상 명백하게 다르게 뜻하지 않는 한, 복수의 표현을 포함한다.The terms used in the present disclosure are used only to describe specific embodiments, and are not intended to limit the scope of rights. The singular expression includes the plural expression unless the context clearly dictates otherwise.

본 개시에서, "가진다," "가질 수 있다," "포함한다," 또는 "포함할 수 있다" 등의 표현은 해당 특징(예: 수치, 기능, 동작, 또는 부품 등의 구성요소)의 존재를 가리키며, 추가적인 특징의 존재를 배제하지 않는다. In the present disclosure, expressions such as “have,” “may have,” “include,” or “may include” indicate the presence of a corresponding characteristic (eg, a numerical value, function, operation, or component such as a part). and does not exclude the presence of additional features.

본 개시에서, "A 또는 B," "A 또는/및 B 중 적어도 하나," 또는 "A 또는/및 B 중 하나 또는 그 이상"등의 표현은 함께 나열된 항목들의 모든 가능한 조합을 포함할 수 있다. 예를 들면, "A 또는 B," "A 및 B 중 적어도 하나," 또는 "A 또는 B 중 적어도 하나"는, (1) 적어도 하나의 A를 포함, (2) 적어도 하나의 B를 포함, 또는 (3) 적어도 하나의 A 및 적어도 하나의 B 모두를 포함하는 경우를 모두 지칭할 수 있다.In this disclosure, expressions such as “A or B,” “at least one of A and/and B,” or “one or more of A or/and B” may include all possible combinations of the items listed together. . For example, "A or B," "at least one of A and B," or "at least one of A or B" means (1) includes at least one A, (2) includes at least one B; Or (3) it may refer to all cases including both at least one A and at least one B.

본 개시에서 사용된 "제1," "제2," "첫째," 또는 "둘째,"등의 표현들은 다양한 구성요소들을, 순서 및/또는 중요도에 상관없이 수식할 수 있고, 한 구성요소를 다른 구성요소와 구분하기 위해 사용될 뿐 해당 구성요소들을 한정하지 않는다. As used in the present disclosure, expressions such as "first," "second," "first," or "second," may modify various elements, regardless of order and/or importance, and refer to one element. It is used only to distinguish it from other components, and does not limit the components.

어떤 구성요소(예: 제1 구성요소)가 다른 구성요소(예: 제2 구성요소)에 "(기능적으로 또는 통신적으로) 연결되어((operatively or communicatively) coupled with/to)" 있다거나 "접속되어(connected to)" 있다고 언급된 때에는, 상기 어떤 구성요소가 상기 다른 구성요소에 직접적으로 연결되거나, 다른 구성요소(예: 제3 구성요소)를 통하여 연결될 수 있다고 이해되어야 할 것이다. A component (eg, a first component) is "coupled with/to (operatively or communicatively)" to another component (eg, a second component) When referring to "connected to", it will be understood that the certain element may be directly connected to the other element or may be connected through another element (eg, a third element).

반면에, 어떤 구성요소(예: 제1 구성요소)가 다른 구성요소(예: 제2 구성요소)에 "직접 연결되어" 있다거나 "직접 접속되어" 있다고 언급된 때에는, 상기 어떤 구성요소와 상기 다른 구성요소 사이에 다른 구성요소(예: 제3 구성요소)가 존재하지 않는 것으로 이해될 수 있다.On the other hand, when it is said that a component (eg, a first component) is "directly connected" or "directly connected" to another component (eg, a second component), the component and the It may be understood that other components (eg, a third component) do not exist between other components.

본 개시에서 사용된 표현 "~하도록 구성된(또는 설정된)(configured to)"은 상황에 따라, 예를 들면, "~에 적합한(suitable for)," "~하는 능력을 가지는(having the capacity to)," "~하도록 설계된(designed to)," "~하도록 변경된(adapted to)," "~하도록 만들어진(made to)," 또는 "~를 할 수 있는(capable of)"과 바꾸어 사용될 수 있다. 용어 "~하도록 구성된(또는 설정된)"은 하드웨어적으로 "특별히 설계된(specifically designed to)" 것만을 반드시 의미하지 않을 수 있다. The expression "configured to (or configured to)" as used in this disclosure depends on the context, for example, "suitable for," "having the capacity to" ," "designed to," "adapted to," "made to," or "capable of." The term “configured (or configured to)” may not necessarily mean only “specifically designed to” in hardware.

대신, 어떤 상황에서는, "~하도록 구성된 장치"라는 표현은, 그 장치가 다른 장치 또는 부품들과 함께 "~할 수 있는" 것을 의미할 수 있다. 예를 들면, 문구 "A, B, 및 C를 수행하도록 구성된(또는 설정된) 프로세서"는 해당 동작을 수행하기 위한 전용 프로세서(예: 임베디드 프로세서), 또는 메모리 장치에 저장된 하나 이상의 소프트웨어 프로그램들을 실행함으로써, 해당 동작들을 수행할 수 있는 범용 프로세서(generic-purpose processor)(예: CPU 또는 application processor)를 의미할 수 있다.Instead, in some circumstances, the expression “a device configured to” may mean that the device is “capable of” with other devices or parts. For example, the phrase “a processor configured (or configured to perform) A, B, and C” refers to a dedicated processor (eg, an embedded processor) for performing the operations, or by executing one or more software programs stored in a memory device. , may mean a generic-purpose processor (eg, a CPU or an application processor) capable of performing corresponding operations.

실시 예에 있어서 '모듈' 혹은 '부'는 적어도 하나의 기능이나 동작을 수행하며, 하드웨어 또는 소프트웨어로 구현되거나 하드웨어와 소프트웨어의 결합으로 구현될 수 있다. 또한, 복수의 '모듈' 혹은 복수의 '부'는 특정한 하드웨어로 구현될 필요가 있는 '모듈' 혹은 '부'를 제외하고는 적어도 하나의 모듈로 일체화되어 적어도 하나의 프로세서로 구현될 수 있다.In an embodiment, a 'module' or 'unit' performs at least one function or operation, and may be implemented as hardware or software, or a combination of hardware and software. In addition, a plurality of 'modules' or a plurality of 'units' may be integrated into at least one module and implemented by at least one processor, except for 'modules' or 'units' that need to be implemented with specific hardware.

한편, 도면에서의 다양한 요소와 영역은 개략적으로 그려진 것이다. 따라서, 본 발명의 기술적 사상은 첨부한 도면에 그려진 상대적인 크기나 간격에 의해 제한되지 않는다. Meanwhile, various elements and regions in the drawings are schematically drawn. Accordingly, the technical spirit of the present invention is not limited by the relative size or spacing drawn in the accompanying drawings.

한편, 본 개시의 다양한 실시 예에 따른 전자 장치는 예를 들면, 스마트 폰, 태블릿 PC, 데스크탑 PC, 랩탑 PC 또는 웨어러블 장치 중 적어도 하나를 포함할 수 있다. 웨어러블 장치는 액세서리형(예: 시계, 반지, 팔찌, 발찌, 목걸이, 안경, 콘택트 렌즈, 또는 머리 착용형 장치(head-mounted-device(HMD)), 직물 또는 의류 일체형(예: 전자 의복), 신체 부착형(예: 스킨 패드 또는 문신), 또는 생체 이식형 회로 중 적어도 하나를 포함할 수 있다. Meanwhile, the electronic device according to various embodiments of the present disclosure may include, for example, at least one of a smart phone, a tablet PC, a desktop PC, a laptop PC, and a wearable device. A wearable device may be an accessory (e.g., watch, ring, bracelet, anklet, necklace, eyewear, contact lens, or head-mounted-device (HMD)), a textile or clothing integral (e.g. electronic garment); It may include at least one of body-attached (eg, skin pad or tattoo), or bioimplantable circuitry.

어떤 실시 예들에서, 전자 장치는 예를 들면, 텔레비전, DVD(digital video disk) 플레이어, 오디오, 냉장고, 에어컨, 청소기, 오븐, 전자레인지, 세탁기, 공기 청정기, 셋톱 박스, 홈 오토매이션 컨트롤 패널, 보안 컨트롤 패널, 미디어 박스(예: 삼성 HomeSyncTM, 애플TVTM, 또는 구글 TVTM), 게임 콘솔(예: XboxTM, PlayStationTM), 전자 사전, 전자 키, 캠코더, 또는 전자 액자 중 적어도 하나를 포함할 수 있다.In some embodiments, the electronic device may include, for example, a television, digital video disk (DVD) player, audio, refrigerator, air conditioner, vacuum cleaner, oven, microwave oven, washing machine, air purifier, set-top box, home automation control panel, Secure at least one of a control panel, media box (eg Samsung HomeSync TM , Apple TV TM , or Google TV TM ), game console (eg Xbox TM , PlayStation TM ), electronic dictionary, electronic key, camcorder, or electronic picture frame. may include

다른 실시예에서, 전자 장치는 각종 의료기기(예: 각종 휴대용 의료측정기기(혈당 측정기, 심박 측정기, 혈압 측정기, 또는 체온 측정기 등), MRA(magnetic resonance angiography), MRI(magnetic resonance imaging), CT(computed tomography), 촬영기, 또는 초음파기 등), 네비게이션 장치, 위성 항법 시스템(GNSS(global navigation satellite system)), EDR(event data recorder), FDR(flight data recorder), 자동차 인포테인먼트 장치, 선박용 전자 장비(예: 선박용 항법 장치, 자이로 콤파스 등), 항공 전자기기(avionics), 보안 기기, 차량용 헤드 유닛(head unit), 산업용 또는 가정용 로봇, 드론(drone), 금융 기관의 ATM, 상점의 POS(point of sales), 또는 사물 인터넷 장치 (예: 전구, 각종 센서, 스프링클러 장치, 화재 경보기, 온도조절기, 가로등, 토스터, 운동기구, 온수탱크, 히터, 보일러 등) 중 적어도 하나를 포함할 수 있다.In another embodiment, the electronic device may include various medical devices (eg, various portable medical measuring devices (eg, a blood glucose monitor, a heart rate monitor, a blood pressure monitor, or a body temperature monitor), magnetic resonance angiography (MRA), magnetic resonance imaging (MRI), or CT. (computed tomography, camera, or ultrasound), navigation devices, global navigation satellite system (GNSS), event data recorder (EDR), flight data recorder (FDR), automotive infotainment devices, marine electronic equipment ( Examples: navigation devices for ships, gyro compasses, etc.), avionics, security devices, head units for vehicles, industrial or household robots, drones, ATMs in financial institutions, point of sale (POS) in stores sales), or Internet of Things devices (eg, light bulbs, various sensors, sprinkler devices, fire alarms, thermostats, street lights, toasters, exercise equipment, hot water tanks, heaters, boilers, etc.).

이하에서는 첨부한 도면을 참고하여 본 개시에 따른 실시 예에 대하여 본 개시가 속하는 기술 분야에서 통상의 지식을 가진 자가 용이하게 실시할 수 있도록 상세히 설명한다.Hereinafter, embodiments according to the present disclosure will be described in detail with reference to the accompanying drawings so that those of ordinary skill in the art to which the present disclosure pertains can easily implement them.

도 1은 본 개시의 일 실시 예에 따른 전자 장치(100)의 제어 방법을 나타내는 흐름도이다. 그리고, 도 2 내지 도 4는 도 1에 따른 전자 장치(100)의 제어 방법을 수행하기 위한 하드웨어 적합성 식별 모듈(1100)의 동작에 대해 구체적으로 설명하기 위한 도면이다. 1 is a flowchart illustrating a control method of an electronic device 100 according to an embodiment of the present disclosure. 2 to 4 are diagrams for specifically explaining the operation of the hardware suitability identification module 1100 for performing the control method of the electronic device 100 according to FIG. 1 .

먼저, 본 개시에 따른 '전자 장치'는 스마트 폰, 태블릿 PC, 노트북, TV 및 로봇 등과 같이 다양한 유형으로 구현될 수 있으며, 본 개시에 따른 전자 장치 가 특정한 유형의 장치에 국한되는 것은 아니다. 이하에서는 본 개시에 따른 전자 장치를 전자 장치(100)으로 표기한다.First, the 'electronic device' according to the present disclosure may be implemented in various types such as a smart phone, a tablet PC, a notebook computer, a TV, and a robot, and the electronic device according to the present disclosure is not limited to a specific type of device. Hereinafter, an electronic device according to the present disclosure will be referred to as an electronic device 100 .

한편, '신경망 모델'은 인공 신경망(neural network)을 포함하는 인공 지능 모델(artificial intelligence model)을 말하며, 딥러닝(deep learning)에 의해 학습될 수 있다. 예를 들어, 신경망 모델은 심층 신경망(Deep Neural Network, DNN), 합성곱 신경망(Convolution Neural Network, CNN), 순환 신경망(Recurrent Neural Network, RNN) 및 생성적 적대 신경망(Generative Adversarial Networks, GAN) 중 적어도 하나의 인공 신경망을 포함할 수 있다. 다만, 본 개시에 따른 신경망 모델이 상술한 예에 국한되는 것은 아니다.Meanwhile, the 'neural network model' refers to an artificial intelligence model including an artificial neural network, and may be learned by deep learning. For example, a neural network model is one of Deep Neural Network (DNN), Convolution Neural Network (CNN), Recurrent Neural Network (RNN), and Generative Adversarial Networks (GAN). It may include at least one artificial neural network. However, the neural network model according to the present disclosure is not limited to the above-described example.

한편, 본 개시에 따른 전자 장치(100)에는 전자 장치(100)의 하드웨어 사양에 대한 제1 기기 정보 및 하드웨어 적합성 식별 모듈(1100)이 저장될 수 있다. Meanwhile, in the electronic device 100 according to the present disclosure, the first device information regarding the hardware specification of the electronic device 100 and the hardware suitability identification module 1100 may be stored.

여기서, '제1 기기 정보'는 전자 장치(100)의 하드웨어 사양에 대한 정보를 말한다. 구체적으로, 제1 기기 정보는 전자 장치(100)에 포함된 복수의 하드웨어 각각이 어떠한 성능을 갖는지를 나타내는 사양에 대한 정보를 총칭하기 위한 용어로서, 전자 장치(100)에 포함된 복수의 하드웨어 구성(hardware component) 각각의 유무, 개수, 유형 및 성능 등에 대한 세부 정보를 포함할 수 있다. Here, 'first device information' refers to information on the hardware specification of the electronic device 100 . Specifically, the first device information is a term to collectively refer to information on specifications indicating the performance of each of a plurality of hardware included in the electronic device 100 , and includes a plurality of hardware components included in the electronic device 100 . (hardware component) may include detailed information about the presence, number, type, and performance of each.

특히, 제1 기기 정보는 전자 장치(100)에 포함된 프로세서의 사양, 전자 장치(100)에 포함된 메모리의 사양 및 전자 장치(100)에 포함된 데이터 획득부의 사양에 대한 정보를 포함할 수 있다. 여기서, 데이터 획득부란 전자 장치(100)에 포함된 적어도 하나의 신경망 모델에 입력되는 데이터를 획득하는 구성으로서, 전자 장치(100)에 포함된 카메라, 마이크 및 센서 중 적어도 하나를 포함할 수 있다. In particular, the first device information may include information on a specification of a processor included in the electronic device 100 , a specification of a memory included in the electronic device 100 , and a specification of a data acquisition unit included in the electronic device 100 . have. Here, the data acquisition unit is a configuration for acquiring data input to at least one neural network model included in the electronic device 100 , and may include at least one of a camera, a microphone, and a sensor included in the electronic device 100 .

한편, 제1 기기 정보는 전자 장치(100)에 포함된 복수의 하드웨어 각각에 대한 성능 평가 정보를 포함할 수 있다. 여기서, '성능 평가 정보'는 전문가가 하드웨어 구성 각각에 대한 실험 및 분석을 바탕으로 그 성능을 종합적으로 평가하여 점수화한 것으로서, 전자 장치(100)에 기 저장될 수 있을 뿐만 아니라 외부 서버로부터 수신되어 업데이트될 수도 있다. Meanwhile, the first device information may include performance evaluation information for each of a plurality of hardware included in the electronic device 100 . Here, 'performance evaluation information' is scored by an expert comprehensively evaluating the performance based on experiments and analysis for each hardware configuration, and may be pre-stored in the electronic device 100 as well as received from an external server. may be updated.

'하드웨어 적합성 식별 모듈(1100)'은 전자 장치(100)의 하드웨어에 적합한 신경망 모델을 식별하는 모듈을 말한다. 구체적으로, 하드웨어 적합성 식별 모듈(1100)은 전자 장치(100)의 하드웨어를 이용하여 외부 장치에 포함된 신경망 모델을 실행하는 것이 적합한지에 대한 정보를 출력할 수 있다. 본 개시를 설명함에 있어서, '적합'이라는 용어는 '호환' 또는 '대체 가능' 등의 용어로 대체될 수 있다. The 'hardware suitability identification module 1100' refers to a module for identifying a neural network model suitable for hardware of the electronic device 100 . Specifically, the hardware suitability identification module 1100 may output information on whether it is appropriate to execute the neural network model included in the external device using the hardware of the electronic device 100 . In describing the present disclosure, the term 'suitable' may be replaced with terms such as 'compatible' or 'substitutable'.

도 1에 도시된 바와 같이, 사용자 입력이 수신되면, 전자 장치(100)는 적어도 하나의 외부 장치에 포함된 적어도 하나의 신경망 모델에 관련된 정보를 요청하기 위한 제1 신호를 전송할 수 있다(S110). 1 , when a user input is received, the electronic device 100 may transmit a first signal for requesting information related to at least one neural network model included in at least one external device (S110). .

여기서, '사용자 입력'은 전자 장치(100)의 디스플레이를 통해 입력되는 사용자 터치, 전자 장치(100)의 마이크를 통해 수신되는 사용자 음성 또는 전자 장치(100)에 구비된 물리 버튼의 입력, 전자 장치(100)를 제어하기 위한 원격 제어 장치에 의해 전송된 제어 신호 등을 바탕으로 수신될 수 있다. '전송'이라는 용어는 신호 또는 데이터를 전송할 때 특정한 외부 장치를 타겟으로 하여 전송하는 유니케스팅(unicasting) 및 특정한 외부 장치를 타겟으로 하지 않고 네트워크에 연결된 모든 외부 장치에 일제히 전송하는 브로드캐스팅(broadcasting)을 포함하는 의미로 사용될 수 있다. '적어도 하나의 신경망 모델에 관련된 정보'는 제2 기기 정보 및 제1 모델 정보를 포함할 수 있는바, 이에 대해서는 후술한다. Here, 'user input' refers to a user touch input through the display of the electronic device 100 , a user voice received through a microphone of the electronic device 100 , or an input of a physical button provided in the electronic device 100 , the electronic device It may be received based on a control signal transmitted by a remote control device for controlling 100 . The term 'transmission' refers to unicasting, which targets a specific external device when transmitting a signal or data, and broadcasting, which transmits to all external devices connected to the network simultaneously without targeting a specific external device. may be used in the meaning of including The 'information related to at least one neural network model' may include second device information and first model information, which will be described later.

한편, '외부 장치'는 전자 장치(100)와 마찬가지로 스마트 폰, 태블릿 PC, 노트북, TV 및 로봇 등과 같이 다양한 유형으로 구현될 수 있으며, 외부 장치의 유형은 전자 장치(100)의 유형과 상이할 수도 있다. 전자 장치(100)와 외부 장치는 서로 '연결'될 수 있는바, 이는 전자 장치(100) 및 외부 장치 사이에 통신 연결을 위한 요청과 응답이 교환된 결과 통신 연결이 수립된 상태라는 것을 의미한다. 본 개시에 따른 통신 연결의 방식에 특별한 제한이 있는 것은 아니다. Meanwhile, like the electronic device 100 , the 'external device' may be implemented in various types such as a smart phone, a tablet PC, a laptop computer, a TV, and a robot, and the type of the external device may be different from the type of the electronic device 100 . may be The electronic device 100 and the external device may be 'connected' to each other, which means that a communication connection is established as a result of exchanging a request and a response for a communication connection between the electronic device 100 and the external device. . There is no particular limitation on the method of communication connection according to the present disclosure.

제1 신호에 대한 응답으로, 전자 장치(100)는 적어도 하나의 외부 장치 중 제1 외부 장치로부터 제1 외부 장치의 하드웨어 사양에 대한 제2 기기 정보 및 제1 외부 장치에 포함된 적어도 하나의 신경망 모델에 대한 제1 모델 정보를 포함하는 제2 신호를 수신할 수 있다(S120). 즉, 적어도 하나의 신경망 모델을 탐색하기 위한 요청에 대응되는 제1 신호가 수신되면, 제1 외부 장치는 그 요청에 대한 응답으로서 제2 신호를 전자 장치(100)로 전송할 수 있으며, 제2 신호에는 제2 기기 정보 및 제1 모델 정보가 포함될 수 있다. 본 개시를 설명함에 있어서, '제1 외부 장치'라는 용어는 전자 장치(100)에 신경망 모델의 설치 데이터를 전송할 수 있는 외부 장치를 특정하기 위한 용어로 사용된다. 이하에서는 본 개시에 따른 제1 외부 장치를 제1 외부 장치(200-1)로 표기한다.In response to the first signal, the electronic device 100 receives, from the first external device among the at least one external device, second device information on the hardware specification of the first external device, and at least one neural network included in the first external device. A second signal including first model information on the model may be received (S120). That is, when a first signal corresponding to a request to search for at least one neural network model is received, the first external device may transmit a second signal to the electronic device 100 as a response to the request, and the second signal may include second device information and first model information. In describing the present disclosure, the term 'first external device' is used as a term for specifying an external device capable of transmitting installation data of a neural network model to the electronic device 100 . Hereinafter, the first external device according to the present disclosure will be referred to as a first external device 200 - 1 .

한편, 제1 외부 장치(200-1)는 제1 신호에 포함된 제1 사용자 정보 및 제1 외부 장치(200-1)에 저장된 제2 사용자 정보를 바탕으로 사용자 인증 과정을 수행하고, 사용자 인증이 완료되면 제2 신호를 전자 장치(100)로 전송할 수도 있다. 사용자 인증 과정 내지는 사용자 적합성의 식별 과정에 대해서는 도 9 및 도 10을 참조하여 상술한다.Meanwhile, the first external device 200-1 performs a user authentication process based on the first user information included in the first signal and the second user information stored in the first external device 200-1, and performs user authentication. When this is completed, the second signal may be transmitted to the electronic device 100 . The user authentication process or user suitability identification process will be described in detail with reference to FIGS. 9 and 10 .

'제2 기기 정보'는 제1 외부 장치(200-1)의 하드웨어 사양에 대한 정보를 말한다. 구체적으로, 제2 기기 정보는 제1 외부 장치(200-1)에 포함된 각각의 하드웨어가 어떠한 성능을 갖는지를 나타내는 사양에 대한 정보를 총칭하기 위한 용어로서, 전자 장치(100)의 하드웨어 성능에 대한 제1 기기 정보에 대응된다. 'Second device information' refers to information on hardware specifications of the first external device 200 - 1 . Specifically, the second device information is a general term for information on specifications indicating what kind of performance each hardware included in the first external device 200 - 1 has, and is dependent on the hardware performance of the electronic device 100 . It corresponds to the first device information about the

즉, 제2 기기 정보는 제1 외부 장치(200-1)에 포함된 복수의 하드웨어 구성 각각의 유무, 개수, 유형 및 성능 등에 대한 세부 정보를 포함할 수 있으며, 제1 기기 정보의 경우와 마찬가지로, 제2 기기 정보 또한 제1 외부 장치(200-1)에 포함된 각각의 하드웨어에 대한 성능 평가 정보를 포함할 수 있다. 또한, 제2 기기 정보는 제1 외부 장치(200-1)에 포함된 프로세서의 사양, 제1 외부 장치(200-1)에 포함된 메모리의 사양 및 제1 외부 장치(200-1)에 포함된 데이터 획득부의 사양에 대한 정보를 포함할 수 있다. 여기서, 제1 외부 장치(200-1)의 데이터 획득부란 전자 장치(100)의 데이터 획득부와 마찬가지로, 제1 외부 장치(200-1)에 포함된 적어도 하나의 신경망 모델에 입력되는 데이터를 획득하는 구성으로서, 제1 외부 장치(200-1)에 포함된 카메라, 마이크 및 센서 중 적어도 하나를 포함할 수 있다.That is, the second device information may include detailed information on the presence, number, type, and performance of each of the plurality of hardware components included in the first external device 200 - 1 , as in the case of the first device information. , the second device information may also include performance evaluation information for each hardware included in the first external device 200 - 1 . In addition, the second device information includes a specification of a processor included in the first external device 200 - 1 , a specification of a memory included in the first external device 200 - 1 and included in the first external device 200 - 1 . It may include information about the specifications of the data acquisition unit. Here, the data acquisition unit of the first external device 200 - 1 acquires data input to at least one neural network model included in the first external device 200 - 1 , similarly to the data acquisition unit of the electronic device 100 . As a configuration to do so, at least one of a camera, a microphone, and a sensor included in the first external device 200 - 1 may be included.

'제1 모델 정보'는 제1 외부 장치(200-1)에 포함된 적어도 하나의 신경망 모델에 대한 정보를 말한다. 구체적으로, 제1 모델 정보는 제1 외부 장치(200-1)에 포함된 적어도 하나의 신경망 모델 각각의 서비스 유형에 대한 정보, 개인화 레벨에 대한 정보 및 하드웨어 요구 사양에 대한 정보를 포함할 수 있다. The 'first model information' refers to information on at least one neural network model included in the first external device 200 - 1 . Specifically, the first model information may include information on a service type of each of at least one neural network model included in the first external device 200-1, information on a personalization level, and information on a hardware requirement specification. .

제1 외부 장치(200-1)로부터 제2 기기 정보 및 제1 모델 정보를 포함하는 제2 신호가 수신되면, 전자 장치(100)는 제1 기기 정보, 제2 기기 정보 및 제1 모델 정보를 하드웨어 적합성 식별 모듈(1100)에 입력하여(S130), 제1 외부 장치(200-1)에 포함된 적어도 하나의 신경망 모델 각각이 전자 장치(100)의 하드웨어에 적합한지 여부를 식별할 수 있다. 즉, 제1 기기 정보, 제2 기기 정보 및 제1 모델 정보가 입력되면, 하드웨어 적합성 식별 모듈(1100)은 제1 기기 정보, 제2 기기 정보 및 제1 모델 정보를 바탕으로 본 개시의 다양한 실시 예에 따른 하드웨어 적합성 식별 과정을 수행할 수 있다. 이하에서는 도 1과 함께 도 2 내지 도 4를 참조하여, '하드웨어 적합성 식별 과정'에 대해 상세하게 설명한다. 구체적으로, 본 개시에 따른 하드웨어 적합성 식별 과정은 도 2 및 도 3에 도시된 바와 같은 단계 1 및 단계 2의 과정을 포함할 수 있다.When a second signal including the second device information and the first model information is received from the first external device 200 - 1 , the electronic device 100 transmits the first device information, the second device information, and the first model information. It may be input to the hardware suitability identification module 1100 ( S130 ) to identify whether each of the at least one neural network model included in the first external device 200 - 1 is suitable for the hardware of the electronic device 100 . That is, when the first device information, the second device information, and the first model information are input, the hardware suitability identification module 1100 performs various implementations of the present disclosure based on the first device information, the second device information, and the first model information. A hardware suitability identification process according to an example may be performed. Hereinafter, the 'hardware suitability identification process' will be described in detail with reference to FIGS. 2 to 4 together with FIG. 1 . Specifically, the hardware suitability identification process according to the present disclosure may include the processes of steps 1 and 2 as shown in FIGS. 2 and 3 .

첫째로, 도 1과 함께 도 2를 참조하여 '단계 1'에 대해 설명하면, 전자 장치(100)는 전자 장치(100)에 저장된 제1 기기 정보 및 제1 외부 장치(200-1)로부터 수신된 제2 기기 정보를 바탕으로 전자 장치(100)의 하드웨어 사양이 제1 외부 장치(200-1)의 하드웨어 사양보다 모든 부분에서 동등하거나 우위에 있는지 여부를 식별함으로써, 제1 외부 장치(200-1)에 포함된 신경망 모델 전부를 대상으로 하드웨어 적합성 식별 과정을 수행할 수 있다.First, when 'step 1' is described with reference to FIG. 2 together with FIG. 1 , the electronic device 100 receives the first device information stored in the electronic device 100 and the first external device 200 - 1 . By identifying whether the hardware specification of the electronic device 100 is equal to or superior to the hardware specification of the first external device 200-1 in all parts based on the obtained second device information, the first external device 200- Hardware conformance identification process can be performed for all neural network models included in 1).

구체적으로, 전자 장치(100)에 포함된 복수의 하드웨어 구성 각각의 사양이 제1 외부 장치(200-1)에 포함된 복수의 하드웨어 구성의 사양 이상이면(S140-Y), 전자 장치(100)는 제1 외부 장치(200-1)에 포함된 적어도 하나의 신경망 모델이 전자 장치(100)의 하드웨어에 적합한 것으로 식별할 수 있다(S150-1). Specifically, if the specification of each of the plurality of hardware components included in the electronic device 100 is equal to or greater than the specification of the plurality of hardware components included in the first external device 200-1 (S140-Y), the electronic device 100 may identify that at least one neural network model included in the first external device 200 - 1 is suitable for hardware of the electronic device 100 ( S150 - 1 ).

즉, 전자 장치(100)는 전자 장치(100)에 포함된 복수의 하드웨어 구성 각각에 대응되는 제1 외부 장치(200-1)의 하드웨어 구성을 식별하고, 대응되는 하드웨어 구성 별로 각각의 사양을 비교할 수 있다. 그리고, 전자 장치(100)에 포함된 복수의 하드웨어 구성 각각의 사양과 제1 외부 장치(200-1)에 포함된 복수의 하드웨어 구성 각각의 사양을 비교한 결과, 전자 장치(100)에 포함된 복수의 하드웨어 구성 각각의 사양이 제1 외부 장치(200-1)에 포함된 복수의 하드웨어 구성의 사양 이상이면, 이는 제1 외부 장치(200-1)에 포함된 적어도 하나의 신경망 모델 각각이 어떠한 하드웨어 사양을 요구하는지에 관계 없이, 전자 장치(100)의 하드웨어를 이용하여 제1 외부 장치(200-1)에 포함된 적어도 하나의 신경망 모델 전부를 실행할 수 있는 경우라고 추정할 수 있다. 따라서 이 경우, 전자 장치(100)는 제1 외부 장치(200-1)에 포함된 적어도 하나의 신경망 모델 전부가 전자 장치(100)의 하드웨어에 적합한 것으로 식별할 수 있다.That is, the electronic device 100 identifies the hardware configuration of the first external device 200 - 1 corresponding to each of the plurality of hardware configurations included in the electronic device 100 , and compares the respective specifications for each corresponding hardware configuration. can And, as a result of comparing the specifications of each of the plurality of hardware components included in the electronic device 100 with the specifications of each of the plurality of hardware components included in the first external device 200 - 1 , the If the specification of each of the plurality of hardware components is greater than or equal to the specification of the plurality of hardware components included in the first external device 200-1, it means that each of the at least one neural network model included in the first external device 200-1 is Regardless of whether a hardware specification is required, it may be assumed that all of the at least one neural network model included in the first external device 200 - 1 can be executed using the hardware of the electronic device 100 . Accordingly, in this case, the electronic device 100 may identify all of the at least one neural network model included in the first external device 200 - 1 as suitable for the hardware of the electronic device 100 .

구체적으로, 도 4에 도시된 바와 같이, 하드웨어 적합성 식별 모듈(1100)은 프로세서 적합성 식별 모듈(1110), 메모리 적합성 식별 모듈(1120), 카메라 적합성 식별 모듈(1130), 마이크 적합성 식별 모듈(1140) 및 센서 적합성 식별 모듈(1150) 등을 포함할 수 있다. 그리고, 전자 장치(100)는 하드웨어 적합성 식별 모듈(1100)에 포함된 각각의 모듈을 통해, 제1 기기 정보 및 제2 기기 정보 각각에 포함된 프로세서 사양, 메모리 사양, 카메라 사양, 마이크 사양 및 센서 사양에 대한 정보를 바탕으로 각각의 하드웨어 구성 별 하드웨어 적합성 식별 과정을 수행할 수 있다. Specifically, as shown in FIG. 4 , the hardware suitability identification module 1100 includes a processor suitability identification module 1110 , a memory suitability identification module 1120 , a camera suitability identification module 1130 , and a microphone suitability identification module 1140 . and a sensor suitability identification module 1150 and the like. And, the electronic device 100 through each module included in the hardware suitability identification module 1100, a processor specification, a memory specification, a camera specification, a microphone specification, and a sensor included in each of the first device information and the second device information Based on the information on the specifications, the hardware conformity identification process for each hardware configuration can be performed.

예를 들어, 전자 장치(100)에 포함된 프로세서, 메모리, 카메라, 마이크 및 센서 등의 사양이 모두 제1 외부 장치(200-1)에 포함된 프로세서, 메모리, 카메라, 마이크 및 센서 등의 사양 이상이면, 전자 장치(100)는 제1 외부 장치(200-1)에 포함된 적어도 하나의 신경망 모델 전부가 전자 장치(100)의 하드웨어에 적합한 것으로 식별할 수 있다. 이 때, 전자 장치(100)는 프로세서, 메모리, 카메라, 마이크 및 센서의 순서로 하드웨어 구성 별 하드웨어 적합성 식별 과정을 수행할 수도 있으나, 본 개시에 따른 하드웨어 구성 별 하드웨어 적합성 식별 과정에 특별한 순서의 제약이 있는 것은 아니다. For example, the specifications of the processor, memory, camera, microphone, and sensor included in the electronic device 100 are all specifications of the processor, memory, camera, microphone, and sensor included in the first external device 200-1. If this is the case, the electronic device 100 may identify that all of the at least one neural network model included in the first external device 200 - 1 are suitable for the hardware of the electronic device 100 . In this case, the electronic device 100 may perform the hardware suitability identification process for each hardware configuration in the order of the processor, memory, camera, microphone, and sensor, but there is a special order restriction in the hardware suitability identification process for each hardware configuration according to the present disclosure. there is not this

한편, 이상에서는 전자 장치(100) 및 제1 외부 장치(200-1) 각각에 포함된 프로세서, 메모리, 카메라, 마이크 및 센서 각각의 사양을 비교하는 것으로 설명하였으나, 이는 설명의 편의를 위한 것일 뿐, 전자 장치(100)는 본 개시에 따른 프로세서, 메모리, 카메라, 마이크 및 센서 각각에 포함되는 세부 구성 각각의 사양을 비교할 수도 있다. Meanwhile, in the above description, the specifications of the processor, memory, camera, microphone, and sensor included in each of the electronic device 100 and the first external device 200 - 1 have been compared, but this is only for convenience of description. , the electronic device 100 may compare the specifications of each detailed configuration included in each of the processor, the memory, the camera, the microphone, and the sensor according to the present disclosure.

예를 들어, 전자 장치(100)는 프로세서 중 CPU(Central Processing Unit)), GPU(Graphic Processing Unit) 및 NPU(Neural Processing Unit) 별로 전자 장치(100) 및 제1 외부 장치(200-1)의 사양을 비교하고, 메모리 중 RAM(Random Access Memory) 및 ROM(Read Only Memory) 별로 전자 장치(100) 및 제1 외부 장치(200-1)의 사양을 비교하며, 센서 중 GPS(Global Positioning System) 센서, 자이로 센서(gyro sensor), 가속도 센서 및 라이다 센서(lidar sensor) 등과 같은 센서 별로 전자 장치(100) 및 제1 외부 장치(200-1)의 사양을 비교함으로써, 하드웨어 적합성 식별 과정을 수행할 수도 있다. 프로세서, 메모리, 카메라, 마이크 및 센서 각각에 포함되는 세부 구성이 예가 상술한 예에 국한되는 것은 아님은 물론이다. For example, the electronic device 100 may include a CPU (Central Processing Unit), a GPU (Graphic Processing Unit), and a Neural Processing Unit (NPU) among processors of the electronic device 100 and the first external device 200 - 1 . The specifications are compared, and the specifications of the electronic device 100 and the first external device 200-1 are compared for each RAM (Random Access Memory) and ROM (Read Only Memory) of the memory, and the Global Positioning System (GPS) of the sensors. A hardware suitability identification process is performed by comparing the specifications of the electronic device 100 and the first external device 200 - 1 for each sensor such as a sensor, a gyro sensor, an acceleration sensor, and a lidar sensor. You may. Of course, the detailed configuration included in each of the processor, memory, camera, microphone, and sensor is not limited to the example described above.

한편, 본 개시의 일 실시 예에 따르면, 전자 장치(100)에 포함된 하드웨어 구성의 사양이 제1 외부 장치(200-1)에 포함된 하드웨어 구성의 사양 이상이라는 것은, 전자 장치(100)에 포함된 하드웨어 구성의 성능을 나타내는 모든 사양이 제1 외부 장치(200-1)에 포함된 하드웨어 구성의 성능을 나타내는 모든 사양 보다 우위에 있거나 적어도 동등하다는 것을 의미할 수 있다. Meanwhile, according to an embodiment of the present disclosure, it means that the specification of the hardware configuration included in the electronic device 100 is greater than or equal to the specification of the hardware configuration included in the first external device 200 - 1 , in the electronic device 100 . It may mean that all specifications indicating the performance of the included hardware configuration are superior to or at least equal to all specifications indicating the performance of the hardware configuration included in the first external device 200 - 1 .

예를 들어, 전자 장치(100)에 포함된 CPU의 코어(core) 개수가 8개, 스레드(thread) 개수가 16개, 클럭 속도(clock speed)가 3.6GHz, 캐시 메모리(cash memory)의 용량이 8MB이며, 제1 외부 장치(200-1)에 포함된 CPU의 코어 개수가 4개, 스레드 개수가 8개, 클럭 속도가 3.3GHz이고 캐시 메모리의 용량이 8MB이면, 전자 장치(100)는 전자 장치(100)의 CPU 성능이 제1 외부 장치(200-1)의 CPU 성능 이상인 것으로 식별할 수 있다. 본 예시에 있어서는 CPU의 성능 지표로서 코어 개수, 스레드 개수, 클럭 속도 및 캐시 메모리를 예로 들었으나, 그 밖에도 버스 속도, TDP(Thermal Design Power) 등과 같은 성능 지표를 추가적으로 고려할 수도 있음은 물론이다. For example, a CPU included in the electronic device 100 has 8 cores, 16 threads, a clock speed of 3.6 GHz, and a capacity of a cache memory. If this is 8 MB, the number of cores and the number of threads of the CPU included in the first external device 200-1 is 4, the number of threads, the clock speed is 3.3 GHz, and the capacity of the cache memory is 8 MB, the electronic device 100 is It may be identified that the CPU performance of the electronic device 100 is equal to or greater than the CPU performance of the first external device 200 - 1 . In this example, the number of cores, the number of threads, clock speed, and cache memory are exemplified as performance indicators of the CPU, but it goes without saying that performance indicators such as bus speed and TDP (thermal design power) may be additionally considered.

다른 실시 예에 따르면, 전자 장치(100)에 포함된 하드웨어 구성의 사양이 제1 외부 장치(200-1)에 포함된 하드웨어 구성의 사양 이상이라는 것은, 전자 장치(100)에 포함된 하드웨어 구성의 성능을 나타내는 성능 평가 정보가 제1 외부 장치(200-1)에 포함된 하드웨어 구성의 성능을 나타내는 성능 평가 정보보다 높다는 것을 의미할 수 있다. 전술한 바와 같이, 성능 평가 정보란 전문가가 하드웨어 구성 각각에 대한 실험 및 분석을 바탕으로 그 성능을 종합적으로 평가하여 점수화한 것으로서, 제1 기기 정보 및 제2 기기 정보에 포함될 수 있다. 예를 들어, 전자 장치(100)에 포함된 CPU의 경우 성능 평가 정보에 따른 스코어가 97이고, 제1 외부 장치(200-1)에 포함된 CPU의 경우 성능 평가 정보에 따른 스코어가 86이면, 전자 장치(100)는 전자 장치(100)의 CPU 성능이 제1 외부 장치(200-1)의 CPU 성능보다 높은 것으로 식별할 수 있다.According to another embodiment, that the specification of the hardware configuration included in the electronic device 100 is greater than or equal to the specification of the hardware configuration included in the first external device 200 - 1 means that the hardware configuration included in the electronic device 100 is It may mean that the performance evaluation information indicating the performance is higher than the performance evaluation information indicating the performance of the hardware configuration included in the first external device 200 - 1 . As described above, the performance evaluation information refers to a score obtained by comprehensively evaluating the performance of an expert based on experiments and analysis on each hardware configuration, and may be included in the first device information and the second device information. For example, if the score according to the performance evaluation information is 97 in the case of the CPU included in the electronic device 100 and the score according to the performance evaluation information is 86 in the case of the CPU included in the first external device 200-1, The electronic device 100 may identify that the CPU performance of the electronic device 100 is higher than the CPU performance of the first external device 200 - 1 .

둘째로, 도 1과 함께 도 3을 참조하여 '단계 2'에 대해 설명하면, 전자 장치(100)는 전자 장치(100)에 저장된 제1 기기 정보 및 제1 외부 장치(200-1)로부터 수신된 제1 모델 정보를 바탕으로 전자 장치(100)의 하드웨어 사양이 제1 외부 장치(200-1)에 포함된 적어도 하나의 신경망 모델 각각의 하드웨어 요구 사양보다 동등하거나 우위에 있는지 여부를 식별함으로써, 제1 외부 장치(200-1)에 포함된 신경망 모델 별로 하드웨어 적합성 과정을 수행할 수 있다. Second, when 'step 2' is described with reference to FIG. 3 together with FIG. 1 , the electronic device 100 receives the first device information stored in the electronic device 100 and the first external device 200 - 1 . By identifying whether the hardware specifications of the electronic device 100 are equal to or superior to the hardware requirements of each of the at least one neural network model included in the first external device 200-1 based on the first model information, A hardware conformance process may be performed for each neural network model included in the first external device 200 - 1 .

도 3에 기재된 바와 같이, 하드웨어 적합성 식별 과정의 단계 2는 상술한 바와 같은 하드웨어 적합성 식별 과정의 단계 1을 통과하지 못한 경우에 한하여 수행될 수 있다. 즉, 상술한 바와 같은 하드웨어 적합성 식별 과정의 단계 1이 수행된 결과, 제1 외부 장치(200-1)에 포함된 적어도 하나의 신경망 모델 중 하나 이상의 신경망 모델이 전자 장치(100)의 하드웨어에 적합하지 않은 것으로 식별되면, 전자 장치(100)는 하드웨어 적합성 식별 과정의 단계 2를 수행할 수 있다. As illustrated in FIG. 3 , step 2 of the hardware conformance identification process may be performed only when step 1 of the hardware conformance identification process as described above has not been passed. That is, as a result of performing step 1 of the hardware suitability identification process as described above, one or more neural network models among at least one neural network model included in the first external device 200 - 1 are suitable for the hardware of the electronic device 100 . If it is determined that not, the electronic device 100 may perform step 2 of the hardware suitability identification process.

구체적으로, 전자 장치(100)에 포함된 복수의 하드웨어 구성 중 적어도 하나의 사양이 제1 외부 장치(200-1)에 포함된 복수의 하드웨어 구성의 사양 미만이면(S140-N), 전자 장치(100)는 제1 외부 장치(200-1)에 포함된 적어도 하나의 신경망 모델 중 전자 장치(100)에 포함된 복수의 하드웨어 구성의 사양 보다 낮은 하드웨어 요구 사양을 갖는 하나 이상의 신경망 모델이 전자 장치(100)의 하드웨어에 적합한 것으로 식별할 수 있다(S150-2). Specifically, when the specification of at least one of the plurality of hardware components included in the electronic device 100 is less than the specification of the plurality of hardware components included in the first external device 200-1 (S140-N), the electronic device ( 100 indicates that one or more neural network models having a hardware requirement specification lower than a specification of a plurality of hardware components included in the electronic device 100 among at least one neural network model included in the first external device 200-1 is an electronic device ( It can be identified as being suitable for the hardware of 100) (S150-2).

즉, 전자 장치(100)에 포함된 복수의 하드웨어 구성 각각의 사양과 제1 외부 장치(200-1)에 포함된 복수의 하드웨어 구성 각각의 사양을 비교한 결과, 전자 장치(100)에 포함된 복수의 하드웨어 구성 중 적어도 하나의 사양이 제1 외부 장치(200-1)에 포함된 복수의 하드웨어 구성의 사양 미만이면, 이는 제1 외부 장치(200-1)에 포함된 적어도 하나의 신경망 모델 각각의 하드웨어 요구 사양과 전자 장치(100)에 포함된 복수의 하드웨어 구성의 사양을 개별적으로 비교하여야 전자 장치(100)의 하드웨어를 이용하여 실행하는 것이 적합한 신경망 모델 전부를 식별할 수 있는 경우라고 할 수 있다. That is, as a result of comparing the specifications of each of the plurality of hardware components included in the electronic device 100 with the specifications of each of the plurality of hardware components included in the first external device 200 - 1 , the If the specification of at least one of the plurality of hardware components is less than the specification of the plurality of hardware components included in the first external device 200 - 1 , each of the at least one neural network model included in the first external device 200 - 1 It can be said that all of the neural network models suitable for execution using the hardware of the electronic device 100 can be identified only when the hardware requirements of the device 100 and the specifications of a plurality of hardware components included in the electronic device 100 are individually compared. have.

따라서 이 경우, 전자 장치(100)는 제1 외부 장치(200-1)에 포함된 적어도 하나의 신경망 모델 별로 신경망 모델의 하드웨어 요구 사양과 전자 장치(100)에 포함된 복수의 하드웨어 구성의 사양을 비교하여, 제1 외부 장치(200-1)에 포함된 적어도 하나의 신경망 모델의 하드웨어 요구 사양 전부가 전자 장치(100)에 포함된 복수의 하드웨어 구성의 사양 미만인지 여부를 식별할 수 있다. Accordingly, in this case, the electronic device 100 determines the hardware requirements of the neural network model and the specifications of a plurality of hardware components included in the electronic device 100 for each at least one neural network model included in the first external device 200 - 1 . By comparison, it may be identified whether all of the hardware requirements of the at least one neural network model included in the first external device 200 - 1 are less than the specifications of a plurality of hardware configurations included in the electronic device 100 .

예를 들어, 제1 외부 장치(200-1)에 포함된 제1 신경망 모델의 하드웨어 요구 사양 전부가 전자 장치(100)에 포함된 복수의 하드웨어 구성의 사양 미만이면, 전자 장치(100)는 제1 신경망 모델이 전자 장치(100)의 하드웨어에 적합한 것으로 식별할 수 있다. 반면, 제1 외부 장치(200-1)에 포함된 제2 신경망 모델의 하드웨어 요구 사양 중 적어도 하나가 전자 장치(100)에 포함된 복수의 하드웨어 구성의 사양 이상이면, 전자 장치(100)는 제2 신경망 모델이 전자 장치(100)의 하드웨어에 적합하지 않은 것으로 식별할 수 있다. 전술한 바와 같이, 제1 외부 장치(200-1)에 포함된 적어도 하나의 신경망 모델 각각의 하드웨어 요구 사양에 대한 정보는 제1 외부 장치(200-1)로부터 수신된 제1 모델 정보에 포함될 수 있다. For example, if all of the hardware requirements of the first neural network model included in the first external device 200 - 1 are less than the specifications of a plurality of hardware configurations included in the electronic device 100 , the electronic device 100 may 1 It may be identified that the neural network model is suitable for the hardware of the electronic device 100 . On the other hand, if at least one of the hardware requirements of the second neural network model included in the first external device 200 - 1 is greater than or equal to the specification of a plurality of hardware configurations included in the electronic device 100 , the electronic device 100 may 2 It may be identified that the neural network model is not suitable for the hardware of the electronic device 100 . As described above, information on hardware requirements for each of the at least one neural network model included in the first external device 200-1 may be included in the first model information received from the first external device 200-1. have.

단계 1에서 전자 장치(100)에 포함된 복수의 하드웨어 구성의 사양과 제1 외부 장치(200-1) 각각에 포함된 복수의 하드웨어 구성의 사양을 비교하는 다양한 방법은, 단계 2에서 전자 장치(100)에 포함된 복수의 하드웨어 구성의 사양과 제1 외부 장치(200-1)에 포함된 적어도 하나의 신경망 모델의 하드웨어 요구 사양을 비교하는 방법에 그대로 적용될 수 있다. 따라서, 단계 2에서 전자 장치(100)에 포함된 복수의 하드웨어 구성의 사양과 제1 외부 장치(200-1)에 포함된 적어도 하나의 신경망 모델의 하드웨어 요구 사양을 비교하는 방법에 대한 중복 설명은 생략한다. Various methods for comparing the specifications of the plurality of hardware components included in the electronic device 100 in step 1 with the specifications of the plurality of hardware components included in each of the first external device 200-1 include, in step 2, the electronic device ( 100 ) may be directly applied to a method of comparing specifications of a plurality of hardware configurations with hardware requirements specifications of at least one neural network model included in the first external device 200 - 1 . Therefore, in step 2, the redundant description of the method of comparing the specifications of a plurality of hardware components included in the electronic device 100 with the hardware requirements specifications of at least one neural network model included in the first external device 200-1 is omit

한편, 제1 외부 장치(200-1)에 포함된 적어도 하나의 신경망 모델 각각의 하드웨어 요구 사양과 전자 장치(100)에 포함된 복수의 하드웨어 구성의 사양을 비교함에 있어서, 전자 장치(100)의 제품 출시 당시의 하드웨어 사양을 제1 외부 장치(200-1)에 포함된 적어도 하나의 신경망 모델 각각의 하드웨어 요구 사양과 비교할 수도 있으나, 제1 외부 장치(200-1)에 포함된 적어도 하나의 신경망 모델 각각의 하드웨어 요구 사양과 전자 장치(100)에 포함된 복수의 하드웨어 구성의 사양을 비교하는 당시에 가용 가능한 전자 장치(100)의 하드웨어 사양을 제1 외부 장치(200-1)에 포함된 적어도 하나의 신경망 모델 각각의 하드웨어 요구 사양과 비교할 수도 있다. Meanwhile, in comparing the hardware requirements of each of the at least one neural network model included in the first external device 200 - 1 with the specifications of a plurality of hardware configurations included in the electronic device 100 , the The hardware specifications at the time of product release may be compared with the hardware requirements of each of the at least one neural network model included in the first external device 200-1, but at least one neural network included in the first external device 200-1 may be compared. At least one hardware specification included in the first external device 200 - 1 is available at the time of comparing the hardware requirements of each model with the specifications of a plurality of hardware components included in the electronic device 100 . It can also be compared with the hardware requirements of each neural network model.

한편, 이상에서 설명한 바와 같이 단계 1에서 전자 장치(100)에 포함된 복수의 하드웨어 구성의 사양과 제1 외부 장치(200-1)에 포함된 복수의 하드웨어 구성의 사양을 비교하는 것은, 각각의 구성이 서로 대응되어 비교 대상이 존재하는 것을 전제로 한다. 즉, 제1 외부 장치(200-1)에는 포함되지만 전자 장치(100)에는 포함되지 않는 하드웨어 구성이 존재하면, 그 하드웨어 구성을 전자 장치(100)에 포함되는 다른 하드웨어 구성으로 대체할 수 있는 경우가 아닌 한, 전자 장치(100)는 단계 2에 따른 하드웨어 적합성 식별 과정을 수행할 수 있다. Meanwhile, as described above, in step 1 , comparing the specifications of the plurality of hardware components included in the electronic device 100 with the specifications of the plurality of hardware components included in the first external device 200 - 1 includes each It is assumed that the components correspond to each other and there is a comparison target. That is, if there is a hardware configuration included in the first external device 200 - 1 but not included in the electronic device 100 , the hardware configuration can be replaced with another hardware configuration included in the electronic device 100 . Otherwise, the electronic device 100 may perform the hardware suitability identification process according to step 2 .

나아가, 이상에서 설명한 바와 같이 단계 2에서 전자 장치(100)에 포함된 복수의 하드웨어 구성의 사양과 제1 외부 장치(200-1)에 포함된 적어도 하나의 신경망 모델의 하드웨어 요구 사양을 비교하는 것 또한, 각각의 구성이 서로 대응되어 비교 대상이 존재하는 것을 전제로 한다. 즉, 제1 외부 장치(200-1)의 신경망 모델의 하드웨어 요구 사양에서는 요구하고 있으나 전자 장치(100)에는 포함되지 않는 하드웨어 구성이 존재하면, 그 하드웨어 구성을 전자 장치(100)에 포함되는 다른 하드웨어 구성으로 대체할 수 있는 경우가 아닌 한, 전자 장치(100)는 그 신경망 모델이 전자 장치(100)의 하드웨어에 적합하지 않은 것으로 식별할 수 있다. Furthermore, as described above, in step 2, comparing the specifications of a plurality of hardware components included in the electronic device 100 and the hardware requirements specifications of at least one neural network model included in the first external device 200-1 In addition, it is premised that each configuration corresponds to each other and a comparison target exists. That is, if there is a hardware configuration required by the hardware requirement specification of the neural network model of the first external device 200 - 1 but not included in the electronic device 100 , the hardware configuration is transferred to another hardware configuration included in the electronic device 100 . Unless a hardware configuration can replace it, the electronic device 100 may identify that the neural network model is not suitable for the hardware of the electronic device 100 .

상술한 바와 같이 제1 외부 장치(200-1)에 포함된 적어도 하나의 신경망 모델 중 전자 장치(100)의 하드웨어에 적합한 적어도 하나의 신경망 모델이 식별되면, 전자 장치(100)는 식별된 적어도 하나의 신경망 모델의 설치 데이터에 대한 요청을 포함하는 제3 신호를 제1 외부 장치(200-1)로 전송할 수 있다(S160). 그리고, 제3 신호에 대한 응답으로, 전자 장치(100)는 제1 외부 장치(200-1)로부터 전자 장치(100)의 하드웨어에 적합한 것으로 식별된 적어도 하나의 신경망 모델의 설치 데이터를 포함하는 제4 신호를 수신할 수 있다(S170). As described above, when at least one neural network model suitable for hardware of the electronic device 100 is identified from among at least one neural network model included in the first external device 200 - 1 , the electronic device 100 displays the identified at least one neural network model. A third signal including a request for installation data of a neural network model of may be transmitted to the first external device 200 - 1 ( S160 ). And, in response to the third signal, the electronic device 100 is configured to include installation data of at least one neural network model identified from the first external device 200 - 1 as being suitable for the hardware of the electronic device 100 . 4 signals may be received (S170).

즉, 식별된 적어도 하나의 신경망 모델의 설치 데이터에 대한 요청을 포함하는 제3 신호를 제1 외부 장치(200-1)로 전송하면, 제1 외부 장치(200-1)는 식별된 적어도 하나의 신경망 모델의 설치 데이터를 전자 장치(100)로 전송할 수 있다. 그리고, 식별된 적어도 하나의 신경망 모델의 설치 데이터가 수신되면, 전자 장치(100)는 수신된 설치 데이터를 바탕으로 식별된 적어도 하나의 신경망 모델을 설치할 수 있다. 이에 따라, 전자 장치(100)는 전자 장치(100)에 포함된 복수의 신경망 모델 중 적어도 하나를 식별된 적어도 하나의 신경망 모델로 대체함으로써, 제1 외부 장치(200-1)에 의해 개인화된 적어도 하나의 신경망 모델을 전자 장치(100)에서 실행할 수 있게 된다. 신경망 모델의 개인화에 대해서는 도 5a 내지 도 8을 참조하여 후술한다.That is, when a third signal including a request for installation data of at least one identified neural network model is transmitted to the first external device 200-1, the first external device 200-1 transmits the identified at least one Installation data of the neural network model may be transmitted to the electronic device 100 . And, when installation data of at least one identified neural network model is received, the electronic device 100 may install at least one identified neural network model based on the received installation data. Accordingly, the electronic device 100 replaces at least one of the plurality of neural network models included in the electronic device 100 with the identified at least one neural network model, thereby providing at least one personalized by the first external device 200 - 1 . One neural network model can be executed in the electronic device 100 . The personalization of the neural network model will be described later with reference to FIGS. 5A to 8 .

구체적으로, 제1 외부 장치(200-1)로부터 수신된 설치 데이터는 식별된 적어도 하나의 신경망 모델 각각에 대한 식별 정보 및 식별된 적어도 하나의 신경망 모델을 설치하기 위해 필요한 구성 정보를 포함할 수 있다. 여기서, '구성 정보'는 신경망 모델에 포함된 신경망의 구조와 유형, 신경망에 포함된 레이어의 개수, 각각의 레이어 별 노드의 개수, 각각의 노드의 가중치 값과, 복수의 노드 사이의 연결 관계 등에 대한 정보를 포함할 수 있다. Specifically, the installation data received from the first external device 200-1 may include identification information for each of the at least one identified neural network model and configuration information necessary for installing the identified at least one neural network model. . Here, 'configuration information' refers to the structure and type of the neural network included in the neural network model, the number of layers included in the neural network, the number of nodes for each layer, the weight value of each node, connection relationships between a plurality of nodes, etc. may include information about

한편, 신경망 모델을 '설치'한다는 것은 전자 장치(100)에 포함된 신경망 모델을 제1 외부 장치(200-1)의 신경망 모델로 '전환'한다는 의미를 포함할 수 있다. 그리고, 전자 장치(100)에 포함된 신경망 모델을 외부 장치에 포함된 신경망 모델로 '전환한다는 것은, 전자 장치(100)의 신경망 모델 전체를 외부 장치의 신경망 모델 전체로 대체하는 경우뿐만 아니라, 전자 장치(100)의 신경망 모델에 포함된 노드들의 가중치 값만을 외부 장치의 신경망 모델에 포함된 노드들의 가중치로 변경하는 경우와 같이, 전자 장치(100)의 신경망 모델 일부를 외부 장치의 신경망 모델 일부로 대체하는 경우를 포함할 수 있다.Meanwhile, 'installing' the neural network model may include 'conversion' of the neural network model included in the electronic device 100 to the neural network model of the first external device 200 - 1 . And, 'converting the neural network model included in the electronic device 100 to the neural network model included in the external device is not only a case of replacing the entire neural network model of the electronic device 100 with the entire neural network model of the external device, but also electronic A part of the neural network model of the electronic device 100 is replaced with a part of the neural network model of the external device, such as when only the weight values of the nodes included in the neural network model of the device 100 are changed to the weights of the nodes included in the neural network model of the external device cases may include.

도 1 내지 도 4를 참조하여 상술한 바와 같은 다양한 실시 예에 따르면, 전자 장치(100)는 외부 장치로부터 신경망 모델이 전이되는 경우, 전자 장치(100)의 하드웨어를 이용하여 그 신경망 모델을 실행하는 것이 적합한지를 식별하여 신경망 모델의 전이 여부를 결정할 수 있게 되며, 이에 따라 전이 학습(transfer learning)의 효율성과 신뢰성이 현저하게 향상될 수 있다. According to various embodiments as described above with reference to FIGS. 1 to 4 , when a neural network model is transferred from an external device, the electronic device 100 executes the neural network model using the hardware of the electronic device 100 . It is possible to determine whether a neural network model is transferred by identifying whether it is suitable, and accordingly, the efficiency and reliability of transfer learning can be remarkably improved.

도 5a는 본 개시의 다른 실시 예에 따른 전자 장치(100)의 제어 방법을 나타내는 흐름도이고, 도 5a는 본 개시의 또 다른 실시 예에 따른 전자 장치의 제어 방법을 나타내는 흐름도이다. 그리고, 도 6 내지 도 8은 도 5a에 따른 전자 장치(100)의 제어 방법을 수행하기 위한 모델 적합성 식별 모듈(1200)의 동작에 대해 구체적으로 설명하기 위한 도면이다.5A is a flowchart illustrating a control method of the electronic device 100 according to another embodiment of the present disclosure, and FIG. 5A is a flowchart illustrating a control method of an electronic device according to another embodiment of the present disclosure. And, FIGS. 6 to 8 are diagrams for specifically explaining the operation of the model suitability identification module 1200 for performing the control method of the electronic device 100 according to FIG. 5A .

이상에서는 도 1 내지 도 4를 참조하여 본 개시에 따른 하드웨어 적합성 식별 과정에 대해 설명한 바 있다. 그런데, 본 개시의 다른 실시 예에 따르면, 전자 장치(100)는 전자 장치(100)의 제1 외부 장치에 포함된 신경망 모델 각각에 대해 '모델 적합성 과정'을 수행할 수 있다. 이하에서는 도 5a 내지 도 8을 참조하여 본 개시에 따른 모델 적합성 식별 과정에 대해 상세하게 설명한다. In the above, the hardware suitability identification process according to the present disclosure has been described with reference to FIGS. 1 to 4 . However, according to another embodiment of the present disclosure, the electronic device 100 may perform a 'model fitting process' for each neural network model included in the first external device of the electronic device 100 . Hereinafter, a model suitability identification process according to the present disclosure will be described in detail with reference to FIGS. 5A to 8 .

먼저, 전자 장치(100)에는 전술한 바와 같은 제1 기기 정보, 제2 기기 정보 및 하드웨어 적합성 식별 모듈(1100)뿐만 아니라, 제2 모델 정보 및 모델 적합성 식별 모듈(1200)이 더 저장될 수 있다. First, the electronic device 100 may further store the first device information, the second device information, and the hardware suitability identification module 1100 as described above, as well as the second model information and the model suitability identification module 1200 . .

여기서, '제2 모델 정보'는 전자 장치(100)에 포함된 적어도 하나의 신경망 모델에 대한 정보를 말한다. 구체적으로, 제2 모델 정보는 전자 장치(100)에 포함된 적어도 하나의 신경망 모델 각각의 서비스 유형에 대한 정보 및 개인화 레벨에 대한 정보를 포함할 수 있다.Here, 'second model information' refers to information on at least one neural network model included in the electronic device 100 . Specifically, the second model information may include information on a service type of each of at least one neural network model included in the electronic device 100 and information on a personalization level.

'모델 적합성 식별 모듈(1200)'은 전자 장치(100)에 포함된 신경망 모델을 대체하기에 적합한 신경망 모델을 식별하는 모듈을 말한다. 구체적으로, 도 6에 도시된 바와 같이, 모델 적합성 식별 모듈(1200)은 전자 장치(100)에 저장된 제2 모델 정보 및 제1 외부 장치(200-1)로부터 수신된 제1 모델 정보를 바탕으로, 전자 장치(100)에 포함된 신경망 모델을 외부 장치에 포함된 신경망 모델로 대체하는 것이 적합한지에 대한 정보를 출력할 수 있다. The 'model suitability identification module 1200' refers to a module for identifying a neural network model suitable to replace the neural network model included in the electronic device 100 . Specifically, as shown in FIG. 6 , the model suitability identification module 1200 based on the second model information stored in the electronic device 100 and the first model information received from the first external device 200 - 1 , information on whether it is appropriate to replace the neural network model included in the electronic device 100 with the neural network model included in the external device may be output.

즉, 전자 장치(100)의 하드웨어에 적합한 적어도 하나의 신경망 모델이 식별되면(S210-Y), 전자 장치(100)는 제1 모델 정보 및 제2 모델 정보를 모델 적합성 식별 모듈(1200)에 입력하여(S220), 전자 장치(100)의 하드웨어에 적합한 것으로 식별된 적어도 하나의 신경망 모델 각각이 전자 장치(100)에 포함된 신경망 모델을 대체하기에 적합한지 여부를 식별할 수 있다. That is, when at least one neural network model suitable for hardware of the electronic device 100 is identified ( S210 -Y ), the electronic device 100 inputs the first model information and the second model information to the model suitability identification module 1200 . Accordingly, it may be identified whether each of the at least one neural network model identified as suitable for the hardware of the electronic device 100 is suitable to replace the neural network model included in the electronic device 100 ( S220 ).

구체적으로, 본 개시에 따른 모델 적합성 식별 과정은 도 7에 도시된 바와 같은 모델 유형 적합성 식별 모듈(1210) 및 개인화 레벨 적합성 식별 모듈(1220) 각각을 통해 수행되는 두 가지 과정을 포함할 수 있는바, 이하에서는 모델 적합성 식별 과정에 포함되는 각 과정에 대해 상세하게 설명한 후, 다시 본 개시의 일 실시 예에 따른 제어 방법에 대해 설명한다. Specifically, the model suitability identification process according to the present disclosure may include two processes performed through each of the model type suitability identification module 1210 and the personalization level suitability identification module 1220 as shown in FIG. , Hereinafter, each process included in the model suitability identification process will be described in detail, and then a control method according to an embodiment of the present disclosure will be described again.

첫째로, '모델 유형 적합성 식별 모듈(1210)'은 도 7에 도시된 바와 같이, 제1 모델 정보 및 제2 모델 정보 각각에 포함된 서비스 유형에 대한 정보를 바탕으로, 전자 장치(100)에 포함된 적어도 하나의 신경망 모델 각각의 서비스 유형과 전자 장치(100)의 하드웨어에 적합한 것으로 식별된 적어도 하나의 신경망 모델 각각의 서비스 유형을 비교하여, 서비스 유형이 서로 동일한 신경망 모델들을 식별할 수 있다. First, as shown in FIG. 7 , the 'model type conformity identification module 1210' is configured to provide information on the service type included in each of the first model information and the second model information to the electronic device 100 . By comparing the service type of each of the included at least one neural network model with the service type of each of the at least one neural network model identified as being suitable for the hardware of the electronic device 100 , neural network models having the same service type may be identified.

여기서, '신경망 모델의 유형'이란 신경망 모델에 대한 입출력 정보 및 그에 따른 신경망 모델의 기능에 따라 구별될 수 있다. 예를 들어, 제1 신경망 모델 및 제2 신경망 모델이 모두 사용자의 발화에 따른 음성 신호를 입력으로 하고 사용자 음성에 대응되는 텍스트를 출력하여 음성 인식 서비스를 제공하는 신경망 모델인 경우, 모델 유형 적합성 식별 모듈(1210)은 제1 신경망 모델의 서비스 유형과 제2 신경망 모델의 서비스 유형이 서로 동일한 것으로 식별할 수 있다.Here, the 'type of the neural network model' may be distinguished according to input/output information for the neural network model and a function of the neural network model accordingly. For example, when both the first neural network model and the second neural network model are neural network models that provide a voice recognition service by inputting a voice signal according to the user's utterance and outputting text corresponding to the user's voice, model type suitability identification The module 1210 may identify that the service type of the first neural network model and the service type of the second neural network model are the same.

둘째로, '개인화 레벨 적합성 식별 모듈(1220)'은 도 7에 도시된 바와 같이, 제1 모델 정보 및 제2 모델 정보 각각에 포함된 개인화 레벨에 대한 정보를 바탕으로, 서비스 유형이 서로 동일한 신경망 모델들끼리 개인화 레벨을 비교하여, 서비스 유형이 서로 동일한 신경망 모델들 중 개인화 레벨이 높은 신경망 모델을 식별할 수 있다.Second, as shown in FIG. 7 , the 'personalization level suitability identification module 1220' is a neural network having the same service type based on the personalization level information included in each of the first model information and the second model information. By comparing the personalization levels between the models, it is possible to identify a neural network model having a high personalization level among neural network models having the same service type.

여기서, '신경망 모델의 개인화 레벨'이란 신경망 모델이 전자 장치(100)에 설치된 이후 전자 장치(100)의 사용자 개인에 관련된 개인화 데이터를 바탕으로 신경망 모델이 학습됨에 따라 그 사용자에 맞게 업데이트된 정도를 의미한다. 여기서, '개인화 데이터'란 외부 장치에 포함된 신경망 모델의 개인화에 이용된 학습 데이터를 말한다. 개인화 레벨 적합성 식별 모듈(1220)의 동작에 대해서는 도 7과 함께 도 8을 참조하여 보다 상세하게 설명한다. Here, the 'personalization level of the neural network model' refers to the degree to which the neural network model is updated to suit the user as the neural network model is trained based on the personalization data related to the user of the electronic device 100 after the neural network model is installed in the electronic device 100. it means. Here, 'personalized data' refers to learning data used for personalization of a neural network model included in an external device. An operation of the personalization level suitability identification module 1220 will be described in more detail with reference to FIG. 8 together with FIG. 7 .

구체적으로, 개인화 레벨은 '사용자의 이력에 대한 정보'를 바탕으로 결정될 수 있다. 여기서, 사용자의 이력에 대한 정보는 사용자가 그 신경망 모델을 사용한 횟수, 빈도 및 사용 기간 등에 대한 정보를 포함할 수 있다. 예를 들어, 전자 장치(100)에 포함된 제2 신경망 모델이 1 개월간 사용된 횟수가 100회이면, 외부 장치에 포함된 제1 신경망 모델이 1 개월간 30회 사용된 경우 또는 2 개월간 100회 사용된 경우보다 개인화 레벨이 높은 것으로 결정될 수 있다. Specifically, the personalization level may be determined based on 'information on the user's history'. Here, the information on the user's history may include information on the number, frequency, and period of use of the neural network model by the user. For example, when the second neural network model included in the electronic device 100 is used 100 times in one month, when the first neural network model included in the external device is used 30 times in one month or 100 times in two months It may be determined that the level of personalization is higher than that in the case of

특히, 도 8에 도시된 바와 같이, 사용자가 전자 장치(100)에 포함된 신경망 모델(2000)을 사용한 이력에 대한 정보는 사용자가 전자 장치(100)를 통해 획득된 데이터를 바탕으로 그 전자 장치(100)에 포함된 신경망 모델(2000)을 사용한 경우(도 8의 유형 1)뿐만 아니라, 사용자가 그 전자 장치(100)와 연결된 다른 전자 장치(100)를 통해 획득된 데이터를 바탕으로 그 신경망 모델(2000)을 사용한 경우(도 8의 유형 2)를 포함할 수 있다. In particular, as shown in FIG. 8 , information on the history of the user using the neural network model 2000 included in the electronic device 100 is the electronic device based on data obtained by the user through the electronic device 100 . In addition to the case of using the neural network model 2000 included in 100 (type 1 in FIG. 8 ), the neural network is based on data obtained by the user through another electronic device 100 connected to the electronic device 100 . A case in which the model 2000 is used (type 2 in FIG. 8 ) may be included.

예를 들어, 사용자가 스마트 폰을 통해 획득된 이미지를 바탕으로 스마트 폰에 포함된 신경망 모델(2000)을 사용한 경우뿐만 아니라, 사용자가 스마트 폰과 연결된 로봇 청소기를 통해 획득된 이미지가 스마트 폰으로 전송됨으로써 스마트 폰에 포함된 신경망 모델(2000)이 사용된 경우도 스마트 폰에 포함된 신경망 모델(2000)을 사용한 이력에 포함될 수 있다.For example, not only when the user uses the neural network model 2000 included in the smart phone based on the image acquired through the smart phone, but also the image obtained by the user through a robot cleaner connected to the smart phone is transmitted to the smart phone Accordingly, the case in which the neural network model 2000 included in the smart phone is used may also be included in the history of using the neural network model 2000 included in the smart phone.

한편, 개인화 레벨은 '사용자의 피드백에 대한 정보'를 바탕으로 결정될 수도 있다. 여기서, 사용자의 피드백에 대한 정보는 사용자가 신경망 모델(2000)을 사용한 후 그 사용 결과에 대해 입력한 직접적인 평가 정보 그 사용 결과에 관련된 간접적인 평가 정보를 포함할 수 있다(도 8의 유형 3). Meanwhile, the personalization level may be determined based on 'information on user feedback'. Here, the information about the user's feedback may include direct evaluation information input by the user for the result of using the neural network model 2000 and indirect evaluation information related to the result of using the neural network model 2000 (type 3 of FIG. 8 ). .

예를 들어, 전자 장치(100)에서 신경망 모델(2000)이 사용된 후 사용자가 직접적으로 신경망 모델(2000)을 포함하는 어플리케이션에 대한 긍정적인 평가 정보를 입력한 경우, 신경망 모델(2000)에 대한 개인화 레벨은 증가할 수 있다. 반면, 전자 장치(100)에서 신경망 모델(2000)이 사용된 후 사용자가 직접적으로 신경망 모델(2000)을 포함하는 어플리케이션에 대한 부정적인 평가 정보를 입력한 경우, 신경망 모델(2000)에 대한 개인화 레벨은 증가할 수 있다. 한편, 신경망 모델(2000)에 동일한 내용의 사용자 입력이 거듭하여 입력되는 경우, 사용자가 신경망 모델(2000)의 출력에 만족하지 못하였다는 점을 간접적으로 확인할 수 있으므로, 신경망 모델(2000)에 대한 개인화 레벨은 감소할 수 있다. For example, when the user directly inputs positive evaluation information for an application including the neural network model 2000 after the neural network model 2000 is used in the electronic device 100, the The level of personalization can be increased. On the other hand, when the user directly inputs negative evaluation information for an application including the neural network model 2000 after the neural network model 2000 is used in the electronic device 100, the personalization level for the neural network model 2000 is can increase On the other hand, when a user input of the same content is repeatedly input to the neural network model 2000, it can be indirectly confirmed that the user is not satisfied with the output of the neural network model 2000, The personalization level may be reduced.

한편, 개인화 레벨은 상술한 바와 같은 개인화 레벨을 평가하기 위한 다양한 유형의 정보 별 가중합에 따라 정량적으로 산출될 수 있다. 구체적으로, 도 8을 참조하면, 개인화 레벨은 개인화 레벨을 평가하기 위한 각각의 '유형 별 횟수'와 기 설정된 '유형 별가중치'를 곱한 값들을 합산함으로써 산출될 수 있다. Meanwhile, the personalization level may be quantitatively calculated according to a weighted sum of various types of information for evaluating the personalization level as described above. Specifically, referring to FIG. 8 , the personalization level may be calculated by summing values obtained by multiplying each 'number of times for each type' and a preset 'weight for each type' for evaluating the personalization level.

예를 들어, 사용자가 신경망 모델(2000)을 포함하는 어플리케이션에 대해 직접적인 평가 정보를 입력한 경우 가장 높은 가중치가 부여되고, 전자 장치(100)의 카메라를 이용하여 촬영된 이미지나 전자 장치(100)의 마이크를 이용하여 획득된 음성과 같이 전자 장치(100)에서 획득된 데이터가 신경망 모델(2000)에 입력된 경우 두번째로 높은 가중치가 부여되며, 전자 장치(100)가 아닌 전자 장치(100)와 연결된 다른 전자 장치(100)로부터 수신된 데이터가 신경망 모델(2000)에 입력된 경우 세번째로 높은 가중치가 부여될 수 있다. 그리고, 위와 같은 유형 별 횟수에 유형 별 가중치를 곱한 값이 유형 별 가중합이 되며, 모든 유형에 대한 유형 별 가중합을 더한 값이 신경망 모델(2000)의 개인화 레벨을 나타내는 정량적인 수치가 될 수 있다. For example, when the user directly inputs evaluation information for an application including the neural network model 2000 , the highest weight is given, and an image captured using the camera of the electronic device 100 or the electronic device 100 . When data acquired from the electronic device 100, such as a voice acquired using a microphone of , is input to the neural network model 2000, the second highest weight is given to the electronic device 100 and not the electronic device 100. When data received from another connected electronic device 100 is input to the neural network model 2000, a third highest weight may be assigned. In addition, the value obtained by multiplying the number of times per type as above by the weight per type becomes a weighted sum for each type, and the value obtained by adding the weighted sum per type for all types can be a quantitative number representing the personalization level of the neural network model (2000). have.

다시 도 5a를 참조하면, 전자 장치(100)의 하드웨어에 적합한 것으로 식별된 적어도 하나의 신경망 모델 중 제1 신경망 모델의 서비스 유형이 전자 장치(100)에 포함된 복수의 신경망 모델 중 제2 신경망 모델의 서비스 유형과 동일하면(S230-Y), 전자 장치(100)는 제1 모델 정보 및 제2 모델 정보 각각에 포함된 개인화 레벨에 대한 정보를 바탕으로 제1 신경망 모델의 개인화 레벨과 제2 신경망 모델의 개인화 레벨을 비교할 수 있다. 그리고, 제1 신경망 모델의 개인화 레벨이 제2 신경망 모델의 개인화 레벨보다 높으면(S240-Y), 제1 신경망 모델이 제2 신경망 모델을 대체하는 것이 적합한 것으로 식별할 수 있다(S250). Referring back to FIG. 5A , a service type of a first neural network model among at least one neural network model identified as suitable for hardware of the electronic device 100 is a second neural network model among a plurality of neural network models included in the electronic device 100 . is the same as the service type of (S230-Y), the electronic device 100 sets the personalization level of the first neural network model and the second neural network based on the personalization level information included in each of the first model information and the second model information. You can compare the personalization levels of the models. And, if the personalization level of the first neural network model is higher than the personalization level of the second neural network model (S240-Y), it may be identified that the first neural network model is suitable to replace the second neural network model (S250).

상술한 바와 같은 모델 적합성 식별 과정이 수행되면, 전자 장치(100)는 전자 장치(100)에 포함된 신경망 모델을 대체하기에 적합한 것으로 식별된 적어도 하나의 신경망 모델의 설치 데이터에 대한 요청을 포함하는 제3 신호를 제1 외부 장치(200-1)로 전송할 수 있다(S260). 즉, 하드웨어 적합성 식별 과정뿐만 아니라 모델 적합성 식별 과정까지 수행한 후 제1 외부 장치(200-1)에 제3 신호를 전송하는 경우, 제3 신호는 모델 적합성 식별 과정까지 수행됨에 따라 식별된 적어도 하나의 신경망 모델의 설치 데이터에 대한 요청을 포함할 수 있다.When the model suitability identification process as described above is performed, the electronic device 100 includes a request for installation data of at least one neural network model identified as suitable to replace the neural network model included in the electronic device 100. A third signal may be transmitted to the first external device 200-1 (S260). That is, when a third signal is transmitted to the first external device 200 - 1 after performing not only the hardware suitability identification process but also the model suitability identification process, the third signal is at least one identified as the model suitability identification process is performed. may include a request for installation data of the neural network model of

제3 신호에 대한 응답으로, 전자 장치(100)는 제1 외부 장치(200-1)로부터 식별된 적어도 하나의 신경망 모델에 대한 설치 데이터를 포함하는 제4 신호를 수신할 수 있다(S270). 즉, 하드웨어 적합성 식별 과정뿐만 아니라 모델 적합성 식별 과정까지 수행한 후 제1 외부 장치(200-1)에 제3 신호를 전송하는 경우, 제3 신호에 대한 응답으로 수신되는 제4 신호는 모델 적합성 식별 과정까지 수행됨에 따라 식별된 적어도 하나의 신경망 모델의 설치 데이터를 포함할 수 있다. In response to the third signal, the electronic device 100 may receive a fourth signal including installation data for at least one identified neural network model from the first external device 200 - 1 ( S270 ). That is, when the third signal is transmitted to the first external device 200 - 1 after performing not only the hardware suitability identification process but also the model suitability identification process, the fourth signal received in response to the third signal is model suitability identification It may include installation data of at least one neural network model identified as the process is performed.

한편, 이상에서는 하드웨어 적합성 식별 과정을 수행한 후 모델 적합성 식별 과정을 수행하는 실시 예에 대해 설명하였으나, 본 개시에 따른 하드웨어 적합성 식별 과정과 모델 적합성 식별 과정 사이에 시계열적인 한정이 있는 것은 아니다. 구체적으로, 전자 장치(100)는 먼저 제1 모델 정보 및 제2 모델 정보를 모델 적합성 식별 모듈(1200)에 입력하여 제1 신경망 모델을 제2 신경망 모델로 대체하는 것이 적합한지 여부를 식별할 수 있다. 그리고, 제1 신경망 모델을 제2 신경망 모델로 대체하는 것이 적합한 것으로 식별되면, 전자 장치(100)는 전자 장치(100)의 하드웨어 성능과 제2 신경망 모델을 실행하기 위해 요구되는 하드웨어 성능을 비교함으로써, 전자 장치(100)의 하드웨어를 이용하여 제2 신경망 모델을 실행하는 것이 적합한지 여부를 식별할 수도 있다. Meanwhile, although the embodiment in which the model suitability identification process is performed after performing the hardware suitability identification process has been described above, there is no time-series limitation between the hardware suitability identification process and the model suitability identification process according to the present disclosure. Specifically, the electronic device 100 may first input the first model information and the second model information into the model suitability identification module 1200 to identify whether it is appropriate to replace the first neural network model with the second neural network model. have. And, if it is identified that replacing the first neural network model with the second neural network model is suitable, the electronic device 100 compares the hardware performance of the electronic device 100 with the hardware performance required to execute the second neural network model. , whether it is appropriate to execute the second neural network model using the hardware of the electronic device 100 may be identified.

한편, 이상에서는 제1 외부 장치(200-1)에 포함된 제1 신경망 모델과 전자 장치(100)에 포함된 제2 신경망 모델의 서비스 유형이 서로 동일한 경우에 한하여 제1 신경망 모델의 개인화 레벨과 제2 신경망 모델의 개인화 레벨을 비교하는 것으로 설명하였다. 다만, 본 개시의 다른 실시 예에 따르면, 제1 외부 장치(200-1)에 포함된 제1 신경망 모델의 서비스 유형과 동일한 서비스 유형을 가지는 신경망 모델이 전자 장치(100)에 존재하지 않는 경우, 전자 장치(100)는 제1 신경망 모델에 대한 개인화 레벨에 대한 식별 과정 없이 제1 신경망 모델을 전자 장치(100)에 전이하는 것이 적합한 것으로 식별할 수도 있다. Meanwhile, in the above description, the personalization level of the first neural network model and the personalization level of the first neural network model only when the service types of the first neural network model included in the first external device 200 - 1 and the second neural network model included in the electronic device 100 are the same. It was described as comparing the personalization level of the second neural network model. However, according to another embodiment of the present disclosure, when a neural network model having the same service type as that of the first neural network model included in the first external device 200 - 1 does not exist in the electronic device 100 , The electronic device 100 may identify that it is suitable to transfer the first neural network model to the electronic device 100 without an identification process for the personalization level of the first neural network model.

한편, 이상에서는 하드웨어 적합성 식별 과정을 수행한 후, 전자 장치(100)의 하드웨어에 적합한 것으로 식별된 적어도 하나의 신경망 모델 각각에 대해 모델 적합성 과정을 추가적으로 수행하는 실시 예에 대해 설명하였으나, 본 개시가 이에 국한되는 것은 아니다. 즉, 본 개시의 또 다른 실시 예에 따르면, 전자 장치(100)는 하드웨어 적합성 식별 과정을 수행하지 않고 모델 적합성 식별 과정만을 수행하여, 모델 적합성을 충족하는 신경망 모델에 대한 설치 데이터를 제1 외부 장치(200-1)로부터 수신할 수도 있다. 이하에서는 도 5b를 참조하여, 모델 적합성 식별 과정만을 수행하여 제1 외부 장치(200-1)로부터 설치 데이터를 수신하는 실시 예에 대해 설명한다. 다만, 이하 도 5b에 대한 설명에 있어서는 전술한 바와 같은 내용과 동일한 내용에 대한 중복 설명은 생략한다. Meanwhile, in the above, an embodiment in which a model conformance process is additionally performed for each of at least one neural network model identified as suitable for the hardware of the electronic device 100 after performing the hardware suitability identification process has been described. However, the present invention is not limited thereto. That is, according to another embodiment of the present disclosure, the electronic device 100 performs only the model suitability identification process without performing the hardware suitability identification process, so that the installation data for the neural network model satisfying the model suitability is transmitted to the first external device. It may be received from (200-1). Hereinafter, an embodiment of receiving installation data from the first external device 200 - 1 by performing only a model suitability identification process will be described with reference to FIG. 5B . However, in the description of FIG. 5B below, redundant descriptions of the same contents as those described above will be omitted.

도 5b에 기재된 바와 같이, 사용자 입력이 수신되면, 전자 장치(100)는 적어도 하나의 외부 장치에 포함된 적어도 하나의 신경망 모델에 관련된 정보를 요청하기 위한 제1 신호를 전송할 수 있다(S205). 그리고, 제1 신호에 대한 응답으로, 전자 장치(100)는 적어도 하나의 외부 장치 중 제1 외부 장치(200-1)로부터 제 제1 외부 장치(200-1)에 포함된 적어도 하나의 신경망 모델에 대한 외부 모델 정보를 포함하는 제2 신호를 수신할 수 있다(S215). 이하, 도 5b에 도시된 바와 같은 실시 예를 설명하기 위한 한도 내에서는, 도 1 내지 도 5a에 대한 설명에서의 '제1 모델 정보'라는 용어와 동일한 의미로 '외부 모델 정보'라는 용어를 사용한다. As illustrated in FIG. 5B , when a user input is received, the electronic device 100 may transmit a first signal for requesting information related to at least one neural network model included in at least one external device (S205). And, in response to the first signal, the electronic device 100 transmits at least one neural network model included in the first external device 200-1 from the first external device 200-1 among at least one external device. It is possible to receive a second signal including the external model information for (S215). Hereinafter, within the limits for describing the embodiment as shown in FIG. 5B, the term 'external model information' is used in the same meaning as the term 'first model information' in the description for FIGS. 1 to 5A. do.

제1 외부 장치(200-1)로부터 외부 모델 정보를 포함하는 제2 신호가 수신되면, 전자 장치(100)는 전자 장치에 저장된 내부 모델 정보 및 제1 외부 장치(200-1)로부터 수신된 외부 모델 정보를 모델 적합성 식별 모듈(1200)에 입력하여(S220), 전자 장치(100)의 하드웨어에 적합한 것으로 식별된 적어도 하나의 신경망 모델 각각이 전자 장치(100)에 포함된 신경망 모델을 대체하기에 적합한지 여부를 식별할 수 있다. 이하, 도 5b에 도시된 바와 같은 실시 예를 설명하기 위한 한도 내에서는, 도 5a에 대한 설명에서의 '제2 모델 정보'라는 용어와 동일한 의미로 '내부 모델 정보'라는 용어를 사용한다. When the second signal including the external model information is received from the first external device 200 - 1 , the electronic device 100 transmits the internal model information stored in the electronic device and the external device received from the first external device 200 - 1 . By inputting model information into the model suitability identification module 1200 ( S220 ), each of the at least one neural network model identified as suitable for the hardware of the electronic device 100 replaces the neural network model included in the electronic device 100 . You can determine whether it is suitable or not. Hereinafter, within the limits for describing the embodiment as shown in FIG. 5B , the term 'internal model information' is used in the same meaning as the term 'second model information' in the description of FIG. 5A.

전술한 바와 같이, 본 개시에 따른 모델 적합성 식별 과정은 도 7에 도시된 바와 같은 모델 유형 적합성 식별 모듈(1210) 및 개인화 레벨 적합성 식별 모듈(1220) 각각을 통해 수행되는 모델 유형 적합성 식별 과정 및 개인화 레벨 적합성 식별 과정을 포함할 수 있다. As described above, the model suitability identification process according to the present disclosure is a model type suitability identification process and personalization performed through each of the model type suitability identification module 1210 and the personalization level suitability identification module 1220 as shown in FIG. 7 . It may include a level conformity identification process.

구체적으로, 제1 외부 장치(200-1)에 포함된 적어도 하나의 신경망 모델 중 제1 신경망 모델의 서비스 유형이 전자 장치(100)에 포함된 복수의 신경망 모델 중 제2 신경망 모델의 서비스 유형과 동일하면(S230-Y), 전자 장치(100)는 내부 모델 정보 및 외부 모델 정보 각각에 포함된 개인화 레벨에 대한 정보를 바탕으로 제1 신경망 모델의 개인화 레벨과 제2 신경망 모델의 개인화 레벨을 비교할 수 있다. 그리고, 제1 신경망 모델의 개인화 레벨이 제2 신경망 모델의 개인화 레벨보다 높으면(S240-Y), 제1 신경망 모델이 제2 신경망 모델을 대체하는 것이 적합한 것으로 식별할 수 있다(S250).Specifically, the service type of the first neural network model among the at least one neural network model included in the first external device 200 - 1 is the service type of the second neural network model among the plurality of neural network models included in the electronic device 100 , and If the same (S230-Y), the electronic device 100 compares the personalization level of the first neural network model with the personalization level of the second neural network model based on the information on the personalization level included in each of the internal model information and the external model information. can And, if the personalization level of the first neural network model is higher than the personalization level of the second neural network model (S240-Y), it may be identified that the first neural network model is suitable to replace the second neural network model (S250).

상술한 바와 같은 모델 적합성 식별 과정이 수행되면, 전자 장치(100)는 전자 장치(100)에 포함된 신경망 모델을 대체하기에 적합한 것으로 식별된 적어도 하나의 신경망 모델의 설치 데이터에 대한 요청을 포함하는 제3 신호를 제1 외부 장치(200-1)로 전송할 수 있다(S260). 그리고, 제3 신호에 대한 응답으로, 전자 장치(100)는 제1 외부 장치(200-1)로부터 식별된 적어도 하나의 신경망 모델에 대한 설치 데이터를 포함하는 제4 신호를 수신할 수 있다(S270). When the model suitability identification process as described above is performed, the electronic device 100 includes a request for installation data of at least one neural network model identified as suitable to replace the neural network model included in the electronic device 100. A third signal may be transmitted to the first external device 200-1 (S260). And, in response to the third signal, the electronic device 100 may receive a fourth signal including installation data for at least one neural network model identified from the first external device 200 - 1 ( S270 ). ).

도 5a 내지 도 8을 참조하여 상술한 바와 같은 다양한 실시 예에 따르면, 전자 장치(100)는 외부 장치로부터 신경망 모델이 전이되는 경우, 외부 장치에 포함된 신경망 모델의 개인화된 정도에 기초하여 전자 장치(100)에 포함된 신경망 모델을 대체하는 것이 적합한지를 식별하여 신경망 모델의 전이 여부를 결정할 수 있게 되며, 이에 따라 전이 학습의 효율성과 신뢰성이 더욱 향상될 수 있다. According to various embodiments as described above with reference to FIGS. 5A to 8 , when the neural network model is transferred from the external device, the electronic device 100 is configured based on the degree of personalization of the neural network model included in the external device. It is possible to determine whether the neural network model is transferred by identifying whether it is appropriate to replace the neural network model included in ( 100 ), and thus the efficiency and reliability of transfer learning can be further improved.

도 9는 본 개시의 또 다른 실시 예에 따른 전자 장치(100)의 제어 방법을 설명하기 위한 도면이다. 그리고, 도 10은 본 개시에 따른 외부 장치가 복수 개인 경우의 실시 예에 대해 설명하기 위한 시퀀스도이다.9 is a diagram for explaining a method of controlling the electronic device 100 according to another embodiment of the present disclosure. And, FIG. 10 is a sequence diagram for explaining an embodiment when there are a plurality of external devices according to the present disclosure.

이상에서는 본 개시에 따른 하드웨어 적합성 식별 과정 및 모델 적합성 식별 과정에 대해 상술하였으나, 본 개시의 또 다른 실시 예에 따르면, 하드웨어 적합성 식별 과정 및 모델 적합성 식별 과정에 앞서 사용자 적합성 식별 과정이 추가적으로 수행될 수 있다. '사용자 적합성 식별 과정'이란 전자 장치(100)의 사용자가 외부 장치의 신경망 모델을 이용하는 것이 적합한지 여부를 식별하는 과정으로서, '사용자 인증 과정'이라고 지칭될 수도 있다. 본 개시에 있어서, '전이 적합성'이라는 용어는 하드웨어 적합성, 모델 적합성 및 사용자 적합성을 포괄하는 의미로 사용될 수 있다. 이하에서는 도 9 및 도 10을 참조하여 사용자 적합성 식별 과정에 대해 상세하게 설명한다.In the above, the hardware suitability identification process and the model suitability identification process according to the present disclosure have been described above, but according to another embodiment of the present disclosure, the user suitability identification process may be additionally performed prior to the hardware suitability identification process and the model suitability identification process. have. The 'user suitability identification process' is a process of identifying whether it is appropriate for the user of the electronic device 100 to use a neural network model of an external device, and may also be referred to as a 'user authentication process'. In the present disclosure, the term 'transitional suitability' may be used to encompass hardware suitability, model suitability, and user suitability. Hereinafter, a user suitability identification process will be described in detail with reference to FIGS. 9 and 10 .

도 1 내지 도 8에 대한 설명에서는 전자 장치(100)가 제1 외부 장치(200-1)에 포함된 적어도 하나의 신경망 모델에 관련된 정보를 요청하기 위한 제1 신호를 제1 외부 장치(200-1)로 전송하면, 외부 장치가 제1 신호에 대한 응답으로 제1 외부 장치(200-1)의 하드웨어 사양에 대한 제2 기기 정보 및 제1 외부 장치(200-1)에 포함된 적어도 하나의 신경망 모델에 대한 제1 모델 정보를 포함하는 제2 신호를 전자 장치(100)로 전송하는 것을 전제로 설명하였다. 1 to 8 , the electronic device 100 transmits a first signal for requesting information related to at least one neural network model included in the first external device 200-1 to the first external device 200- 1), the external device responds to the first signal with second device information on the hardware specification of the first external device 200-1 and at least one piece of information included in the first external device 200-1 It has been described on the premise that the second signal including the first model information on the neural network model is transmitted to the electronic device 100 .

그러나, 외부 장치는 제2 기기 정보 및 제1 모델 정보를 전자 장치(100)에 제공하기에 앞서, 외부 장치에 의한 사용자 적합성 식별 과정을 수행하거나, 전자 장치(100)에 의해 사용자 적합성 식별 과정이 수행되도록 할 수 있다. 사용자 적합성 식별 과정에 있어서는 제1 사용자 정보 및 제2 사용자 정보가 이용될 수 있는바, 제1 사용자 정보는 전자 장치(100)의 사용자에 대한 계정 정보 및 전자 외부 장치에 대한 식별 정보 중 적어도 하나를 포함할 수 있으며, 제2 사용자 정보는 제1 외부 장치(200-1)의 사용자에 대한 계정 정보 및 제1 외부 장치(200-1)에 대한 식별 정보 중 적어도 하나를 포함할 수 있다. However, prior to providing the second device information and the first model information to the electronic device 100 , the external device performs a user suitability identification process by the external device or performs a user suitability identification process by the electronic device 100 . can be made to be performed. In the user suitability identification process, first user information and second user information may be used, and the first user information includes at least one of account information for a user of the electronic device 100 and identification information for an electronic external device. may be included, and the second user information may include at least one of account information for a user of the first external device 200 - 1 and identification information for the first external device 200 - 1 .

먼저, 도 9를 참조하면, 사용자 적합성 식별 과정은 본 개시에 따른 전자 장치(100)에 의해 수행될 수 있다. 구체적으로, 사용자 적합성 식별 과정은 도 9에 도시된 바와 같이, 전자 장치(100)에 포함된 사용자 적합성 식별 모듈(1300)을 통해 수행될 수 있다. First, referring to FIG. 9 , a user suitability identification process may be performed by the electronic device 100 according to the present disclosure. Specifically, the user suitability identification process may be performed through the user suitability identification module 1300 included in the electronic device 100 as shown in FIG. 9 .

여기서, '사용자 적합성 식별 모듈(1300)'은 전자 장치(100)에 저장된 제1 사용자 정보 및 제1 외부 장치(200-1)로부터 수신된 제2 사용자 정보를 바탕으로 전자 장치(100)의 사용자가 제1 외부 장치(200-1)에 포함된 신경망 모델을 이용하는 것이 적합한지 여부를 식별하는 모듈을 말한다. Here, the 'user suitability identification module 1300' is the user of the electronic device 100 based on the first user information stored in the electronic device 100 and the second user information received from the first external device 200-1. refers to a module for identifying whether it is appropriate to use the neural network model included in the first external device 200 - 1 .

구체적으로, 전자 장치(100)에는 제1 사용자 정보가 저장될 수 있다. 그리고, 전자 장치(100)는 제1 외부 장치(200-1)로 제1 외부 장치(200-1)에 포함된 적어도 하나의 신경망 모델에 관련된 정보를 요청하기 위한 제1 신호를 전송할 수 있다. 제1 신호가 수신되면, 제1 외부 장치(200-1)는 제2 사용자 정보를 전자 장치(100)로 전송할 수 있다. 제2 사용자 정보가 수신되면, 전자 장치(100)는 제1 사용자 정보 및 제2 사용자 정보를 바탕으로 사용자 적합성 식별 과정을 수행할 수 있다. Specifically, the first user information may be stored in the electronic device 100 . In addition, the electronic device 100 may transmit a first signal for requesting information related to at least one neural network model included in the first external device 200 - 1 to the first external device 200 - 1 . When the first signal is received, the first external device 200 - 1 may transmit second user information to the electronic device 100 . When the second user information is received, the electronic device 100 may perform a user suitability identification process based on the first user information and the second user information.

특히, 제1 사용자 정보에 포함된 전자 장치(100)의 사용자에 대한 계정 정보와 제2 사용자 정보에 포함된 제1 외부 장치(200-1)의 사용자에 대한 계정 정보가 일치하면, 전자 장치(100)는 전자 장치(100)의 사용자가 제1 외부 장치(200-1)에 포함된 신경망 모델을 이용하는 것이 적합한 것으로 식별할 수 있다. 반면, 제1 사용자 정보에 포함된 전자 장치(100)의 사용자에 대한 계정 정보와 제2 사용자 정보에 포함된 제1 외부 장치(200-1)의 사용자에 대한 계정 정보가 일치하지 않으면, 전자 장치(100)는 전자 장치(100)의 사용자가 제1 외부 장치(200-1)에 포함된 신경망 모델을 이용하는 것이 적합하지 않은 것으로 식별할 수 있다.In particular, when the account information for the user of the electronic device 100 included in the first user information matches the account information for the user of the first external device 200-1 included in the second user information, the electronic device ( 100 may identify that it is suitable for the user of the electronic device 100 to use the neural network model included in the first external device 200 - 1 . On the other hand, if the account information on the user of the electronic device 100 included in the first user information and the account information on the user of the first external device 200 - 1 included in the second user information do not match, the electronic device Reference numeral 100 may identify that it is not suitable for the user of the electronic device 100 to use the neural network model included in the first external device 200 - 1 .

이상에서는 전자 장치(100)의 사용자에 대한 계정 정보와 제1 외부 장치(200-1)의 사용자에 대한 계정 정보가 일치하는 경우에 사용자 적합성을 충족하는 것으로 설명하였으나, 본 개시가 이에 국한되는 것은 아니다. 즉, 실시 예에 따라서는, 전자 장치(100)의 사용자에 대한 계정 이 제1 외부 장치(200-1)의 사용자에 대한 계정보다 상위 권한을 가지는 경우, 그리고, 전자 장치(100)의 사용자에 대한 계정이 제1 외부 장치(200-1)의 사용자에 대한 계정과 기 등록된 동일한 그룹에 포함되는 경우 등에도 본 개시에 따른 사용자 적합성이 충족될 수 있다. In the above description, user suitability is satisfied when the account information for the user of the electronic device 100 and the account information for the user of the first external device 200 - 1 match, but the present disclosure is limited thereto no. That is, according to an embodiment, when the account for the user of the electronic device 100 has higher authority than the account for the user of the first external device 200 - 1 , and the user of the electronic device 100 User suitability according to the present disclosure may be satisfied even when the account for the user of the first external device 200 - 1 is included in the same group registered as the account for the user of the first external device 200 - 1 .

한편, 다른 실시 예에 따르면, 제1 신호를 수신한 외부 장치는 전자 장치(100)로 제2 사용자 정보를 전송하는 것이 아니라, 암호화된 제2 기기 정보 및 암호화된 제1 모델 정보가 포함된 제2 신호를 전자 장치(100)로 전송함으로써, 사용자 인증을 유도할 수도 있다. 구체적으로, 암호화된 제2 기기 정보 및 암호화된 제1 모델 정보를 복호화하기 위한 비밀 번호 또는 생체 정보(예: 지문 정보, 홍채 정보 등)가 입력되면, 전자 장치(100)는 전자 장치(100)의 사용자가 제1 외부 장치(200-1)에 포함된 신경망 모델을 이용하는 것이 적합한 것으로 식별할 수 있다. 여기서, 암호화 및 복호화의 방식과 복호화를 위해 요구되는 인증 절차에 특별한 제한이 따르는 것은 아니다. Meanwhile, according to another embodiment, the external device that has received the first signal does not transmit the second user information to the electronic device 100 , but rather the first device including the encrypted second device information and the encrypted first model information. By transmitting the 2 signals to the electronic device 100 , user authentication may be induced. Specifically, when a password or biometric information (eg, fingerprint information, iris information, etc.) for decrypting the encrypted second device information and the encrypted first model information is input, the electronic device 100 may It can be identified that it is suitable for the user of the user to use the neural network model included in the first external device 200 - 1 . Here, there are no special restrictions on encryption and decryption methods and authentication procedures required for decryption.

다음으로, 도 10을 참조하면, 사용자 적합성 식별 과정은 본 개시에 따른 제1 외부 장치(200-1)에 의해 수행될 수 있다. 구체적으로, 사용자 적합성 식별 과정은 도시되지는 않았으나, 제1 외부 장치(200-1)에 포함된 사용자 적합성 식별 모듈(1300)을 통해 수행될 수 있다.Next, referring to FIG. 10 , the user suitability identification process may be performed by the first external device 200 - 1 according to the present disclosure. Specifically, although not illustrated, the user suitability identification process may be performed through the user suitability identification module 1300 included in the first external device 200 - 1 .

도 10에 도시된 바와 같이, 전자 장치(100)는 제1 사용자 입력을 수신할 수 있으며(S1010), 제1 사용자 입력에 따라 적어도 하나의 외부 장치에 포함된 적어도 하나의 신경망 모델에 관련된 정보를 요청하는 제1 신호를 제1 외부 장치(200-1)로 전송할 수 있다(S1020).As shown in FIG. 10 , the electronic device 100 may receive a first user input ( S1010 ), and according to the first user input, information related to at least one neural network model included in at least one external device is displayed. The requesting first signal may be transmitted to the first external device 200 - 1 ( S1020 ).

제1 신호가 수신되면, 제1 외부 장치(200-1)는 제1 신호에 포함된 제1 사용자 정보 및 제1 외부 장치(200-1)에 저장된 제2 사용자 정보를 바탕으로 사용자 적합성 식별 과정을 수행할 수 있다(S1030). When the first signal is received, the first external device 200-1 performs a user suitability identification process based on the first user information included in the first signal and the second user information stored in the first external device 200-1. can be performed (S1030).

구체적으로, 제1 사용자 정보에 포함된 전자 장치(100)의 사용자에 대한 계정 정보와 제2 사용자 정보에 포함된 제1 외부 장치(200-1)의 사용자에 대한 계정 정보가 일치하면, 제1 외부 장치(200-1)는 전자 장치(100)의 사용자가 제1 외부 장치(200-1)에 포함된 신경망 모델을 이용하는 것이 적합한 것으로 식별할 수 있다. 반면, 제1 사용자 정보에 포함된 전자 장치(100)의 사용자에 대한 계정 정보와 제2 사용자 정보에 포함된 제1 외부 장치(200-1)의 사용자에 대한 계정 정보가 일치하지 않으면, 제1 외부 장치(200-1)는 전자 장치(100)의 사용자가 제1 외부 장치(200-1)에 포함된 신경망 모델을 이용하는 것이 적합하지 않은 것으로 식별할 수 있다. 한편, 전자 장치(100)로부터 수신된 제1 신호에 제1 사용자 정보가 포함되어 있지 않으면, 제1 외부 장치(200-1)는 제1 사용자 정보에 대한 요청을 전자 장치(100)로 전송함으로써 제1 사용자 정보를 수신할 수도 있다.Specifically, when the account information for the user of the electronic device 100 included in the first user information matches the account information for the user of the first external device 200-1 included in the second user information, the first The external device 200 - 1 may identify that it is suitable for the user of the electronic device 100 to use the neural network model included in the first external device 200 - 1 . On the other hand, if the account information on the user of the electronic device 100 included in the first user information and the account information on the user of the first external device 200-1 included in the second user information do not match, the first The external device 200 - 1 may identify that it is not suitable for the user of the electronic device 100 to use the neural network model included in the first external device 200 - 1 . On the other hand, if the first signal received from the electronic device 100 does not include the first user information, the first external device 200 - 1 transmits a request for the first user information to the electronic device 100 . The first user information may be received.

전자 장치(100)의 사용자가 제1 외부 장치(200-1)에 포함된 신경망 모델을 이용하는 것이 적합한 것으로 식별되면, 제1 외부 장치(200-1)는 제1 외부 장치(200-1)의 하드웨어 사양에 대한 제2 기기 정보 및 제1 외부 장치(200-1)에 포함된 적어도 하나의 신경망 모델에 대한 제1 모델 정보를 포함하는 제2 신호를 전자 장치(100)로 전송할 수 있다(S1040). 반면, 전자 장치(100)의 사용자가 제1 외부 장치(200-1)에 포함된 신경망 모델을 이용하는 것이 적합하지 않은 것으로 식별되면, 제1 외부 장치(200-1)는 제2 신호를 전자 장치(100)로 전송하지 않을 수 있다. 그리고, 제1 외부 장치(200-1)로부터 기 설정된 시간 동안 제2 신호가 수신되지 않으면, 전자 장치(100)는 제1 외부 장치(200-1)에 포함된 적어도 하나의 신경망 모델에 관련된 정보에 대한 요청이 거절되었다는 것을 나타내는 사용자 알림을 제공할 수 있다.When it is identified that the user of the electronic device 100 is suitable to use the neural network model included in the first external device 200 - 1 , the first external device 200 - 1 is the first external device 200 - 1 A second signal including second device information on hardware specifications and first model information on at least one neural network model included in the first external device 200 - 1 may be transmitted to the electronic device 100 ( S1040 ). ). On the other hand, if it is identified that it is not suitable for the user of the electronic device 100 to use the neural network model included in the first external device 200-1, the first external device 200-1 transmits the second signal to the electronic device. (100) may not be transmitted. And, if the second signal is not received from the first external device 200-1 for a preset time, the electronic device 100 provides information related to at least one neural network model included in the first external device 200-1. A user notification may be provided indicating that the request for .

상술한 바와 같이 사용자 적합성 식별 과정이 수행된 결과, 전자 장치(100)의 사용자가 제1 외부 장치(200-1)에 포함된 신경망 모델을 이용하는 것이 적합한 것으로 식별되면, 전자 장치(100)는 본 개시에 따른 하드웨어 적합성 식별 과정 및 모델 적합성 식별 과정을 수행할 수 있다. As a result of performing the user suitability identification process as described above, if it is identified that it is suitable for the user of the electronic device 100 to use the neural network model included in the first external device 200-1, the electronic device 100 is A hardware suitability identification process and a model suitability identification process according to the disclosure may be performed.

즉, 제2 신호가 수신되면, 전자 장치(100)는 전자 장치(100)의 하드웨어 사양에 대한 제1 기기 정보, 제2 기기 정보 및 제1 모델 정보를 바탕으로 제1 외부 장치(200-1)에 포함된 적어도 하나의 신경망 모델 중 전자 장치(100)의 하드웨어에 적합한 적어도 하나의 신경망 모델을 식별할 수 있다(S1050). 그리고, 전자 장치(100)는 제1 모델 정보 및 전자 장치(100)에 포함된 적어도 하나의 신경망 모델에 대한 제2 모델 정보를 바탕으로 전자 장치(100)의 하드웨어에 적합한 것으로 식별된 적어도 하나의 신경망 모델 중 전자 장치(100)에 포함된 신경망 모델을 대체하기에 적합한 적어도 하나의 신경망 모델을 식별할 수 있다(S1060). 하드웨어 적합성 식별 과정 및 모델 적합성 식별 과정에 대해서는 도 1 내지 도 8을 참조하여 상세하게 설명하였으므로, 구체적인 내용에 대한 중복 설명은 생략한다.That is, when the second signal is received, the electronic device 100 performs the first external device 200 - 1 based on the first device information about the hardware specification of the electronic device 100 , the second device information, and the first model information. ), at least one neural network model suitable for hardware of the electronic device 100 may be identified among at least one neural network model included in ( S1050 ). In addition, the electronic device 100 includes at least one piece of information identified as suitable for the hardware of the electronic device 100 based on the first model information and the second model information on at least one neural network model included in the electronic device 100 . At least one neural network model suitable for replacing the neural network model included in the electronic device 100 from among the neural network models may be identified ( S1060 ). Since the hardware suitability identification process and the model suitability identification process have been described in detail with reference to FIGS. 1 to 8 , a redundant description of the specific content will be omitted.

하드웨어 적합성 식별 과정 및 모델 적합성 식별 과정이 수행되면, 전자 장치(100)는 제2 사용자 입력을 수신할 수 있으며(S1070), 제2 사용자 입력에 따라 선택된 적어도 하나의 신경망 모델의 설치 데이터를 제1 외부 장치(200-1)로 요청할 수 있다(S1080). 그리고, 신경망 모델의 설치 데이터가 요청되면, 제1 외부 장치(200-1)는 선택된 적어도 하나의 신경망 모델의 설치 데이터를 전자 장치(100)로 전송할 수 있다(S1090). When the hardware suitability identification process and the model suitability identification process are performed, the electronic device 100 may receive a second user input ( S1070 ), and may first transmit installation data of at least one neural network model selected according to the second user input ( S1070 ). The request may be made to the external device 200-1 (S1080). When installation data of the neural network model is requested, the first external device 200 - 1 may transmit installation data of at least one selected neural network model to the electronic device 100 ( S1090 ).

한편, 이상에서는 제1 외부 장치(200-1)가 사용자 적합성 식별 과정을 수행하고, 전자 장치(100)가 하드웨어 적합성 식별 과정 및 모델 적합성 식별 과정을 수행하는 실시 예에 대해 설명하였으나, 본 개시가 이에 국한되는 것은 아니다. 즉, 본 개시의 다른 실시 예에 따르면, 제1 외부 장치(200-1)가 본 개시에 따른 사용자 적합성 식별 과정, 하드웨어 적합성 식별 과정 및 모델 적합성 식별 과정을 모두 수행할 수도 있다.Meanwhile, in the above, an embodiment in which the first external device 200-1 performs a user suitability identification process and the electronic device 100 performs a hardware suitability identification process and a model suitability identification process has been described. It is not limited thereto. That is, according to another embodiment of the present disclosure, the first external device 200 - 1 may perform all of the user suitability identification process, the hardware suitability identification process, and the model suitability identification process according to the present disclosure.

도 9 내지 도 10을 참조하여 상술한 바와 같은 다양한 실시 예에 따르면, 사용자 인증 과정을 통해 전자 장치(100)의 사용자가 외부 장치에 포함된 신경망 모델을 이용하는 것이 적합한 것으로 식별된 경우에 한하여, 그 신경망 모델의 전이 여부를 결정할 수 있게 되는바, 신경망 모델의 전이 과정에 있어서 보안성과 신뢰성이 향상될 수 있다. According to various embodiments as described above with reference to FIGS. 9 to 10 , only when it is identified that it is suitable for the user of the electronic device 100 to use the neural network model included in the external device through the user authentication process, the Since it is possible to determine whether the neural network model is transferred, security and reliability can be improved in the process of transferring the neural network model.

도 11은 본 개시의 일 실시 예에 따라 전자 장치(100)에 의해 제공되는 사용자 인터페이스에 대해 설명하기 위한 도면이다. 11 is a diagram for explaining a user interface provided by the electronic device 100 according to an embodiment of the present disclosure.

도 11에 도시된 바와 같이, 본 개시에 따른 전자 장치(100)는 사용자 입력을 수신하기 위한 사용자 인터페이스(User Interface, UI)를 전자 장치(100)의 디스플레이 상에 표시할 수 있다. 그리고, 전자 장치(100)는 사용자 인터페이스를 통해 적어도 하나의 제1 외부 장치(200-1)에 포함된 적어도 하나의 신경망 모델을 탐색하기 위한 사용자 입력을 수신할 수 있다. 예를 들어, 적어도 하나의 신경망 모델을 탐색하기 위한 사용자 입력은 사용자 인터페이스에 포함된 복수의 UI 엘리먼트 중 '찾기' UI 엘리먼트(1110)를 선택하는 사용자 인터렉션에 따라 수신될 수 있다. 11 , the electronic device 100 according to the present disclosure may display a user interface (UI) for receiving a user input on the display of the electronic device 100 . In addition, the electronic device 100 may receive a user input for searching for at least one neural network model included in the at least one first external device 200 - 1 through the user interface. For example, a user input for searching for at least one neural network model may be received according to a user interaction of selecting a 'find' UI element 1110 from among a plurality of UI elements included in the user interface.

사용자 입력에 따라, 전자 장치(100)는 적어도 하나의 제1 외부 장치(200-1)에 포함된 적어도 하나의 신경망 모델에 관련된 정보를 요청하기 위한 제1 신호를 전송할 수 있다. 제1 신호에 대한 응답으로, 전자 장치(100)는 적어도 하나의 제1 외부 장치(200-1) 각각으로부터 제1 외부 장치(200-1)에 대한 식별 정보 및 제1 외부 장치(200-1) 각각에 포함된 신경망 모델에 대한 식별 정보를 수신할 수 있다. 그리고, 전자 장치(100)는 수신된 제1 외부 장치(200-1)에 대한 식별 정보 및 신경망 모델에 대한 식별 정보를 사용자 인터페이스 내에 표시할 수 있다. 예를 들어, 전자 장치(100)는 디바이스 A라는 제1 외부 장치(200-1)에 모델 A1, 모델 A2 및 모델 A3라는 신경망 모델이 포함되어 있으며, 디바이스 B라는 제1 외부 장치(200-1)에 모델 B1 및 모델 B2라는 신경망 모델이 포함되어 있다는 정보를 사용자 인터페이스 내에 표시할 수 있다. According to a user input, the electronic device 100 may transmit a first signal for requesting information related to at least one neural network model included in the at least one first external device 200 - 1 . In response to the first signal, the electronic device 100 provides identification information for the first external device 200-1 and the first external device 200-1 from each of the at least one first external device 200-1. ) can receive identification information for the neural network model included in each. In addition, the electronic device 100 may display the received identification information on the first external device 200 - 1 and identification information on the neural network model in the user interface. For example, the electronic device 100 includes neural network models of models A1, model A2, and model A3 in a first external device 200-1 called device A, and a first external device 200-1 called device B ) that includes neural network models named model B1 and model B2 may be displayed in the user interface.

특히, 전자 장치(100)는 제1 외부 장치(200-1)에 대한 식별 정보 및 신경망 모델에 대한 식별 정보와 함께, 각각의 신경망 모델이 본 개시에 따른 전이 적합성을 충족하는 신경망 모델인지 여부를 나타내는 UI 엘리먼트를 사용자 인터페이스 내에 표시할 수 있다. 예를 들어, 전자 장치(100)는 디바이스 A에 포함된 모델 A1 및 모델 A2이 전이 적합성을 충족하는 신경망 모델이라는 점을 나타내기 위해 '체크 가능한 체크 박스 형태'의 UI 엘리먼트(1120, 1130)를 표시할 수 있다. 그리고, 전자 장치(100)는 디바이스 A에 포함된 모델 A3가 전이 적합성을 충족하지 못하는 신경망 모델이라는 점을 나타내기 위해 '체크 불가능한 체크 박스 형태'의 UI 엘리먼트(1140)를 표시할 수 있다. 한편, 전자 장치(100)는 디바이스 B에 포함된 모델 B1 및 모델 B2의 경우 본 개시에 따른 전이 적합성 식별 과정이 '진행 중'이'라는 점을 나타내기 위한 UI 엘리먼트(1150)를 표시할 수도 있다. In particular, the electronic device 100 determines whether each neural network model is a neural network model that satisfies the transitive suitability according to the present disclosure, together with the identification information for the first external device 200-1 and the identification information for the neural network model. The indicated UI element can be displayed in the user interface. For example, the electronic device 100 displays UI elements 1120 and 1130 in the form of a 'checkable check box' to indicate that the models A1 and A2 included in the device A are neural network models that satisfy transitive suitability. can be displayed In addition, the electronic device 100 may display the UI element 1140 in the form of a 'non-checkable check box' to indicate that the model A3 included in the device A is a neural network model that does not satisfy transition suitability. Meanwhile, in the case of the models B1 and B2 included in the device B, the electronic device 100 may display a UI element 1150 to indicate that the transition suitability identification process according to the present disclosure is 'in progress'. have.

각각의 신경망 모델이 본 개시에 따른 전이 적합성을 충족하는 신경망 모델인지 여부를 나타내는 UI 엘리먼트가 표시된 후, 전자 장치(100)는 전이 적합성을 충족하는 적어도 하나의 신경망 모델 중 전자 장치(100)에 설치될 하나 이상의 신경망 모델을 선택하기 위한 사용자 입력을 수신할 수 있다. 예를 들어, 전자 장치(100)에 설치될 하나 이상의 신경망 모델을 선택하기 위한 사용자 입력은 디스플레이 상에 표시된 UI 엘리먼트(1120, 1130) 중 하나의 UI 엘리먼트(1130)를 선택하는 사용자 인터렉션에 따라 수신될 수 있다. 이 경우, 전자 장치(100)는 모델 A2가 선택되었다는 점을 나타내기 위해 UI 엘리먼트(1130)를 도 11에 도시된 바와 같이 '체크된 체크 박스의 형태'로 표시할 수 있다.After the UI element indicating whether each neural network model is a neural network model that satisfies the transitive suitability according to the present disclosure is displayed, the electronic device 100 is installed in the electronic device 100 among at least one neural network model that satisfies the transitive suitability It may receive user input for selecting one or more neural network models to become. For example, a user input for selecting one or more neural network models to be installed in the electronic device 100 is received according to a user interaction of selecting one UI element 1130 from among the UI elements 1120 and 1130 displayed on the display. can be In this case, the electronic device 100 may display the UI element 1130 in the form of a 'checked check box' as shown in FIG. 11 to indicate that the model A2 is selected.

전자 장치(100)에 설치될 하나 이상의 신경망 모델이 선택된 후, 선택된 하나 이상의 신경망 모델을 전자 장치(100)에 설치하기 위한 사용자 입력이 수신되면, 전자 장치(100)는 선택된 하나 이상의 신경망 모델을 포함하는 각각의 제1 외부 장치(200-1)로 선택된 하나 이상의 신경망 모델의 설치 데이터에 대한 요청을 전송할 수 있다. 예를 들어, 선택된 하나 이상의 신경망 모델을 전자 장치(100)에 설치하기 위한 사용자 입력은 사용자 인터페이스에 포함된 복수의 UI 엘리먼트 중 '설치' UI 엘리먼트(1160)를 선택하는 사용자 인터렉션에 따라 수신될 수 있다. After one or more neural network models to be installed in the electronic device 100 are selected, when a user input for installing the selected one or more neural network models in the electronic device 100 is received, the electronic device 100 includes the one or more selected neural network models may transmit a request for installation data of one or more selected neural network models to each of the first external devices 200 - 1 . For example, a user input for installing one or more selected neural network models in the electronic device 100 may be received according to a user interaction of selecting an 'install' UI element 1160 from among a plurality of UI elements included in the user interface. have.

선택된 하나 이상의 신경망 모델의 설치 데이터에 대한 요청에 대한 응답으로, 전자 장치(100)는 선택된 하나 이상의 신경망 모델의 설치 데이터를 수신하고, 설치 데이터를 바탕으로 해당 신경망 모델을 전자 장치(100)에 설치할 수 있다. In response to a request for installation data of one or more selected neural network models, the electronic device 100 receives installation data of one or more selected neural network models, and installs a corresponding neural network model in the electronic device 100 based on the installation data. can

이상에서는 전자 장치(100)가 전이 적합성을 충족하는 신경망 모델인지 여부를 나타내는 UI 엘리먼트를 표시하는 실시 예에 대해 설명하였는바, 본 개시에 있어서 전이 적합성을 충족한다는 것은 하드웨어 적합성, 모델 적합성 및 사용자 적합성 중 각 실시 예에 따라 요구되는 조건을 모두 충족한다는 것을 말하며, 전이 적합성을 충족하지 못한다는 것은 하드웨어 적합성, 모델 적합성 및 사용자 적합성 중 각 실시 예에 따라 요구되는 조건의 적어도 일부가 충족되지 않는다는 것을 말한다. As described above, an embodiment in which the electronic device 100 displays a UI element indicating whether or not the neural network model satisfies the transitive conformance has been described. In the present disclosure, satisfying the transitive conformance means hardware conformance, model conformance, and user conformance. means that all of the conditions required according to each embodiment are satisfied, and failing to meet the transitive suitability means that at least some of the conditions required according to each embodiment among hardware suitability, model suitability, and user suitability are not satisfied. .

도 11을 참조하여 상술한 바와 같은 실시 예에 따르면, 전자 장치(100)는 본 개시에 따른 전이 적합성을 충족하는 제1 외부 장치(200-1)의 신경망 모델 중 사용자에 의해 선택된 신경망 모델의 설치 데이터만을 제1 외부 장치(200-1)에 요청하여 수신함으로써, 신경망 모델의 전이 과정에 대한 효율성과 함께 사용자 편의성을 향상시킬 수 있다.According to the embodiment described above with reference to FIG. 11 , the electronic device 100 installs a neural network model selected by a user from among the neural network models of the first external device 200 - 1 satisfying the transition suitability according to the present disclosure. By requesting and receiving only data from the first external device 200 - 1 , it is possible to improve the efficiency of the neural network model transition process and user convenience.

도 12는 본 개시의 일 실시 예에 따라 제1 외부 장치(200-1)에 의해 제공되는 사용자 인터페이스에 대해 설명하기 위한 도면이다.12 is a diagram for explaining a user interface provided by the first external device 200 - 1 according to an embodiment of the present disclosure.

도 11에서는 전자 장치(100)에 의해 제공되는 사용자 인터페이스에 대해 설명하였으나, 다른 실시 예에 따르면, 본 개시에 따른 사용자 입력을 수신하기 위한 사용자 인터페이스는 제1 외부 장치(200-1)의 디스플레이 상에 표시될 수도 있다. 도 12에 도시된 바와 같은 사용자 인터페이스는 제1 외부 장치(200-1)에 포함된 적어도 하나의 어플리케이션을 전자 장치(100)에 설치하기 위한 사용자 인터페이스를 나타낸다.Although the user interface provided by the electronic device 100 has been described in FIG. 11 , according to another embodiment, the user interface for receiving a user input according to the present disclosure is displayed on the display of the first external device 200 - 1 . may be displayed in The user interface as shown in FIG. 12 represents a user interface for installing at least one application included in the first external device 200 - 1 in the electronic device 100 .

구체적으로, 사용자 인터페이스는 제1 외부 장치(200-1)에 포함된 어플리케이션들을 나타내는 UI 엘리먼트를 포함할 수 있다. 예를 들어, 도 12에 도시된 바와 같이, 사용자 인터페이스에는 '통화 및 연락처' 어플리케이션을 나타내는 UI 엘리먼트(1210), '메시지' 어플리케이션을 나타내는 UI 엘리먼트(1220), 'AI 비서' 어플리케이션을 나타내는 UI 엘리먼트(1230) 및 '갤러리' 어플리케이션(1250)을 나타내는 UI 엘리먼트 등이 포함될 수 있다. Specifically, the user interface may include a UI element representing applications included in the first external device 200 - 1 . For example, as shown in FIG. 12 , in the user interface, a UI element 1210 indicating a 'call and contact' application, a UI element 1220 indicating a 'message' application, and a UI element indicating an 'AI assistant' application 1230 and a UI element representing the 'gallery' application 1250 may be included.

그리고, 사용자 인터페이스는 제1 외부 장치(200-1)에 포함된 어플리케이션 각각에 포함된 신경망 모델을 나타내는 UI 엘리먼트를 포함할 수 있다. 예를 들어, 도 12에 도시된 바와 같이, 사용자 인터페이스 내에는 'AI 비서' 어플리케이션에 포함된 'AI 모델 X'라는 신경망 모델을 나타내는 UI 엘리먼트(1240) 및 '갤러리' 어플리케이션에 포함된 'AI 모델 Y'라는 신경망 모델을 나타내는 UI 엘리먼트(1260)를 포함할 수 있다. In addition, the user interface may include a UI element representing a neural network model included in each application included in the first external device 200 - 1 . For example, as shown in FIG. 12 , in the user interface, a UI element 1240 representing a neural network model called 'AI model X' included in the 'AI assistant' application and 'AI model' included in the 'Gallery' application A UI element 1260 representing the neural network model Y' may be included.

제1 외부 장치(200-1)는 사용자 인터페이스를 통해 제1 외부 장치(200-1)에 포함된 복수의 어플리케이션 중 적어도 하나의 어플리케이션을 선택하는 사용자 입력을 수신할 수 있다. 예를 들어, 제1 외부 장치(200-1)는 제1 외부 장치(200-1)에 포함된 복수의 어플리케이션 중 '통화 및 연락처' 어플리케이션, 'AI 비서' 어플리케이션 및 '갤러리' 어플리케이션을 선택하는 사용자 입력을 수신할 수 있다. 도 12에서 '체크 표시된 체크 박스 형태'의 UI 엘리먼트는 선택된 어플리케이션이라는 것을 나타낸다. The first external device 200 - 1 may receive a user input for selecting at least one application from among a plurality of applications included in the first external device 200 - 1 through a user interface. For example, the first external device 200-1 selects a 'call and contact' application, an 'AI assistant' application, and a 'gallery' application from among a plurality of applications included in the first external device 200-1. It can receive user input. In FIG. 12 , a UI element in the form of a 'checked check box' indicates that it is a selected application.

적어도 하나의 어플리케이션을 선택하는 사용자 입력이 수신되면, 제1 외부 장치(200-1)는 선택된 적어도 하나의 어플리케이션의 설치 데이터를 전자 장치(100)에 전송할 수 있다. 예를 들어, 적어도 하나의 어플리케이션을 선택하는 사용자 입력은 사용자 인터페이스에 포함된 복수의 UI 엘리먼트 중 '보내기' 엘리먼트(1270)를 선택하는 사용자 인터렉션에 따라 수신될 수 있다.When a user input for selecting at least one application is received, the first external device 200 - 1 may transmit installation data of the at least one selected application to the electronic device 100 . For example, a user input for selecting at least one application may be received according to a user interaction of selecting a 'send' element 1270 from among a plurality of UI elements included in the user interface.

한편, 제1 외부 장치(200-1)는 선택된 적어도 하나의 어플리케이션의 설치 데이터와 함께, 제1 외부 장치(200-1)의 하드웨어 사양에 대한 제2 기기 정보 및 선택된 적어도 하나의 어플리케이션 각각에 포함된 신경망 모델에 대한 제1 모델 정보를 전자 장치(100)로 전송할 수 있다. 그리고, 전자 장치(100)는 전자 장치(100)에 저장된 제1 기기 정보 및 제2 모델 정보와 함께, 제1 외부 장치(200-1)로부터 수신된 제2 기기 정보 및 제1 모델 정보를 바탕으로 전술한 바와 같은 하드웨어 적합성 식별 과정 및 모델 적합성 식별 과정을 수행할 수 있다. 그 후, 전자 장치(100)로부터 하드웨어 적합성 및 모델 적합성을 충족하는 것으로 식별된 신경망 모델의 설치 데이터에 대한 요청이 수신되면, 제1 외부 장치(200-1)는 그 식별된 신경망 모델의 설치 데이터를 전자 장치(100)로 전송할 수 있다. Meanwhile, the first external device 200 - 1 is included in each of the selected at least one application and the second device information about the hardware specification of the first external device 200 - 1 together with installation data of the selected at least one application. The first model information on the obtained neural network model may be transmitted to the electronic device 100 . In addition, the electronic device 100 based on the second device information and the first model information received from the first external device 200 - 1 together with the first device information and the second model information stored in the electronic device 100 . As described above, the hardware suitability identification process and the model suitability identification process may be performed. Thereafter, when a request for installation data of a neural network model identified as satisfying hardware suitability and model suitability is received from the electronic device 100 , the first external device 200 - 1 transmits the identified neural network model installation data may be transmitted to the electronic device 100 .

한편, 어플리케이션의 설치 데이터 및 신경망 모델의 설치 데이터 중 적어도 일부는 제1 외부 장치(200-1)에서 전자 장치(100)로 직접 전송될 수 있을 뿐만 아니라, 어플리케이션의 설치 데이터 또는 신경망 모델의 설치 데이터를 제공하는 서버를 통해 전자 장치(100)로 전송될 수도 있음은 물론이다. Meanwhile, at least some of the installation data of the application and the installation data of the neural network model may be directly transmitted from the first external device 200-1 to the electronic device 100, and the installation data of the application or the installation data of the neural network model Of course, it may be transmitted to the electronic device 100 through a server that provides

도 12를 참조하여 상술한 바와 같은 실시 예에 따르면, 사용자에 의해 선택된 어플리케이션의 설치 데이터를 제1 외부 장치(200-1)에서 전자 장치(100)로 전송함과 동시에, 선택된 어플리케이션에 포함된 신경망 모델에 대한 전이 적합성의 식별 과정을 수행한 후 신경망 모델의 설치 데이터를 제1 외부 장치(200-1)에서 전자 장치(100)로 전송할 수 있는바, 사용자 편의성이 더욱 향상될 수 있다. 특히, 도 12의 실시 예는 신형 기기인 전자 자치의 초기 설정 단계에서, 구형 기기인 제1 외부 장치(200-1)에 포함된 어플리케이션 및 신경망 모델에 대한 정보 중 적어도 일부를 신형 기기인 전자 장치(100)에 일괄적으로 전송하기 위한 경우에 적용될 수 있다.According to the embodiment as described above with reference to FIG. 12 , the first external device 200 - 1 transmits the installation data of the application selected by the user to the electronic device 100 , and at the same time, the neural network included in the selected application After performing the process of identifying the transitional suitability of the model, the installation data of the neural network model may be transmitted from the first external device 200 - 1 to the electronic device 100 , and thus user convenience may be further improved. In particular, in the embodiment of FIG. 12 , in the initial setting stage of electronic autonomy, which is a new device, at least part of the information on the application and neural network model included in the first external device 200-1, which is the old device, is transferred to the electronic device as the new device. It can be applied to the case for collectively transmitting to (100).

도 13은 본 개시에 따른 전자 장치(100), 제1 외부 장치(200-1) 및 제2 외부 장치(200-2)의 일 예를 나타내는 도면이다. 그리고, 도 14는 제1 외부 장치(200-1)에 포함된 신경망 모델을 제2 외부 장치(200-2)로 전이하는 경우 전자 장치(100)에 의해 전이 적합성을 식별하는 과정을 설명하기 위한 시퀀스도이다.13 is a diagram illustrating an example of the electronic device 100, the first external device 200-1, and the second external device 200-2 according to the present disclosure. And, FIG. 14 is a diagram for explaining a process of identifying transition suitability by the electronic device 100 when the neural network model included in the first external device 200-1 is transferred to the second external device 200-2. It is a sequence diagram.

도 13에 도시된 바와 같이 본 개시에 따른 전자 장치(100)는 스마트 폰으로 구현될 수 있으며, 제1 외부 장치(200-1)는 로봇 청소기로 구현될 수 있고, 제2 외부 장치(200-2)는 지능형 컴패니언 로봇(Intelligent Companion Robot)으로 구현될 수 있다. 즉, 본 개시에 따른 전자 장치(100), 제1 외부 장치(200-1) 및 제2 외부 장치(200-2) 각각의 유형은 서로 상이할 수 있다. 본 개시에 있어서 '제1 외부 장치(200-1)'라는 용어는 전자 장치(100)에 신경망 모델의 설치 데이터를 전송할 수 있는 외부 장치를 특정하기 위한 용어로 사용되는 한편, '제2 외부 장치(200-2)'라는 용어는 제1 외부 장치(200-1)로부터 신경망 모델의 설치 데이터를 수신할 수 있는 외부 장치를 특정하기 위한 용어로 사용된다. 13 , the electronic device 100 according to the present disclosure may be implemented as a smart phone, the first external device 200-1 may be implemented as a robot cleaner, and the second external device 200- 2) can be implemented as an intelligent companion robot. That is, the types of the electronic device 100 , the first external device 200 - 1 , and the second external device 200 - 2 according to the present disclosure may be different from each other. In the present disclosure, the term 'the first external device 200 - 1' is used as a term for specifying an external device capable of transmitting the installation data of the neural network model to the electronic device 100, while the term 'second external device' The term '(200-2)' is used as a term for specifying an external device capable of receiving installation data of the neural network model from the first external device 200-1.

한편, 제1 외부 장치(200-1)에 포함된 신경망 모델을 제2 외부 장치(200-2)로 전이하는 경우, 도 13에 도시된 바와 같이 제1 외부 장치(200-1) 및 제2 외부 장치(200-2)가 디스플레이를 포함하지 않는 경우에는 도 11 및 도 12을 참조하여 상술한 바와 같은 사용자 인터페이스를 표시할 수 없기 때문에, 본 개시에 따른 실시 예를 수행하기 위한 사용자 입력을 수신하기 어렵다는 문제가 있다. 또한, 제1 외부 장치(200-1) 및 제2 외부 장치(200-2)가 본 개시에 따른 소프트웨어 모듈을 포함하지 않은 경우에는, 제1 외부 장치(200-1) 또는 제2 외부 장치(200-2)를 통해 본 개시에 따른 전이 적합성 식별 과정을 수행할 수 없다는 문제가 있다. Meanwhile, when the neural network model included in the first external device 200-1 is transferred to the second external device 200-2, as shown in FIG. 13, the first external device 200-1 and the second When the external device 200 - 2 does not include a display, since the user interface as described above with reference to FIGS. 11 and 12 cannot be displayed, a user input for performing an embodiment according to the present disclosure is received. The problem is that it is difficult to do. In addition, when the first external device 200-1 and the second external device 200-2 do not include the software module according to the present disclosure, the first external device 200-1 or the second external device 200-1 ( 200-2), there is a problem that the transition suitability identification process according to the present disclosure cannot be performed.

따라서, 본 개시의 일 실시 예에 따르면, 전자 장치(100)가 제1 외부 장치(200-1)본 개시에 따른 사용자 입력을 수신하고, 제1 외부 장치(200-1) 및 제2 외부 장치(200-2)로부터 수신된 정보를 바탕으로 하드웨어 적합성 식별 과정 및 모델 적합성 식별 과정을 수행할 수 있다. Accordingly, according to an embodiment of the present disclosure, the electronic device 100 receives a user input according to the present disclosure of the first external device 200 - 1 , and the first external device 200 - 1 and the second external device 200 - 1 Based on the information received from (200-2), a hardware suitability identification process and a model suitability identification process may be performed.

구체적으로, 도 14에 도시된 바와 같이, 전자 장치(100)는 제1 사용자 입력을 수신할 수 있다(S1410). 그리고, 전자 장치(100)는 제1 사용자 입력에 따라, 제1 외부 장치(200-1)의 하드웨어 사양에 대한 제1 기기 정보 및 제1 외부 장치(200-1)에 포함된 적어도 하나의 신경망 모델에 대한 제1 모델 정보에 대한 요청을 제1 외부 장치(200-1)로 전송하고(S1420-1), 제2 외부 장치(200-2)의 하드웨어 사양에 대한 제2 기기 정보 및 제2 외부 장치(200-2)에 포함된 적어도 하나의 신경망 모델에 대한 제2 모델 정보에 대한 요청을 제2 외부 장치(200-2)로 전송할 수 있다(S1420-2). Specifically, as shown in FIG. 14 , the electronic device 100 may receive a first user input (S1410). And, according to the first user input, the electronic device 100 receives first device information on the hardware specification of the first external device 200-1 and at least one neural network included in the first external device 200-1. The request for the first model information for the model is transmitted to the first external device 200-1 (S1420-1), and the second device information and the second device information for the hardware specification of the second external device 200-2 are transmitted (S1420-1). A request for second model information on at least one neural network model included in the external device 200-2 may be transmitted to the second external device 200-2 (S1420-2).

도 1 내지 도 12에 대한 설명과는 달리, 도 13 및 도 14에 대한 설명에 있어서, 제1 기기 정보는 제1 외부 장치(200-1)의 하드웨어 사양에 대한 정보, 제2 기기 정보는 제2 외부 장치(200-2)의 하드웨어 사양에 대한 정보, 제1 모델 정보는 제1 외부 장치(200-1)에 포함된 적어도 하나의 신경망 모델에 대한 정보, 그리고, 제2 모델 정보는 제2 외부 장치(200-2)에 포함된 적어도 하나의 신경망 모델에 대한 정보를 특정하기 위한 용어로 사용된다. Unlike the description of FIGS. 1 to 12 , in the description of FIGS. 13 and 14 , the first device information is information on the hardware specification of the first external device 200-1, and the second device information is the second device information. 2 Information on the hardware specification of the external device 200 - 2 , the first model information includes information on at least one neural network model included in the first external device 200 - 1 , and the second model information includes the second model information It is used as a term for specifying information on at least one neural network model included in the external device 200 - 2 .

전자 장치(100)로부터 수신된 요청에 응답하여, 제1 외부 장치(200-1)는 제1 기기 정보 및 제1 모델 정보를 전자 장치(100)로 전송할 수 있으며(S1430-1), 제2 외부 장치(200-2)는 제2 기기 정보 및 제2 모델 정보를 전자 장치(100)로 전송할 수 있다(S1430-2).In response to the request received from the electronic device 100 , the first external device 200 - 1 may transmit the first device information and the first model information to the electronic device 100 ( S1430-1 ), and the second The external device 200 - 2 may transmit the second device information and the second model information to the electronic device 100 ( S1430 - 2 ).

제1 외부 장치(200-1)로부터 제1 기기 정보 및 제1 모델 정보가 수신되고 제2 외부 장치(200-2)로부터 제2 기기 정보 및 제2 모델 정보가 수신되면, 전자 장치(100)는 제1 기기 정보, 제2 기기 정보 및 제1 모델 정보를 바탕으로 제1 외부 장치(200-1)에 포함된 적어도 하나의 신경망 모델 중 제2 외부 장치(200-2)의 하드웨어에 적합한 적어도 하나의 신경망 모델을 식별할 수 있다(S1440). 나아가, 전자 장치(100)는 제1 모델 정보 제2 모델 정보를 바탕으로 제1 외부 장치(200-1)의 하드웨어에 적합한 것으로 식별된 적어도 하나의 신경망 모델 중 제2 외부 장치(200-2)에 포함된 신경망 모델을 대체하기에 적합한 적어도 하나의 신경망 모델 식별할 수 있다(S1450). 도 13 및 도 14를 참조하여 설명하는 실시 예에 있어서도 앞서 설명한 바와 같은 하드웨어 적합성 식별 과정 및 모델 적합성 식별 과정이 마찬가지로 적용될 수 있다.When the first device information and the first model information are received from the first external device 200-1 and the second device information and the second model information are received from the second external device 200-2, the electronic device 100 is at least one suitable for hardware of the second external device 200-2 among at least one neural network model included in the first external device 200-1 based on the first device information, the second device information, and the first model information. One neural network model may be identified (S1440). Furthermore, the electronic device 100 includes a second external device 200-2 among at least one neural network model identified as being suitable for the hardware of the first external device 200-1 based on the first model information and the second model information. At least one neural network model suitable for replacing the neural network model included in may be identified (S1450). In the embodiment described with reference to FIGS. 13 and 14 , the hardware suitability identification process and the model suitability identification process as described above may be similarly applied.

하드웨어 적합성 식별 과정 및 모델 적합성 식별 과정이 수행되면, 전자 장치(100)는 제2 사용자 입력을 수신할 수 있다(S1460). 그리고, 전자 장치(100)는 제2 사용자 입력에 따라 선택된 적어도 하나의 신경망 모델의 설치 데이터에 대한 요청을 제1 외부 장치(200-1)로 전송할 수 있다(S1470). 선택된 적어도 하나의 신경망 모델의 설치 데이터에 대한 요청이 수신되면, 제1 외부 장치(200-1)는 선택된 적어도 하나의 신경망 모델의 설치 데이터를 제2 외부 장치(200-2)로 전송할 수 있다(S1480). 한편, 제1 외부 장치(200-1)는 선택된 적어도 하나의 신경망 모델의 설치 데이터를 전자 장치(100)로 전송하고, 전자 장치(100)가 수신된 설치 데이터를 제2 외부 장치(200-2)로 전송할 수도 있다. When the hardware suitability identification process and the model suitability identification process are performed, the electronic device 100 may receive a second user input (S1460). Then, the electronic device 100 may transmit a request for installation data of at least one neural network model selected according to the second user input to the first external device 200 - 1 ( S1470 ). When a request for installation data of at least one selected neural network model is received, the first external device 200 - 1 may transmit installation data of the selected at least one neural network model to the second external device 200 - 2 ( S1480). Meanwhile, the first external device 200 - 1 transmits installation data of at least one selected neural network model to the electronic device 100 , and the electronic device 100 transmits the received installation data to the second external device 200 - 2 . ) can also be sent.

도 13 및 도 14를 참조하여 상술한 바와 같은 실시 예에 따르면, 전자 장치(100)가 제1 외부 장치(200-1) 및 제2외부 장치의 중개 기기로서의 역할을 수행하여, 디스플레이를 포함하지 않거나 본 개시에 따른 소프트웨어 모듈를 포함하지 않는 외부 장치들 상호 간에 신경망 모델을 전이하는 과정에 대한 효율성과 신뢰성을 향상시킬 수 있다. According to the embodiment described above with reference to FIGS. 13 and 14 , the electronic device 100 functions as an intermediary device between the first external device 200-1 and the second external device, and does not include a display. It is possible to improve the efficiency and reliability of the process of transferring the neural network model between external devices that do not include the software module or the software module according to the present disclosure.

도 15는 본 개시에 따른 전자 장치(100)에 포함된 소프트웨어 모듈의 아키텍처를 상세하게 나타내는 블록도이다. 15 is a block diagram illustrating in detail an architecture of a software module included in the electronic device 100 according to the present disclosure.

도 15에 도시된 바와 같이, 본 개시에 따른 전자 장치(100)는 신경망 모델 설치 모듈(1500) 및 신경망 모델 성능 모니터와 같은 소프트웨어 모듈을 포함할 수 있다. 그리고, 신경망 모델 설치 모듈은 적합성 식별 모듈, 신경망 모델 전환 모듈 및 신경망 모델 미세 조정 모듈을 포함할 수 있으며, 신경망 모델 성능 모니터는 개인화 레벨 모니터 및 하드웨어 요구 사양 모니터를 포함할 수 있다. As shown in FIG. 15 , the electronic device 100 according to the present disclosure may include a software module such as a neural network model installation module 1500 and a neural network model performance monitor. In addition, the neural network model installation module may include a conformance identification module, a neural network model conversion module, and a neural network model fine-tuning module, and the neural network model performance monitor may include a personalization level monitor and a hardware requirement monitor.

'적합성 식별 모듈'은 본 개시에 따른 전이 적합성을 식별할 수 있는 모듈들을 총칭하는 개념의 모듈을 말한다. 구체적으로, 적합성 식별 모듈은 전술한 바와 같은 하드웨어 적합성 식별 모듈(1100), 모델 적합성 식별 모듈(1200) 및 사용자 적합성 식별 모듈(1300)을 포함할 수 있다. 그리고, 하드웨어 적합성 식별 모듈(1100), 모델 적합성 식별 모듈(1200) 및 사용자 적합성 식별 모듈(1300)은 전자 장치(100)에 저장된 제1 기기 정보 및 제2 모델 정보와 외부 장치로부터 수신된 제2 기기 정보 및 제1 모델 정보를 바탕으로, 각각 본 개시의 다양한 실시 예에 따른 하드웨어 적합성 식별 과정, 모델 적합성 식별 과정 및 사용자 적합성 식별 과정을 수행할 수 있다. 한편, 도 15에서는 사용자 정보가 제1 기기 정보에 포함된 형태로 도시하였으나, 이는 일 실시 예에 관한 것일 뿐이다. 하드웨어 적합성 식별 모듈(1100), 모델 적합성 식별 모듈(1200) 및 사용자 적합성 식별 모듈(1300)의 구체적인 동작에 대해서는 도 1 내지 도 14를 참조하여 상술한 바 있으므로, 중복 설명은 생략한다.The 'conformity identification module' refers to a module of a concept that collectively refers to modules capable of identifying transition conformance according to the present disclosure. Specifically, the suitability identification module may include the hardware suitability identification module 1100 , the model suitability identification module 1200 and the user suitability identification module 1300 as described above. In addition, the hardware suitability identification module 1100 , the model suitability identification module 1200 , and the user suitability identification module 1300 include the first device information and the second model information stored in the electronic device 100 and the second received from the external device. Based on the device information and the first model information, the hardware suitability identification process, the model suitability identification process, and the user suitability identification process according to various embodiments of the present disclosure may be performed, respectively. Meanwhile, in FIG. 15 , user information is illustrated in a form included in the first device information, but this is only related to an exemplary embodiment. Specific operations of the hardware suitability identification module 1100 , the model suitability identification module 1200 , and the user suitability identification module 1300 have been described above with reference to FIGS. 1 to 14 , so a redundant description will be omitted.

'신경망 모델 전환 모듈'은 외부 장치로부터 수신된 신경망 모델의 설치 데이터를 바탕으로 전자 장치(100)에 포함된 신경망 모델을 외부 장치에 포함된 신경망 모델로 전환하는 모듈을 말한다. 구체적으로, 신경망 모델 전환 모듈은 설치 데이터에 포함된 신경망 모델에 포함된 신경망의 구조와 유형, 신경망에 포함된 레이어의 개수, 각각의 레이어 별 노드의 개수, 각각의 노드의 가중치 값과, 복수의 노드 사이의 연결 관계 등에 대한 정보를 바탕으로 전자 장치(100)에 포함된 신경망 모델을 외부 장치에 포함된 신경망 모델로 전환할 수 있다. The 'neural network model conversion module' refers to a module for converting a neural network model included in the electronic device 100 into a neural network model included in an external device based on installation data of the neural network model received from the external device. Specifically, the neural network model conversion module includes the structure and type of the neural network included in the neural network model included in the installation data, the number of layers included in the neural network, the number of nodes for each layer, the weight value of each node, and a plurality of A neural network model included in the electronic device 100 may be converted into a neural network model included in an external device based on information on a connection relationship between nodes.

여기서, 전자 장치(100)에 포함된 신경망 모델을 외부 장치에 포함된 신경망 모델로 '전환'한다는 것은, 전자 장치(100)의 신경망 모델 전체를 외부 장치의 신경망 모델 전체로 대체하는 경우뿐만 아니라, 전자 장치(100)의 신경망 모델에 포함된 노드들의 가중치 값만을 외부 장치의 신경망 모델에 포함된 노드들의 가중치로 변경하는 경우와 같이, 전자 장치(100)의 신경망 모델 일부를 외부 장치의 신경망 모델 일부로 대체하는 경우를 포함할 수 있다.Here, 'conversion' of the neural network model included in the electronic device 100 to the neural network model included in the external device means not only replacing the entire neural network model of the electronic device 100 with the entire neural network model of the external device, but also As in the case of changing only the weight values of nodes included in the neural network model of the electronic device 100 to the weights of nodes included in the neural network model of the external device, a part of the neural network model of the electronic device 100 is converted to a part of the neural network model of the external device. Substitution may be included.

'신경망 모델 미세 조정 모듈'은 전자 장치(100)에 포함된 신경망 모델을 외부 장치에 포함된 신경망 모델로 전환한 후 세부적인 사항들에 대한 파인 튜닝(fine-tuning)을 수행하는 모듈을 말한다. 구체적으로, 신경망 모델 미세 조정 모듈은 전자 장치(100)의 하드웨어 사양과 외부 장치의 하드웨어 사양 사이의 세부적인 차이점을 반영하여 신경망 모델에 포함된 레이어 별 노드의 개수와 각각의 노드의 가중치 값 등을 조정함으로써, 신경망 모델이 전자 장치(100)에 보다 적합하도록 할 수 있다. 또한, 신경망 모델 미세 조정 모듈은 외부 장치로부터 수신된 개인화 데이터를 바탕으로 신경망 모델의 개인화에 관련된 파라미터들을 조정할 수도 있다. 전술한 바와 같이, '개인화 데이터'란 외부 장치에 포함된 신경망 모델의 개인화에 이용된 학습 데이터를 말한다. The 'neural network model fine-tuning module' refers to a module that performs fine-tuning on details after converting a neural network model included in the electronic device 100 into a neural network model included in an external device. Specifically, the neural network model fine-tuning module reflects the detailed difference between the hardware specification of the electronic device 100 and the hardware specification of the external device to determine the number of nodes for each layer included in the neural network model, the weight value of each node, etc. By adjusting, the neural network model may be more suitable for the electronic device 100 . Also, the neural network model fine-tuning module may adjust parameters related to personalization of the neural network model based on personalization data received from an external device. As described above, 'personalized data' refers to learning data used for personalization of a neural network model included in an external device.

한편, 신경망 모델 전환 모듈 및 신경망 모델 미세 조정 모듈에 따라 신경망 모델이 전환/조정되면, 그에 대한 정보는 제2 모델 정보로서 저장/갱신될 수 있다.On the other hand, when the neural network model is switched/adjusted according to the neural network model conversion module and the neural network model fine adjustment module, information about it may be stored/updated as second model information.

'개인화 레벨 모니터'는 전자 장치(100)에 포함된 신경망 모델들에 대한 개인화 레벨을 모니터링하는 모듈을 말한다. 특히, 전자 장치(100)에 포함된 제1 신경망 모델이 어느 정도 개인화된 상태에서 외부 장치에 포함된 제2 신경망 모델을 설치하는 경우, 개인화 레벨 모니터는 제1 신경망 모델에 대한 개인화 레벨에 대한 정보를 획득하여 적합성 식별 모듈로 전송할 수 있다. 그리고, 적합성 식별 모듈은 개인화 레벨 모니터로부터 수신된 제1 신경망 모델에 대한 개인화 레벨에 대한 정보와 외부 장치로부터 수신된 제2 신경망 모델에 대한 개인화 레벨에 대한 정보를 비교하여 제2 신경망 모델이 제1 신경망 모델을 대체하기에 적합한지 여부를 식별할 수 있다.The 'personalization level monitor' refers to a module for monitoring the personalization level of neural network models included in the electronic device 100 . In particular, when the second neural network model included in the external device is installed in a state where the first neural network model included in the electronic device 100 is personalized to some extent, the personalization level monitor provides information on the personalization level of the first neural network model. can be obtained and transmitted to the conformance identification module. Then, the conformance identification module compares the information on the personalization level of the first neural network model received from the personalization level monitor with the information on the personalization level of the second neural network model received from the external device so that the second neural network model is the first It can identify whether it is suitable as a replacement for neural network models.

'하드웨어 요구 사양 모니터'는 전자 장치(100)에 포함된 신경망 모델을 실행하는데 필요한 하드웨어 사양을 모니터링하는 모듈을 말한다. 구체적으로, 하드웨어 요구 사양 모니터는 전자 장치(100)에 포함된 적어도 하나의 신경망 모델 각각을 실행하는데 필요한 하드웨어 사양에 대한 정보를 획득할 수 있으며, 이는 제2 모델 정보에 포함된 정보로서 저장될 수 있다. 한편, 제1 기기 정보에 포함된 '하드웨어 사양 정보'는 전자 장치(100)의 제품 출시 당시 하드웨어 사양 또는 모델 적합성 판단 시점의 하드웨어 사양에 대한 정보로서, 하드웨어 요구 사양 모니터를 통해 획득된 신경망 모델의 하드웨어 요구 사양에 대한 정보와는 구별된다. The 'hardware requirement specification monitor' refers to a module for monitoring hardware specifications required to execute the neural network model included in the electronic device 100 . Specifically, the hardware requirement specification monitor may acquire information on hardware specifications required to execute each of the at least one neural network model included in the electronic device 100 , which may be stored as information included in the second model information. have. On the other hand, 'hardware specification information' included in the first device information is information about the hardware specification at the time of product release of the electronic device 100 or the hardware specification at the time of model suitability determination, and is information about the neural network model acquired through the hardware requirement specification monitor. It is distinct from information about hardware requirements.

이상에서 전자 장치(100)에 포함된 소프트웨어 모듈에 대해 설명하였으나, 이는 본 개시에 따른 일 실시 예에 불과할 뿐, 도시된 바와 같은 모듈에 더하여 새로운 구성이 추가되거나 일부 모듈이 생략될 수 있음은 물론이다. 또한, 본 개시에 따른 소프트웨어 모듈들 중 적어도 두 개 이상의 모듈은 통합된 형태의 하나의 모듈로 구현될 수도 있다. Although the software module included in the electronic device 100 has been described above, this is only an embodiment according to the present disclosure, and a new configuration may be added or some modules may be omitted in addition to the illustrated module. to be. In addition, at least two or more of the software modules according to the present disclosure may be implemented as one module in an integrated form.

도 16은 본 개시에 따른 제1 외부 장치(200-1)에 포함된 소프트웨어 모듈의 아키텍처를 상세하게 나타내는 블록도이다.16 is a block diagram illustrating in detail an architecture of a software module included in the first external device 200 - 1 according to the present disclosure.

도 16에 도시된 바와 같이, 제1 외부 장치(200-1)는 신경망 모델 설치 모듈(1600) 및 신경망 모델 성능 모니터와 같은 소프트웨어 모듈을 포함할 수 있다. 그리고, 신경망 모델 설치 모듈(1600)은 신경망 모델 설명 정보 관리 모듈(1610) 및 신경망 모델 설치 정보 관리 모듈(1620)을 포함할 수 있으며, 신경망 모델 성능 모니터는 개인화 레벨 모니터(1710) 및 하드웨어 요구 사양 모니터(1720)를 포함할 수 있다.As shown in FIG. 16 , the first external device 200 - 1 may include a software module such as a neural network model installation module 1600 and a neural network model performance monitor. In addition, the neural network model installation module 1600 may include a neural network model description information management module 1610 and a neural network model installation information management module 1620 , and the neural network model performance monitor includes a personalization level monitor 1710 and hardware requirements. A monitor 1720 may be included.

'신경망 모델 설명 정보 관리 모듈(1610)'은 제1 외부 장치(200-1)에 포함된 신경망 모델에 대한 전이 적합성의 판단에 필요한 정보를 총괄적으로 관리하는 모듈을 말한다. 구체적으로, 신경망 모델 설명 정보 관리 모듈(1610)은 제2 기기 정보 및 제1 모델 정보를 전자 장치(100)로 전송할 수 있다. The 'neural network model description information management module 1610' refers to a module that collectively manages information necessary for determining transition suitability for a neural network model included in the first external device 200 - 1 . Specifically, the neural network model description information management module 1610 may transmit the second device information and the first model information to the electronic device 100 .

전술한 바와 같이, 제2 기기 정보는 제1 외부 장치(200-1)의 하드웨어 사양에 대한 정보로서, 구체적으로는 제1 외부 장치(200-1)에 포함된 각각의 하드웨어가 어떠한 성능을 갖는지를 나타내는 사양에 대한 정보를 총칭하기 위한 용어를 말한다. 그리고, 제1 모델 정보는 제1 외부 장치(200-1)에 포함된 적어도 하나의 신경망 모델에 대한 정보로서, 구체적으로는, 제1 외부 장치(200-1)에 포함된 적어도 하나의 신경망 모델 각각의 서비스 유형에 대한 정보, 개인화 레벨에 대한 정보 및 하드웨어 요구 사양에 대한 정보를 포함할 수 있다. As described above, the second device information is information on the hardware specification of the first external device 200 - 1 , specifically, what kind of performance each hardware included in the first external device 200 - 1 has. It is a term used to collectively refer to information on specifications that indicate And, the first model information is information on at least one neural network model included in the first external device 200-1, and specifically, at least one neural network model included in the first external device 200-1. It may include information on each service type, information on personalization level, and information on hardware requirements.

또한 신경망 모델 설명 정보 관리 모듈(1610)은 제1 외부 장치(200-1)에 포함된 신경망 모델 각각에 대한 식별 정보, 성능 및 버전에 대한 정보 등과 같은 다양한 정보를 총괄적으로 관리할 수 있다. In addition, the neural network model description information management module 1610 may collectively manage various information such as identification information for each neural network model included in the first external device 200 - 1 , information on performance and version, and the like.

'신경망 모델 설치 정보 관리 모듈(1620)'은 신경망 모델의 설치 데이터를 관리하는 모듈을 말한다. 구체적으로, 신경망 모델 설치 정보 관리 모듈(1620)은 전자 장치(100)로부터 수신된 설치 데이터의 요청에 응답하여, 적어도 하나의 신경망 모델의 설치 데이터를 전자 장치(100)로 전송할 수 있다. 특히, 설치 데이터는 적어도 하나의 신경망 모델 각각에 대한 식별 정보 및 식별된 적어도 하나의 신경망 모델을 설치하기 위해 필요한 구성 정보를 포함할 수 있다. 여기서, '구성 정보'는 신경망 모델에 포함된 신경망의 구조와 유형, 신경망에 포함된 레이어의 개수, 각각의 레이어 별 노드의 개수, 각각의 노드의 가중치 값과, 복수의 노드 사이의 연결 관계 등에 대한 정보를 포함할 수 있다. The 'neural network model installation information management module 1620' refers to a module for managing installation data of a neural network model. Specifically, the neural network model installation information management module 1620 may transmit installation data of at least one neural network model to the electronic device 100 in response to a request for installation data received from the electronic device 100 . In particular, the installation data may include identification information for each of the at least one neural network model and configuration information necessary for installing the identified at least one neural network model. Here, 'configuration information' refers to the structure and type of the neural network included in the neural network model, the number of layers included in the neural network, the number of nodes for each layer, the weight value of each node, connection relationships between a plurality of nodes, etc. may include information about

또한, 신경망 모델 설치 정보 관리 모듈(1620)은 적어도 하나의 신경망 모델의 설치 데이터와 함께 적어도 하나의 신경망 모델에 대한 개인화 데이터를 전자 장치(100)로 전송할 수도 있다. Also, the neural network model installation information management module 1620 may transmit personalization data for at least one neural network model together with installation data of the at least one neural network model to the electronic device 100 .

'개인화 레벨 모니터(1710)'는 제1 외부 장치(200-1)에 포함된 신경망 모델들에 대한 개인화 레벨을 모니터링하는 모듈을 말한다. 특히, 개인화 레벨 모니터(1710)는 사용자의 이력에 대한 정보 및 사용자의 피드백에 대한 정보를 바탕으로 제1 외부 장치(200-1)에 포함된 신경망 모델들에 대한 개인화 레벨에 대한 정보를 출력할 수 있다. 여기서, 사용자의 이력에 대한 정보는 사용자가 그 신경망 모델을 사용한 횟수, 빈도 및 사용 기간 등에 대한 정보를 포함할 수 있으며, 사용자의 피드백에 대한 정보는 사용자가 신경망 모델을 사용한 후 그 사용 결과에 대해 입력한 직접적인 평가 정보 그 사용 결과에 관련된 간접적인 평가 정보를 포함할 수 있다는 점은 전술한 바 있다.The 'personalization level monitor 1710' refers to a module for monitoring the personalization level of neural network models included in the first external device 200 - 1 . In particular, the personalization level monitor 1710 may output information on the personalization level of the neural network models included in the first external device 200-1 based on the information on the user's history and the user's feedback. can Here, the information on the user's history may include information on the number, frequency, and period of use of the neural network model by the user, and the information on the user's feedback is about the results of the use of the neural network model after the user uses the neural network model. It has been described above that the input direct evaluation information may include indirect evaluation information related to a result of its use.

'하드웨어 요구 사양 모니터(1720)'는 제1 외부 장치(200-1)에 포함된 신경망 모델을 실행하는데 필요한 하드웨어 사양을 모니터링하는 모듈을 말한다. 구체적으로, 하드웨어 요구 사양 모니터(1720)는 제1 외부 장치(200-1)에 포함된 적어도 하나의 신경망 모델 각각을 실행하는데 필요한 하드웨어 사양에 대한 정보를 획득할 수 있으며, 이는 제1 모델 정보에 포함된 정보로서 저장될 수 있다.The 'hardware requirement specification monitor 1720' refers to a module for monitoring hardware specifications required to execute the neural network model included in the first external device 200 - 1 . Specifically, the hardware requirement specification monitor 1720 may acquire information on hardware specifications required to execute each of the at least one neural network model included in the first external device 200 - 1 , which is based on the first model information. may be stored as embedded information.

이상에서 제1 외부 장치(200-1)에 포함된 소프트웨어 모듈에 대해 설명하였으나, 이는 본 개시에 따른 일 실시 예에 불과할 뿐, 도시된 바와 같은 모듈에 더하여 새로운 구성이 추가되거나 일부 모듈이 생략될 수 있음은 물론이다. 또한, 본 개시에 따른 소프트웨어 모듈들 중 적어도 두 개 이상의 신경망 모델은 통합된 형태의 하나의 신경망 모델로 구현될 수도 있다.Although the software module included in the first external device 200-1 has been described above, this is only an embodiment according to the present disclosure, and a new configuration may be added or some modules may be omitted in addition to the illustrated module. Of course you can. In addition, at least two neural network models among the software modules according to the present disclosure may be implemented as one neural network model in an integrated form.

도 17은 본 개시에 따른 전자 장치(100)에 포함된 하드웨어 구성의 아키텍처를 간략하게 나타내는 블록도이다. 그리고, 도 18은 본 개시에 따른 전자 장치(100)에 포함된 하드웨어 구성의 아키텍처를 보다 상세하게 나타내는 블록도이다.17 is a block diagram schematically illustrating an architecture of a hardware configuration included in the electronic device 100 according to the present disclosure. And, FIG. 18 is a block diagram illustrating in more detail an architecture of a hardware configuration included in the electronic device 100 according to the present disclosure.

도 17에 도시된 바와 같이, 본 개시의 일 실시 예에 따른 전자 장치(100)는 통신부(110), 메모리(120) 및 프로세서(130)를 포함한다. 또한, 도 18에 도시된 바와 같이, 본 개시의 일 실시 예에 따른 전자 장치(100)는 데이터 획득부(140) 및 데이터 출력부(150)를 더 포함할 수 있다. 그러나, 도 17 및 도 18에 도시된 바와 같은 구성들은 예시적인 것에 불과할 뿐이며, 본 개시를 실시함에 있어 도 17 및 도 18에 도시된 바와 같은 구성에 더하여 새로운 구성이 추가되거나 일부 구성이 생략될 수 있음은 물론이다.17 , the electronic device 100 according to an embodiment of the present disclosure includes a communication unit 110 , a memory 120 , and a processor 130 . Also, as shown in FIG. 18 , the electronic device 100 according to an embodiment of the present disclosure may further include a data acquisition unit 140 and a data output unit 150 . However, the configurations shown in FIGS. 17 and 18 are merely exemplary, and in implementing the present disclosure, a new configuration may be added or some configuration may be omitted in addition to the configuration shown in FIGS. 17 and 18 . of course there is

통신부(110)는 회로를 포함하며, 외부 장치와의 통신을 수행할 수 있다. 구체적으로, 프로세서(130)는 통신부(110)를 통해 연결된 외부 장치로부터 각종 데이터 또는 정보를 수신할 수 있으며, 외부 장치로 각종 데이터 또는 정보를 전송할 수도 있다.The communication unit 110 includes a circuit and may communicate with an external device. Specifically, the processor 130 may receive various data or information from an external device connected through the communication unit 110 , and may transmit various data or information to the external device.

통신부(110)는 WiFi 모듈, Bluetooth 모듈, 무선 통신 모듈, 및 NFC 모듈 중 적어도 하나를 포함할 수 있다. 구체적으로, WiFi 모듈과 Bluetooth 모듈 각각은 WiFi 방식, Bluetooth 방식으로 통신을 수행할 수 있다. WiFi 모듈이나 Bluetooth 모듈을 이용하는 경우에는 SSID 등과 같은 각종 연결 정보를 먼저 송수신하여, 이를 이용하여 통신 연결한 후 각종 정보들을 송수신할 수 있다. The communication unit 110 may include at least one of a WiFi module, a Bluetooth module, a wireless communication module, and an NFC module. Specifically, each of the WiFi module and the Bluetooth module may perform communication using a WiFi method and a Bluetooth method. In the case of using a WiFi module or a Bluetooth module, various types of connection information, such as an SSID, are first transmitted and received, and various types of information can be transmitted/received after communication connection using this.

또한, 무선 통신 모듈은 IEEE, Zigbee, 3G(3rd Generation), 3GPP(3rd Generation Partnership Project), LTE(Long Term Evolution), 5G(5th Generation) 등과 같은 다양한 통신 규격에 따라 통신을 수행할 수 있다. 그리고, NFC 모듈은 135kHz, 13.56MHz, 433MHz, 860~960MHz, 2.45GHz 등과 같은 다양한 RF-ID 주파수 대역들 중에서 13.56MHz 대역을 사용하는 NFC(Near Field Communication) 방식으로 통신을 수행할 수 있다.In addition, the wireless communication module may perform communication according to various communication standards such as IEEE, Zigbee, 3rd Generation (3G), 3rd Generation Partnership Project (3GPP), Long Term Evolution (LTE), 5th Generation (5G), and the like. In addition, the NFC module may perform communication using a Near Field Communication (NFC) method using a 13.56 MHz band among various RF-ID frequency bands such as 135 kHz, 13.56 MHz, 433 MHz, 860 to 960 MHz, and 2.45 GHz.

특히, 본 개시에 따른 다양한 실시 예에 있어서, 통신부(110)는 제1 외부 장치(200-1)에 포함된 적어도 하나의 신경망 모델에 관련된 정보를 요청하기 위한 제1 신호 및 적어도 하나의 신경망 모델의 설치 데이터에 대한 요청을 포함하는 제3 신호를 제1 외부 장치(200-1)로 전송할 수 있다. 그리고, 통신부(110)는 제1 신호에 대한 응답으로, 제1 외부 장치(200-1)로부터 제1 외부 장치(200-1)의 하드웨어 사양에 대한 제2 기기 정보 및 제1 외부 장치(200-1)에 포함된 적어도 하나의 신경망 모델에 대한 제1 모델 정보를 포함하는 제2 신호를 수신할 수 있으며, 제3 신호에 대한 응답으로, 식별된 적어도 하나의 신경망 모델의 설치 데이터를 포함하는 제4 신호를 수신할 수 있다. In particular, in various embodiments of the present disclosure, the communication unit 110 includes a first signal for requesting information related to at least one neural network model included in the first external device 200 - 1 and at least one neural network model. A third signal including a request for installation data may be transmitted to the first external device 200 - 1 . In addition, in response to the first signal, the communication unit 110 receives from the first external device 200-1 second device information about the hardware specification of the first external device 200-1 and the first external device 200 It is possible to receive a second signal including first model information for at least one neural network model included in -1), and in response to the third signal, including installation data of at least one identified neural network model A fourth signal may be received.

메모리(120)에는 전자 장치(100)에 관한 적어도 하나의 인스트럭션(instruction)이 저장될 수 있다. 그리고, 메모리(120)에는 전자 장치(100)를 구동시키기 위한 O/S(Operating System)가 저장될 수 있다. 또한, 메모리(120)에는 본 개시의 다양한 실시 예들에 따라 전자 장치(100)가 동작하기 위한 각종 소프트웨어 프로그램이나 애플리케이션이 저장될 수도 있다. 그리고, 메모리(120)는 플래시 메모리(Flash Memory) 등과 같은 반도체 메모리나 하드디스크(Hard Disk) 등과 같은 자기 저장 매체 등을 포함할 수 있다.At least one instruction related to the electronic device 100 may be stored in the memory 120 . In addition, an operating system (O/S) for driving the electronic device 100 may be stored in the memory 120 . In addition, various software programs or applications for operating the electronic device 100 according to various embodiments of the present disclosure may be stored in the memory 120 . In addition, the memory 120 may include a semiconductor memory such as a flash memory or a magnetic storage medium such as a hard disk.

구체적으로, 메모리(120)에는 본 개시의 다양한 실시 예에 따라 전자 장치(100)가 동작하기 위한 각종 소프트웨어 모듈이 저장될 수 있으며, 프로세서(130)는 메모리(120)에 저장된 각종 소프트웨어 모듈을 실행하여 전자 장치(100)의 동작을 제어할 수 있다. 즉, 메모리(120)는 프로세서(130)에 의해 액세스되며, 프로세서(130)에 의한 데이터의 독취/기록/수정/삭제/갱신 등이 수행될 수 있다. Specifically, various software modules for operating the electronic device 100 may be stored in the memory 120 according to various embodiments of the present disclosure, and the processor 130 executes various software modules stored in the memory 120 . Thus, the operation of the electronic device 100 may be controlled. That is, the memory 120 is accessed by the processor 130 , and reading/writing/modification/deletion/update of data by the processor 130 may be performed.

한편, 본 개시에서 메모리(120)라는 용어는 메모리(120), 프로세서(130) 내 롬(미도시), 램(미도시) 또는 전자 장치(100)에 장착되는 메모리 카드(미도시)(예를 들어, micro SD 카드, 메모리 스틱)를 포함하는 의미로 사용될 수 있다.Meanwhile, in the present disclosure, the term memory 120 refers to the memory 120 , a ROM (not shown) in the processor 130 , a RAM (not shown), or a memory card (not shown) mounted in the electronic device 100 (eg, For example, micro SD card, memory stick) may be used in the sense of including.

특히, 본 개시에 따른 다양한 실시 예에 있어서, 메모리(120)에는 전자 장치(100)의 하드웨어 사양에 대한 제1 기기 정보, 전자 장치(100)에 포함된 적어도 하나의 신경망 모델에 대한 제2 모델 정보가 저장될 수 있다. 그리고, 메모리(120)에는 하드웨어 적합성 식별 모듈(1100), 모델 적합성 식별 모듈(1200) 및 사용자 적합성 식별 모듈(1300)을 비롯하여, 도 15를 참조하여 상술한 바와 같은 다양한 모듈들이 저장될 수 있다. 그 밖에도 본 개시의 목적을 달성하기 위한 범위 내에서 필요한 다양한 정보가 메모리(120)에 저장될 수 있으며, 메모리(120)에 저장된 정보는 외부 장치로부터 수신되거나 사용자에 의해 입력됨에 따라 갱신될 수도 있다.In particular, according to various embodiments of the present disclosure, in the memory 120 , first device information on a hardware specification of the electronic device 100 and a second model on at least one neural network model included in the electronic device 100 . Information may be stored. In addition, various modules as described above with reference to FIG. 15 may be stored in the memory 120 , including the hardware suitability identification module 1100 , the model suitability identification module 1200 , and the user suitability identification module 1300 . In addition, various information necessary within the scope for achieving the object of the present disclosure may be stored in the memory 120, and the information stored in the memory 120 may be updated as received from an external device or input by a user. .

프로세서(130)는 전자 장치(100)의 전반적인 동작을 제어한다. 구체적으로, 프로세서(130)는 상술한 바와 같은 통신부(110) 및 메모리(120)를 포함하는 전자 장치(100)의 구성과 연결되며, 상술한 바와 같은 메모리(120)에 저장된 적어도 하나의 인스트럭션을 실행함으로써, 전자 장치(100)의 동작을 전반적으로 제어할 수 있다.The processor 130 controls the overall operation of the electronic device 100 . Specifically, the processor 130 is connected to the configuration of the electronic device 100 including the communication unit 110 and the memory 120 as described above, and receives at least one instruction stored in the memory 120 as described above. By executing it, the overall operation of the electronic device 100 may be controlled.

프로세서(130)는 다양한 방식으로 구현될 수 있다. 예를 들어, 프로세서(130)는 주문형 집적 회로(Application Specific Integrated Circuit, ASIC), 임베디드 프로세서, 마이크(142)로 프로세서, 하드웨어 컨트롤 로직, 하드웨어 유한 상태 기계(hardware Finite State Machine, FSM), 디지털 신호 프로세서(Digital Signal Processor, DSP) 중 적어도 하나로 구현될 수 있다. 한편, 본 개시에서 프로세서(130)라는 용어는 CPU(Central Processing Unit), GPU(Graphic Processing Unit) 및 MPU(Main Processing Unit)등을 포함하는 의미로 사용될 수 있다.The processor 130 may be implemented in various ways. For example, the processor 130 may include an application specific integrated circuit (ASIC), an embedded processor, a microphone 142, a processor, hardware control logic, a hardware finite state machine (FSM), and a digital signal. It may be implemented by at least one of a processor (Digital Signal Processor, DSP). Meanwhile, in the present disclosure, the term processor 130 may be used to include a central processing unit (CPU), a graphic processing unit (GPU), a main processing unit (MPU), and the like.

특히, 본 개시에 따른 다양한 실시 예에 있어서, 프로세서(130)는 사용자 입력이 수신되면, 적어도 하나의 외부 장치에 포함된 적어도 하나의 신경망 모델에 관련된 정보를 요청하기 위한 제1 신호를 전송하도록 통신부(110)를 제어하고, 제1 신호에 대한 응답으로, 통신부(110)를 통해 적어도 하나의 외부 장치 중 제1 외부 장치(200-1)로부터 제1 외부 장치(200-1)의 하드웨어 사양에 대한 제2 기기 정보 및 제1 외부 장치(200-1)에 포함된 적어도 하나의 신경망 모델에 대한 제1 모델 정보를 포함하는 제2 신호를 수신하고, 제1 기기 정보, 제2 기기 정보 및 제1 모델 정보를 하드웨어 적합성 식별 모듈(1100)에 입력하여, 제1 외부 장치(200-1)에 포함된 적어도 하나의 신경망 모델 각각이 전자 장치(100)의 하드웨어에 적합한지 여부를 식별하고, 전자 장치(100)의 하드웨어에 적합한 것으로 식별된 적어도 하나의 신경망 모델의 설치 데이터에 대한 요청을 포함하는 제3 신호를 제1 외부 장치(200-1)로 전송하도록 통신부(110)를 제어하고, 제3 신호에 대한 응답으로, 통신부(110)를 통해 제1 외부 장치(200-1)로부터 전자 장치(100)의 하드웨어에 적합한 것으로 식별된 적어도 하나의 신경망 모델의 설치 데이터를 포함하는 제4 신호를 수신할 수 있다. In particular, in various embodiments of the present disclosure, when a user input is received, the processor 130 transmits a first signal for requesting information related to at least one neural network model included in at least one external device to the communication unit. control 110 and, in response to the first signal, from the first external device 200-1 among at least one external device through the communication unit 110 to the hardware specification of the first external device 200-1 Receives a second signal including second device information about the device and first model information on at least one neural network model included in the first external device 200-1, and receives the first device information, the second device information, and the second signal 1 By inputting model information into the hardware suitability identification module 1100 , it is identified whether each of the at least one neural network model included in the first external device 200 - 1 is suitable for the hardware of the electronic device 100 , Controls the communication unit 110 to transmit a third signal including a request for installation data of at least one neural network model identified as suitable for the hardware of the device 100 to the first external device 200-1, 3 In response to the signal, a fourth signal including installation data of at least one neural network model identified as suitable for the hardware of the electronic device 100 from the first external device 200-1 through the communication unit 110 can receive

뿐만 아니라, 프로세서(130)는 전자 장치(100)의 하드웨어에 적합한 적어도 하나의 신경망 모델이 식별되면, 제1 모델 정보 및 제2 모델 정보를 모델 적합성 식별 모듈(1200)에 입력하여, 전자 장치(100)의 하드웨어에 적합한 것으로 식별된 적어도 하나의 신경망 모델 각각이 전자 장치(100)에 포함된 신경망 모델을 대체하기에 적합한지 여부를 식별할 수도 있다. 프로세서(130)의 제어를 바탕으로 한 본 개시에 따른 다양한 실시 예에 대해서는 도 1 내지 도 16을 참조하여 상술하였으므로 중복 설명은 생략한다.In addition, when at least one neural network model suitable for the hardware of the electronic device 100 is identified, the processor 130 inputs the first model information and the second model information to the model suitability identification module 1200, and the electronic device ( It may also be identified whether each of the at least one neural network model identified as suitable for the hardware of 100 ) is suitable to replace the neural network model included in the electronic device 100 . Various embodiments according to the present disclosure based on the control of the processor 130 have been described above with reference to FIGS. 1 to 16 , and thus a redundant description thereof will be omitted.

데이터 획득부(140)는 회로를 포함하며, 프로세서(130)는 데이터 획득부(140)를 통해 전자 장치(100)에서 이용되는 다양한 종류의 데이터를 획득할 수 있다. 구체적으로, 데이터 획득부(140)는 카메라(141), 마이크(142) 및 센서(143) 등을 포함할 수 있다. The data acquisition unit 140 includes a circuit, and the processor 130 may acquire various types of data used in the electronic device 100 through the data acquisition unit 140 . Specifically, the data acquisition unit 140 may include a camera 141 , a microphone 142 , and a sensor 143 .

카메라(141)는 적어도 하나의 오브젝트에 대한 이미지를 획득할 수 있다. 구체적으로, 카메라(141)는 이미지 센서를 포함하고, 이미지 센서는 렌즈를 통해 들어오는 빛을 전기적인 영상 신호로 변환할 수 있다. 그리고, 마이크(142)는 음성 신호를 수신하고, 수신된 음성 신호를 전기적인 신호로 변환할 수 있다.The camera 141 may acquire an image of at least one object. Specifically, the camera 141 may include an image sensor, and the image sensor may convert light entering through a lens into an electrical image signal. In addition, the microphone 142 may receive a voice signal and convert the received voice signal into an electrical signal.

센서(143)는 전자 장치(100) 내부 및 외부의 다양한 정보를 감지할 수 있다. 구체적으로, 센서(143)는 GPS(Global Positioning System) 센서, 자이로 센서(gyro sensor, gyroscope), 가속도 센서(acceleration sensor, accelerometer), 라이다 센서(lidar sensor), 관성 센서(Inertial Measurement Unit, IMU) 및 모션 센서 중 적어도 하나를 포함할 수 있다. 뿐만 아니라, 센서(143)는 온도 센서, 습도 센서, 적외선 센서, 바이오 센서 등과 같은 다양한 종류의 센서를 포함할 수도 있다. The sensor 143 may sense various information inside and outside the electronic device 100 . Specifically, the sensor 143 is a GPS (Global Positioning System) sensor, a gyro sensor (gyroscope), an acceleration sensor (acceleration sensor, accelerometer), a lidar sensor (lidar sensor), an inertial sensor (Inertial Measurement Unit, IMU) ) and may include at least one of a motion sensor. In addition, the sensor 143 may include various types of sensors such as a temperature sensor, a humidity sensor, an infrared sensor, and a biosensor.

특히, 본 개시에 따른 다양한 실시 예에 있어서, 데이터 획득부(140)는 전자 장치(100)에 포함된 적어도 하나의 신경망 모델에 입력되는 데이터를 획득할 수 있다. 예를 들어, 프로세서(130)는 카메라(141)를 통해 객체 인식에 관련된 신경망 모델에 입력되는 이미지 데이터를 획득할 수 있으며, 마이크(142)를 통해 음성 인식에 관련된 신경망 모델에 입력되는 음성 신호를 획득할 수도 있다. 뿐만 아니라, 프로세서(130)는 GPS 센서 및 라이다 센서 중 적어도 하나의 센서(143)를 통해 자율 주행에 관련된 신경망 모델에 입력되는 위치 정보를 획득할 수도 있다. In particular, according to various embodiments of the present disclosure, the data acquisition unit 140 may acquire data input to at least one neural network model included in the electronic device 100 . For example, the processor 130 may acquire image data input to a neural network model related to object recognition through the camera 141 , and receives a voice signal input to a neural network model related to voice recognition through the microphone 142 . may be obtained. In addition, the processor 130 may acquire location information input to a neural network model related to autonomous driving through at least one sensor 143 among a GPS sensor and a lidar sensor.

데이터 출력부(150)는 회로를 포함하며, 프로세서(130)는 데이터 출력부(150)를 통해 전자 장치(100)가 수행할 수 있는 다양한 기능을 출력할 수 있다. 구체적으로, 데이터 출력부(150)는 디스플레이(151), 스피커(152) 및 인디케이터(153) 중 적어도 하나를 포함할 수 있다.The data output unit 150 includes a circuit, and the processor 130 may output various functions that the electronic device 100 can perform through the data output unit 150 . Specifically, the data output unit 150 may include at least one of a display 151 , a speaker 152 , and an indicator 153 .

디스플레이(151)는 영상 데이터를 출력할 수 있다. 구체적으로, 디스플레이(151)는 프로세서(130)의 제어에 의하여 메모리(120)에 저장된 영상 또는 사용자 인터페이스(User Interface)를 표시할 수 있다. 디스플레이(151)는 LCD(Liquid Crystal Display Panel), OLED(Organic Light Emitting Diodes) 등으로 구현될 수 있으며, 또한 디스플레이(151)는 경우에 따라 플렉서블 디스플레이, 투명 디스플레이 등으로 구현되는 것도 가능하다. 다만, 본 개시에 따른 디스플레이(151)가 특정한 종류에 한정되는 것은 아니다. 한편, 디스플레이(151)는 터치 디스플레이의 형태로 구현되어 사용자의 터치 인터렉션을 수신할 수 있도록 구성될 수도 있다. 한편, 스피커(152)는 프로세서(130)의 제어에 의하여 오디오 데이터를 출력할 수 있으며, 인디케이터(153)는 프로세서(130)의 제어에 의하여 점등될 수 있다.The display 151 may output image data. Specifically, the display 151 may display an image or a user interface stored in the memory 120 under the control of the processor 130 . The display 151 may be implemented as a liquid crystal display panel (LCD), organic light emitting diodes (OLED), or the like, and the display 151 may be implemented as a flexible display, a transparent display, etc. in some cases. However, the display 151 according to the present disclosure is not limited to a specific type. Meanwhile, the display 151 may be implemented in the form of a touch display and configured to receive a user's touch interaction. Meanwhile, the speaker 152 may output audio data under the control of the processor 130 , and the indicator 153 may be lit under the control of the processor 130 .

특히, 본 개시에 따른 다양한 실시 예에 있어서, 디스플레이(151)는 본 개시에 따른 하드웨어 적합성 및 모델 적합성을 충족하는 신경망 모델에 대한 정보를 포함하는 사용자 인터페이스를 표시할 수 있다. 그리고, 프로세서(130)는 사용자 인터페이스를 통해 적어도 하나의 신경망 모델 중 하나 이상의 신경망 모델을 선택하는 사용자 입력을 수신할 수 있다. In particular, according to various embodiments of the present disclosure, the display 151 may display a user interface including information on a neural network model that satisfies hardware conformance and model conformance according to the present disclosure. In addition, the processor 130 may receive a user input for selecting one or more neural network models from among the one or more neural network models through the user interface.

한편, 외부 장치에 포함된 신경망 모델 중 하드웨어 적합성 및 모델 적합성을 충족하는 신경망 모델이 존재하지 않는 것으로 식별되면, 프로세서(130)는 외부 장치에 포함된 신경망 모델 모두가 본 개시에 따른 전이 적합성을 충족하지 못한다는 것을 나타내기 위한 사용자 알림을 출력할 수도 있다. 여기서, 사용자 알림은 디스플레이(151)를 통해 시각적인 정보의 형태로 출력될 수 있을 뿐만 아니라, 스피커(152)를 통해 음성 정보의 형태로 출력되거나 인디케이터(153)가 점등되는 방식으로 출력될 수도 있다. On the other hand, if it is identified that there is no neural network model that satisfies hardware suitability and model suitability among neural network models included in the external device, the processor 130 determines that all neural network models included in the external device meet the transitive suitability according to the present disclosure. You can also output a user notification to indicate that you can't. Here, the user notification may be output in the form of visual information through the display 151 as well as in the form of voice information through the speaker 152 or may be output in such a way that the indicator 153 is turned on. .

한편, 상술한 실시 예에 따른 전자 장치(100)의 제어 방법은 프로그램으로 구현되어 전자 장치(100)에 제공될 수 있다. 특히, 전자 장치(100)의 제어 방법을 포함하는 프로그램은 비일시적 판독 가능 매체(non-transitory computer readable medium)에 저장되어 제공될 수 있다. Meanwhile, the control method of the electronic device 100 according to the above-described embodiment may be implemented as a program and provided to the electronic device 100 . In particular, a program including a control method of the electronic device 100 may be stored and provided in a non-transitory computer readable medium.

구체적으로, 전자 장치(100)의 제어 방법을 실행하는 프로그램을 포함하는 비일시적 컴퓨터 판독 가능 기록매체에 있어서, 전자 장치(100)의 제어 방법은 사용자 입력이 수신되면, 적어도 하나의 외부 장치에 포함된 적어도 하나의 신경망 모델에 관련된 정보를 요청하기 위한 제1 신호를 전송하는 단계, 제1 신호에 대한 응답으로, 적어도 하나의 외부 장치 중 제1 외부 장치(200-1)로부터 제1 외부 장치(200-1)의 하드웨어 사양에 대한 제2 기기 정보 및 제1 외부 장치(200-1)에 포함된 적어도 하나의 신경망 모델에 대한 제1 모델 정보를 포함하는 제2 신호를 수신하는 단계, 제1 기기 정보, 제2 기기 정보 및 제1 모델 정보를 하드웨어 적합성 식별 모듈(1100)에 입력하여, 제1 외부 장치(200-1)에 포함된 적어도 하나의 신경망 모델 각각이 전자 장치(100)의 하드웨어에 적합한지 여부를 식별하는 단계, 전자 장치(100)의 하드웨어에 적합한 것으로 식별된 적어도 하나의 신경망 모델의 설치 데이터에 대한 요청을 포함하는 제3 신호를 제1 외부 장치(200-1)로 전송하는 단계 및 제3 신호에 대한 응답으로, 제1 외부 장치(200-1)로부터 전자 장치(100)의 하드웨어에 적합한 것으로 식별된 적어도 하나의 신경망 모델의 설치 데이터를 포함하는 제4 신호를 수신하는 단계를 포함할 수 있다. Specifically, in a non-transitory computer-readable recording medium including a program for executing a control method of the electronic device 100 , the control method of the electronic device 100 is included in at least one external device when a user input is received transmitting a first signal for requesting information related to the at least one neural network model, in response to the first signal, from the first external device 200-1 among at least one external device ( Receiving a second signal including second device information on the hardware specification of 200-1) and first model information on at least one neural network model included in the first external device 200-1, a first By inputting the device information, the second device information, and the first model information to the hardware suitability identification module 1100 , each of the at least one neural network model included in the first external device 200 - 1 is the hardware of the electronic device 100 . Transmitting a third signal including a request for installation data of at least one neural network model identified as suitable for hardware of the electronic device 100 to the first external device 200 - 1 and in response to the third signal, receiving a fourth signal including installation data of at least one neural network model identified as suitable for the hardware of the electronic device 100 from the first external device 200-1 may include steps.

그리고, 식별하는 단계는 전자 장치(100)에 포함된 복수의 하드웨어 구성 각각의 사양이 제1 외부 장치(200-1)에 포함된 복수의 하드웨어 구성의 사양 이상이면, 제1 외부 장치(200-1)에 포함된 적어도 하나의 신경망 모델이 전자 장치(100)의 하드웨어에 적합한 것으로 식별하는 단계 및 전자 장치(100)에 포함된 복수의 하드웨어 구성 중 적어도 하나의 사양이 제1 외부 장치(200-1)에 포함된 복수의 하드웨어 구성의 사양 미만이면, 제1 외부 장치(200-1)에 포함된 적어도 하나의 신경망 모델 중 전자 장치(100)에 포함된 복수의 하드웨어 구성의 사양 보다 낮은 하드웨어 요구 사양을 갖는 하나 이상의 신경망 모델이 전자 장치(100)의 하드웨어에 적합한 것으로 식별하는 단계를 포함할 수 있다. And, in the identifying step, if the specification of each of the plurality of hardware components included in the electronic device 100 is equal to or greater than the specification of the plurality of hardware components included in the first external device 200-1, the first external device 200- The step of identifying that at least one neural network model included in 1) is suitable for the hardware of the electronic device 100 and the specification of at least one of a plurality of hardware configurations included in the electronic device 100 is determined by the first external device 200- If it is less than the specification of a plurality of hardware components included in 1), a hardware requirement lower than the specification of a plurality of hardware components included in the electronic device 100 among at least one neural network model included in the first external device 200-1 It may include identifying one or more neural network models having the specification as suitable for the hardware of the electronic device 100 .

여기서, 비일시적 판독 가능 매체란 레지스터, 캐쉬, 메모리(120) 등과 같이 짧은 순간 동안 데이터를 저장하는 매체가 아니라 반영구적으로 데이터를 저장하며, 기기에 의해 판독(reading)이 가능한 매체를 의미한다. 구체적으로는, 상술한 다양한 어플리케이션 또는 프로그램들은 CD, DVD, 하드 디스크, 블루레이 디스크, USB, 메모리(120)카드, ROM 등과 같은 비일시적 판독 가능 매체에 저장되어 제공될 수 있다.Here, the non-transitory readable medium refers to a medium that stores data semi-permanently, rather than a medium that stores data for a short moment, such as a register, cache, memory 120, and the like, and can be read by a device. Specifically, the various applications or programs described above may be provided by being stored in a non-transitory readable medium such as a CD, DVD, hard disk, Blu-ray disk, USB, memory 120 card, ROM, and the like.

이상에서 전자 장치(100)의 제어 방법, 그리고 전자 장치(100)의 제어 방법을 실행하는 프로그램을 포함하는 컴퓨터 판독 가능 기록매체에 대해 간략하게 설명하였으나, 이는 중복 설명을 생략하기 위한 것일 뿐이며, 전자 장치(100)에 대한 다양한 실시 예는 전자 장치(100)의 제어 방법, 그리고 전자 장치(100)의 제어 방법을 실행하는 프로그램을 포함하는 컴퓨터 판독 가능 기록매체에 대해서도 적용될 수 있음은 물론이다.In the above, the control method of the electronic device 100 and the computer-readable recording medium including the program for executing the control method of the electronic device 100 have been briefly described, but this is only for omitting redundant description, and Of course, various embodiments of the device 100 may be applied to a computer-readable recording medium including a control method of the electronic device 100 and a program for executing the control method of the electronic device 100 .

상술한 바와 같은 본 개시의 다양한 실시 예에 따르면, 전자 장치(100)는 외부 장치로부터 신경망 모델이 전이되는 경우, 그 신경망 모델을 전자 장치(100)에 전이하는 것이 적합한지 여부를 식별하여 신경망 모델의 전이 여부를 결정할 수 있게 되며, 이에 따라 전이 학습의 효율성과 신뢰성이 현저하게 향상될 수 있다. According to various embodiments of the present disclosure as described above, when a neural network model is transferred from an external device, the electronic device 100 identifies whether it is appropriate to transfer the neural network model to the electronic device 100 and identifies the neural network model. It is possible to determine whether to transfer , and thus the efficiency and reliability of transfer learning can be remarkably improved.

한편, 이상에서 상술한 바와 같은 신경망 모델에 관련된 기능은 메모리(120) 및 프로세서(130)를 통해 수행될 수 있다. 프로세서(130)는 하나 또는 복수의 프로세서(130)로 구성될 수 있다. 이때, 하나 또는 복수의 프로세서(130)는 CPU, AP 등과 같은 범용 프로세서(130), GPU. VPU 등과 같은 그래픽 전용 프로세서(130) 또는 NPU와 같은 인공 지능 전용 프로세서(130)일 수 있다. 하나 또는 복수의 프로세서(130)는, 비휘발성 메모리(120) 및 휘발성 메모리(120)에 저장된 기 정의된 동작 규칙 또는 인공 지능 모델에 따라, 입력 데이터를 처리하도록 제어한다. 기 정의된 동작 규칙 또는 인공 지능 모델은 학습을 통해 만들어진 것을 특징으로 한다. Meanwhile, the functions related to the neural network model as described above may be performed through the memory 120 and the processor 130 . The processor 130 may include one or a plurality of processors 130 . At this time, one or a plurality of processors 130 is a general-purpose processor 130, such as a CPU, AP, GPU. It may be a graphics-only processor 130 such as a VPU or the like, or an artificial intelligence-only processor 130 such as an NPU. One or more processors 130 control to process input data according to a non-volatile memory 120 and a predefined operation rule or artificial intelligence model stored in the volatile memory 120 . The predefined action rule or artificial intelligence model is characterized in that it is created through learning.

여기서, 학습을 통해 만들어진다는 것은, 다수의 학습 데이터들에 학습 알고리즘을 적용함으로써, 원하는 특성의 기 정의된 동작 규칙 또는 인공 지능 모델이 만들어짐을 의미한다. 이러한 학습은 본 개시에 따른 인공 지능이 수행되는 기기 자체에서 이루어질 수도 있고, 별도의 서버/시스템을 통해 이루어 질 수도 있다. Here, being made through learning means that a predefined operation rule or artificial intelligence model of a desired characteristic is created by applying a learning algorithm to a plurality of learning data. Such learning may be performed in the device itself on which the artificial intelligence according to the present disclosure is performed, or may be performed through a separate server/system.

인공 지능 모델은, 복수의 신경망 레이어들로 구성될 수 있다. 각 레이어는 복수의 가중치(weight values)을 갖고 있으며, 이전(previous) 레이어의 연산 결과와 복수의 가중치의 연산을 통해 레이어의 연산을 수행한다. 신경망의 예로는, CNN (Convolutional Neural Network), DNN (Deep Neural Network), RNN (Recurrent Neural Network), RBM (Restricted Boltzmann Machine), DBN (Deep Belief Network), BRDNN(Bidirectional Recurrent Deep Neural Network), GAN(Generative Adversarial Networks) 및 심층 Q-네트워크 (Deep Q-Networks)이 있으며, 본 개시에서의 신경망은 명시한 경우를 제외하고 전술한 예에 한정되지 않는다.The artificial intelligence model may be composed of a plurality of neural network layers. Each layer has a plurality of weight values, and the calculation of the layer is performed through the operation of the previous layer and the operation of the plurality of weights. Examples of neural networks include Convolutional Neural Network (CNN), Deep Neural Network (DNN), Recurrent Neural Network (RNN), Restricted Boltzmann Machine (RBM), Deep Belief Network (DBN), Bidirectional Recurrent Deep Neural Network (BRDNN), GAN. There are (Generative Adversarial Networks) and Deep Q-Networks, and the neural network in the present disclosure is not limited to the above-described examples, except as otherwise specified.

학습 알고리즘은, 다수의 학습 데이터들을 이용하여 소정의 대상 기기(예컨대, 로봇)을 훈련시켜 소정의 대상 기기 스스로 결정을 내리거나 예측을 할 수 있도록 하는 방법이다. 학습 알고리즘의 예로는, 지도형 학습(supervised learning), 비지도형 학습(unsupervised learning), 준지도형 학습(semi-supervised learning) 또는 강화 학습(reinforcement learning)이 있으며, 본 개시에서의 학습 알고리즘은 명시한 경우를 제외하고 전술한 예에 한정되지 않는다.The learning algorithm is a method of training a predetermined target device (eg, a robot) using a plurality of learning data so that the predetermined target device can make a decision or make a prediction by itself. Examples of the learning algorithm include supervised learning, unsupervised learning, semi-supervised learning, or reinforcement learning, and the learning algorithm in the present disclosure is specified It is not limited to the above-described example except for.

기기로 읽을 수 있는 저장매체는, 비일시적(non-transitory) 저장매체의 형태로 제공될 수 있다. 여기서, '비일시적 저장매체'는 실재(tangible)하는 장치이고, 신호(signal)(예: 전자기파)를 포함하지 않는다는 것을 의미할 뿐이며, 이 용어는 데이터가 저장매체에 반영구적으로 저장되는 경우와 임시적으로 저장되는 경우를 구분하지 않는다. 예로, '비일시적 저장매체'는 데이터가 임시적으로 저장되는 버퍼를 포함할 수 있다.The device-readable storage medium may be provided in the form of a non-transitory storage medium. Here, 'non-transitory storage medium' is a tangible device and only means that it does not contain a signal (eg, electromagnetic wave), and this term refers to cases in which data is semi-permanently stored in a storage medium and temporary It does not distinguish the case where it is stored as For example, the 'non-transitory storage medium' may include a buffer in which data is temporarily stored.

일 실시 예에 따르면, 본 문서에 개시된 다양한 실시 예들에 따른 방법은 컴퓨터 프로그램 제품(computer program product)에 포함되어 제공될 수 있다. 컴퓨터 프로그램 제품은 상품으로서 판매자 및 구매자 간에 거래될 수 있다. 컴퓨터 프로그램 제품은 기기로 읽을 수 있는 저장 매체(예: compact disc read only memory (CD-ROM))의 형태로 배포되거나, 또는 어플리케이션 스토어(예: 플레이 스토어TM)를 통해 또는 두개의 사용자 장치들(예: 스마트폰들) 간에 직접, 온라인으로 배포(예: 다운로드 또는 업로드)될 수 있다. 온라인 배포의 경우에, 컴퓨터 프로그램 제품(예: 다운로더블 앱(downloadable app))의 적어도 일부는 제조사의 서버, 어플리케이션 스토어의 서버, 또는 중계 서버의 메모리와 같은 기기로 읽을 수 있는 저장 매체에 적어도 일시 저장되거나, 임시적으로 생성될 수 있다.According to an embodiment, the method according to various embodiments disclosed in this document may be provided by being included in a computer program product. Computer program products may be traded between sellers and buyers as commodities. The computer program product is distributed in the form of a machine-readable storage medium (eg compact disc read only memory (CD-ROM)), or through an application store (eg Play Store TM ) or on two user devices ( It can be distributed (eg downloaded or uploaded) directly, online between smartphones (eg: smartphones). In the case of online distribution, at least a portion of a computer program product (eg, a downloadable app) is stored at least in a machine-readable storage medium such as a memory of a manufacturer's server, a server of an application store, or a relay server. It may be temporarily stored or temporarily created.

이상에서 상술한 바와 같은 본 개시의 다양한 실시 예들에 따른 구성 요소(예: 모듈 또는 프로그램) 각각은 단수 또는 복수의 개체로 구성될 수 있으며, 전술한 해당 서브 구성 요소들 중 일부 서브 구성 요소가 생략되거나, 또는 다른 서브 구성 요소가 다양한 실시 예에 더 포함될 수 있다. 대체적으로 또는 추가적으로, 일부 구성 요소들(예: 모듈 또는 프로그램)은 하나의 개체로 통합되어, 통합되기 이전의 각각의 해당 구성 요소에 의해 수행되는 기능을 동일 또는 유사하게 수행할 수 있다. As described above, each of the components (eg, a module or a program) according to various embodiments of the present disclosure may be composed of a singular or a plurality of entities, and some of the above-described corresponding sub-components are omitted. Alternatively, other sub-components may be further included in various embodiments. Alternatively or additionally, some components (eg, a module or a program) may be integrated into a single entity to perform the same or similar functions performed by each corresponding component prior to integration.

다양한 실시 예들에 따른, 모듈, 프로그램 또는 다른 구성 요소에 의해 수행되는 동작들은 순차적, 병렬적, 반복적 또는 휴리스틱하게 실행되거나, 적어도 일부 동작이 다른 순서로 실행되거나, 생략되거나, 또는 다른 동작이 추가될 수 있다.According to various embodiments, operations performed by a module, program, or other component may be sequentially, parallel, repetitively or heuristically executed, or at least some operations may be executed in a different order, omitted, or other operations may be added. can

한편, 본 개시에서 사용된 용어 "부" 또는 "모듈"은 하드웨어, 소프트웨어 또는 펌웨어로 구성된 유닛을 포함하며, 예를 들면, 로직, 논리 블록, 부품, 또는 회로 등의 용어와 상호 호환적으로 사용될 수 있다. "부" 또는 "모듈"은, 일체로 구성된 부품 또는 하나 또는 그 이상의 기능을 수행하는 최소 단위 또는 그 일부가 될 수 있다. 예를 들면, 모듈은 ASIC(application-specific integrated circuit)으로 구성될 수 있다.Meanwhile, the term “unit” or “module” used in the present disclosure includes a unit composed of hardware, software, or firmware, and may be used interchangeably with terms such as, for example, logic, logic block, part, or circuit. can A “unit” or “module” may be an integrally formed component or a minimum unit or a part of one or more functions. For example, the module may be configured as an application-specific integrated circuit (ASIC).

본 개시의 다양한 실시 예들은 기기(machine)(예: 컴퓨터)로 읽을 수 있는 저장 매체(machine-readable storage media에 저장된 명령어를 포함하는 소프트웨어로 구현될 수 있다. 기기는 저장 매체로부터 저장된 명령어를 호출하고, 호출된 명령어에 따라 동작이 가능한 장치로서, 개시된 실시 예들에 따른 전자 장치(예: 전자 장치(100))를 포함할 수 있다. Various embodiments of the present disclosure may be implemented as software including instructions stored in a machine-readable storage medium readable by a machine (eg, a computer). The device calls the stored instructions from the storage medium. and an electronic device (eg, the electronic device 100 ) according to the disclosed embodiments as a device capable of operating according to the called command.

상기 명령이 프로세서(130)에 의해 실행될 경우, 프로세서(130)가 직접 또는 상기 프로세서(130)의 제어 하에 다른 구성요소들을 이용하여 상기 명령에 해당하는 기능을 수행할 수 있다. 명령은 컴파일러 또는 인터프리터에 의해 생성 또는 실행되는 코드를 포함할 수 있다. When the instruction is executed by the processor 130 , the processor 130 may perform a function corresponding to the instruction by using other components directly or under the control of the processor 130 . Instructions may include code generated or executed by a compiler or interpreter.

이상에서는 본 개시의 바람직한 실시 예에 대하여 도시하고 설명하였지만, 본 개시는 상술한 특정의 실시 예에 한정되지 아니하며, 청구범위에서 청구하는 본 개시의 요지를 벗어남이 없이 당해 개시가 속하는 기술분야에서 통상의 지식을 가진 자에 의해 다양한 변형실시가 가능한 것은 물론이고, 이러한 변형실시들은 본 개시의 기술적 사상이나 전망으로부터 개별적으로 이해되어서는 안 될 것이다.In the above, preferred embodiments of the present disclosure have been illustrated and described, but the present disclosure is not limited to the specific embodiments described above, and it is common in the technical field to which the disclosure pertains without departing from the gist of the present disclosure as claimed in the claims. Various modifications may be made by those having the knowledge of, of course, and these modifications should not be individually understood from the technical spirit or prospect of the present disclosure.

100: 전자 장치 110: 통신부
120: 메모리 130: 프로세서
140: 데이터 획득부 150: 데이터 출력부
1000: 적합성 식별 모듈 1100: 하드웨어 적합성 식별 모듈
1200: 모델 적합성 식별 모듈 1300: 사용자 적합성 식별 모듈
100: electronic device 110: communication unit
120: memory 130: processor
140: data acquisition unit 150: data output unit
1000: conformance identification module 1100: hardware conformance identification module
1200: model conformance identification module 1300: user conformance identification module

Claims (19)

외부 장치에 포함된 신경망 모델의 전이 적합성을 식별하기 위한 전자 장치에 있어서,
통신부;
상기 전자 장치의 하드웨어 사양에 대한 제1 기기 정보 및 상기 전자 장치의 하드웨어에 적합한 신경망 모델을 식별하는 하드웨어 적합성 식별 모듈을 저장하는 메모리; 및
사용자 입력이 수신되면, 적어도 하나의 외부 장치에 포함된 적어도 하나의 신경망 모델에 관련된 정보를 요청하기 위한 제1 신호를 전송하도록 상기 통신부를 제어하고,
상기 제1 신호에 대한 응답으로, 상기 통신부를 통해 상기 적어도 하나의 외부 장치 중 제1 외부 장치로부터 상기 제1 외부 장치의 하드웨어 사양에 대한 제2 기기 정보 및 상기 제1 외부 장치에 포함된 적어도 하나의 신경망 모델에 대한 제1 모델 정보를 포함하는 제2 신호를 수신하고,
상기 제1 기기 정보, 상기 제2 기기 정보 및 상기 제1 모델 정보를 상기 하드웨어 적합성 식별 모듈에 입력하여, 상기 제1 외부 장치에 포함된 적어도 하나의 신경망 모델 각각이 상기 전자 장치의 하드웨어에 적합한지 여부를 식별하며,
상기 전자 장치의 하드웨어에 적합한 것으로 식별된 적어도 하나의 신경망 모델의 설치 데이터에 대한 요청을 포함하는 제3 신호를 상기 제1 외부 장치로 전송하도록 상기 통신부를 제어하고,
상기 제3 신호에 대한 응답으로, 상기 통신부를 통해 상기 제1 외부 장치로부터 상기 전자 장치의 하드웨어에 적합한 것으로 식별된 적어도 하나의 신경망 모델의 설치 데이터를 포함하는 제4 신호를 수신하는 프로세서; 를 포함하며,
상기 프로세서는,
상기 전자 장치에 포함된 복수의 하드웨어 구성 각각의 사양이 상기 제1 외부 장치에 포함된 복수의 하드웨어 구성의 사양 이상이면, 상기 제1 외부 장치에 포함된 상기 적어도 하나의 신경망 모델이 상기 전자 장치의 하드웨어에 적합한 것으로 식별하고,
상기 전자 장치에 포함된 복수의 하드웨어의 구성 중 적어도 하나의 사양이 상기 제1 외부 장치에 포함된 복수의 하드웨어 구성의 사양 미만이면, 상기 제1 외부 장치에 포함된 상기 적어도 하나의 신경망 모델 중 상기 전자 장치에 포함된 복수의 하드웨어 구성의 사양 보다 낮은 하드웨어 요구 사양을 갖는 하나 이상의 신경망 모델이 상기 전자 장치의 하드웨어에 적합한 것으로 식별하는 전자 장치.
An electronic device for identifying the transitive suitability of a neural network model included in an external device, the electronic device comprising:
communication department;
a memory for storing first device information on the hardware specification of the electronic device and a hardware conformance identification module for identifying a neural network model suitable for the hardware of the electronic device; and
When a user input is received, the communication unit is controlled to transmit a first signal for requesting information related to at least one neural network model included in at least one external device,
In response to the first signal, from a first external device among the at least one external device through the communication unit, second device information about the hardware specification of the first external device and at least one of the first external devices included in the first external device Receive a second signal including first model information for a neural network model of
The first device information, the second device information, and the first model information are input to the hardware suitability identification module to determine whether each of the at least one neural network model included in the first external device is suitable for the hardware of the electronic device. to identify whether
controlling the communication unit to transmit a third signal including a request for installation data of at least one neural network model identified as suitable for hardware of the electronic device to the first external device,
a processor for receiving a fourth signal including installation data of at least one neural network model identified as suitable for hardware of the electronic device from the first external device through the communication unit in response to the third signal; includes,
The processor is
When the specification of each of the plurality of hardware components included in the electronic device is greater than or equal to the specification of the plurality of hardware components included in the first external device, the at least one neural network model included in the first external device is the identified as suitable for the hardware;
When the specification of at least one of the plurality of hardware configurations included in the electronic device is less than the specification of the plurality of hardware configurations included in the first external device, the at least one neural network model included in the first external device An electronic device for identifying that one or more neural network models having a hardware requirement specification lower than a specification of a plurality of hardware components included in the electronic device are suitable for hardware of the electronic device.
제1 항에 있어서,
상기 제1 기기 정보는 상기 프로세서의 사양, 상기 메모리의 사양 및 상기 전자 장치에 포함된 데이터 획득부의 사양에 대한 정보를 포함하고,
상기 전자 장치에 포함된 데이터 획득부는 상기 전자 장치에 포함된 적어도 하나의 신경망 모델에 입력되는 데이터를 획득하며, 상기 전자 장치에 포함된 카메라, 마이크 및 센서 중 적어도 하나를 포함하고,
상기 제2 기기 정보는 상기 제1 외부 장치에 포함된 프로세서의 사양, 상기 제1 외부 장치에 포함된 메모리의 사양 및 상기 제1 외부 장치에 포함된 데이터 획득부의 사양에 대한 정보를 포함하고,
상기 제1 외부 장치에 포함된 데이터 획득부는 상기 제1 외부 장치에 포함된 적어도 하나의 신경망 모델에 입력되는 데이터를 획득하며, 상기 제1 외부 장치에 포함된 카메라, 마이크 및 센서 중 적어도 하나를 포함하고,
상기 제1 모델 정보는 상기 제1 외부 장치에 포함된 적어도 하나의 신경망 모델 각각의 하드웨어 요구 사양에 대한 정보를 포함하는 전자 장치.
According to claim 1,
The first device information includes information on a specification of the processor, a specification of the memory, and a specification of a data acquisition unit included in the electronic device,
The data acquisition unit included in the electronic device acquires data input to at least one neural network model included in the electronic device, and includes at least one of a camera, a microphone, and a sensor included in the electronic device,
The second device information includes information on a specification of a processor included in the first external device, a specification of a memory included in the first external device, and a specification of a data acquisition unit included in the first external device,
The data acquisition unit included in the first external device acquires data input to at least one neural network model included in the first external device, and includes at least one of a camera, a microphone, and a sensor included in the first external device and,
The first model information includes information on hardware requirements for each of the at least one neural network model included in the first external device.
제2 항에 있어서,
상기 메모리는 상기 전자 장치에 포함된 적어도 하나의 신경망 모델에 대한 제2 모델 정보 및 상기 전자 장치에 포함된 신경망 모델을 대체하기에 적합한 신경망 모델을 식별하는 모델 적합성 식별 모듈을 저장하고,
상기 프로세서는,
상기 전자 장치의 하드웨어에 적합한 적어도 하나의 신경망 모델이 식별되면, 상기 제1 모델 정보 및 상기 제2 모델 정보를 상기 모델 적합성 식별 모듈에 입력하여, 상기 전자 장치의 하드웨어에 적합한 것으로 식별된 적어도 하나의 신경망 모델 각각이 상기 전자 장치에 포함된 신경망 모델을 대체하기에 적합한지 여부를 식별하고,
상기 제3 신호는,
상기 전자 장치에 포함된 신경망 모델을 대체하기에 적합한 것으로 식별된 적어도 하나의 신경망 모델의 설치 데이터에 대한 요청을 포함하고,
상기 제4 신호는,
상기 전자 장치에 포함된 신경망 모델을 대체하기에 적합한 것으로 식별된 적어도 하나의 신경망 모델의 설치 데이터를 포함하는 전자 장치.
3. The method of claim 2,
The memory stores second model information on at least one neural network model included in the electronic device and a model suitability identification module for identifying a neural network model suitable for replacing the neural network model included in the electronic device,
The processor is
When at least one neural network model suitable for the hardware of the electronic device is identified, the first model information and the second model information are input to the model suitability identification module, and at least one neural network model identified as suitable for the hardware of the electronic device is identified. Identifies whether each neural network model is suitable to replace a neural network model included in the electronic device,
The third signal is
including a request for installation data of at least one neural network model identified as suitable for replacing the neural network model included in the electronic device;
The fourth signal is
An electronic device including installation data of at least one neural network model identified as suitable for replacing a neural network model included in the electronic device.
제3 항에 있어서,
상기 제1 모델 정보는 상기 제1 외부 장치에 포함된 적어도 하나의 신경망 모델 각각의 서비스 유형에 대한 정보 및 개인화 레벨에 대한 정보를 더 포함하고,
상기 제2 모델 정보는 상기 전자 장치에 포함된 적어도 하나의 신경망 모델 각각의 서비스 유형에 대한 정보 및 개인화 레벨에 대한 정보를 포함하는 전자 장치.
4. The method of claim 3,
The first model information further includes information on a service type and personalization level of each of the at least one neural network model included in the first external device,
The second model information includes information on a service type of each of at least one neural network model included in the electronic device and information on a personalization level.
제4 항에 있어서,
상기 프로세서는,
상기 제1 모델 정보 및 상기 제2 모델 정보 각각에 포함된 서비스 유형에 대한 정보를 바탕으로 상기 전자 장치에 포함된 적어도 하나의 신경망 모델의 서비스 유형과 상기 전자 장치의 하드웨어에 적합한 것으로 식별된 적어도 하나의 신경망 모델의 서비스 유형을 비교하고,
상기 전자 장치의 하드웨어에 적합한 것으로 식별된 적어도 하나의 신경망 모델 중 제1 신경망 모델의 서비스 유형이 상기 전자 장치에 포함된 복수의 신경망 모델 중 제2 신경망 모델의 서비스 유형과 동일하면, 상기 제1 모델 정보 및 상기 제2 모델 정보 각각에 포함된 개인화 레벨에 대한 정보를 바탕으로 상기 제1 신경망 모델의 개인화 레벨과 상기 제2 신경망 모델의 개인화 레벨을 비교하며,
상기 제1 신경망 모델의 개인화 레벨이 상기 제2 신경망 모델의 개인화 레벨보다 높으면, 상기 제1 신경망 모델이 상기 제2 신경망 모델을 대체하는 것이 적합한 것으로 식별하는 전자 장치.
5. The method of claim 4,
The processor is
At least one service type of at least one neural network model included in the electronic device and at least one identified as being suitable for hardware of the electronic device based on the information on the service type included in each of the first model information and the second model information Compare the service types of neural network models of
When a service type of a first neural network model among at least one neural network model identified as suitable for hardware of the electronic device is the same as a service type of a second neural network model among a plurality of neural network models included in the electronic device, the first model comparing the personalization level of the first neural network model and the personalization level of the second neural network model based on the information on the personalization level included in each of the information and the second model information,
If the personalization level of the first neural network model is higher than the personalization level of the second neural network model, the electronic device identifies that the first neural network model is suitable to replace the second neural network model.
제5 항에 있어서,
상기 제1 신경망 모델의 개인화 레벨은 상기 제1 신경망 모델에 대한 상기 제1 외부 장치의 사용자의 사용 이력에 대한 정보 및 상기 제1 신경망 모델에 대한 상기 제1 외부 장치의 사용자의 피드백에 대한 정보 중 적어도 하나를 바탕으로 식별되고,
상기 제2 신경망 모델의 개인화 레벨은 상기 제2 신경망 모델에 대한 상기 전자 장치의 사용자의 사용 이력에 대한 정보 및 상기 제2 신경망 모델에 대한 상기 전자 장치의 사용자의 피드백에 대한 정보 중 적어도 하나를 바탕으로 식별되는 전자 장치.
6. The method of claim 5,
The personalization level of the first neural network model may be selected from among information on a user's history of use of the first external device for the first neural network model and information on feedback of a user of the first external device for the first neural network model. identified based on at least one;
The personalization level of the second neural network model is based on at least one of information about a user's history of use of the electronic device for the second neural network model and information about a feedback of a user of the electronic device with respect to the second neural network model An electronic device identified as
제1 항에 있어서,
상기 제2 신호는 상기 전자 장치에 대한 제1 사용자 정보 및 상기 제1 외부 장치에 대한 제2 사용자 정보를 바탕으로 사용자 인증이 완료됨에 따라, 상기 통신부를 통해 상기 제1 외부 장치로부터 수신되며,
상기 제1 사용자 정보는 상기 전자 장치의 사용자에 대한 계정 정보 및 상기 전자 장치에 대한 식별 정보 중 적어도 하나를 포함하고,
상기 제2 사용자 정보는 상기 제1 외부 장치의 사용자에 대한 계정 정보 및 상기 제1 외부 장치에 대한 식별 정보 중 적어도 하나를 포함하는 전자 장치.
According to claim 1,
The second signal is received from the first external device through the communication unit as user authentication is completed based on the first user information on the electronic device and the second user information on the first external device,
The first user information includes at least one of account information for a user of the electronic device and identification information for the electronic device,
The second user information includes at least one of account information for a user of the first external device and identification information for the first external device.
제1 항에 있어서,
디스플레이; 를 더 포함하고,
상기 프로세서는,
상기 전자 장치의 하드웨어에 적합한 것으로 식별된 적어도 하나의 신경망 모델에 대한 정보를 포함하는 사용자 인터페이스를 표시하도록 상기 디스플레이를 제어하고,
상기 사용자 인터페이스를 통해 상기 전자 장치의 하드웨어에 적합한 것으로 식별된 적어도 하나의 신경망 모델 중 하나 이상의 신경망 모델을 선택하는 사용자 입력을 수신하며,
상기 제3 신호는,
상기 선택된 하나 이상의 신경망 모델의 설치 데이터에 대한 요청을 포함하고,
상기 제4 신호는,
상기 선택된 하나 이상의 신경망 모델의 설치 데이터를 포함하는 전자 장치.
According to claim 1,
display; further comprising,
The processor is
controlling the display to display a user interface including information on at least one neural network model identified as suitable for hardware of the electronic device;
receiving a user input for selecting one or more neural network models from among at least one neural network model identified as suitable for hardware of the electronic device through the user interface;
The third signal is
Including a request for installation data of the selected one or more neural network models,
The fourth signal is
An electronic device including installation data of the one or more selected neural network models.
전자 장치의 하드웨어 사양에 대한 제1 기기 정보 및 상기 전자 장치의 하드웨어에 적합한 신경망 모델을 식별하는 하드웨어 적합성 식별 모듈이 저장되며, 외부 장치에 포함된 신경망 모델의 전이 적합성을 식별하기 위한 전자 장치의 제어 방법에 있어서,
사용자 입력이 수신되면, 적어도 하나의 외부 장치에 포함된 적어도 하나의 신경망 모델에 관련된 정보를 요청하기 위한 제1 신호를 전송하는 단계;
상기 제1 신호에 대한 응답으로, 상기 적어도 하나의 외부 장치 중 제1 외부 장치로부터 상기 제1 외부 장치의 하드웨어 사양에 대한 제2 기기 정보 및 상기 제1 외부 장치에 포함된 적어도 하나의 신경망 모델에 대한 제1 모델 정보를 포함하는 제2 신호를 수신하는 단계;
상기 제1 기기 정보, 상기 제2 기기 정보 및 상기 제1 모델 정보를 상기 하드웨어 적합성 식별 모듈에 입력하여, 상기 제1 외부 장치에 포함된 적어도 하나의 신경망 모델 각각이 상기 전자 장치의 하드웨어에 적합한지 여부를 식별하는 단계;
상기 전자 장치의 하드웨어에 적합한 것으로 식별된 적어도 하나의 신경망 모델의 설치 데이터에 대한 요청을 포함하는 제3 신호를 상기 제1 외부 장치로 전송하는 단계; 및
상기 제3 신호에 대한 응답으로, 상기 제1 외부 장치로부터 상기 전자 장치의 하드웨어에 적합한 것으로 식별된 적어도 하나의 신경망 모델의 설치 데이터를 포함하는 제4 신호를 수신하는 단계; 를 포함하고,
상기 식별하는 단계는,
상기 전자 장치에 포함된 복수의 하드웨어 구성 각각의 사양이 상기 제1 외부 장치에 포함된 복수의 하드웨어 구성의 사양 이상이면, 상기 제1 외부 장치에 포함된 상기 적어도 하나의 신경망 모델이 상기 전자 장치의 하드웨어에 적합한 것으로 식별하는 단계; 및
상기 전자 장치에 포함된 복수의 하드웨어 구성 중 적어도 하나의 사양이 상기 제1 외부 장치에 포함된 복수의 하드웨어 구성의 사양 미만이면, 상기 제1 외부 장치에 포함된 상기 적어도 하나의 신경망 모델 중 상기 전자 장치에 포함된 복수의 하드웨어 구성의 사양 보다 낮은 하드웨어 요구 사양을 갖는 하나 이상의 신경망 모델이 상기 전자 장치의 하드웨어에 적합한 것으로 식별하는 단계; 를 포함하는 전자 장치의 제어 방법.
The first device information on the hardware specification of the electronic device and the hardware suitability identification module for identifying the neural network model suitable for the hardware of the electronic device are stored, and the control of the electronic device for identifying the transfer suitability of the neural network model included in the external device In the method,
when a user input is received, transmitting a first signal for requesting information related to at least one neural network model included in at least one external device;
In response to the first signal, from a first external device among the at least one external device, second device information on a hardware specification of the first external device and at least one neural network model included in the first external device Receiving a second signal including the first model information about the;
The first device information, the second device information, and the first model information are input to the hardware suitability identification module to determine whether each of the at least one neural network model included in the first external device is suitable for the hardware of the electronic device. identifying whether or not;
transmitting a third signal including a request for installation data of at least one neural network model identified as suitable for hardware of the electronic device to the first external device; and
receiving, from the first external device, a fourth signal including installation data of at least one neural network model identified as being suitable for hardware of the electronic device in response to the third signal; including,
The identifying step is
When the specification of each of the plurality of hardware components included in the electronic device is greater than or equal to the specification of the plurality of hardware components included in the first external device, the at least one neural network model included in the first external device is the identifying as suitable for the hardware; and
When the specification of at least one of the plurality of hardware components included in the electronic device is less than the specification of the plurality of hardware components included in the first external device, the electronic device among the at least one neural network model included in the first external device identifying one or more neural network models having hardware requirements lower than those of a plurality of hardware components included in the device as being suitable for hardware of the electronic device; A control method of an electronic device comprising a.
제9 항에 있어서,
상기 제1 기기 정보는 상기 전자 장치에 포함된 프로세서의 사양, 상기 전자 장치에 포함된 메모리의 사양 및 상기 전자 장치에 포함된 데이터 획득부의 사양에 대한 정보를 포함하고,
상기 전자 장치에 포함된 데이터 획득부는 상기 전자 장치에 포함된 적어도 하나의 신경망 모델에 입력되는 데이터를 획득하며, 상기 전자 장치에 포함된 카메라, 마이크 및 센서 중 적어도 하나를 포함하고,
상기 제2 기기 정보는 상기 제1 외부 장치에 포함된 프로세서의 사양, 상기 제1 외부 장치에 포함된 메모리의 사양 및 상기 제1 외부 장치에 포함된 데이터 획득부의 사양에 대한 정보를 포함하고,
상기 제1 외부 장치에 포함된 데이터 획득부는 상기 제1 외부 장치에 포함된 적어도 하나의 신경망 모델에 입력되는 데이터를 획득하며, 상기 제1 외부 장치에 포함된 카메라, 마이크 및 센서 중 적어도 하나를 포함하고,
상기 제1 모델 정보는 상기 제1 외부 장치에 포함된 적어도 하나의 신경망 모델 각각의 하드웨어 요구 사양에 대한 정보를 포함하는 전자 장치의 제어 방법.
10. The method of claim 9,
The first device information includes information on a specification of a processor included in the electronic device, a specification of a memory included in the electronic device, and a specification of a data acquisition unit included in the electronic device,
The data acquisition unit included in the electronic device acquires data input to at least one neural network model included in the electronic device, and includes at least one of a camera, a microphone, and a sensor included in the electronic device,
The second device information includes information on a specification of a processor included in the first external device, a specification of a memory included in the first external device, and a specification of a data acquisition unit included in the first external device,
The data acquisition unit included in the first external device acquires data input to at least one neural network model included in the first external device, and includes at least one of a camera, a microphone, and a sensor included in the first external device and,
The first model information includes information on hardware requirements for each of the at least one neural network model included in the first external device.
제10 항에 있어서,
상기 전자 장치에는 상기 전자 장치에 포함된 적어도 하나의 신경망 모델에 대한 제2 모델 정보 및 상기 전자 장치에 포함된 신경망 모델을 대체하기에 적합한 신경망 모델을 식별하는 모델 적합성 식별 모듈이 더 저장되며,
상기 전자 장치의 제어 방법은,
상기 전자 장치의 하드웨어에 적합한 적어도 하나의 신경망 모델이 식별되면, 상기 제1 모델 정보 및 상기 제2 모델 정보를 상기 모델 적합성 식별 모듈에 입력하여, 상기 전자 장치의 하드웨어에 적합한 것으로 식별된 적어도 하나의 신경망 모델 각각이 상기 전자 장치에 포함된 신경망 모델을 대체하기에 적합한지 여부를 식별하는 단계; 를 더 포함하고,
상기 제3 신호는,
상기 전자 장치에 포함된 신경망 모델을 대체하기에 적합한 것으로 식별된 적어도 하나의 신경망 모델의 설치 데이터에 대한 요청을 포함하고,
상기 제4 신호는,
상기 전자 장치에 포함된 신경망 모델을 대체하기에 적합한 것으로 식별된 적어도 하나의 신경망 모델의 설치 데이터를 포함하는 전자 장치의 제어 방법.
11. The method of claim 10,
The electronic device further stores second model information on at least one neural network model included in the electronic device and a model suitability identification module for identifying a neural network model suitable for replacing the neural network model included in the electronic device,
The control method of the electronic device,
When at least one neural network model suitable for the hardware of the electronic device is identified, the first model information and the second model information are input to the model suitability identification module, and at least one neural network model identified as suitable for the hardware of the electronic device is identified. identifying whether each neural network model is suitable to replace a neural network model included in the electronic device; further comprising,
The third signal is
including a request for installation data of at least one neural network model identified as suitable for replacing the neural network model included in the electronic device;
The fourth signal is
A method of controlling an electronic device including installation data of at least one neural network model identified as suitable for replacing a neural network model included in the electronic device.
제11 항에 있어서,
상기 제1 모델 정보는 상기 제1 외부 장치에 포함된 적어도 하나의 신경망 모델 각각의 서비스 유형에 대한 정보 및 개인화 레벨에 대한 정보를 더 포함하고,
상기 제2 모델 정보는 상기 전자 장치에 포함된 적어도 하나의 신경망 모델 각각의 서비스 유형에 대한 정보 및 개인화 레벨에 대한 정보를 포함하는 전자 장치의 제어 방법.
12. The method of claim 11,
The first model information further includes information on a service type and personalization level of each of the at least one neural network model included in the first external device,
The second model information includes information on a service type of each of at least one neural network model included in the electronic device and information on a personalization level.
제12 항에 있어서,
상기 전자 장치에 포함된 신경망 모델을 대체하기에 적합한 적어도 하나의 신경망 모델을 식별하는 단계는,
상기 제1 모델 정보 및 상기 제2 모델 정보 각각에 포함된 서비스 유형에 대한 정보를 바탕으로 상기 전자 장치에 포함된 적어도 하나의 신경망 모델의 서비스 유형과 상기 전자 장치의 하드웨어에 적합한 것으로 식별된 적어도 하나의 신경망 모델의 서비스 유형을 비교하는 단계;
상기 전자 장치의 하드웨어에 적합한 것으로 식별된 적어도 하나의 신경망 모델 중 제1 신경망 모델의 서비스 유형이 상기 전자 장치에 포함된 복수의 신경망 모델 중 제2 신경망 모델의 서비스 유형과 동일하면, 상기 제1 모델 정보 및 상기 제2 모델 정보 각각에 포함된 개인화 레벨에 대한 정보를 바탕으로 상기 제1 신경망 모델의 개인화 레벨과 상기 제2 신경망 모델의 개인화 레벨을 비교하는 단계; 및
상기 제1 신경망 모델의 개인화 레벨이 상기 제2 신경망 모델의 개인화 레벨보다 높으면, 상기 제1 신경망 모델이 상기 제2 신경망 모델을 대체하는 것이 적합한 것으로 식별하는 단계; 를 포함하는 전자 장치의 제어 방법.
13. The method of claim 12,
The step of identifying at least one neural network model suitable for replacing the neural network model included in the electronic device includes:
At least one service type of at least one neural network model included in the electronic device and at least one identified as being suitable for hardware of the electronic device based on the information on the service type included in each of the first model information and the second model information comparing the service types of the neural network models of
When a service type of a first neural network model among at least one neural network model identified as suitable for hardware of the electronic device is the same as a service type of a second neural network model among a plurality of neural network models included in the electronic device, the first model comparing the personalization level of the first neural network model with the personalization level of the second neural network model based on the information and the personalization level information included in each of the second model information; and
if the personalization level of the first neural network model is higher than the personalization level of the second neural network model, identifying that the first neural network model is suitable to replace the second neural network model; A control method of an electronic device comprising a.
제13 항에 있어서,
상기 제1 신경망 모델의 개인화 레벨은 상기 제1 신경망 모델에 대한 상기 제1 외부 장치의 사용자의 사용 이력에 대한 정보 및 상기 제1 신경망 모델에 대한 상기 제1 외부 장치의 사용자의 피드백에 대한 정보 중 적어도 하나를 바탕으로 식별되고,
상기 제2 신경망 모델의 개인화 레벨은 상기 제2 신경망 모델에 대한 상기 전자 장치의 사용자의 사용 이력에 대한 정보 및 상기 제2 신경망 모델에 대한 상기 전자 장치의 사용자의 피드백에 대한 정보 중 적어도 하나를 바탕으로 식별되는 전자 장치의 제어 방법.
14. The method of claim 13,
The personalization level of the first neural network model may be selected from among information on a user's history of use of the first external device for the first neural network model and information on feedback of a user of the first external device for the first neural network model. identified based on at least one;
The personalization level of the second neural network model is based on at least one of information about a user's history of use of the electronic device for the second neural network model and information about a feedback of a user of the electronic device with respect to the second neural network model A method of controlling an electronic device identified as
제9 항에 있어서,
상기 제2 신호는 상기 전자 장치에 대한 제1 사용자 정보 및 상기 제1 외부 장치에 대한 제2 사용자 정보를 바탕으로 사용자 인증이 완료됨에 따라, 상기 제1 외부 장치로부터 수신되며,
상기 제1 사용자 정보는 상기 전자 장치의 사용자에 대한 계정 정보 및 상기 전자 장치에 대한 식별 정보 중 적어도 하나를 포함하고,
상기 제2 사용자 정보는 상기 제1 외부 장치의 사용자에 대한 계정 정보 및 상기 제1 외부 장치에 대한 식별 정보 중 적어도 하나를 포함하는 전자 장치의 제어 방법.
10. The method of claim 9,
The second signal is received from the first external device as user authentication is completed based on the first user information on the electronic device and the second user information on the first external device,
The first user information includes at least one of account information for a user of the electronic device and identification information for the electronic device,
The second user information includes at least one of account information for a user of the first external device and identification information for the first external device.
제9 항에 있어서,
상기 전자 장치의 제어 방법은,
상기 전자 장치의 하드웨어에 적합한 것으로 식별된 적어도 하나의 신경망 모델에 대한 정보를 포함하는 사용자 인터페이스를 표시하는 단계; 및
상기 사용자 인터페이스를 통해 상기 전자 장치의 하드웨어에 적합한 것으로 식별된 적어도 하나의 신경망 모델 중 하나 이상의 신경망 모델을 선택하는 사용자 입력을 수신하는 단계; 를 더 포함하고,
상기 제3 신호는,
상기 선택된 하나 이상의 신경망 모델의 설치 데이터에 대한 요청을 포함하고,
상기 제4 신호는,
상기 선택된 하나 이상의 신경망 모델의 설치 데이터를 포함하는 전자 장치의 제어 방법.
10. The method of claim 9,
The control method of the electronic device,
displaying a user interface including information on at least one neural network model identified as being suitable for hardware of the electronic device; and
receiving a user input for selecting one or more neural network models from among at least one neural network model identified as suitable for hardware of the electronic device through the user interface; further comprising,
The third signal is
Including a request for installation data of the selected one or more neural network models,
The fourth signal is
A method of controlling an electronic device including installation data of the selected one or more neural network models.
전자 장치의 하드웨어 사양에 대한 제1 기기 정보 및 상기 전자 장치의 하드웨어에 적합한 신경망 모델을 식별하는 하드웨어 적합성 식별 모듈이 저장되며, 외부 장치에 포함된 신경망 모델의 전이 적합성을 식별하기 위한 전자 장치의 제어 방법을 실행하는 프로그램을 포함하는 비일시적 컴퓨터 판독 가능 기록매체에 있어서,
상기 전자 장치의 제어 방법은,
사용자 입력이 수신되면, 적어도 하나의 외부 장치에 포함된 적어도 하나의 신경망 모델에 관련된 정보를 요청하기 위한 제1 신호를 전송하는 단계;
상기 제1 신호에 대한 응답으로, 상기 적어도 하나의 외부 장치 중 제1 외부 장치로부터 상기 제1 외부 장치의 하드웨어 사양에 대한 제2 기기 정보 및 상기 제1 외부 장치에 포함된 적어도 하나의 신경망 모델에 대한 제1 모델 정보를 포함하는 제2 신호를 수신하는 단계;
상기 제1 기기 정보, 상기 제2 기기 정보 및 상기 제1 모델 정보를 상기 하드웨어 적합성 식별 모듈에 입력하여, 상기 제1 외부 장치에 포함된 적어도 하나의 신경망 모델 각각이 상기 전자 장치의 하드웨어에 적합한지 여부를 식별하는 단계;
상기 전자 장치의 하드웨어에 적합한 것으로 식별된 적어도 하나의 신경망 모델의 설치 데이터에 대한 요청을 포함하는 제3 신호를 상기 제1 외부 장치로 전송하는 단계; 및
상기 제3 신호에 대한 응답으로, 상기 제1 외부 장치로부터 상기 전자 장치의 하드웨어에 적합한 것으로 식별된 적어도 하나의 신경망 모델에 대한 설치 데이터를 포함하는 제4 신호를 수신하는 단계; 를 포함하고,
상기 식별하는 단계는,
상기 전자 장치에 포함된 복수의 하드웨어 구성 각각의 사양이 상기 제1 외부 장치에 포함된 복수의 하드웨어 구성의 사양 이상이면, 상기 제1 외부 장치에 포함된 상기 적어도 하나의 신경망 모델이 상기 전자 장치의 하드웨어에 적합한 것으로 식별하는 단계; 및
상기 전자 장치에 포함된 복수의 하드웨어 구성 중 적어도 하나의 사양이 상기 제1 외부 장치에 포함된 복수의 하드웨어 구성의 사양 미만이면, 상기 제1 외부 장치에 포함된 상기 적어도 하나의 신경망 모델 중 상기 전자 장치에 포함된 복수의 하드웨어 구성의 사양 보다 낮은 하드웨어 요구 사양을 갖는 하나 이상의 신경망 모델이 상기 전자 장치의 하드웨어에 적합한 것으로 식별하는 단계; 를 포함하는 컴퓨터 판독 가능 기록매체.
The first device information on the hardware specification of the electronic device and the hardware suitability identification module for identifying the neural network model suitable for the hardware of the electronic device are stored, and the control of the electronic device for identifying the transfer suitability of the neural network model included in the external device In a non-transitory computer-readable recording medium comprising a program for executing a method,
The control method of the electronic device,
when a user input is received, transmitting a first signal for requesting information related to at least one neural network model included in at least one external device;
In response to the first signal, from a first external device among the at least one external device, second device information on a hardware specification of the first external device and at least one neural network model included in the first external device Receiving a second signal including the first model information about the;
The first device information, the second device information, and the first model information are input to the hardware suitability identification module to determine whether each of the at least one neural network model included in the first external device is suitable for the hardware of the electronic device. identifying whether or not;
transmitting a third signal including a request for installation data of at least one neural network model identified as suitable for hardware of the electronic device to the first external device; and
receiving a fourth signal including installation data for at least one neural network model identified as suitable for hardware of the electronic device from the first external device in response to the third signal; including,
The identifying step is
When the specification of each of the plurality of hardware components included in the electronic device is greater than or equal to the specification of the plurality of hardware components included in the first external device, the at least one neural network model included in the first external device is the identifying as suitable for the hardware; and
When the specification of at least one of the plurality of hardware components included in the electronic device is less than the specification of the plurality of hardware components included in the first external device, the electronic device among the at least one neural network model included in the first external device identifying one or more neural network models having hardware requirements lower than those of a plurality of hardware components included in the device as being suitable for hardware of the electronic device; A computer-readable recording medium comprising a.
외부 장치에 포함된 신경망 모델의 전이 적합성을 식별하기 위한 전자 장치에 있어서,
통신부;
상기 전자 장치에 포함된 적어도 하나의 신경망 모델에 대한 내부 모델 정보 및 상기 전자 장치에 포함된 신경망 모델을 대체하기에 적합한 신경망 모델을 식별하는 모델 적합성 식별 모듈을 저장하는 메모리; 및
사용자 입력이 수신되면, 적어도 하나의 외부 장치에 포함된 적어도 하나의 신경망 모델에 관련된 정보를 요청하기 위한 제1 신호를 전송하도록 상기 통신부를 제어하고,
상기 제1 신호에 대한 응답으로, 상기 통신부를 통해 상기 적어도 하나의 외부 장치 중 제1 외부 장치로부터 제1 외부 장치에 포함된 적어도 하나의 신경망 모델에 대한 외부 모델 정보를 포함하는 제2 신호를 수신하고,
상기 내부 모델 정보 및 상기 외부 모델 정보를 상기 모델 적합성 식별 모듈에 입력하여, 상기 제1 외부 장치에 포함된 적어도 하나의 신경망 모델 각각이 상기 전자 장치에 포함된 신경망 모델을 대체하기에 적합한지 여부를 식별하며,
상기 전자 장치에 포함된 신경망 모델을 대체하기에 적합한 것으로 식별된 적어도 하나의 신경망 모델의 설치 데이터에 대한 요청을 포함하는 제3 신호를 상기 제1 외부 장치로 전송하도록 상기 통신부를 제어하고,
상기 제3 신호에 대한 응답으로, 상기 통신부를 통해 상기 제1 외부 장치로부터 상기 식별된 적어도 하나의 신경망 모델의 설치 데이터를 포함하는 제4 신호를 수신하는 프로세서; 를 포함하는 전자 장치.
상기 프로세서는,
상기 내부 모델 정보 및 상기 외부 모델 정보 각각에 포함된 서비스 유형에 대한 정보를 바탕으로 상기 전자 장치에 포함된 적어도 하나의 신경망 모델의 서비스 유형과 상기 제1 외부 장치에 포함된 적어도 하나의 신경망 모델의 서비스 유형을 비교하고,
상기 제1 외부 장치에 포함된 적어도 하나의 신경망 모델 중 제1 신경망 모델의 서비스 유형이 상기 전자 장치에 포함된 복수의 신경망 모델 중 제2 신경망 모델의 서비스 유형과 동일하면, 상기 내부 모델 정보 및 상기 외부 모델 정보 각각에 포함된 개인화 레벨에 대한 정보를 바탕으로 상기 제1 신경망 모델의 개인화 레벨과 상기 제2 신경망 모델의 개인화 레벨을 비교하며,
상기 제1 신경망 모델의 개인화 레벨이 상기 제2 신경망 모델의 개인화 레벨보다 높으면, 상기 제1 신경망 모델이 상기 제2 신경망 모델을 대체하는 것이 적합한 것으로 식별하는 전자 장치.
An electronic device for identifying the transitive suitability of a neural network model included in an external device, the electronic device comprising:
communication department;
a memory for storing internal model information on at least one neural network model included in the electronic device and a model suitability identification module for identifying a neural network model suitable for replacing the neural network model included in the electronic device; and
When a user input is received, the communication unit is controlled to transmit a first signal for requesting information related to at least one neural network model included in at least one external device,
In response to the first signal, a second signal including external model information on at least one neural network model included in the first external device is received from a first external device among the at least one external device through the communication unit. and,
By inputting the internal model information and the external model information into the model suitability identification module, it is determined whether each of the at least one neural network model included in the first external device is suitable to replace the neural network model included in the electronic device. identify,
Control the communication unit to transmit a third signal including a request for installation data of at least one neural network model identified as suitable to replace the neural network model included in the electronic device to the first external device,
a processor for receiving a fourth signal including installation data of the identified at least one neural network model from the first external device through the communication unit in response to the third signal; An electronic device comprising a.
The processor is
Based on the information on the service type included in each of the internal model information and the external model information, the service type of at least one neural network model included in the electronic device and the at least one neural network model included in the first external device Compare service types,
When a service type of a first neural network model among at least one neural network model included in the first external device is the same as a service type of a second neural network model among a plurality of neural network models included in the electronic device, the internal model information and the comparing the personalization level of the first neural network model with the personalization level of the second neural network model based on the information on the personalization level included in each of the external model information,
If the personalization level of the first neural network model is higher than the personalization level of the second neural network model, the electronic device identifies that the first neural network model is suitable to replace the second neural network model.
제18 항에 있어서,
상기 제1 신경망 모델의 개인화 레벨은 상기 제1 신경망 모델에 대한 상기 제1 외부 장치의 사용자의 사용 이력에 대한 정보 및 상기 제1 신경망 모델에 대한 상기 제1 외부 장치의 사용자의 피드백에 대한 정보 중 적어도 하나를 바탕으로 식별되고,
상기 제2 신경망 모델의 개인화 레벨은 상기 제2 신경망 모델에 대한 상기 전자 장치의 사용자의 사용 이력에 대한 정보 및 상기 제2 신경망 모델에 대한 상기 전자 장치의 사용자의 피드백에 대한 정보 중 적어도 하나를 바탕으로 식별되는 전자 장치.

19. The method of claim 18,
The personalization level of the first neural network model may be selected from among information on a user's history of use of the first external device for the first neural network model and information on feedback of a user of the first external device for the first neural network model. identified based on at least one;
The personalization level of the second neural network model is based on at least one of information about a user's history of use of the electronic device for the second neural network model and information about a feedback of a user of the electronic device with respect to the second neural network model An electronic device identified as

KR1020200127461A 2019-12-09 2020-09-29 Electronic device and controlling method of electronic device KR20210072687A (en)

Priority Applications (4)

Application Number Priority Date Filing Date Title
EP20898630.7A EP4004825A4 (en) 2019-12-09 2020-12-04 Electronic device and controlling method of electronic device
PCT/KR2020/017655 WO2021118173A1 (en) 2019-12-09 2020-12-04 Electronic device and controlling method of electronic device
CN202080084829.8A CN114787825A (en) 2019-12-09 2020-12-04 Electronic device and control method of electronic device
US17/113,615 US11914688B2 (en) 2019-12-09 2020-12-07 Electronic device and controlling method of electronic device for identifying transition suitability of a neural network model included in an external device

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
US201962945349P 2019-12-09 2019-12-09
US62/945,349 2019-12-09

Publications (1)

Publication Number Publication Date
KR20210072687A true KR20210072687A (en) 2021-06-17

Family

ID=76604069

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020200127461A KR20210072687A (en) 2019-12-09 2020-09-29 Electronic device and controlling method of electronic device

Country Status (1)

Country Link
KR (1) KR20210072687A (en)

Similar Documents

Publication Publication Date Title
US11914688B2 (en) Electronic device and controlling method of electronic device for identifying transition suitability of a neural network model included in an external device
US10992839B2 (en) Electronic device and method for controlling the electronic device
US11908465B2 (en) Electronic device and controlling method thereof
US20210342427A1 (en) Electronic device for performing user authentication and operation method therefor
KR102444932B1 (en) Electronic device and Method for controlling the electronic device
US11954150B2 (en) Electronic device and method for controlling the electronic device thereof
US20200133211A1 (en) Electronic device and method for controlling electronic device thereof
CN110121696B (en) Electronic device and control method thereof
US11880754B2 (en) Electronic apparatus and control method thereof
US20230290343A1 (en) Electronic device and control method therefor
KR20190109654A (en) Electronic device and method for measuring heart rate
US11468270B2 (en) Electronic device and feedback information acquisition method therefor
KR102532230B1 (en) Electronic device and control method thereof
CN115004198A (en) Electronic device and control method of electronic device
KR20210072687A (en) Electronic device and controlling method of electronic device
EP3980874B1 (en) Electronic apparatus and control method thereof
CN114631100A (en) Electronic device and control method thereof
US20230385546A1 (en) System and method for context insertion for contrastive siamese network training
JP7410659B2 (en) Electronic device that recognizes users and its control method
KR20210096549A (en) Electronic device and controlling method of electronic device

Legal Events

Date Code Title Description
A201 Request for examination