KR102130077B1 - System to improve the resolution based on pattern information of grid generation - Google Patents

System to improve the resolution based on pattern information of grid generation Download PDF

Info

Publication number
KR102130077B1
KR102130077B1 KR1020200020609A KR20200020609A KR102130077B1 KR 102130077 B1 KR102130077 B1 KR 102130077B1 KR 1020200020609 A KR1020200020609 A KR 1020200020609A KR 20200020609 A KR20200020609 A KR 20200020609A KR 102130077 B1 KR102130077 B1 KR 102130077B1
Authority
KR
South Korea
Prior art keywords
neural network
data
resolution
video data
unit
Prior art date
Application number
KR1020200020609A
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 KR1020200020609A priority Critical patent/KR102130077B1/en
Application granted granted Critical
Publication of KR102130077B1 publication Critical patent/KR102130077B1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/472End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content
    • H04N21/47202End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content for requesting content on demand, e.g. video on demand
    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/21Server components or server architectures
    • H04N21/222Secondary servers, e.g. proxy server, cable television Head-end
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/45Management operations performed by the client for facilitating the reception of or the interaction with the content or administrating data related to the end-user or to the client device itself, e.g. learning user preferences for recommending movies, resolving scheduling conflicts
    • H04N21/466Learning process for intelligent management, e.g. learning user preferences for recommending movies
    • H04N21/4662Learning process for intelligent management, e.g. learning user preferences for recommending movies characterized by learning algorithms

Landscapes

  • Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Signal Processing (AREA)
  • Multimedia (AREA)
  • Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Biophysics (AREA)
  • Mathematical Physics (AREA)
  • Data Mining & Analysis (AREA)
  • Evolutionary Computation (AREA)
  • General Health & Medical Sciences (AREA)
  • Molecular Biology (AREA)
  • Computing Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computational Linguistics (AREA)
  • Software Systems (AREA)
  • Biomedical Technology (AREA)
  • Artificial Intelligence (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Health & Medical Sciences (AREA)
  • Human Computer Interaction (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
  • Image Analysis (AREA)

Abstract

An objective of the present invention is to process image data in real-time without occupying a large amount of memory. According to an embodiment of the present invention, a system for improving resolution based on grid generation pattern information comprises: a server to perform a service for transmitting requested video data to a user device in response to a request of the user device side, generate a universal neural network file required for an artificial neural network algorithm operation for improving the resolution of image information based on possessed video data, and transmit the generated universal neural network file and low-quality video data with resolution changed below a preset level to the user device; and a user device to perform a calculation operation on low-quality video data received from the server based on an artificial neural network algorithm using the received universal neural network file, improve the resolution of the low-quality video data in accordance with the calculation operation, and play the video data with the improved resolution.

Description

격자 생성 패턴 정보를 바탕으로 해상도를 개선하는 시스템{System to improve the resolution based on pattern information of grid generation}System to improve the resolution based on pattern information of grid generation

본 발명은 격자 생성 패턴 정보를 바탕으로 해상도를 개선하는 시스템에 관한 것이다. 보다 상세하게는, 본 발명은 이미지 사이즈 축소 시 발생되는 격자에 대한 정보를 추출하고 이에 대한 정보를 기반으로 저화질 이미지 데이터의 격자를 제거하고 고화질 이미지 데이터로 해상도를 복원하는 시스템에 관한 것이다. The present invention relates to a system for improving resolution based on grid generation pattern information. More specifically, the present invention relates to a system for extracting information on a grid generated when a size of an image is reduced, removing a grid of low quality image data based on the information, and restoring the resolution to high-quality image data.

이미지 데이터의 해상도를 개선하기 위해 그동안 보간 기법, 머신러닝 기법 등의 다양한 방식에서의 접근이 이루어지고 있었다. 최근에는 딥러닝 기법을 이용한 연구가 영상 인식/분석 등 패턴 인식 분야에서 활발히 이루어지고 있다. 또한 딥러닝을 이용한 기술이 영상 화질 개선 분야의 하나인 업스케일링 기법에서도 학습기반 머신 러닝 기법보다 뛰어난 성능을 보이고 있음이 증명되었다. In order to improve the resolution of image data, various approaches such as interpolation techniques and machine learning techniques have been used. Recently, research using deep learning techniques has been actively conducted in the field of pattern recognition such as image recognition/analysis. In addition, it has been proved that the technique using deep learning is superior to the learning-based machine learning technique in the upscaling technique, which is one of the fields of image quality improvement.

본 발명은 메모리 양을 많이 차지하지 않으면서 실시간으로 영상 데이터를 처리하는데 목적이 있다. An object of the present invention is to process image data in real time without taking up a large amount of memory.

본 발명은 딥러닝 기반 범용 신경망 파일을 통해 콘텐츠 종류에 관계없이 손쉽게 해상도 개선을 수행하도록 하는데 목적이 있다. An object of the present invention is to make it possible to easily improve resolution regardless of content type through a deep learning based general purpose neural network file.

본 발명의 실시 예에 따른 격자 생성 패턴 정보를 바탕으로 해상도를 개선하는 시스템은 사용자 기기 측 요청에 대응하여, 요청된 비디오 데이터를 사용자 기기로 전송하는 서비스를 수행하되, 보유한 비디오 데이터를 기반으로 이미지 정보의 해상도 개선을 위한 인공신경망 알고리즘 동작에 요구되는 범용 신경망 파일을 생성하고, 상기 생성된 범용 신경망 파일 및 해상도를 기 설정된 수준 이하로 변경한 저화질 비디오 데이터를 상기 사용자 기기로 전송하는 서버; 및 상기 서버로부터 수신되는 저화질 비디오 데이터에 상기 수신된 범용 신경망 파일을 적용한 인공신경망 알고리즘에 기반한 연산 동작을 수행하고, 상기 연산 동작에 따라 상기 저화질 비디오 데이터의 해상도를 개선하고, 상기 해상도가 개선된 비디오 데이터를 재생하는 사용자 기기;를 포함하여 구성될 수 있다. A system for improving resolution based on grid generation pattern information according to an embodiment of the present invention performs a service for transmitting requested video data to a user device in response to a request from a user device, but an image based on the retained video data A server that generates a general purpose neural network file required for operation of an artificial neural network algorithm for improving the resolution of information, and transmits the generated general purpose neural network file and low-definition video data in which the resolution is changed to a predetermined level or less to the user device; And performing an operation operation based on an artificial neural network algorithm applying the received general-purpose neural network file to the low-quality video data received from the server, improving the resolution of the low-definition video data according to the operation, and improving the resolution of the video. And user equipment for reproducing data.

본 발명의 실시 예는 영상 데이터를 제공하는 측에서 저화질 데이터를 송신하더라도 해당 영상을 재생할 시, 신경망 파일에 기반하여 해상도를 개선할 수 있음에 따라, 고화질 데이터 대신 저화질 데이터로 데이터 송수신이 이루어지도록 하는 환경 기반을 제공할 수 있다. 이에 따라 본 발명은 고용량의 고화질 영상 데이터를 송신하는 경우에 발생되는 전송 속도 저하 문제를 해결하는 효과가 있다. According to an embodiment of the present invention, even when the image quality data is transmitted from the side that provides the image data, when reproducing the image, the resolution can be improved based on the neural network file, so that data is transmitted and received with low quality data instead of high quality data. Can provide an environmental foundation. Accordingly, the present invention has an effect of solving the problem of a decrease in transmission speed that occurs when transmitting high-capacity high-definition image data.

또한 본 발명은 저화질 영상만을 보유하더라도 동영상 실행 당시 신경망 파일을 통해 고화질로 변환할 수 있도록 하므로, 비교적 메모리 용량을 적게 차지하게되는 효과가 있다. In addition, since the present invention enables to convert high-quality images through neural network files at the time of video execution even if only low-quality images are retained, it has an effect of occupying relatively little memory capacity.

도 1은 본 발명의 실시 예에 따른 해상도 개선 시스템을 도시한 도면이다.
도 2는 본 발명의 실시 예에 따른 화질 개선 동작의 예시를 도시한 도면이다.
도 3은 본 발명의 실시 예에 따른 서버의 구성을 도시한 블록도이다.
도 4는 본 발명의 실시 예에 따른 자료 가공부의 구성을 도시한 도면이다.
도 5는 본 발명의 실시 예예 따른 신경망 학습부의 구성을 도시하는 도면이다.
도 6은 본 발명의 실시 예에 따른 사이즈 변경부에서 수행하는 사이즈 변경 동작의 예시를 도시한 도면이다.
도 7은 본 발명의 실시 예에 따른 딥러닝 학습 동작의 예시를 설명하기 위한 도면이다.
도 8은 본 발명의 실시 예에 따른 사용자 기기의 구성을 도시한 도면이다.
도 9는 본 발명의 실시 예에 따른 화질 개선용 신경망 파일의 생성 및 전송 과정을 도시한 도면이다.
1 is a view showing a resolution improvement system according to an embodiment of the present invention.
2 is a diagram illustrating an example of an image quality improvement operation according to an embodiment of the present invention.
3 is a block diagram showing the configuration of a server according to an embodiment of the present invention.
4 is a view showing the configuration of a data processing unit according to an embodiment of the present invention.
5 is a view showing the configuration of a neural network learning unit according to an embodiment of the present invention.
6 is a diagram illustrating an example of a size change operation performed by a size change unit according to an embodiment of the present invention.
7 is a view for explaining an example of a deep learning learning operation according to an embodiment of the present invention.
8 is a diagram showing the configuration of a user equipment according to an embodiment of the present invention.
9 is a diagram illustrating a process of generating and transmitting a neural network file for improving image quality according to an embodiment of the present invention.

본 발명은 다양한 변경을 가할 수 있고 여러 가지 실시예를 가질 수 있는 바, 특정 실시예들을 도면에 예시하고 상세하게 설명하고자 한다.The present invention can be applied to various changes and can have various embodiments, and specific embodiments will be illustrated in the drawings and described in detail.

그러나, 이는 본 발명을 특정한 실시 형태에 대해 한정하려는 것이 아니며, 본 발명의 사상 및 기술 범위에 포함되는 모든 변경, 균등물 내지 대체물을 포함하는 것으로 이해되어야 한다. 각 도면을 설명하면서 유사한 참조부호를 유사한 구성요소에 대해 사용하였다. However, this is not intended to limit the present invention to specific embodiments, and should be understood to include all modifications, equivalents, and substitutes included in the spirit and scope of the present invention. In describing each drawing, similar reference numerals are used for similar components.

어떤 구성요소가 다른 구성요소에 '연결되어' 있다거나 '접속되어'있다고 언급된 때에는, 그 다른 구성요소에 직접적으로 연결되어 있거나 또는 접속되어 있을 수도 있지만, 중간에 다른 구성요소가 존재할 수도 있다고 이해되어야 할 것이다. 반면에, 어떤 구성요소가 다른 구성요소에 '직접 연결되어'있다거나 '직접 접속되어'있다고 언급된 때에는, 중간에 다른 구성요소가 존재하지 않는 것으로 이해되어야 할 것이다.When a component is said to be'connected' or'connected' to another component, it is understood that other components may be directly connected or connected to the other component, but other components may exist in the middle. It should be. On the other hand, when a component is said to be'directly connected' or'directly connected' to another component, it should be understood that no other component exists in the middle.

본 출원에서 사용한 용어는 단지 특정한 실시예를 설명하기 위해 사용된 것으로, 본 발명을 한정하려는 의도가 아니다. 단수의 표현은 문맥상 명백하게 다르게 뜻하지 않는 한, 복수의 표현을 포함한다. 본 출원에서, '포함하다' 또는 '가지다' 등의 용어는 명세서상에 기재된 특징, 숫자, 단계, 동작, 구성요소, 부품 또는 이들을 조합한 것이 존재함을 지정하려는 것이지, 하나 또는 그 이상의 다른 특징들이나 숫자, 단계, 동작, 구성요소, 부품 또는 이들을 조합한 것들의 존재 또는 부가 가능성을 미리 배제하지 않는 것으로 이해되어야 한다.The terms used in this application are only used to describe specific embodiments, and are not intended to limit the present invention. Singular expressions include plural expressions unless the context clearly indicates otherwise. In this application, terms such as'include' or'have' are intended to indicate that a feature, number, step, operation, component, part, or combination thereof described in the specification exists, and that one or more other features are present. It should be understood that the existence or addition possibilities of fields or numbers, steps, operations, components, parts or combinations thereof are not excluded in advance.

도 1은 본 발명의 실시 예에 따른 해상도 개선 시스템을 도시한 도면이다. 1 is a view showing a resolution improvement system according to an embodiment of the present invention.

본 발명의 실시 예에 따른 해상도 개선 시스템은 도 1에서 도시되는 바와 같이, 서버 100와 사용자 기기 200를 포함하여 구성될 수 있다. As illustrated in FIG. 1, a system for improving resolution according to an embodiment of the present invention may include a server 100 and a user device 200.

일 실시 예에 따라, 상기 서버 100는 사용자 기기 200에 VOD 서비스를 제공하는 서버를 포함할 수 있다. According to an embodiment, the server 100 may include a server that provides a VOD service to the user device 200.

상기 서버 100는 사용자 기기 200에 VOD 서비스를 제공하기 위해 비디오 데이터를 전송할 수 있다. 그리고 본 발명의 실시 예에 따라 상기 서버 100는 비디오 데이터의 화질을 개선하기 위해 요구되는 신경망 파일을 산출하고 이를 사용자 기기 200에 함께 전송할 수 있다. 이에 따라 상기 사용자 기기 200는 서버 100로부터 제공받은 비디오 데이터를 수신한 신경망 파일에 기반하여 화질을 개선시킬 수 있게 된다. The server 100 may transmit video data to provide a VOD service to the user device 200. In addition, according to an embodiment of the present invention, the server 100 may calculate a neural network file required for improving the image quality of video data and transmit it to the user device 200 together. Accordingly, the user device 200 can improve the image quality based on the neural network file receiving the video data provided from the server 100.

또한 상기 사용자 기기 200는 서버 200에 전송받고자 하는 비디오 데이터를 선택하고 전송 요청할 수 있다. 그리고 상기 사용자 기기 200는 자신의 비디오 데이터의 선택 정보, 재생 정보에 기반하여 산출된 사용자 시청 패턴 정보를 산출하고 이를 상기 서버 200에 전송할 수 있다. In addition, the user device 200 may select video data to be transmitted to the server 200 and request transmission. In addition, the user device 200 may calculate user viewing pattern information calculated based on selection information and playback information of its own video data and transmit it to the server 200.

상기 사용자 기기 200에서 수행되는 화질 개선 동작에 대하여 간략하게 설명하기 위해 도 2를 참조하기로 한다. Reference will be made to FIG. 2 to briefly describe an image quality improvement operation performed in the user device 200.

도 2는 본 발명의 실시 예에 따른 화질 개선 동작의 예시를 도시한 도면이다. 2 is a diagram illustrating an example of an image quality improvement operation according to an embodiment of the present invention.

사용자 기기 200는 도 2에서 도시되는 바와 같이, 비디오 파일을 신경망 파일을 통해 해상도가 개선된 비디오 파일을 생성할 수 있다. 이 때 본 발명의 실시 예예 따라 상기 신경망 파일은 비디오 파일의 종류와 관계없이 사용 가능한 범용 파일이며, 그에 따라 상기 신경망 파일은 사용자 기기 200로 전송된 어느 비디오 파일과 결합하여 해상도를 개선시킬 수 있다. As illustrated in FIG. 2, the user device 200 may generate a video file with improved resolution through a neural network file. At this time, according to an embodiment of the present invention, the neural network file is a general-purpose file that can be used regardless of the type of video file. Accordingly, the neural network file can be combined with any video file transmitted to the user device 200 to improve resolution.

또한 다양한 실시 예에 따라 사용자 기기 200는 상기 범용 신경망 파일을 임베디드 소프트웨어로 탑재하고, 화질 개선의 대상이 되는 비디오파일을 서버 100(예, 동영상 스트리밍 서버)로부터 수신할 수도 있다. In addition, according to various embodiments, the user device 200 may mount the general-purpose neural network file as embedded software, and receive a video file, which is a target for image quality improvement, from the server 100 (eg, a video streaming server).

도 3은 본 발명의 실시 예에 따른 서버의 구성을 도시한 블록도이다. 3 is a block diagram showing the configuration of a server according to an embodiment of the present invention.

본 발명의 실시 예에 따른 상기 서버 100는 도 3에서 도시되는 바와 같이, 통신부 110, 저장부 120, 제어부 130를 포함하여 구성될 수 있다. 그리고 상기 제어부 130는 자료 가공부 131, 신경망 학습부 132, 결과 평가부 133, 사용패턴 산출부 134를 포함하여 구성될 수 있다. As illustrated in FIG. 3, the server 100 according to an embodiment of the present invention may include a communication unit 110, a storage unit 120, and a control unit 130. In addition, the control unit 130 may include a data processing unit 131, a neural network learning unit 132, a result evaluation unit 133, and a usage pattern calculation unit 134.

먼저, 상기 통신부 110는 사용자 디바이스와 서버 간의 데이터 송수신을 위해 네트워크를 이용할 수 있으며 상기 네트워크의 종류는 특별히 제한되지 않는다. 상기 네트워크는 예를 들어, 인터넷 프로토콜(IP)을 통하여 대용량 데이터의 송수신 서비스를 제공하는 아이피(IP: Internet Protocol)망 또는 서로 다른 IP 망을 통합한 올 아이피(All IP) 망일 수 있다. 또한, 상기 네트워크는 유선망, Wibro(Wireless Broadband)망, WCDMA를 포함하는 이동통신망, HSDPA(High Speed Downlink Packet Access)망 및 LTE(Long Term Evolution) 망을 포함하는 이동통신망, LTE advanced(LTE-A), 5G(Five Generation)를 포함하는 이동통신망, 위성 통신망 및 와이파이(Wi-Fi)망 중 하나 이거나 또는 이들 중 적어도 하나 이상을 결합하여 이루어질 수 있다.First, the communication unit 110 may use a network to transmit and receive data between a user device and a server, and the type of the network is not particularly limited. The network may be, for example, an Internet Protocol (IP) network that provides a large data transmission/reception service through an Internet Protocol (IP) or an All IP network that integrates different IP networks. In addition, the network is a wired network, a Wibro (Wireless Broadband) network, a mobile communication network including WCDMA, a High Speed Downlink Packet Access (HSDPA) network and a mobile communication network including a Long Term Evolution (LTE) network, LTE advanced (LTE-A) ), 5G (Five Generation), one of the mobile communication network, satellite communication network and Wi-Fi (Wi-Fi) network, or may be made by combining at least one of them.

본 발명의 실시 예에 따른 상기 통신부 110는 외부 웹 서버 및 다수의 사용자 기기 등과의 데이터 통신을 수행할 수 있다. 예컨데, 상기 통신부 110는 타 웹 서버 또는 사용자 기기(관리자용 기기 포함)들로부터 이미지가 포함되는 콘텐츠 데이터(사진 및 동영상)을 수신할 수 있다. 그리고 상기 서버 100는 VOD 서비스를 제공하는 서버를 포함함에 따라, 사용자 요청에 대응하는 VOD 콘텐츠를 사용자 기기 200로 전송할 수 있다. The communication unit 110 according to an embodiment of the present invention may perform data communication with an external web server and a plurality of user devices. For example, the communication unit 110 may receive content data (pictures and videos) including images from other web servers or user devices (including administrator devices). In addition, as the server 100 includes a server that provides a VOD service, VOD content corresponding to a user request may be transmitted to the user device 200.

다양한 실시 예에 따라 상기 통신부 110는 VOD 서비스를 위해 VOD 파일의 수신 및 송신을 수행할 수 있으나, 이에 한정되는 것은 아니며, 상기 통신부 110는 해상도 개선용 신경망 파일을 생성하기 위해 요구되는 학습 데이터들을 수집하기 위한 통신 기능을 수행할 수 있다. According to various embodiments, the communication unit 110 may receive and transmit a VOD file for a VOD service, but is not limited thereto, and the communication unit 110 collects training data required to generate a neural network file for resolution improvement To perform the communication function.

상기 신경망 파일은 인공신경망 알고리즘을 통해 손상된 영상 데이터의 해상도를 원본 데이터와 유사하게 복원시키기 위해 필요한 정보들을 담은 것일 수 있으며, 인공신경망 알고리즘 구동시 선택되어야 하는 각종 파라미터들에 관한 정보를 포함하고 있을 수 있다. The neural network file may contain information necessary to restore the resolution of the damaged image data similar to the original data through the artificial neural network algorithm, and may include information on various parameters to be selected when the artificial neural network algorithm is driven. have.

상기 저장부 120는 예를 들면, 내장 메모리 또는 외장 메모리를 포함할 수 있다. 내장메모리는, 예를 들면, 휘발성 메모리(예: DRAM(dynamic RAM), SRAM(static RAM), 또는 SDRAM(synchronous dynamic RAM) 등), 비휘발성 메모리(non-volatile Memory)(예: OTPROM(one time programmable ROM), PROM(programmable ROM), EPROM(erasable and programmable ROM), EEPROM(electrically erasable and programmable ROM), mask ROM, flash ROM, 플래시 메모리(예: NAND flash 또는 NOR flash 등), 하드 드라이브, 또는 솔리드 스테이트 드라이브(solid state drive(SSD)) 중 적어도 하나를 포함할 수 있다.The storage unit 120 may include, for example, an internal memory or an external memory. The internal memory includes, for example, volatile memory (eg, dynamic RAM (DRAM), static RAM (SRAM), or synchronous dynamic RAM (SDRAM)), non-volatile memory (eg, OTPROM (one time programmable ROM (PROM), programmable ROM (PROM), erasable and programmable ROM (EPROM), electrically erasable and programmable ROM (EEPROM), mask ROM, flash ROM, flash memory (e.g. NAND flash or NOR flash, etc.), hard drives, Or it may include at least one of a solid state drive (SSD).

외장 메모리는 플래시 드라이브(flash drive), 예를 들면, CF(compact flash), SD(secure digital), Micro-SD(micro secure digital), Mini-SD(mini secure digital), XD(extreme digital), MMC(multi-media card) 또는 메모리 스틱(memory stick) 등을 더 포함할 수 있다. 외장 메모리는 다양한 인터페이스를 통하여 전자 장치와 기능적으로 및/또는 물리적으로 연결될 수 있다.The external memory may be a flash drive, such as compact flash (CF), secure digital (SD), micro secure digital (Micro-SD), mini secure digital (SD-SD), extreme digital (XD), It may further include a multi-media card (MMC) or a memory stick. The external memory may be functionally and/or physically connected to the electronic device through various interfaces.

본 발명의 실시 예에 따른 상기 저장부 120는 사용자 기기(관리자 기기) 또는 타 웹 서버로부터 수신된 이미지 데이터(예, 사진 및 비디오 데이터)를 가공한 가공 데이터(원본 이미지 데이터를 일정 비율로 축소한 데이터, 또는 축소한 후 원본 데이터 사이즈로 확대한 데이터)와 대응하는 원본 데이터를 매칭하여 저장할 수 있다. 상기 원본 데이터와 가공데이터는 각각 해상도 감소 시 발생되는 격자 현상에 대한 정보를 추출하는 데 사용될 수 있다. The storage unit 120 according to an embodiment of the present invention is a processing data (original image data) reduced by processing a certain amount of image data (eg, photo and video data) received from a user device (administrator device) or another web server. Data, or data enlarged to the original data size after reduction) and corresponding original data may be matched and stored. The original data and the processed data can be used to extract information on the lattice phenomenon that occurs when the resolution decreases, respectively.

또한 상기 저장부 120는 격자 현상에 대한 정보 추출 이후 인공지능 알고리즘(예, SRCNN)을 통해 가공데이터에 존재하는 격자를 제거하여 해상도를 원본 이미지 수준으로 복원하기 위한 데이터인 신경망 파일을 저장할 수 있다. In addition, the storage unit 120 may store a neural network file that is data for restoring the resolution to the original image level by removing the grid existing in the processed data through an artificial intelligence algorithm (eg, SRCNN) after extracting information on the grid phenomenon.

상기 제어부 130는 프로세서(Processor), 컨트롤러(controller), 마이크로 컨트롤러(microcontroller), 마이크로 프로세서(microprocessor), 마이크로 컴퓨터(microcomputer) 등으로도 호칭될 수 있다. 한편, 제어부는 하드웨어(hardware) 또는 펌웨어(firmware), 소프트웨어, 또는 이들의 결합에 의해 구현될 수 있다. The controller 130 may also be referred to as a processor, a controller, a microcontroller, a microprocessor, or a microcomputer. Meanwhile, the control unit may be implemented by hardware or firmware, software, or a combination thereof.

펌웨어나 소프트웨어에 의한 구현의 경우, 본 발명의 일 실시예는 이상에서 설명된 기능 또는 동작들을 수행하는 모듈, 절차, 함수 등의 형태로 구현될 수 있다. 소프트웨어 코드는 메모리에 저장되어 제어부에 의해 구동될 수 있다. 메모리는 상기 사용자 단말 및 서버 내부 또는 외부에 위치할 수 있으며, 이미 공지된 다양한 수단에 의해 상기 제어부와 데이터를 주고 받을 수 있다.In the case of implementation by firmware or software, an embodiment of the present invention may be implemented in the form of a module, procedure, function, etc. that performs the functions or operations described above. The software code can be stored in the memory and driven by the control unit. The memory may be located inside or outside the user terminal and the server, and may exchange data with the control unit by various means already known.

본 발명의 실시 예에 따른 상기 제어부 130는 이미지 데이터의 해상도를 인공 신경망 기반의 연산을 통해 개선하기 위해 요구되는 파일인 범용 신경망 파일을 생성할 수 있다. The controller 130 according to an embodiment of the present invention may generate a general purpose neural network file, which is a file required to improve the resolution of image data through artificial neural network-based calculation.

상기 제어부 130는 자료 가공부 131, 신경망 학습부 132, 결과 평가부 133, 사용패턴 산출부 134를 포함하여 구성될 수 있다. The control unit 130 may include a data processing unit 131, a neural network learning unit 132, a result evaluation unit 133, and a usage pattern calculation unit 134.

먼저 상기 자료 가공부 131는 비디오 데이터의 화질 개선을 위해 요구되는 범용 신경망 파일을 산출하기 위해 필요한 학습용 자료를 수집 및 가공할 수 있다. 상기 자료 가공부 131는 수집된 자료의 1차 변경(축소 변경) 및 2차 변경(축소된 이미지 데이터를 다시 확대)을 수행할 수 있다. 상기 자료 가공부 131가 수행하는 동작의 보다 구체적인 내용은 도 4를 참조하여 기술하기로 한다. First, the data processing unit 131 may collect and process learning data necessary for calculating a general purpose neural network file required for improving the quality of video data. The data processing unit 131 may perform a primary change (reduction change) and a secondary change (re-enlarge the reduced image data) of the collected data. More specific details of the operation performed by the data processing unit 131 will be described with reference to FIG. 4.

상기 신경망 학습부 132는 상기 자료 가공부 131에서 수행한 자료의 수집 및 가공 동작을 거친 후 산출된 가공된 데이터를 기반으로 인공지능에 기반한 신경망 학습 동작을 진행할 수 있다. 상기 신경망 학습부 132는 학습 과정에 요구되는 파라미터 설정 동작 및 신경망 파일 산출 동작을 수행할 수 있다. 상기 신경망 학습부 132에 대한 보다 자세한 설명은 도 5를 참조하여 기술하기로 한다. The neural network learning unit 132 may perform a neural network learning operation based on artificial intelligence based on the processed data calculated after collecting and processing the data performed by the data processing unit 131. The neural network learning unit 132 may perform a parameter setting operation and a neural network file calculation operation required for the learning process. A more detailed description of the neural network learning unit 132 will be described with reference to FIG. 5.

상기 결과 평가부 133는 신경망 학습부 132를 통해 산출된 범용 신경망 파일을 사용자 기기 200에서 적용한 결과값을 평가하는 동작을 수행할 수 있다. The result evaluation unit 133 may perform an operation of evaluating the result value applied to the general purpose neural network file calculated by the neural network learning unit 132 in the user device 200.

구체적으로, 상기 결과 평가부 133는 사용자 기기 200에서 신경망 파일을 적용한 결과 데이터의 해상도의 향상 정도를 판단할 수 있다. 또한 상기 결과 평가부 133는 신경망 파일을 적용한 결과 데이터와 원본 데이터와의 오차율을 판단할 수 있다. 이 때 결과 데이터와 원본 데이터의 비교 단위는 영상을 구성하는 각 프레임일 수도 있고, 영상의 전송을 위해 분할된 조각 단위일 수도 있다. Specifically, the result evaluation unit 133 may determine a degree of improvement in the resolution of data as a result of applying a neural network file in the user device 200. In addition, the result evaluation unit 133 may determine an error rate between the result data and the original data after applying the neural network file. In this case, the comparison unit of the result data and the original data may be each frame constituting the image, or may be a fragment unit divided for transmission of the image.

또는 다양한 실시 예에 따라 각 영상 데이터는 이미지 동일성에 기반하여 다수개의 프레임 묶음(예, 일 이미지가 100프레임에 걸쳐 표시되는 경우, 상기 100프레임은 하나의 프레임 묶음으로 설정될 수 있고, 이러한 프레임 묶음 또한 다수 개로 설정될 수 있음)으로 분할되어 있을 수 있다. 이에 따라 상기 결과 데이터와 원본 데이터의 비교 단위는 이미지 동일성에 기반하여 분할된 묶음 단위가 될 수 있다. Alternatively, according to various embodiments, each image data may be set of a plurality of frames based on image identity (eg, when an image is displayed over 100 frames, the 100 frames may be set as a single frame bundle) It may also be divided into multiple). Accordingly, the comparison unit of the result data and the original data may be a unit of division divided based on image identity.

나아가 상기 결과 평가부 133는 상기 결과 데이터와 상기 원본 데이터와의 오차율이 기준값 이상인 것으로 판단되는 경우 신경망 파일을 구성하는 Weight, bias 값 등의 수정을 요청할 수 있다. 즉, 상기 결과 평가부 133는 원본 데이터와 결과 데이터의 비교를 통해 신경망 파일을 구성하는 파라미터의 수정 여부를 판단할 수 있다. Furthermore, when it is determined that the error rate between the result data and the original data is greater than or equal to a reference value, the result evaluation unit 133 may request correction of a weight, bias value, etc. constituting a neural network file. That is, the result evaluation unit 133 may determine whether to modify the parameters constituting the neural network file by comparing the original data and the result data.

일 실시 예에 따라 상기 결과 평가부 133는 원본 데이터로부터 영상을 이해하기 위해 요구되는 이미지 객체별 중요도를 산출할 수 있다. 그리고 상기 원본 데이터와 상기 결과 데이터(사용자 기기 200에서 신경망 파일을 적용하여 해상도를 개선한 데이터)의 1단위(예, 1프레임, 1 프레임 묶음 등) 오차율이 기 설정된 값 이상임과 동시에 상기 1단위에 기 설정된 값 이상인 이미지 객체가 포함된 것으로 판단된 경우, 신경망 파일을 구성하는 weight, bias 값의 수정을 요청할 수 있다.According to an embodiment, the result evaluation unit 133 may calculate the importance of each image object required to understand an image from original data. In addition, the error rate of 1 unit (for example, 1 frame, 1 frame bundle, etc.) of the original data and the result data (data improved by applying a neural network file from the user device 200) is equal to or greater than a preset value, and is applied to the 1 unit. When it is determined that an image object having a value greater than or equal to a preset value is included, it is possible to request correction of the weight and bias values constituting the neural network file.

상기 이미지 객체별 중요도는 1 프레임 내 1 이미지 객체가 차지하는 사이즈 비율, 이미지 객체의 반복 비율 등에 기반하여 그 값이 산출될 수 있다. The importance of each image object may be calculated based on a size ratio occupied by one image object in one frame and a repetition ratio of the image object.

다양한 실시 예에 따라, 상기 결과 평가부 133는 다양한 실시 예에 따라 비디오 데이터의 콘텐츠 특성에 기반한 이미지 객체별 중요도를 산출할 수 있다. 상기 결과 평가부 133는 먼저 비디오 데이터의 콘텐츠 특성을 확인할 수 있는데, 이 때 사익 비디오 데이터의 콘텐츠 특성은 상기 자료 가공부 131에 의해 산출될 수 있다. 예컨대, 상기 비디오 데이터의 콘텐츠 특성은 비디오 데이터가 서버 100로 파일이 업로드된 경로에 대한 정보(예, 사용자 또는 관리자가 해당 비디오 파일을 서버 100로 업로드할 당시 선택한 폴더 명), 사용자 또는 관리자가 해당 비디오 파일을 서버 100에 업로드할 당시 입력한 콘텐츠 장르, 분야 등에 기반하여 산출될 수 있다. 그리고 산출된 비디오 데이터의 콘텐츠 특성은 해당 비디오 데이터의 메타 데이터로 관리될 수 있다. According to various embodiments, the result evaluation unit 133 may calculate the importance of each image object based on the content characteristics of the video data according to various embodiments. The result evaluation unit 133 may first check the content characteristics of the video data, and at this time, the content characteristics of the private video data may be calculated by the data processing unit 131. For example, the content characteristics of the video data include information on the path where the video data was uploaded to the server 100 (eg, the folder name selected when the user or the administrator uploaded the video file to the server 100), the user or the administrator When the video file is uploaded to the server 100, it can be calculated based on the content genre, field, etc. entered at the time. In addition, the content characteristics of the calculated video data may be managed as metadata of the corresponding video data.

이에 따라 상기 결과 평가부 133는 서버 100로 업로드 될 당시 추출되고 저장된 각 비디오 데이터의 콘텐츠 특성 정보를 확인할 수 있으며, 그에 따라 콘텐츠 특성 정보에 기반한 이미지 객체별 중요도를 산출할 수 있다. 예컨대, 상기 결과 평가부 133는 인물의 안면 객체, 텍스트 객체(예, 자막), 사물 객체 등으로 이미지 객체의 항목을 분류할 수 있고, 콘텐츠 특성 정보와 매칭되는 각 객체 항목(예, 드라마 콘텐츠에 대응하여 인물의 안면 객체를 매칭할 수 있음)을 판단할 수 있다.Accordingly, the result evaluation unit 133 can check the content characteristic information of each video data extracted and stored at the time of uploading to the server 100, thereby calculating the importance of each image object based on the content characteristic information. For example, the result evaluation unit 133 may classify items of image objects into facial objects, text objects (eg, subtitles), object objects, and the like, and each object item (eg, drama content) that matches content characteristic information. Correspondingly, it is possible to determine a face object of a person can be matched).

상기 사용 패턴 산출부 134는 사용자의 스트리밍 요청 기록, 다운로드 기록, 사용자 기기 200로부터 산출되어 전송되는 사용자 정보 등에 기반하여 사용자의 VOD 서비스에 대한 사용 패턴을 산출할 수 있다. The usage pattern calculation unit 134 may calculate a usage pattern for a user's VOD service based on a user's streaming request record, download record, and user information calculated and transmitted from the user device 200.

사용 패턴 산출부 134는 사용 패턴으로 사용자의 선호 장르, 선호 컨텐츠 특성, 주요 스트리밍 요청 시간대, 주요 시청 기기 등과 같은 항목을 산출할 수 있다. 상기 사용 패턴 산출부 134는 산출된 사용자의 사용 패턴 정보에 기반하여 사용자에게 적합한 화면 모드를 추천할 수 있다. 다양한 실시 예에 따라 화질 개선을 위한 신경망 파일은 범용으로 사용될 수 있으나 결과 데이터의 화면 모드(예, 영화 사이즈 모드, 자막 위주 모드, 특정 색상(RGB) 강화 모드, 인물 위주 해상도 개선 모드 등)에 따라 구분된 파일로 산출될 수도 있다. 즉, 사용자는 사용자 기기 200로 서버 100에서 제공 가능한 다수개의 화면 모드별 신경망 파일들 중 자신의 사용 패턴에 적합한 1개의 범용 신경망 파일을 다운로드하여 해상도 개선을 수행할 수 있다. 이를 위해 상기 사용 패턴 산출부 134는 사용자별 사용 패턴을 산출하고, 그에 대한 정보를 별도로 관리할 수 있다. 이후 해당 사용자가 스트리밍 요청할 경우, 해당 사용자의 사용 패턴에 적합한 모드의 신경망 파일을 생성하고 이를 제공할 수 있다. The usage pattern calculator 134 may calculate items such as a user's preferred genre, preferred content characteristics, main streaming request time zone, and main viewing device as a usage pattern. The usage pattern calculator 134 may recommend a screen mode suitable for the user based on the calculated usage pattern information of the user. According to various embodiments, a neural network file for image quality improvement may be used universally, but according to a screen mode (eg, a movie size mode, a subtitle-oriented mode, a specific color (RGB) enhancement mode, a person-oriented resolution improvement mode, etc.) It can also be calculated as a separate file. That is, the user may perform resolution improvement by downloading one general purpose neural network file suitable for his use pattern among a plurality of neural network files for each screen mode available from the server 100 to the user device 200. To this end, the usage pattern calculation unit 134 may calculate usage patterns for each user and separately manage information on the usage patterns. Thereafter, when the user requests streaming, a neural network file in a mode suitable for the user's usage pattern may be generated and provided.

다양한 실시 예에 따라 사용자의 사용 패턴에 적합한 범용 신경망 파일은 서버 100의 사용 패턴 산출부 134에서 산출한 사용자의 사용 패턴 정보에 기반하여 자동으로 설정될 수도 있고, 사용자에 의해 선택된 화면 모드에 기반하여 설정될 수도 있다. According to various embodiments, a general purpose neural network file suitable for a user's usage pattern may be automatically set based on the user's usage pattern information calculated by the usage pattern calculator 134 of the server 100, or based on a screen mode selected by the user. It may be set.

도 4는 본 발명의 실시 예에 따른 자료 가공부의 구성을 도시한 도면이다. 4 is a view showing the configuration of a data processing unit according to an embodiment of the present invention.

본 발명의 실시 예에 따른 상기 자료 가공부 131는 도 4에서 도시되는 바와 같이, 사이즈 변경부 131a, 영상 분할부 131b, 특징 영역 추출부 131c를 포함하여 구성될 수 있다. As illustrated in FIG. 4, the data processing unit 131 according to an embodiment of the present invention may include a size changing unit 131a, an image division unit 131b, and a feature region extraction unit 131c.

비디오 데이터의 화질 개선을 위한 신경망 파일을 산출하기 위해서는 신경망 학습부에 인풋 레이어에 투입할 입력 자료 내지는 입력할 자료의 특징값 등이 준비되어야 하는데, 상기 자료 가공부 131에서 인풋 레이어에 투입할 자료 및 데이터를 준비할 수 있다. In order to calculate a neural network file for improving the image quality of video data, the input data to be input to the input layer or feature values of the data to be input must be prepared in the neural network learning unit, and the data to be input to the input layer in the data processing unit 131 and Data can be prepared.

먼저, 상기 사이즈 변경부 131a는 비디오 데이터를 구성하는 이미지의 사이즈를 원본 사이즈로부터 기 설정된 값만큼 축소시키는 1차 변경 동작과 1차 변경 결과 이미지를 원본 사이즈에 대응하여 확대시키는 2차 변경 동작을 수행할 수 있다. 상기 사이즈 변경부 131a에서 수행하는 사이즈 변경 동작에 대하여 설명하기 위해 도 6을 참고하기로 한다. First, the size change unit 131a performs a first change operation to reduce the size of the image constituting the video data by a predetermined value from the original size, and a second change operation to enlarge the result image of the first change corresponding to the original size. can do. The size change operation performed by the size change unit 131a will be described with reference to FIG. 6.

도 6은 본 발명의 실시 예에 따른 사이즈 변경부에서 수행하는 사이즈 변경 동작의 예시를 도시한 도면이다. 6 is a diagram illustrating an example of a size change operation performed by a size change unit according to an embodiment of the present invention.

도 6에서 도시되는 바와 같이, 사이즈 변경부 131a는 원본 이미지 605를 소정의 비율로 축소하는 1차 변경 동작인 a동작을 수행할 수 있으며, a동작 결과 산출된 축소 이미지 610를 원본 이미지와 동일한 사이즈로 확대하는 2차 변경동작인 b동작을 수행할 수 있다. 가공 동작(1차 변경 동작(a) 및 2차 변경 동작(b)) 이후 생성된 이미지 615는 원본 이미지 605와 달리 해상도가 낮아지게 되며, 이는 이미지를 구성하는 픽셀이 수치의 증가 없이 사이즈만 확대된 것에 기인한다. As shown in FIG. 6, the size changing unit 131a may perform the operation a, which is the first change operation for reducing the original image 605 at a predetermined ratio, and the reduced image 610 calculated as a result of the operation a same size as the original image The second change operation, which is enlarged to, may be performed. The image 615 generated after the processing operation (1st change operation (a) and 2nd change operation (b)) has a lower resolution than the original image 605, which means that the pixels constituting the image are enlarged only in size without increasing the number. It is due to what has become.

이미지 615(이미지 610와 동일한 해상도)와 원본 이미지 605를 비교해 볼 때, 상기 이미지 615는 픽셀의 사이즈가 증가되었으며, 그에 따라 모자이크 형태의 격자가 생성된 모습을 보임을 알 수 있다. When comparing the image 615 (the same resolution as that of the image 610) with the original image 605, it can be seen that the image 615 has an increased pixel size, and thus a mosaic-like grid is generated.

본 발명의 실시 예에 따른 서버 100는 저화질인 이미지 615로부터 원본 이미지 605로 해상도 수준을 변환하기 가공 이미지 615와 원본 이미지 605를 기반으로 신경망 학습을 수행할 수 있다. 이를 위해 상기 자료 가공부 131의 사이즈 변경부 131a는 원본 이미지의 사이즈를 기 설정된 값만큼 축소하는 1차 변경 동작과 1차 변경 동작에 의해 생성된 축소 이미지를 원본 이미지와 동일한 사이즈로 확대하는 2차 변경 동작을 수행할 수 있다. 아울러, 상기 자료 가공부 131는 원본 이미지와, 1차 변경 동작 및 2차 변경 동작에 의해 생성된 가공 이미지를 학습용 데이터로 추출하는 동작을 수행할 수 있다. The server 100 according to an embodiment of the present invention may perform neural network learning based on the processed image 615 and the original image 605 to convert the resolution level from the low-quality image 615 to the original image 605. To this end, the size changing unit 131a of the data processing unit 131 reduces the size of the original image by a predetermined value and a second change that enlarges the reduced image generated by the first change operation to the same size as the original image. The change operation can be performed. In addition, the data processing unit 131 may perform an operation of extracting the original image and the processed image generated by the first change operation and the second change operation as learning data.

다양한 실시 예에 따라 신경망 학습 수행 전, 상기 자료 가공부 131는 가공 이미지(사이즈 축소 후 확대한 이미지)에 생성된 격자의 패턴 정보(위치 정보, 색상 정보 등)을 추출하고 이에 대한 데이터를 신경망 학습을 위한 인풋 데이터로 활용할 수 있다. Before performing neural network learning according to various embodiments, the data processing unit 131 extracts pattern information (location information, color information, etc.) of the grid generated on the processed image (the image enlarged after reduction in size) and learns the data about the grid information. It can be used as input data for.

상기 영상 분할부 131b는 서버 100에서 보유하고 있는 비디오 데이터들을 기 설정된 조건에 기반하여 분할하는 동작을 수행할 수 있다. 이 때 상기 영상 분할부 131b는 비디오 데이터를 프레임 수에 기초하여 분할하는 동작을 수행할 수 있다. 또는 상기 영상 분할부 131b는 비디오 데이터를 이미지 객체의 일치율에 기반하여, 일치율이 기 설정된 이상인 프레임들끼리 묶어 묶음(청크;Chunk)으로 분할할 수 있다. 예컨대, 분할 단위는 동일 인물이 촬영된 또한 상기 영상 분할부 131b는 서버 100에서 사용자 기기 200로 스트리밍 서비스를 제공할 시 사용자 기기 200로 전달되는 단위별로 비디오 데이터를 다수개의 청크로 분할할 수 있다. The image division unit 131b may perform an operation of dividing video data held by the server 100 based on a preset condition. In this case, the image division unit 131b may perform an operation of dividing video data based on the number of frames. Alternatively, the image splitter 131b may divide video data into bundles (chunks) by bundling frames having a matching rate higher than or equal to a preset value based on a matching rate of an image object. For example, in the division unit, when the same person is photographed and the image division unit 131b provides a streaming service from the server 100 to the user device 200, video data may be divided into a plurality of chunks for each unit delivered to the user device 200.

상기 영상 분할부 131b에서 분할된 청크들은 인공지능 신경망 학습 및 해상도 향상 결과를 평가할 시 활용될 수 있다. The chunks segmented by the image segmentation unit 131b may be used when evaluating AI neural network learning and resolution enhancement results.

상기 특징영역 추출부 131c는 비디오 데이터의 각 프레임 또는 분할 단위를 기준으로 특징 이미지가 포함된 특징 영역을 추출하는 동작을 수행할 수 있다. 상기특징영역 추출부 131c는 각 프레임 또는 분할 단위에서 기 설정된 특징 영역 요건을 갖추는 이미지 영역의 존재 여부를 판단할 수 있다. 상기 특징 영역 요건은 예컨대, 중요도가 기 설정된 값 이상인 것으로 판단되는 이미지 객체가 존재하는 영역을 포함할 수 있다. 예를 들면, 상기 특징 영역 추출부 131c는 드라마 콘텐츠에서 주인공의 얼굴 이미지에 대하여 이미지 객체 중요도를 높게 설정할 수 있으며, 그에 따라 특징 영역은 주인공의 얼굴 이미지가 표시되는 영역(예, 누끼 영역; 배경과 구분되는 객체 표시 영역)으로 설정될 수 있다. The feature region extracting unit 131c may perform an operation of extracting a feature region including a feature image based on each frame or division unit of video data. The feature region extracting unit 131c may determine whether an image region having a predetermined feature region requirement exists in each frame or division unit. The feature area requirement may include, for example, an area in which an image object judged to have an importance level equal to or greater than a preset value. For example, the feature region extracting unit 131c may set a high image object importance for the face image of the main character in the drama content, and accordingly, the feature region may be a region in which the face image of the main character is displayed (eg, quilted region; background and Object display area).

상기 특징영역 추출부 131c는 이미지 내 특징 영역 뿐 아니라, 비디오 데이터의 전체 프레임 내지 이미지들 중 특정 프레임, 또는 특정 분할 단위를 추출하는 동작을 수행할 수도 있다. The feature region extracting unit 131c may perform an operation of extracting not only a feature region in an image, but also a specific frame or a specific division unit among all frames or images of video data.

이러한 특징 영역 추출부 131c에서 추출하는 특징 영역에 대하여는 학습 반복 횟수를 증가시키도록 학습 중요도 가중치를 설정할 수 있다. For the feature region extracted by the feature region extraction unit 131c, a learning importance weight may be set to increase the number of learning iterations.

도 5는 본 발명의 실시 예예 따른 신경망 학습부의 구성을 도시하는 도면이다. 5 is a view showing the configuration of a neural network learning unit according to an embodiment of the present invention.

본 발명의 실시 예에 따른 신경망 학습부 132는 도 5에서 도시되는 바와 같이, 파라미터 설정부 132a, 신경망 파일 산출부 132b를 포함하여 구성될 수 있다. As illustrated in FIG. 5, the neural network learning unit 132 according to an embodiment of the present invention may include a parameter setting unit 132a and a neural network file calculation unit 132b.

그리고 상기 신경망 학습부 132는 인공신경망을 기반으로 한 딥러닝 학습 과정을 수행할 수 있고 그에 따라 해상도가 낮은 비디오 데이터의 화질 개선을 위해 요구되는 파일인 신경망 파일을 생성할 수 있다. In addition, the neural network learning unit 132 may perform a deep learning learning process based on an artificial neural network, and accordingly may generate a neural network file, which is a file required for improving the quality of video data having low resolution.

인공신경망을 기반으로 한 딥러닝 학습 동작에 대하여 간략히 설명하기 위해 도 7을 참조하기로 한다. Referring to FIG. 7 for a brief description of the deep learning learning operation based on the artificial neural network.

도 7은 본 발명의 실시 예에 따른 딥러닝 학습 동작의 예시를 설명하기 위한 도면이다. 7 is a view for explaining an example of a deep learning learning operation according to an embodiment of the present invention.

도 7을 살펴보면, 인풋 레이어, 히든 레이어, 아웃풋 레이어를 포함하는 신경망 모델인 퍼셉트론이 개시되고 있다. 일 실시 예에 따라 본 발명에서 개시되는 신경망 학습은 적어도 하나의 히든 레이어를 포함하도록 구현된 멀티레이어 퍼셉트론을 이용하여 수행될 수 있다. 기본적으로, 퍼셉트론은 다수의 신호를 입력(input)받아서 하나의 신호를 출력(output)할 수 있다. Referring to FIG. 7, a perceptron that is a neural network model including an input layer, a hidden layer, and an output layer is disclosed. According to an embodiment, the neural network learning disclosed in the present invention may be performed using a multilayer perceptron implemented to include at least one hidden layer. Basically, the perceptron can receive a plurality of signals and output one signal.

인공신경망 모델을 이용한 연산 과정에서 요구되는 weight와 bias는 역전파 기법을 통해 적정 값으로 산출될 수 있다. 본 발명의 실시 예에 따른 인공신경망 학습 과정은 이러한 역전파 기법을 통해 적정 weight 데이터와 bias 데이터를 추출하게 된다. 본원 발명에서 해상도 개선을 수행하기 위해 인공신경망을 통해 산출하는 신경망 파일은 추출된 적정 weight 데이터와 bias 데이터에 관한 정보 등을 포함할 수 있다. The weight and bias required in the calculation process using the artificial neural network model can be calculated as an appropriate value through a back propagation technique. The artificial neural network learning process according to an embodiment of the present invention extracts appropriate weight data and bias data through such a back propagation technique. In the present invention, the neural network file calculated through the artificial neural network in order to perform resolution improvement may include information on extracted appropriate weight data and bias data.

역전파 기법을 통해 수행되는 인공신경망을 통한 학습방법 및 파라미터 수정에 관하여는 공지된 기술이므로 자세한 설명은 생략하기로 한다. Since the learning method and parameter modification through the artificial neural network performed through the back propagation technique are known techniques, detailed description thereof will be omitted.

바람직하게는, 본 발명의 실시 예에 따른 신경망 학습부 132는 인공신경망 모델 중 CNN(Convolution Neural Network)모델을 이용하여 학습을 수행할 수 있다. CNN의 경우 각 레이어의 입출력 데이터의 형상을 유지한다는 점, 이미지의 공간 정보를 유지하면서 인접 이미지와의 특징을 효과적으로 인식하는 점, 복수의 필터로 이미지의 특징 추출 및 학습하는 점 등의 특징이 있다. Preferably, the neural network learning unit 132 according to an embodiment of the present invention may perform learning using a convolution neural network (CNN) model among artificial neural network models. In the case of CNN, there are features such as maintaining the shape of input/output data of each layer, effectively recognizing features with adjacent images while maintaining spatial information of the image, and extracting and learning features of images with multiple filters. .

기본적인 CNN의 동작 방식은 하나의 이미지를 필터(filter)를 통해 일부분의 영역을 하나씩 스캔하여 그것에 대한 값을 찾아내면서 학습시키는 방법을 사용할 수 있다. 이 때 적절한 Weight값을 갖는 필터를 찾는 것이 CNN의 목표가 된다. CNN에서 필터는 일반적으로 (4,4)나 (3,3)과 같은 정사각 행렬로 정의될 수 있다. 본 발명의 실시 예에 따른 CNN용 필터의 설정값은 제한되지 않는다. 상기 필터는 입력 데이터를 지정된 간격으로 순회하면서 합성곱을 계산할 수 있다. The basic operation method of CNN may be a method of learning an image by scanning a portion of a region one by one through a filter and finding a value for it. At this time, the goal of CNN is to find a filter with an appropriate weight value. In CNN, filters can be generally defined as square matrices such as (4,4) or (3,3). The set value of the filter for CNN according to an embodiment of the present invention is not limited. The filter can compute the composite product while traversing the input data at a specified interval.

본 발명의 실시 예에 따른 파라미터 설정부 132a는 이러한 CNN을 통해 영상 데이터에 대한 학습 과정을 수행하기 위한 초기 파라미터 값을 설정할 수 있다. The parameter setting unit 132a according to an embodiment of the present invention may set initial parameter values for performing a learning process for image data through the CNN.

다양한 실시 예에 따라 상기 파라미터 설정부 132a는 원본 데이터의 프레임 사이즈, 가공 데이터 생성 시 원본 데이터에 설정된 축소 비율 등을 판단하고, 이에대응하는 초기 파라미터를 설정할 수 있다. According to various embodiments of the present disclosure, the parameter setting unit 132a may determine a frame size of the original data, a reduction ratio set in the original data when generating the processed data, and set initial parameters corresponding thereto.

또한 다양한 실시 예에 따라 상기 파라미터 설정부 132a는 인공 신경망 학습을 위해 요구되는 이미지 데이터의 종류를 특정하고, 해당 이미지 데이터를 학습 데이터로 투입하도록 요청할 수 있다. 예컨대, 상기 파라미터 설정부 132a는 장르별 학습 중요도 가중치가 설정되었는지 여부를 판단할 수 있고, 해당 학습 동작이 완료되기 전 학습 중요도 가중치가 설정된 이미지를 추가로 요청할 수 있다. 구체적으로, 상기 파라미터 설정부 132a는 드라마, 영화 등의 인물 비중이 높은 콘텐츠의 경우, 주요 인물에 대하여 반복 학습을 수행하기 위해 추가로 관련 이미지 객체가 포함된 프레임 정보를 학습 데이터로써 요청할 수 있다. Also, according to various embodiments, the parameter setting unit 132a may specify a type of image data required for learning an artificial neural network, and may request that the corresponding image data be input as training data. For example, the parameter setting unit 132a may determine whether a learning importance weight for each genre is set, and may further request an image in which the learning importance weight is set before the corresponding learning operation is completed. Specifically, in the case of content having a high proportion of people, such as a drama or a movie, the parameter setting unit 132a may request frame information including an associated image object as learning data in order to perform repetitive learning on a main character.

상기 신경망 파일 산출부 132b는 기 설정된 인공신경망 모델에 자료 가공부 131에 의해 가공된 자료를 투입하여 학습시키는 동작을 수행할 수 있다. 이 때 상기 신경망 파일 산출부 132b는 원본 데이터와 가공(기 설정된 비율로 축소) 데이터를 CNN 알고리즘에 투입하여 원본데이터에서 가공데이터로 변경되는 과정에서 생성된 격자에 대한 정보(격자 생성 패턴 정보)를 추출할 수 있다. 보다 구체적으로, 상기 신경망 파일 산출부 132b에서 산출하는 격자 생성 패턴 정보는 원본 데이터와 가공 데이터의 차이점에 기반하여 산출될 수 있으며, 격자의 위치, 격자의 색상 변화에 대한 패턴정보 등을 포함할 수 있다. The neural network file calculation unit 132b may perform an operation of inputting and learning data processed by the data processing unit 131 to a preset artificial neural network model. At this time, the neural network file calculating unit 132b inputs original data and processed (reduced to a predetermined ratio) data into the CNN algorithm to obtain information about the grid generated in the process of changing from original data to processed data (lattice generation pattern information). Can be extracted. More specifically, the grid generation pattern information calculated by the neural network file calculation unit 132b may be calculated based on a difference between original data and processing data, and may include pattern information on a grid position and color change of the grid. have.

상기 신경망 파일 산출부 132b는 상기 산출된 격자 생성 패턴 정보를 기반으로 가공데이터에서 격자를 소거하여 원본 데이터로 이미지를 복원시키는 데 요구되는 신경망 파일을 생성할 수 있다. 상기 신경망 파일 산출부 132b는 저화질 비디오(가공 데이터)데이터를 인공신경망 알고리즘에 인풋 데이터로 입력하여 연산을 수행한 결과 출력되는 데이터의 해상도가 원본 데이터와 기 설정된 값 이상의 일치율을 보이는 경우에 1 데이터의 학습 과정을 종료할 수 있다. 이와 유사한 방법으로 상기 신경망 파일 산출부 132b는 무수히 다양한 종류의 가공데이터를 인풋 레이어에 입력하고 인공 신경망 연산 결과 원본데이터와의 일치율을 판단하는 동작을 반복적으로 수행할 수 있다. The neural network file calculator 132b may generate a neural network file required to restore an image to original data by erasing the grid from the processed data based on the calculated grid generation pattern information. The neural network file calculation unit 132b inputs low-quality video (processed data) data as input data to the artificial neural network algorithm, and when the resolution of the output data shows a matching rate of more than a preset value with the original data, 1 data of You can end the learning process. In a similar manner, the neural network file calculator 132b may repeatedly perform an operation of inputting a myriad of different types of processed data into an input layer and determining a matching rate with original data as a result of artificial neural network calculation.

다양한 실시 예에 따라 상기 신경망 파일 산출부 132b는 다양한 종류의 원본 데이터와 가공 데이터를 투입하여 특정 사이즈의 이미지를 축소하는 경우 발생되는 격자 생성 패턴 정보를 산출할 수 있다. 이에 따라 상기 신경망 파일 산출부 132b는 특정 이미지에서 뿐 아니라, 다양한 이미지들에서 이미지 축소 시 공통적으로 발생되는 격자 생성 패턴 정보를 산출할 수 있다.According to various embodiments of the present disclosure, the neural network file calculator 132b may calculate grid generation pattern information generated when an image of a specific size is reduced by inputting various types of original data and processing data. Accordingly, the neural network file calculator 132b may calculate grid generation pattern information that is commonly generated when an image is reduced in various images as well as in a specific image.

상기 신경망 파일 산출부 132b는 가공 데이터를 인풋 레이어로 투입하고 아웃풋 데이터와 원본 데이터와의 일치율이 기 설정된 값 이상인 경우에, 해당 인공신경망 알고리즘에 설정된 파라미터들(weight, bias, 학습 속도(learning rate) 등)및 레이어별 활성화 함수 등의 정보를 포함하여 신경망 파일을 생성할 수 있다. The neural network file calculating unit 132b inputs the processed data into the input layer and when the matching rate between the output data and the original data is greater than or equal to a preset value, parameters (weight, bias, learning rate) set in the corresponding artificial neural network algorithm Etc.) and layer-specific activation functions.

즉, 상기 신경망 파일 산출부 132b에서 산출되는 신경망 파일을 사용자 기기 200에 전달하면, 사용자 기기 200는 이를 수신하여 저화질의 비디오 데이터를 상기 신경망 파일에 기반한 정보를 토대로 인공 신경망 테스트를 수행할 수 있고 그에 따라 비디오 데이터의 해상도 개선 기능을 수행할 수 있다. That is, when the neural network file calculated by the neural network file calculating unit 132b is delivered to the user device 200, the user device 200 may receive it and perform low-quality video data based on the information based on the neural network file, thereby performing an artificial neural network test. Accordingly, it is possible to perform a function of improving the resolution of video data.

도 8은 본 발명의 실시 예에 따른 사용자 기기의 구성을 도시한 도면이다. 8 is a diagram showing the configuration of a user equipment according to an embodiment of the present invention.

본 발명의 실시 예에 따른 사용자 기기 200는 도 8에서 도시되는 바와 같이, 통신부 210, 저장부 220, 입력부 230, 표시부 240, 카메라부 250 및 제어부 260를 포함하여 구성될 수 있다. 그리고 상기 제어부 260는 비디오 재생부 261, 해상도 변환부 262, 사용자 정보 수집부 263를 포함하여 구성될 수 있다. As illustrated in FIG. 8, the user device 200 according to an embodiment of the present invention may include a communication unit 210, a storage unit 220, an input unit 230, a display unit 240, a camera unit 250, and a control unit 260. In addition, the control unit 260 may include a video playback unit 261, a resolution conversion unit 262, and a user information collection unit 263.

본 발명의 실시 예에 따른 상기 통신부 210는 서버100로부터 신경망 파일 및 비디오 데이터를 수신하기 위한 통신 기능을 수행할 수 있다. 나아가 상기 통신부 210는 사용자 기기 200에서 수집된 피드백 정보를 서버 100로 전송하기 위한 통신 동작을 수행할 수 있다. The communication unit 210 according to an embodiment of the present invention may perform a communication function for receiving neural network files and video data from the server 100. Furthermore, the communication unit 210 may perform a communication operation for transmitting feedback information collected from the user device 200 to the server 100.

상기 저장부 220는 본 발명의 실시 예에 따라 상기 서버 100로부터 수신된 신경망 파일 및 비디오 데이터를 저장할 수 있다. 다양한 실시 예예 따라 상기 저장부 220는 기 설정된 기준치 이하의 해상도를 갖는 저화질 데이터에 신경망 파일을 적용하여 인공신경망 알고리즘 연산을 구동한 결과값인 결과 데이터(해상도가 개선된 데이터)를 저장 또는 임시 저장할 수 있다. The storage unit 220 may store neural network files and video data received from the server 100 according to an embodiment of the present invention. According to various embodiments of the present disclosure, the storage unit 220 may store or temporarily store result data (data with improved resolution) which is a result of driving an artificial neural network algorithm operation by applying a neural network file to low-quality data having a resolution below a preset reference value. have.

상기 저장부 220는 생성된 피드백 정보를 저장할 수 있다. 또는 상기 저장부 220는 피드백 정보를 산출하는데 요구되는 정보를 저장할 수 있다. 예컨대, 인공신경망 알고리즘의 연산 결과로 생성된 결과 데이터(해상도 개선된 데이터)들 중 피드백 정보로 제공하기 위해 일 프레임을 추출하는 경우, 상기 추출에 대한 기준 정보(예, 동영상 재생 중 감지되는 사용자의 안면의 찡그림 여부 및 안면의 찡그림이 감지되는 시점의 프레임을 추출하는 내용 등)를 저장할 수 있다. The storage unit 220 may store the generated feedback information. Alternatively, the storage unit 220 may store information required to calculate feedback information. For example, when one frame is extracted to provide as feedback information among result data (resolution-enhanced data) generated as a result of computation of an artificial neural network algorithm, reference information for the extraction (eg, a user detected during video playback) It is possible to save whether the facial distortion is detected and the contents of extracting the frame at the time when the facial distortion is detected.

상기 입력부 230는 콘텐츠 장르, 콘텐츠 명칭 등에 관한 사용자 선택 정보를 입력받을 수 있다.The input unit 230 may receive user selection information regarding a content genre, a content name, and the like.

상기 표시부 240는 서버 100로부터 수신된 비디오 데이터 또는 상기 비디오 데이터의 해상도 개선 동작 이후의 결과 데이터가 재생될 시 해당 비디오의 재생 화면을 표시할 수 있다. When the video data received from the server 100 or the result data after the resolution improvement operation of the video data is played, the display unit 240 may display a playback screen of the video.

상기 카메라부 250는 사용자 요청에 대응하여 사진 및 동영상을 촬영할 수 있다. 상기 카메라부 250는 촬영된 사진 및 동영상 등의 이미지 정보는 상기 서버 100 또는 기타 웹 서버로 업로드될 수 있다. 또는 상기 카메라부 250를 통해 촬영된 이미지 정보는 타 사용자 기기로 전송될 수 있다. The camera unit 250 may take pictures and videos in response to a user request. The camera unit 250 may upload image information such as photographs and videos taken to the server 100 or other web servers. Alternatively, image information photographed through the camera unit 250 may be transmitted to another user device.

상기 카메라부 250는 사진 또는 동영상 등의 이미지 정보를 촬영할 경우 먼저 사용자 요청에 기반하여 해상도를 결정할 수 있다. 일 실시 예에 따라, 상기 카메라부 250는 화질 개선을 위한 범용 신경망파일의 탑재 유무에 기반하여, 촬영되는 사진 또는 동영상등의 해상도를 기 설정된 수준이하로 낮춰 저장하도록 할 수 있다. When taking image information such as a photo or video, the camera unit 250 may first determine a resolution based on a user request. According to an embodiment of the present disclosure, the camera unit 250 may lower the resolution of the photographed picture or video to a level below a predetermined level and store it based on the presence or absence of a general purpose neural network file for improving image quality.

다양한 실시 예에 따라 상기 카메라부 250는 해상도가 개선된 결과 데이터를 재생하는 중 기 설정된 기준 간격에 따라 정기적으로 사용자의 안면을 촬영하는 카메라를 동작시킬 수 있다. 사용자의 안면 표정 내지는 미간의 찡그림 여부를 판단할 수 있으며, 그에 대응하여 피드백 정보를 추출할 수 있다. According to various embodiments of the present disclosure, the camera unit 250 may operate a camera that regularly photographs the user's face according to a preset reference interval while reproducing data having improved resolution. It is possible to determine whether the user has a facial expression or a frown, and corresponding feedback information can be extracted.

상기 제어부 260는 서버 100로부터 다운로드되는 비디오 파일의 해상도 변환 및 재생을 수행할 수 있다. 상기 제어부 260는 구체적으로, 비디오 재생부 261, 해상도 변환부 262, 사용자 정보 수집부 263을 포함하여 구성될 수 있다. The control unit 260 may perform resolution conversion and reproduction of a video file downloaded from the server 100. Specifically, the control unit 260 may include a video playback unit 261, a resolution conversion unit 262, and a user information collection unit 263.

먼저, 본 발명의 실시 예에 따른 상기 비디오 재생부 261는 비디오 파일을 플레이하여 상기 표시부 240에 표시하도록 제어할 수 있다. 상기 비디오 재생부 261는 출력 요청된 비디오 데이터의 해상도를 판단할 수 있다. 상기 비디오 재생부 261는 실행 요청된 비디오 데이터의 해상도가 기 설정된 수준 이하의 해상도 개선이 요구되는 상태로 판단되는 경우, 해상도 변환부 262에 해상도 개선을 요청할 수 있다. 이후 상기 비디오 재생부 261는 상기 해상도 변환부 262를 통해 해상도가 개선된 파일을 재생할 수 있다. First, the video playback unit 261 according to an embodiment of the present invention can be controlled to play a video file and display it on the display unit 240. The video playback unit 261 may determine the resolution of the video data requested to be output. When the resolution of the video data requested to be executed is determined to require a resolution improvement below a predetermined level, the video playback unit 261 may request the resolution conversion unit 262 to improve the resolution. Thereafter, the video playback unit 261 may play a file with improved resolution through the resolution conversion unit 262.

상기 해상도 변환부 262는 현재 이미지 데이터(사진 및 동영상)의 해상도 수준과 사용자가 요청하는 목표 해상도의 수준을 판단할 수 있다. 이 때 상기 해상도 변환부 262는 신경망 파일의 기 보유 여부를 판단하고, 신경망 파일이 존재하지 않을 경우, 서버 100에 요청하여 상기 서버100로부터 범용 신경망 파일을 다운로드할 수 있다. 이후 상기 해상도 변환부 262는 상기 범용 신경망 파일에 기반하여 인공신경망 알고리즘을 구동하여 저화질 데이터를 원하는 수준의 해상도로 변환하는 동작을 수행할 수 있다. The resolution converter 262 may determine the resolution level of the current image data (picture and video) and the target resolution level requested by the user. At this time, the resolution converter 262 determines whether or not the neural network file is retained, and if the neural network file does not exist, requests the server 100 to download the general-purpose neural network file from the server 100. Thereafter, the resolution converter 262 may perform an operation of converting low-quality data into a desired level of resolution by driving an artificial neural network algorithm based on the general-purpose neural network file.

상기 사용자 정보 수집부 263는 피드백을 위해 사용자 정보를 수집할 수 있다. 상기 사용자 정보 수집부 263는 인공신경망 알고리즘에 기반하여 해상도 개선이 이루어진 이후의 결과 데이터 중 피드백 정보로 활용할 프레임을 선정하고 이를 저장할 수 있다. 예컨대, 상기 사용자 정보 수집부 263는 사용자가 해상도 개선이 이루어진 비디오 데이터를 재생하는 동안 사용자의 안면 정보를 획득할 수 있으며, 사용자의 미간 찌푸림 등의 이벤트가 발생된 경우, 상기 이벤트가 발생된 시점에 표시중인 비디오 프레임 정보를 수집할 수 있다. The user information collection unit 263 may collect user information for feedback. The user information collection unit 263 may select a frame to be used as feedback information among result data after resolution improvement is performed based on an artificial neural network algorithm and store it. For example, the user information collection unit 263 may acquire the user's facial information while the user plays the video data with improved resolution. The video frame information being displayed can be collected.

또한 상기 사용자 정보 수집부 263는 기준치 이상 재생되는 콘텐츠의 항목, 장르 등의 콘텐츠 정보를 수집할 수 있다. 예컨대, 상기 사용자 정보 수집부 263는 다큐멘터리(사진 이미지 기반) 대비 애니메이션의 재생 빈도, 자막이 존재하는 콘텐츠 대비 자막 없는 콘텐츠의 재생 빈도 등을 판단하고 이에 대한 정보를 수집할 수 있다. 상기 사용자 정보 수집부 263에서 수집된 재생 정보는 서버 100에 제공될 수 있으며, 서버 100에서는 이를 기반으로 사용자의 사용 패턴 정보를 산출할 수 있다.In addition, the user information collection unit 263 may collect content information such as items and genres of content reproduced above a reference value. For example, the user information collection unit 263 may determine a refresh rate of animation compared to a documentary (based on a photographic image) and a refresh rate of content without subtitles compared to content with subtitles, and collect information about the animation. The reproduction information collected by the user information collection unit 263 may be provided to the server 100, and the server 100 may calculate usage pattern information of the user based on this.

도 9는 본 발명의 실시 예에 따른 화질 개선용 신경망 파일의 생성 및 전송 과정을 도시한 도면이다. 9 is a diagram illustrating a process of generating and transmitting a neural network file for improving image quality according to an embodiment of the present invention.

본 발명의 실시 예에 따른 서버 100는 도 9에서 도시되는 바와 같이, 해상도 개선을 위한 범용 신경망 파일을 생성하고 사용자 기기 200로 전송할 수 있다. As illustrated in FIG. 9, the server 100 according to an embodiment of the present invention may generate a general purpose neural network file for resolution improvement and transmit it to the user device 200.

구체적으로 살펴보면, 먼저, 상기 서버 100는 획득된 비디오 데이터를 가공하는 705동작을 수행할 수 있다. 상기 705동작은 인공 신경망 알고리즘에 학습시키기 위한 데이터를 생성하기 위한 동작이며, 학습용으로 적합한 데이터를 생성하기 위해 비디오 데이터의 이미지 사이즈를 축소하는 가공을 수행할 수 있다. Specifically, first, the server 100 may perform operation 705 of processing the acquired video data. The operation 705 is an operation for generating data for training in an artificial neural network algorithm, and processing to reduce the image size of video data may be performed to generate data suitable for learning.

일 실시 예에 따라 상기 705동작은 비디오 파일을 구성하는 각 프레임별 가공 동작(사이즈 축소)일 수 있다. 또는 상기 705동작은 비디오 파일의 분할 단위별 샘플링을 통해 인공신경망 학습에 투입될 프레임을 선택한 후, 해당 프레임에 대하여 가공(기 설정된 비율을 곱하여 사이즈 축소)하는 동작일 수 있다. 예를 들어, 전체 프레임 수가 2400장인 비디오 파일의 경우 24개의 프레임이 한 단위인 청크가 100개로 구성되어 있다고 가정하면, 서버 100는 해당 비디오 분할 단위당 1프레임을 샘플링하여 총 100개의 프레임을 학습용 데이터로 가공할 수 있다.According to an embodiment, the operation 705 may be a processing operation (reduction in size) for each frame constituting a video file. Alternatively, the operation 705 may be an operation of selecting a frame to be input for artificial neural network learning through sampling for each unit of division of a video file, and then processing (reducing the size by multiplying a predetermined ratio) with respect to the corresponding frame. For example, in the case of a video file having a total number of frames of 2400, assuming that 24 chunks are composed of 100 chunks as one unit, the server 100 samples 1 frame per video division unit, and total 100 frames are used as training data. It can be processed.

705동작 이후 상기 서버 100는 가공된 비디오 데이터 기반 격자 생성 패턴 정보를 획득하는 710동작을 수행할 수 있다. 상기 가공된 비디오 데이터는 원본 데이터(기 설정된 해상도 수준 이상인 데이터에 한하여 학습용 원본 데이터로 지정)를 기 설정된 비율로 사이즈를 축소시킨 데이터를 의미할 수 있다. After operation 705, the server 100 may perform operation 710 for obtaining grid generation pattern information based on the processed video data. The processed video data may refer to data obtained by reducing the size of the original data (designated as learning original data only for data having a predetermined resolution level or higher) at a preset ratio.

일 이미지의 사이즈가 축소되면 동일 영역 내 표시될 픽셀의 수가 감소하게 되면서 자동적으로 해상도가 감소하게 된다. 이에 따라 이미지 사이즈를 축소시키게 되면 추후 다시 원본 이미지 사이즈로 확대하게 되더라도 감소된 해상도 수준을 유지하게 되기 때문에 격자 현상이 발생되게 된다. When the size of one image is reduced, the number of pixels to be displayed in the same area decreases, and the resolution automatically decreases. Accordingly, when the image size is reduced, even if the image size is enlarged again later, the reduced resolution level is maintained, and thus a grid phenomenon occurs.

서버 100는 이러한 격자 현상이 발생된 가공 이미지와 원본 이미지를 비교하여 격자가 발생되는 패턴 정보를 획득할 수 있다. 획득된 격자 발생 패턴 정보는 추후 격자 현상이 발생된 이미지에서 격자를 제거하여 해상도를 복원하기 위해 사용될 수 있다.The server 100 may obtain pattern information on which a grid is generated by comparing the original image with the processed image where the grid is generated. The obtained lattice generation pattern information may be used to restore resolution by removing the lattice from the image where the lattice phenomenon is generated later.

격자 생성 패턴 정보를 획득하는 710동작 이후, 상기 서버 100는 격자 생성 패턴 정보에 기반하여 화질 개선용 신경망 파일을 생성하는 715동작을 수행할 수 있다. 상기 신경망 파일은 콘텐츠 종류에 관계없이 범용으로 적용 가능하도록 생성될 수 있는데, 이를 위해 다양한 종류의 이미지 및 콘텐츠를 활용하여 학습시킬 수 있다. 그리고 서버 100는 격자가 생성된 저화질 이미지 데이터에서 격자를 제거하여 원본 이미지로 복원하는 데 요구되는 인공신경망 알고리즘 정보(레이어별 적용된 활성화 함수, weight, bias 등)을 산출하여 신경망 파일을 생성할 수 있다. After operation 710 of acquiring grid generation pattern information, the server 100 may perform operation 715 of generating a neural network file for improving image quality based on the grid generation pattern information. The neural network file may be generated to be universally applicable regardless of the content type, and for this purpose, various types of images and content may be used for training. In addition, the server 100 may generate a neural network file by calculating artificial neural network algorithm information (activation function applied to each layer, weight, bias, etc.) required to remove the grid from the generated low-quality image data and restore the original image. .

결과값으로 제공되는 weight, bias 등의 요소는 최종 산출된 결과물(화질 개선된 데이터)과 원본 이미지 데이터의 일치율에 기반하여 결정될 수 있다. 상기 서버 100는 상기 일치율이 기 설정된 수준 이상인 경우 해당 인공신경망 연산 시 적용했던 weight와 bias 정보를 범용 신경망 파일에 포함시킬 정보로써 확정할 수 있다. Factors such as weight and bias provided as a result value may be determined based on a matching ratio between the final result (image quality improved data) and the original image data. When the coincidence rate is equal to or greater than a predetermined level, the server 100 may determine weight and bias information applied when calculating the artificial neural network as information to be included in the general purpose neural network file.

이후 상기 서버 100는 사용자 기기 200로부터 비디오 데이터에 대한 스트리밍 요청(또는 다운로드 요청)이 수신됨을 확인하는 720동작을 수행할 수 있다. 사용자 요청에 대응하여 상기 서버 100는 사용자 기기 200에 생성된 화질 개선용 신경망 파일과 함께 요청된 비디오 데이터의 저화질 버전을 전송하는 725 동작을 수행할 수 있다. 이에 따라 사용자 기기 200는 비디오의 저화질 버전을 수신하므로 비교적 네트워크 환경에 의한 제약없이 수월하게 콘텐츠를 수신할 수 있으며, 함께 수신한 범용 신경망 파일을 상기 수신한 저화질 버전의 비디오 데이터에 적용함을 통해 사용자가 원하는 수준의 고화질 영상을 재생할 수 있게 된다. Thereafter, the server 100 may perform operation 720 to confirm that a streaming request (or download request) for video data is received from the user device 200. In response to a user request, the server 100 may perform operation 725 of transmitting a low quality version of the requested video data together with a neural network file for improving image quality generated in the user device 200. Accordingly, since the user device 200 receives the low quality version of the video, the content can be easily received without limitation by a relatively network environment, and the user through the general neural network file received together is applied to the received low quality version of video data. Is able to reproduce the high-definition video of the desired level.

상기 도면에 도시되지는 않았지만, 다양한 실시 예에 따라 사용자 기기 200는 재생되거나 변환이 완료된 비디오 데이터의 상태에 대한 피드백 정보를 서버 100에 전송할 수 있다. 이에 따라 상기 사용자 기기 200는 기준치 이상의 빈도로 재생되는 콘텐츠 장르, 콘텐츠 특징, 주요 재생 요청 시간대 등의 사용자별 재생 관련 정보를 산출할 수 있으며, 이를 상기 서버 100로 전송할 수 있다. Although not shown in the figure, according to various embodiments, the user device 200 may transmit feedback information on the state of video data that has been played back or converted to the server 100. Accordingly, the user device 200 may calculate playback-related information for each user, such as a content genre, a content characteristic, and a main playback request time, which are reproduced at a frequency equal to or greater than a reference value, and may be transmitted to the server 100.

나아가, 상기 사용자 기기 200는 해상도 개선 동작이 완료된 결과 데이터의 프레임 샘플을 서버 100로 기 설정된 주기에 따라 제공할 수 있다. 이에 따라 상기 서버 100는 사용자 기기 200로부터 수신되는 해상도 개선 동작 이후에 산출된 결과 데이터 프레임과 동일 콘텐츠의 원본 데이터 프레임을 비교할 수 있다. 전송되는 프레임 정보에는 콘텐츠에서의 재생 위치 정보가 함께 포함되어 전송될 수 있고, 그에 따라 상기 서버 100는 원본 데이터 내에서 비교할 프레임 이미지를 검색할 수 있다. Furthermore, the user device 200 may provide a frame sample of the result data after the resolution improvement operation is completed to the server 100 according to a preset period. Accordingly, the server 100 may compare the result data frame calculated after the resolution improvement operation received from the user device 200 and the original data frame of the same content. The transmitted frame information may include transmission location information in the content together, and accordingly, the server 100 may search for a frame image to be compared in the original data.

상기 서버 100는 사용자 기기 200에서 피드백용으로 제공되는 이미지 프레임과 해당 콘텐츠의 원본 이미지 프레임을 비교하고, 일치율을 판단할 수 있다. 그리고 일치율이 기 설정된 기준치 이하인 것으로 판단되는 경우, 신경망 파일을 업데이트하기 위한 재학습 동작을 요청할 수 있으며, 그에 따라 재학습 동작을 수행할 수 있다. The server 100 may compare the image frame provided for feedback from the user device 200 with the original image frame of the corresponding content, and determine a matching rate. In addition, when it is determined that the matching rate is equal to or less than a preset reference value, a re-learning operation for updating a neural network file may be requested, and a re-learning operation may be performed accordingly.

한편, 본 발명의 다양한 실시예에 따라 생성되는 신경망 파일은, 필요에 따라 압축될 수 있다. 일 실시예로, 서버 100는 사용자 기기 200의 성능을 고려하여 신경망 파일을 압축하고, 압축된 신경망 파일을 사용자 기기 200로 전송할 수 있다.Meanwhile, the neural network file generated according to various embodiments of the present invention may be compressed as necessary. In one embodiment, the server 100 may compress the neural network file in consideration of the performance of the user device 200, and transmit the compressed neural network file to the user device 200.

신경망 파일은, Pruning, Quantization, Decomposition 및 Knowledge Distillation 중 적어도 하나를 이용하여 압축될 수 있다. Pruning은 신경망 파일의 weight, bias 중 의미 없거나, 출력값에 큰 영향을 주지 않는 weight 및 bias를 삭제하는 압축 기법 중 하나이다. Quantization은 각각의 weight를 기 설정된 비트로 양자화 하는 압축 기법 중 하나이다. Decomposition은 weight의 집합인 가중치 행렬 또는 텐서(tensor)를 선형 분해(approximated decomposition)하여 weight의 크기를 줄이는 압축 기법 중 하나이다. Knowledge Distillation은 원본 모델을 Teacher 모델로 하여 원본 모델보다 작은 Student 모델을 생성하고 학습시키는 압축 기법 중 하나이다. 이때, Student 모델은 상술한 Pruning, Decomposition 또는 Quantization을 통해 생성될 수 있다.The neural network file may be compressed using at least one of Pruning, Quantization, Decomposition, and Knowledge Distillation. Pruning is one of compression techniques that delete weights and biases that have no significant effect on output values or weights and biases of neural network files. Quantization is one of compression techniques that quantizes each weight into predetermined bits. Decomposition is a compression technique that reduces the size of a weight by linearly decompositioning a weight matrix or tensor, which is a set of weights. Knowledge Distillation is one of the compression techniques that generate and train a student model smaller than the original model using the original model as the teacher model. At this time, the Student model may be generated through the above-described Pruning, Decomposition or Quantization.

이때, 사용자 기기 200의 성능에 따른 압축 정도는 다양한 방법을 통해 결정될 수 있다. 일 실시예로, 신경망 파일의 압축 정도는 사용자 기기 200의 단순 스펙을 바탕으로 결정될 수 있다. 즉, 압축 정도는 사용자 기기 200의 프로세서의 스펙, 메모리 스펙에 의해 일괄적으로 결정될 수 있다.At this time, the degree of compression according to the performance of the user device 200 may be determined through various methods. In one embodiment, the degree of compression of the neural network file may be determined based on a simple specification of the user device 200. That is, the degree of compression may be collectively determined by the processor specifications and memory specifications of the user device 200.

또 다른 실시예로, 신경망 파일의 압축 정도는 사용자 기기 200의 사용 상태를 바탕으로 결정될 수 있다. 구체적으로, 서버 100은, 사용자 기기 200으로부터 사용 상태 정보를 수신하고, 수신된 사용 상태 정보에 따른 사용자 기기 200의 가용 리소스 정보를 획득할 수 있다. 서버 100은 사용자 기기 200의 가용 리소스 정보를 바탕으로 신경망 파일의 압축 정도를 결정할 수 있다. 이때, 가용 리소스 정보란, 사용자 기기 200이 실행중인 어플리케이션에 대한 정보, 실행중인 어플리케이션에 따라 결정되는 CPU 또는 GPU 점유율, 사용자 기기 200에 저장 가능한 메모리 용량과 관련된 정보일 수 있다.In another embodiment, the degree of compression of the neural network file may be determined based on the use state of the user device 200. Specifically, the server 100 may receive usage state information from the user device 200 and obtain available resource information of the user device 200 according to the received use state information. The server 100 may determine the degree of compression of the neural network file based on available resource information of the user device 200. In this case, the available resource information may be information related to an application in which the user device 200 is running, CPU or GPU share determined according to the running application, and information related to a memory capacity that can be stored in the user device 200.

상술한 예를 참조하여 본 발명을 상세하게 설명하였지만, 당업자라면 본 발명의 범위를 벗어나지 않으면서도 본 예들에 대한 개조, 변경 및 변형을 가할 수 있다. 요컨대 본 발명이 의도하는 효과를 달성하기 위해 도면에 도시된 모든 기능 블록을 별도로 포함하거나 도면에 도시된 모든 순서를 도시된 순서 그대로 따라야만 하는 것은 아니며, 그렇지 않더라도 얼마든지 청구항에 기재된 본 발명의 기술적 범위에 속할 수 있음에 주의한다.Although the present invention has been described in detail with reference to the above-mentioned examples, those skilled in the art can make modifications, alterations, and modifications to the examples without departing from the scope of the present invention. In short, in order to achieve the intended effect of the present invention, it is not necessary to separately include all the functional blocks shown in the drawings or to follow all the orders shown in the drawings in the order shown, and even if not, any number of technical aspects of the present invention described in the claims Note that it can fall within the scope.

100 : 서버
110 : 통신부
120 : 저장부
130 : 제어부
131 : 자료 가공부
132 : 신경망 학습부
133 : 결과 평가부
134 : 사용패턴 산출부
131a: 사이즈 변경부
131b: 영상 분할부
131c: 특징영역 추출부
132a: 파라미터 설정부
132b: 신경망 파일 산출부
100: server
110: communication unit
120: storage unit
130: control unit
131: Data processing unit
132: neural network learning department
133: result evaluation unit
134: usage pattern calculation unit
131a: size change unit
131b: image division
131c: feature region extraction unit
132a: parameter setting unit
132b: Neural network file calculator

Claims (1)

사용자 기기 측 요청에 대응하여, 요청된 비디오 데이터를 사용자 기기로 전송하는 서비스를 수행하되, 보유한 비디오 데이터를 기반으로 이미지 정보의 해상도 개선을 위한 인공신경망 알고리즘 동작에 요구되는 범용 신경망 파일을 생성하고, 상기 생성된 범용 신경망 파일 및 해상도를 기 설정된 수준 이하로 변경한 저화질 비디오 데이터를 상기 사용자 기기로 전송하는 서버;
상기 서버로부터 수신되는 저화질 비디오 데이터에 상기 수신된 범용 신경망 파일을 적용한 인공신경망 알고리즘에 기반한 연산 동작을 수행하고, 상기 연산 동작에 따라 상기 저화질 비디오 데이터의 해상도를 개선하고, 상기 해상도가 개선된 비디오 데이터를 재생하는 사용자 기기;를 포함하고
상기 서버는
이미지 데이터의 해상도를 인공 신경망 기반의 연산을 통해 개선하기 위해 요구되는 파일인 범용 신경망 파일을 생성하는 제어부;를 포함하고,
상기 제어부는
비디오 데이터의 화질 개선을 위해 요구되는 범용 신경망 파일을 산출하기 위해 필요한 학습용 자료를 수집 및 가공하는 자료 가공부; 및
신경망 학습부;를 포함하되
상기 자료 가공부는
비디오 데이터를 구성하는 이미지의 사이즈를 원본 사이즈로부터 기 설정된 비율로 축소시켜 해상도 저하에 따라 격자가 발생된 가공 데이터를 생성하는 사이즈 변경부;
비디오 데이터 내 프레임들을 이미지 객체의 일치율에 기반하여 분할하는 영상 분할부; 및
비디오 데이터의 분할 단위별 특징 영역을 추출하되 프레임 내 포함된 이미지 객체의 중요도가 기 설정된 값 이상인 경우, 해당 이미지 객체가 표시되는 영역을 특징 영역으로 추출하는 특징 영역 추출부;를 포함하고,
상기 신경망 학습부는
인공신경망 알고리즘 연산에 요구되는 초기 파라미터를 설정하는 파라미터 설정부; 및
원본 데이터와 원본 데이터의 사이즈를 축소하여 해상도를 낮춘 가공 데이터를 비교하여 원본 데이터의 사이즈 축소 과정에서 생성된 격자의 생성 패턴 정보를 산출하고, 격자 생성 패턴 정보에 기반하여 가공 데이터 상의 격자를 제거하는 데 요구되는 인공신경망 파라미터를 산출하며, 산출된 파라미터를 포함하는 신경망 파일을 생성하는 신경망 파일 산출부;를 포함하는 것을 특징으로 하는 격자 생성 패턴 정보를 바탕으로 해상도를 개선하는 시스템.

In response to a request from the user device, a service for transmitting the requested video data to the user device is performed, and a general purpose neural network file required for the operation of the artificial neural network algorithm for improving the resolution of image information is generated based on the retained video data, A server that transmits the generated general-purpose neural network file and low-definition video data having a resolution lower than a predetermined level to the user device;
Perform an operation based on an artificial neural network algorithm applying the received general-purpose neural network file to the low-quality video data received from the server, improve the resolution of the low-definition video data according to the operation, and improve the resolution of the video data User equipment to play; and
The server
Includes a control unit for generating a general-purpose neural network file, which is a file required to improve the resolution of the image data through artificial neural network-based operation.
The control unit
A data processing unit that collects and processes learning data necessary to calculate a general purpose neural network file required for improving the quality of video data; And
Neural Network Learning Department;
The data processing section
A size changing unit for reducing the size of the image constituting the video data from the original size to a preset ratio to generate processed data in which grids are generated according to a resolution decrease;
An image segmentation unit for dividing frames in video data based on a match rate of an image object; And
Includes a feature region extractor for extracting a feature region for each segment of video data, but extracting a region in which the corresponding image object is displayed as a feature region when the importance of the image object included in the frame is greater than or equal to a predetermined value.
The neural network learning unit
A parameter setting unit for setting initial parameters required for the calculation of the artificial neural network algorithm; And
Comparing the original data and the processed data with a reduced resolution by reducing the size of the original data, calculates the generation pattern information of the grid generated in the process of reducing the size of the original data, and removes the grid on the processing data based on the grid generation pattern information. And a neural network file calculator for calculating neural network parameters required to generate neural network files including the calculated parameters.

KR1020200020609A 2020-02-19 2020-02-19 System to improve the resolution based on pattern information of grid generation KR102130077B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020200020609A KR102130077B1 (en) 2020-02-19 2020-02-19 System to improve the resolution based on pattern information of grid generation

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020200020609A KR102130077B1 (en) 2020-02-19 2020-02-19 System to improve the resolution based on pattern information of grid generation

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
KR1020190046953A Division KR102082815B1 (en) 2018-04-24 2019-04-22 Artificial intelligence based resolution improvement system

Publications (1)

Publication Number Publication Date
KR102130077B1 true KR102130077B1 (en) 2020-07-03

Family

ID=71571820

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020200020609A KR102130077B1 (en) 2020-02-19 2020-02-19 System to improve the resolution based on pattern information of grid generation

Country Status (1)

Country Link
KR (1) KR102130077B1 (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170347061A1 (en) * 2015-02-19 2017-11-30 Magic Pony Technology Limited Machine Learning for Visual Processing
US20170346865A1 (en) * 2016-05-31 2017-11-30 Ooyala, Inc. Limiting key request rates for streaming media

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170347061A1 (en) * 2015-02-19 2017-11-30 Magic Pony Technology Limited Machine Learning for Visual Processing
US20170346865A1 (en) * 2016-05-31 2017-11-30 Ooyala, Inc. Limiting key request rates for streaming media

Similar Documents

Publication Publication Date Title
KR102082815B1 (en) Artificial intelligence based resolution improvement system
CN110933429B (en) Video compression sensing and reconstruction method and device based on deep neural network
CN110555527A (en) Method and equipment for generating delayed shooting video
KR102130076B1 (en) Method for improving the resolution of streaming files based on the learning importance of feature areas
CN110620924A (en) Method and device for processing coded data, computer equipment and storage medium
CN112686165A (en) Method and device for identifying target object in video, electronic equipment and storage medium
WO2019047663A1 (en) Video format-based end-to-end automatic driving data storage method and device
CN112383824A (en) Video advertisement filtering method, device and storage medium
US11368758B2 (en) VOD service system based on AI video learning platform
US20240080495A1 (en) Iteratively updating a filtering model
US10924637B2 (en) Playback method, playback device and computer-readable storage medium
KR20220021494A (en) Artificial intelligence based resolution improvement system
KR20220070866A (en) Image enhancement method, device and program applied with deep learning technology
KR102130077B1 (en) System to improve the resolution based on pattern information of grid generation
KR102130078B1 (en) System for changing AI parameters based on resolution improvement
KR20220021495A (en) Method for improving the resolution of streaming files based on AI
WO2019209005A1 (en) Artificial intelligence based resolution improvement system
WO2019209006A1 (en) Method for improving resolution of streaming files
CN115243073A (en) Video processing method, device, equipment and storage medium
US10764578B2 (en) Bit rate optimization system and method
KR101997909B1 (en) Program and recording medium for extracting ai image learning parameters for resolution restoration
CN113628121A (en) Method and device for processing data and training multimedia data
KR20220070868A (en) Electronic device control method, device and program
KR20190140815A (en) Image learning support system for resolution restoration using user's preference information
CN115086730B (en) Subscription video generation method, subscription video generation system, computer equipment and subscription video generation medium

Legal Events

Date Code Title Description
GRNT Written decision to grant