Web-based video display device and method
The web-based method decrypts and displays DRM videos as WebGL or Webview textures within WebGL 3D spaces, addressing the limitation of existing technologies by enabling DRM video playback and real-time position correction, thus enhancing web-based video services with immersive capabilities.
Patent Information
- Application Number
- PCT/KR2023/012086
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-04-14
- Filing Date
- 2023-08-16
- Publication Date
- 2024-10-17
AI Technical Summary
Current web-based technologies lack the capability to display DRM-protected videos within WebGL 3D spaces, limiting the provision of copyrighted content in virtual environments.
A web-based method and device that decrypts DRM-encrypted videos using JavaScript and displays them as WebGL or Webview textures within WebGL 3D spaces, employing EME and CDM for key management and decryption, and applying 3D transformation matrices for real-time position correction based on user viewing direction.
Enables seamless playback of both DRM and non-DRM videos within WebGL 3D spaces, ensuring copyright protection and enhancing the functionality of web-based video services by supporting real-time position correction for immersive experiences.
Smart Images

Figure KR2023012086_17102024_PF_FP_ABST
Abstract
Description
Web-based video display device and method
[0001] This document relates to a web-based image display device and method, and more specifically, to a web-based image display device and method for decrypting an encrypted image and then displaying the decrypted image in the form of a Webview (or WebView) or WebGL in a WebGL (Web Graphic Library) graphic space.
[0002] WebGL, which is generally one of the HTML (Hypertext Markup Language)5 JavaScript APIs (Application Programming Interface), is a web-based graphics library. In other words, WebGL is a web-based JavaScript graphics library that enables rendering of 3D graphics in a web browser without a plug-in, and internally, it allows OpenGL to operate on the web. OpenGL is designed to perform a 3D graphics pipeline for personal computers, OpenGL ES (Embedded System) for portable terminals, and WebGL for the web environment. In particular, WebGL provides a program interface for using 3D graphics without installing a plug-in by using the HTML5 canvas element, and can be used through the JavaScript programming language.
[0003] HTML is a markup language that plays a dominant role in structuring web pages. Initially, it was limited to structuring web pages, but as versions were upgraded, it evolved to allow for easy viewing of various additional features, such as video and audio, and the latest multimedia content without plugins. The latest version, HTML5, was standardized by the World Wide Web Consortium (W3C), an international web standards consortium, on October 28, 2014. Since then, it has undergone improvements and continues to be updated, including the release of the 5.2 recommendation on December 14, 2017.
[0004] In particular, using WebGL, a 3D graphics-based metaverse service can be provided in a web browser environment, and access processing and display are possible through a web URL (Uniform Resource Locator) connection as shown in Fig. 1.
[0005] FIG. 1 is a drawing showing an example of an image display device that displays an image in a WebGL graphic space according to embodiments.
[0006] In Fig. 1, reference numeral 1000 may be a web screen implemented based on HTML, CSS (Cascading Style Sheets), JavaScript, WebGL, etc., or may be a WebGL graphic space. Here, the WebGL graphic space may be referred to as a WebGL three-dimensional (3D) graphic virtual space, a WebGL 3D graphic space, a WebGL virtual space, a WebGL graphic virtual space, a 3D graphic space, a 3D virtual space, a web 3D graphic space, a web 3D virtual space, a web virtual space, a web graphic space, etc. At this time, HTML is a markup language that structures web content and gives it meaning, and CSS is a style rule language that can apply styles to HTML content, and can add background colors, change fonts, and arrange content in a multi-column layout like a newspaper. In addition, JavaScript is a scripting language that can create almost anything, such as dynamically changing content, controlling multimedia, and adding animations.
[0007] In addition, a WebGL-based player can provide another image by organizing it within the WebGL 3D space, as shown by the drawing symbol 1100, and can provide a function to play the image when the user selects the image using a button, mouse, etc., or when a cursor or avatar, etc., comes near the image.
[0008] At this time, the video (1100) played within the WebGL 3D space (1000) is a video that is not DRM (Digital Rights Management). DRM is a general term for all technologies that restrict the distribution of digital content to only the intended users. In this disclosure, DRM can be used with the same meaning as encryption. In addition, for convenience of explanation, a DRM-processed video will be referred to as a DRM video, and a non-DRM-processed video will be referred to as a DRM-free video or non-DRM video.
[0009] Meanwhile, when expanding 3D space to a web-based platform, digital content requiring intellectual property (IP) protection may include video content (videos) featuring celebrities in virtual exhibition halls. This necessitates copyright protection. Furthermore, to play DRM-processed video content within the WebGL 3D space for copyright protection, a DRM video player is required.
[0010] However, there is currently no player that provides the ability to display DRM-protected video within the WebGL 3D space. This means that currently, only DRM-free video can be organized and provided within the WebGL 3D space.
[0011] In other words, when providing video services within the WebGL 3D space, there is a problem in that only non-DRM videos can be provided and DRM video playback cannot be provided.
[0012] The present disclosure is proposed to solve the above-mentioned problems and various problems related thereto, and the purpose of the present disclosure is to provide a device and method that can play DRM video by utilizing WebGL texture or Webview texture under WebGL.
[0013] Another object of the present disclosure is to provide a device and method that can calculate and reflect the display position of a Webview texture in real time when displaying a DRM video by utilizing a Webview texture within a WebGL 3D space.
[0014] However, the scope of the embodiments is not limited to the aforementioned technical tasks, and the scope of the embodiments may be expanded to other technical tasks that can be inferred by a person skilled in the art based on the entire contents of this document.
[0015] In order to achieve the above-described purpose and other advantages, a web-based image display method may include the steps of displaying a WebGL 3D space based on WebGL (Web Graphics Library) on an image display device having a web browser installed; downloading an image encrypted using a DRM (Digital Rights Management) method through the web browser; requesting and receiving a key for decrypting the downloaded encrypted image from a license server; decrypting the encrypted image based on the key; decoding the decrypted image; and displaying the decoded image at a specific location in the WebGL 3D space.
[0016] According to embodiments, the DRM method may be an open DRM method or a custom DRM method.
[0017] According to embodiments, the step of displaying the decoded image may include processing the decoded image into a Webview texture and displaying it in a Webview object within the WebGL 3D space if the DRM method is an open DRM method.
[0018] According to embodiments, the step of displaying the decoded image may further include the step of converting the display position of the Webview object displaying the Webview texture from 2D coordinates to 3D coordinates according to the user's viewing direction, and correcting the display position of the Webview object with the converted 3D coordinates.
[0019] According to embodiments, the step of displaying the decoded image may further include the step of applying a 3D transformation matrix to convert the display position of the Webview object from 2D coordinates to 3D coordinates, and correcting the display position of the Webview object with the converted 3D coordinates.
[0020] According to embodiments, the 3D transformation matrix may be a 3D affine transformation matrix.
[0021] According to embodiments, the step of displaying the decoded image may include, if the DRM method is a custom DRM method, processing the decoded image into a WebGL texture and displaying it in at least a part of the WebGL 3D space.
[0022] According to embodiments, the request for the key and the decryption of the encrypted video based on the key are performed by Encrypted Media Extensions (EME) and Content Decryption Module (CDM). If the DRM method is an open DRM method, the CDM may be an open CDM, and if the DRM method is a custom DRM method, the CDM may be a custom CDM.
[0023] According to embodiments, a web-based image display device may include a WebGL processing unit that displays a WebGL 3D space based on WebGL (Web Graphics Library) on a image display device having a web browser installed; a client unit that downloads an image encrypted in a DRM (Digital Rights Management) manner through the web browser; a decryption unit that requests and receives a key for decrypting the downloaded encrypted image from a license server and decrypts the encrypted image based on the provided key; a decoding unit that decodes the decrypted image; and a display processing unit that displays the decoded image at a specific location in the WebGL 3D space.
[0024] According to embodiments, the DRM method may be an open DRM method or a custom DRM method.
[0025] According to embodiments, if the DRM method is an open DRM method, the display processing unit can process the decoded image into a Webview texture and display it on a Webview object in the WebGL 3D space.
[0026] According to embodiments, the display processing unit may convert the display position of the Webview object displaying the Webview texture from 2D coordinates to 3D coordinates according to the user's viewing direction, and correct the display position of the Webview object with the converted 3D coordinates.
[0027] According to embodiments, the display processing unit can apply a 3D transformation matrix to convert the display position of the Webview object from 2D coordinates to 3D coordinates, and correct the display position of the Webview object with the converted 3D coordinates.
[0028] According to embodiments, the 3D transformation matrix may be a 3D affine transformation matrix.
[0029] According to embodiments, if the DRM method is a custom DRM method, the display processing unit can process the decoded image into a WebGL texture and display it in at least a part of the WebGL 3D space.
[0030] According to embodiments, the request for the key and the decryption of the encrypted video based on the key in the decryption unit are performed by Encrypted Media Extensions (EME) and Content Decryption Module (CDM). If the DRM method is an open DRM method, the CDM may be an open CDM, and if the DRM method is a custom DRM method, the CDM may be a custom CDM.
[0031] According to embodiments, a computer program stored on a computer-readable recording medium can be combined with a computer, which is hardware, to perform the above method.
[0032] The above-described solutions are only some of the various embodiments of this specification, and those skilled in the art to which this specification pertains can infer modified embodiments that reflect the technical features of this specification through the overall intent described in this specification.
[0033] According to the web-based video display device and method according to the embodiments, by decrypting content encrypted in a DRM manner into a JavaScript language of the web, decoding the decrypted content, and then transferring it to a WebGL object for display processing as a WebGL texture, or transferring it to a Webview object for display processing as a Webview texture, when providing a video service within a WebGL 3D space, it is possible to provide not only non-DRM videos but also DRM videos.
[0034] According to the web-based video display device and method according to the embodiments, when providing a video service as a Webview texture within a WebGL 3D space, there is an effect of seamlessly providing a non-DRM video or a DRM video within the WebGL space by correcting the position of a non-DRM video or a DRM video in real time using a 3D transformation matrix.
[0035] In addition to the technical effects explicitly mentioned above, effects that are obvious to those skilled in the art can also be inferred from the entire description of this specification.
[0036] The drawings are included to further understand the embodiments, and the drawings illustrate the embodiments together with the description related to the embodiments.
[0037] FIG. 1 is a diagram showing an example of a website of a web-based image display device that displays images within a WebGL graphics space according to embodiments.
[0038] FIG. 2 is a drawing showing an example of a web-based video display device according to embodiments.
[0039] FIG. 3 is a diagram showing another example of a web-based video display device according to embodiments.
[0040] FIG. 4 is a flowchart showing an example of a method for decrypting a DRM image and displaying it as a Webview texture in a web-based image display device according to embodiments.
[0041] FIG. 5 is a drawing showing an example of a Webview texture displayed in 2D format according to embodiments.
[0042] FIG. 6 is a drawing showing an example of a WebGL texture displayed in 3D form according to embodiments.
[0043] FIGS. 7(a) to 7(c) are drawings explaining a process of converting a 2D image into a 3D image and displaying the converted image by applying a transformation 3D matrix according to embodiments.
[0044] FIG. 8 is a diagram showing another example of a web-based video display device according to embodiments.
[0045] FIG. 9 is a flowchart showing another example of a method for decrypting a DRM image and displaying it as a Webview texture in a web-based image display device according to embodiments.
[0046] FIG. 10 is a diagram showing another example of a web-based video display device according to embodiments.
[0047] FIG. 11 is a diagram showing another example of a web-based video display device according to embodiments.
[0048] FIG. 12 is a diagram showing another example of a web-based video display device according to embodiments.
[0049] FIG. 13 is a diagram illustrating an example of a web-based video display device that encrypts and decrypts using a custom DRM method according to embodiments.
[0050] FIG. 14 is a diagram showing a specific example of a web-based video display device that encrypts and decrypts using a custom DRM method according to embodiments.
[0051] FIG. 15 is a flowchart showing an example of a method for decrypting a DRM image and displaying it as a Webview texture or a WebGL texture in a web-based image display device according to embodiments.
[0052] Hereinafter, embodiments disclosed in this specification will be described in detail with reference to the attached drawings. Regardless of the drawing numbers, identical or similar components will be assigned the same reference numbers, and redundant descriptions thereof will be omitted. It should be noted that the following embodiments are intended only to concretize the present disclosure and do not limit or restrict the scope of the present disclosure. Anything that a specialist in the technical field to which the present disclosure pertains can easily infer from the detailed description and embodiments of the present disclosure is interpreted as falling within the scope of the present document.
[0053] The detailed description in this document should not be construed in any way as restrictive, but rather as illustrative. The scope of this document should be determined by a reasonable interpretation of the appended claims, and all changes within the scope of equivalents herein are intended to be included within the scope of this document.
[0054] Meanwhile, the blocks of the attached block diagram or the steps of the flowchart may be implemented directly in hardware, implemented as software modules executed by hardware, or implemented by a combination of these. In addition, the blocks of the attached block diagram or the steps of the flowchart may be interpreted as computer program instructions that are loaded into the processor or memory of a data processing device such as a general-purpose computer, a special-purpose computer, a portable notebook computer, or a network computer to perform designated functions. Since these computer program instructions may be stored in a memory provided in a computer device or a computer-readable memory, the functions described in the blocks of the block diagram or the steps of the flowchart may be produced as a product that includes a command means for performing the same. In addition, each block or each step may represent a module, segment, or part of code that includes one or more executable instructions for performing a specific logical function(s). Furthermore, in some alternative embodiments, the functions mentioned in the blocks or steps may be executed out of the specified order. For example, two blocks or steps shown in succession may be performed substantially simultaneously, or may be performed in reverse order, or in some cases, some blocks or steps may be performed with some blocks or steps omitted.
[0055] The present disclosure proposes a video display device and method for displaying DRM video by utilizing WebGL texture or Webview texture in a WebGL 3D graphic virtual space.
[0056] In this disclosure, "DRM" is used interchangeably with encryption, and refers to a copyright protection technology that manages the usage rights of content. In this disclosure, "DRM video" refers to content encrypted using DRM and provided to a browser, while "non-DRM video" refers to content not encrypted using DRM and provided to a browser.
[0057] In particular, the present disclosure proposes a player that decrypts encrypted video (i.e., DRM video) into the JavaScript language of the Web and then provides it as a WebGL texture or Webview texture within a WebGL 3D graphics virtual space.
[0058] This disclosure will first explain the process of playing non-DRM video within a WebGL 3D graphic virtual space.
[0059] FIG. 2 is a block diagram showing an example of an image display device according to embodiments. That is, FIG. 2 is a block diagram of an image display device for processing and displaying a non-DRM image in a WebGL 3D graphic virtual space. Each component illustrated in FIG. 2 may correspond to software, hardware, a processor connected to a memory, and / or a combination thereof. In the present disclosure, the WebGL 3D graphic virtual space may be referred to as a WebGL 3D space, a WebGL 3D graphic space, a WebGL graphic space, a WebGL graphic virtual space, a 3D graphic space, a 3D virtual space, a web 3D graphic space, a web 3D virtual space, a web virtual space, a web graphic space, etc.
[0060] According to embodiments, the video display device can be any device that has a browser (2300) that supports WebGL installed and a GPU (2500). In the present disclosure, the video display device is also referred to as a client or user terminal. For example, the video display device can be a smartphone, a tablet PC, a desktop, a laptop, a television (e.g., a smart TV), a home appliance with a display function (e.g., a refrigerator), etc. Users can execute the browser (2300) using the video display device. Browsers that support WebGL include, for example, Internet Explorer 11, Chrome, Firefox, Opera, Safari, etc.
[0061] According to embodiments, the browser (2300) may include a web user interface (UI) portion (2310) that interfaces between a user and the system.
[0062] According to embodiments, the web user interface (2310) can provide APIs (JS APIs) written in the JavaScript language where needed. An API can be considered an interface between systems, and a system can be a simple program, a web browser, an operating system, or hardware. Typically, APIs are built into a web browser and / or are not embedded in the browser and can be provided from the web.
[0063] In the present disclosure, the web user interface portion (2310) may include a web player application (2311) created using a language such as HTML5, CSS, and JavaScript, and an HTML5 canvas display (2313).
[0064] According to embodiments, the web player application (2311) may provide a UI such as buttons, menu items, etc. on a web screen (e.g., a web page) to enable a user to play a video, adjust the volume, navigate, set the picture quality and screen settings, etc.
[0065] According to embodiments, the HTML5 canvas display (2313) displays 2D / 3D graphics, still images, videos, animations, avatars, etc. drawn on the canvas on the screen. For example, the HTML5 canvas display (2313) can display 2D graphics or 3D graphics drawn on the canvas using the Canvas API and / or the WebGL API. In addition, the HTML5 canvas display (2313) can display streaming videos played on a canvas with a fixed height and width. That is, WebGL is a web-based library that binds the OpenGL ES 2.0, a graphics hardware acceleration library, to the JavaScript language, and HTML5 can implement both 2D and 3D graphics by receiving hardware acceleration. For example, 2D raster graphics can be implemented using JavaScript Canvas, and 3D graphics can be implemented using JavaScript WebGL. Here, Canvas implements 2D and 3D graphics using JavaScript, and WebGL also uses Canvas. For example, developers can use the WebGL API to draw points, lines, shapes, and more on a canvas in 2D or 3D.
[0066] According to embodiments, the browser (2300) may include a player core (2330). The player core (2330) may be referred to as a JavaScript player SDK (software development kit) or a player JavaScript SDK. Here, the SDK is a series of tools provided by a hardware platform, operating system (OS), or programming language manufacturer, and software developers can utilize the SDK to develop applications for a specific platform, system, or programming language.
[0067] According to embodiments, the player core (2330) may include an HLS (HTTP Live Streaming) / DASH (Dynamic Adaptive Streaming over HTTP) client (2331) for streaming video, a media handler (2333), and a WebGL API handler (2335).
[0068] The above HLS / DASH client (2331) is optional and is a block for processing the received streaming video when the received video is a streaming video in the HLS format or a streaming video in the DASH format. In the HLS / DASH client (2331), the HLS client is a client object for receiving on-demand / live requests and streams using the HLS standard protocol, and the DASH client is a client object for receiving on-demand / live requests and streams using the DASH standard protocol.
[0069] According to embodiments, HLS and DASH are protocols for dynamically playing video in a streaming manner in a web browser. Here, the video may be referred to as media, content, or a video file. The video file may be a still image file or a video file.
[0070] In other words, HLS and DASH are HTTP-based streaming technologies that can adapt to varying Internet bandwidth and provide services. For example, HLS is a protocol proposed by Apple, and DASH is a protocol proposed by the MPEG standards organization.
[0071] According to embodiments, the server (2100) and the HLS / DASH client (2331) are connected via a network (e.g., the Internet) and can communicate with each other.
[0072] According to embodiments, if the server (2100) is a DASH server, the server (2100) divides content (e.g., a video file) into small segments (called segments) and encodes the segments at various quality levels. This is similar when the server (2100) is an HLS server. In the present disclosure, the term "segment" is used interchangeably with "chunk." According to embodiments, the content provided by the server (2100) may be content acquired live using a camera or the like, or content previously stored in a storage device or the like.
[0073] And, if the server (2100) is a DASH server, the DASH server provides the MPD (Media Presentation Description), which is a manifest file, and the segment file according to the network status to the HLS / DASH client (2331) in response to the user's content request through the web player application (2311). And, the HLS / DASH client (2331) can request and receive the MPD from the DASH server in response to the user's content streaming request, and can collect information such as the structure and location of the segment, service type, etc. by parsing the transmitted MPD, and can request a segment with the bit rate most appropriate for the network status to the DASH server using the URL included in the MPD. In other words, the segment file is an actual video streaming (i.e., a file required for actual streaming) in which audio, video, and data are combined, and the MPD describes information related to the segment file.
[0074] If the server (2100) is an HLS server, the HLS server can encode and segment the content, and provide the m3u8 manifest file and the segment file according to the network status to the HLS / DASH client (2331). Then, the HLS / DASH client (2331) can request and receive the m3u8 from the HLS server according to the user's content streaming request, and can parse the transmitted m3u8 and request the segment with the bit rate most appropriate for the network status to the HLSH server using the URL included in the m3u8. In other words, the segment file is the actual video streaming (i.e., the file required for actual streaming) in which audio, video, and data are combined, and the m3u8 describes information related to the segment file.
[0075] That is, manifest files such as MPD and m3u8 contain text information about how to play content (e.g., video files) divided into segments, in what order and for how many seconds, and the URLs of the segments (i.e., media file paths).
[0076] According to embodiments, the HLS / DASH client (2331) provides a segment file (or segment data or media stream or media data) received from the server (2100) based on a manifest file to the MSE (Media Source Extension) unit (2350) through the media handler (2333). In the present disclosure, the media handler (2333) is a plug-in module for decoding a media stream, and the MSE unit (2350) is an extension framework for parsing and controlling a media stream in a browser, according to one embodiment.
[0077] According to embodiments, when downloading and playing the necessary segments (i.e., chunks) one by one in a browser (2300), in order to prevent video interruption, the newly downloaded chunks must be appended to the end of the existing media source. In other words, a function that can dynamically control the source of the media programmatically is required. There is an API on the web that can programmatically control the media source in this way, called MSE. That is, MSE is a web API used for HTML5 video and audio playback. In other words, MSE is a JavaScript API for HTML5 created for video streaming playback using HTTP download. In addition, using MSE, the browser can play media in chunk units using JavaScript, as well as play media in a streaming manner. In this case, in the case of HLS, the media source can be applied directly in Safari, so MSE can be bypassed. However, in the case of DASH, the media source cannot be applied directly, so MSE can be used to directly extend the media source to enable streaming playback in the browser.
[0078] The MSE unit (2350) obtains the necessary media information using manifest files such as MPD and m3u8, and is then used to play media segments (i.e., chunks) on the web via an HTML5 video (e.g., a web player application (2311)). For example, if the browser is Safari, the HLS Manifest (i.e., m3u8) can be used as the source. The MSE unit (2350) is an interface that allows developers to directly define new media sources using HTMLMediaElement instead of the source tag used to provide sources when playing videos with HTML5 videos. The developer receives the data of the video to be played via HTTP and then directly provides the media buffer chunks to the HTMLMediaElement using the SourceBuffer object. This allows the developer to provide the data required for HTML5 video when playing the video. In this way, by extending the media source using the MSE API in the MSE unit (2350), streaming content such as DASH and HLS can be played in a web browser as well.
[0079] The above MSE unit (2350) provides media data, whether expanded or not, of the media source to the media engine (2370), and the media engine (2370) performs media decoding in the reverse manner of the encoding method performed in the server (2100). For example, if encoding was performed in the server (2100) using H.264 as a video codec, the media engine (2370) also performs decoding using H.264. According to embodiments, the media engine (2370) may be included in the browser (2300) or may be provided separately. Media decoding in the media engine (2370) may be performed by combining one or more of hardware, software, and firmware.
[0080] Media data decoded by the above media engine (2370) is provided to the WebGL unit (2510) of the GPU (2510). In the present disclosure, the WebGL unit (2510) is a framework used for rendering in a browser object, and the WebGL API handler (2335) is also called a canvas, and the canvas can be used to specify a range in which graphics or animations are to be rendered using the Canvas API or the WebGL API.
[0081] As mentioned above, WebGL is a JavaScript API for drawing interactive 2D / 3D graphics, and can visualize 3D objects through separate programming using GLSL (GL Shader Language) based on OpenGL ES 2.0. In addition, WebGL provides a rendering surface for HTML <canvas>It can be used in HTML elements, i.e., to draw graphics or animations using the Canvas API or WebGL API. <canvas>Use elements. <canvas>Elements are one of the most widely used tools for rendering graphics on the web. For example, Canvas and the WebGL API allow you to create animated 2D or 3D graphics. For example, users can write code using the WebGL API to draw points, lines, shapes, and other elements on a canvas in 2D or 3D.
[0082] In the present disclosure, the WebGL part (2510) is executed on the GPU (2510). Therefore, a shader is required to perform an execution command on the GPU (2500), and the shader provides two functions, each of which is called a vertex shader (or vertex shader) and a fragment shader (or pixel shader). These shader functions can be written in a C / C++ language called GLSL (GL Shader Language). A shader is a function that calculates the position and color of a pixel to be output to the screen, and a vertex shader and a fragment shader are collectively called a program. According to embodiments, a vertex shader sets (or calculates) the final position of a vertex, and a fragment shader sets (or calculates) the final color of each pixel. Therefore, a function that calculates the position of an area to be drawn on the screen is called a vertex shader, and a function that calculates a color for each pixel in the area and draws it is called a fragment shader. In other words, a shader is a function that declares commands to the GPU (2500) on how to draw a picture with the data supplied to the GPU (2500), and before executing the function, the data for the shader to draw a picture is provided to the GPU (2500) in four ways (e.g., attribute, uniform, texture, bearing). Here, an attribute uses a buffer and is used in the vertex shader. A buffer is an array of binary data that is uploaded to the GPU (2500). A uniform is a global variable defined before executing the shader. A texture is an array of data that can be randomly (i.e., randomly) accessed in the shader. Most of what is put into a texture is image data, but since the texture itself is simple data, you can easily add other things as well as color. Bearing is used to pass data created in the vertex shader to the fragment shader.
[0083] Through the above process, 2D or 3D graphics drawn on the canvas element in the WebGL section (2510) are displayed on the screen through the HTML canvas display (2313). That is, the WebGL section (2510) is displayed through JavaScript. <canvas>Draw a picture on an element. In this disclosure, HTML and CSS are not used to draw pictures. In other words, the canvas is used to specify the range in which graphics or animations are to be rendered using the Canvas API or WebGL API. In the property, width represents the horizontal width of the canvas, and height represents the vertical width. You can also set the desired canvas size using CSS. To create a WebGL rendering context on the canvas, you can pass "experiment-webgl" as a parameter to the canvas.getContext() method, which obtains a context from the canvas. Rendering is the process of generating an image from a model using a computer program, and can be divided into software rendering and hardware rendering. Software rendering performs all graphical calculations with the help of the CPU, while hardware rendering performs all graphical calculations with the GPU. Furthermore, rendering can be performed on a dedicated server with sufficient resources via server-side rendering, or locally on the CPU via client-side rendering. In this disclosure, WebGL renders a 3D scene via client-side rendering, and all processing required to obtain the image is performed locally using the client's graphics hardware, as an example.
[0084] So far, the process of drawing 2D or 3D graphics on a canvas element in the WebGL section (2510) and the process of displaying the 2D or 3D graphics drawn on the canvas element on the screen through the HTML canvas display (2313) have been described.
[0085] Meanwhile, the WebGL unit (2510) displays the decoded media data in the WebGL 3D space with the specified width and height at the specified location through the HTML canvas display (2313) as a WebGL texture for the media data decoded by the media engine (2370). At this time, for specifying the location, width, and height, <canvas>The element can be used, i.e., the WebGL API can be used to display media data decoded by the media engine (2370). <canvas>The element is used. Then, the media data decoded in the media engine (2370) is built in the WebGL manner by the control of the WebGL API handler (2335) in the WebGL section (2510) and displayed as a WebGL texture in the HTML canvas display section (2313). That is, the media data (i.e., video) decoded in the media engine (2370) is uploaded to the WebGL texture. In other words, the media data (i.e., video) decoded in the media engine (2370) is transferred to the WebGL object and displayed as a WebGL texture. At this time, the image (2700) displayed as a WebGL texture in the HTML canvas display section (2313) is a non-DRM image. That is, it is an image that is not encrypted in the DRM manner.
[0086] In this way, the browser (2300) can play a video (e.g., unencrypted (i.e., non-DRM) video streaming in the DASH or HLS format) using WebGL, a JavaScript library that enables multimedia playback on the browser without installing a plug-in. In particular, the browser (2300) can play a video at a specified width and height at a specific location within the WebGL 3D space as a WebGL texture.
[0087] So far, we have explained the process of playing non-DRM video in WebGL 3D space using WebGL textures.
[0088] The following describes the process of decrypting a DRM-encrypted video and then playing the decrypted video as a Webview texture at a specific location within the WebGL 3D space. In this disclosure, a DRM-encrypted video or a video encrypted and then decrypted using a DRM method is referred to as a DRM video.
[0089] In particular, the present disclosure provides, as an embodiment, a method of decrypting an image encrypted using a DRM method and providing the decrypted image as an overlay at a specific location within a WebGL 3D space as a Webview texture. A Webview texture is a technology used to render web content in a certain area of an application.
[0090] That is, in the present disclosure, Webview refers to embedding a web browser component (or view component) built into a framework in the form of a view in an application (or app). In other words, it is a method of embedding a web browser within an application (e.g., an Android application), and displaying a screen (i.e., in the form of a view) using the web browser in the application. For example, an application can display (or play) web pages or videos using the Webview object. In this case, video playback can be performed using the video tag, which is one of the HTML elements.
[0091] FIG. 3 is a block diagram illustrating another example of an image display device according to embodiments. That is, FIG. 3 is a block diagram of an image display device for processing DRM images within a WebGL 3D space and displaying them as Webview textures. Each component illustrated in FIG. 3 may correspond to software, hardware, a processor connected to memory, and / or a combination thereof.
[0092] Hereafter, detailed descriptions of blocks identical to those disclosed in FIG. 2 may be omitted in FIG. 3 to avoid redundant descriptions. Therefore, for parts not described in FIG. 3, reference will be made to the description of FIG. 2.
[0093] The video display device of FIG. 3 can be any device on which a browser (3500) can be installed and executed. In the present disclosure, the video display device is also referred to as a client or user terminal. For example, the video display device can be a smartphone, a tablet PC, a desktop, a laptop, a television (e.g., a smart TV), a home appliance with a display function (e.g., a refrigerator), etc. Users can execute the browser (3500) using the video display device. In the present disclosure, the browser (3500) is designed in such a way that HTML-based documents and / or CSS-based documents can be interpreted and presented. In addition, the browser (3500) has a runtime environment for programs, particularly a Java runtime environment. In particular, the browser (3500) in the present disclosure supports WebGL. For example, Google's Chrome, Mozilla's Firefox, Apple's Safari, Opera Software's Opera, Microsoft's Internet Explorer or Edge, etc. can be used as browsers (3500).
[0094] According to embodiments, a web user interface (3510) included in a browser (3500) may include a Webview module (3511) and a canvas display (3513). In one embodiment of the present disclosure, a web player application created using a language such as HTML5, CSS, and JavaScript is placed on a Webview object created in the Webview module (3511). This means that the web player application is executed on the Webview object. According to embodiments, the web player application may provide a UI such as buttons, menu items, etc. on the Webview object so that a user can play a video, adjust volume, navigate, set picture quality and screen settings, etc. In the present disclosure, the web player application may include a video tag supported by HTML5 (i.e., <video>As an example, a Webview video player implemented through a tag is provided. That is, in the present disclosure, the web player application is referred to as a Webview video player, video player, or media player. That is, the Webview module (3511) and canvas display (3513) included in the web user interface unit (3510) are executed in a web browser. In the present disclosure, the Webview module (3511) may be referred to as a Webview processing unit.
[0095] According to embodiments, the Webview module (3511) may include a video tag (e.g., <video>A video file can be played in a Webview object using a Webview video player implemented through a tag. In one embodiment, the Webview module (3511) creates a Webview object and then uses a video tag supported by HTML5 (i.e., <video>tag) can be used to display a video file (i.e., a still image or a moving image) on a Webview object. In addition, in the present disclosure, a video tag may be referred to as a video element. In addition, a Webview object can be created using HTML, CSS, JavaScript, etc. At this time, in order to support the video tag in Webview, inherit WebChromeClient, override onshowCustomView() / onHideCustomView(), and appropriately write the necessary functions.
[0096] That is, the video tag can implement or create a media player (or video player) that supports video playback (i.e., image playback) using its properties. In addition, the Webview module (3511) in the present disclosure can implement a media player (or video player, or Webview video player) of a Webview object using this video tag. In the present disclosure, the Webview object can be a space where a Webview video player is inserted.
[0097] In this way, the Webview module (3511) can display a video as a Webview texture by using the built-in video player without using an external plug-in by using the video tag provided in HTML5.
[0098] According to embodiments, the video tag is one of the HTML elements, and can be used when playing a video file (or referred to as a video file), such as a movie clip or a video stream. For example, the video tag can support a video file type, such as mp4, WebM, or Ogg. According to embodiments, mp4 is a container, developed by MPEG (Moving Picture Experts Group), and uses H.264 as a video codec and AAC (Advanced Audio Coding, MPEG 2 Audio) as an audio codec. WebM is an open and public multimedia file format developed with the support of Google, and uses VP8 as a video codec and Vorbis as an audio codec. In addition, OGG, also called Theora Ogg, is an open and public multimedia file format developed by the Xiph Foundation as an alternative to MP3, and uses Theora as a video codec and Vorbis as an audio codec.
[0099] According to embodiments, the attributes of the video tag can be used to specify whether the video will automatically play in the video player (e.g., autoplay), and can also specify whether a control (or panel) that can control the execution of the video, such as a play button or a stop button, is displayed (e.g., controls). For example, the controls attribute can be used to display a user interface, i.e., a panel, that can control the video on the video screen, and this panel can include shortcut menus such as a play / pause button, a trackbar, a volume control, etc. In this case, the shape of the panel or the shortcut menus included in the panel can vary depending on the web browser being executed. In addition, the attributes of the video tag can be used to specify the height and width (e.g., the height and width of the Webview object) indicating the size of the video inserted in the web browser (e.g., height, width), and can also specify whether the video will be played repeatedly (e.g., loop). Additionally, you can specify the path to an image file to be displayed while the video is being prepared (e.g., poster), i.e., while the video is downloading or until the user presses the play button, or you can specify the path (URL, Uniform Resource Locator) of the video file (e.g., original video file) (e.g., src). In other words, the video tag introduced in HTML can be used to play videos on web pages. For example, <video>You can insert a video using the tag, specify the URL of the video file via the src attribute, and display playback controls by adding the controls attribute. Additionally, you can set the video to play automatically using the autoplay attribute. In this way, the video tag can use attributes to specify the URL of the video to play, size information (e.g., height and width), whether to autoplay, whether to play infinitely, and more. In the present disclosure, a video file may be referred to as an image file or a media file.
[0100] In the present disclosure, the Webview module (3511) provides a method for inserting a video player (i.e., a Webview video player) into a Webview object using a video tag, thereby enabling video playback in the Webview. Here, the video may be a still image or a video. That is, the video tag can easily implement a video player using properties, and the Webview module (3511) can display a video in the Webview object using the video tag.
[0101] According to embodiments, a video tag may use the src attribute to specify the path (e.g., URL) of a video file to be played. In the present disclosure, the type of the video file is mp4, as one embodiment.
[0102] In addition, in one embodiment, the video file whose path is specified by the src attribute of the video tag in the present disclosure is an original video file (3100). That is, the location of the original video file (3100) can be specified using the path (i.e., URL) specified by the src attribute. In the present disclosure, the original video file may be referred to as original content or original video.
[0103] Encryption of the above original video file (3100) using the DRM method, decryption of the encrypted video, and decoding of the decrypted video will be described in detail later.
[0104] According to embodiments, the canvas display (3513) displays 2D / 3D graphics, still images, videos, animations, avatars, etc. drawn on the canvas in the display area. For example, the canvas display (3513) may display 3D graphics (i.e., 3D space) drawn on the canvas using the canvas API and / or the WebGL API in the display area for WebGL (e.g., the background screen).
[0105] In the present disclosure, a Webview object is overlaid in a pop-up form on top of a WebGL 3D space, as an example.
[0106] To this end, the browser (3500) in the present disclosure may have two renderers. That is, the Webview module (3511) and the canvas display (3513) may each include a renderer. For example, a 3D space (or a 3D space area or a 3D virtual space area) is rendered to the display area through the WebGL canvas of the canvas display (3513), and a video (or a video play area) is rendered through a video tag in a separate Webview object and overlaid on the WebGL 3D space. That is, a separate Webview object is created for the video play area, and then the video tag is overlaid on the WebGL 3D space. At this time, the Webview and WebGL are processed by their own renderers.
[0107] In the present disclosure, the browser (3500) may further include a player core (3520), and the player core (3520) may include a DASH / HLS client (3521) for streaming video, a DRM handler (3523), and a media handler (3525).
[0108] In the present disclosure, the browser (3500) may further include an Encrypted Media Extensions (EME) unit (3530) and an MSE unit (3540).
[0109] In the present disclosure, the browser (3500) may further include a Content Decryption Module (CDM) unit (3600) and a media engine (3550). The CDM unit (3600) may be included in the browser (3500), but may also be provided separately. Decryption (or descramble) of encrypted media data in the CDM unit (3600) may be performed using a combination of one or more of hardware, software, and firmware. Furthermore, the media engine (3550) may also be included in the browser (3500), but may also be provided separately. Decoding of media data in the media engine (3550) may be performed using a combination of one or more of hardware, software, and firmware.
[0110] In this disclosure, the EME specification of the EME unit (3530) provides an API that enables HTML / JavaScript-based web applications running on a web browser to interact with DRM, thereby enabling the playback of DRM-encrypted content (i.e., audio and video). In other words, the playback of DRM-encrypted content is supported by the web browser itself through the EME unit (3530) and the MSE unit (3540).
[0111] In this disclosure, it is assumed that the original content (3100) is a video file whose path is specified through the src attribute of the video tag, and that the user requests playback by selecting a play button on a panel provided through the controls attribute of the video tag.
[0112] In the present disclosure, the original content (or original video file or original video) (3100) is, as an example, in the mp4 (MPEG-4 part 14) file format. The original content (3100) is encrypted in a DRM manner by a server (3200) and then provided to a DASH / HLS client (3521) of a browser (3500) of a video display device through a CDN (Content Delivery Network) unit (3300) in the DASH or HLS streaming protocol format. DASH and HLS are protocols for dynamically playing media (or content) in a streaming manner in a web browser.
[0113] According to embodiments, if the server (3200) is a DASH server, the DASH / HLS client (3521) is a DASH client, and if the server (3200) is an HLS server, the DASH / HLS client (3521) is an HLS client. The server (3200) and the DASH / HLS client (3521) may support both DASH and HLS, or may support only one of the two.
[0114] In this disclosure, DASH is described as one embodiment, in which case the server (3200) may include an encoder, a DRM unit, and an HTTP server.
[0115] The encoder divides the original content into multiple smaller segments (i.e., chunks) and encodes the segments at various quality levels (i.e., by quality level). In other words, the encoder encodes a single segment multiple times at different quality levels. The number of segments can vary depending on the quality level. It also generates an XML-based MPD, which is a manifest file.
[0116] The above DRM unit encrypts the encoded segments using the DRM method. The HTTP server uploads the content encrypted using the DRM method (i.e., the encrypted segments) and the MPD to the CDN unit (3300). The CDN unit (3300) provides the MPD and a segment file (i.e., an encrypted segment file) according to the network status to the DASH / HLS client (3521) of the browser (3500) of the video display device in response to a user's content playback request through a video player implemented using a video tag. In addition, the DASH / HLS client (3521) can request and receive the MPD from the CDN unit (3300) in response to the user's content streaming request, and can collect information such as the structure and location of the segment, service type, etc. by parsing the transmitted MPD, and can request the CDN unit (3300) for a segment with the bit rate most appropriate for the network status using the URL included in the MPD. That is, the encrypted segment file is the actual video streaming (i.e., the file required for actual streaming) that combines audio, video, and data, and the MPD describes information related to the segment file. And, when applying DRM for content protection, the MPD may include the corresponding DRM metadata. For example, DASH-based segments may be encrypted using a common encryption algorithm based on the ISO / IEC 23001-7 Common Encryption standard. According to embodiments, HLS also operates similarly to DASH. In HLS, the manifest file is in m3u8 format. Both DASH and HLS are executed over HTTP, use TCP as a transport protocol, segment the video with an accompanying index file, and provide adaptive bitrate streaming. For example, HLS-based segments may be encrypted using an encryption algorithm with OMA DRM V2.0 MPEG2DCF technology.In addition, the DRM unit can encrypt the video (e.g., DASH-based or HLS-based segments) by applying a commercial DRM method (e.g., Widevine or FairPlay or PlayReady) or a common AES (Advanced Encryption Standard) encryption technology. The Widevine DRM is a content protection technology provided by Google, FairPlay DRM is a content protection technology provided by Apple, and PlayReady DRM is a content protection technology provided by Microsoft. For example, Widevine can be built into web browsers such as Chrome and Firefox, Android mobile OS (Operation system), and various OTT (Over The Top) devices to support various client environments. At this time, there are differences in the streaming methods supported by each DRM; PlayReady and Widevine can support DASH streaming, and FairPlay DRM can support HLS streaming.
[0117] That is, the original video (3100) is encrypted in a DRM manner through the DRM unit of the server (3200), and the encrypted video is transmitted to a video display device (e.g., a terminal) as streaming data through the CDN unit (3300). According to embodiments, segments in the DRM unit of the server (3200) may be encrypted differently depending on whether the protocol is DASH or HLS and / or the applied encryption algorithm (i.e., DRM method). Here, DRM refers to a series of technologies that prevent illegal copying / distribution, protect the rights and interests of each entity (content creator, distributor, distributor, user, copyright holder, etc.) participating in the life cycle of content (i.e., creation, processing, distribution, and consumption of content), and support charging and payment processing according to the use of content.
[0118] In this disclosure, the DRM unit of the server (3200) encrypts segments in a DRM manner using an encryption key of the license server (3400) and uploads the encrypted segments to the CDN unit (3300), as an example.
[0119] The above license server (3400) encrypts the video in the DRM method in the server (3200) and stores and manages license information (e.g., keys for encryption and decryption, key validity period, device information, etc.) for decrypting (or decrypting) the encrypted video in the browser (3500). For example, the license server (3400) provides a key for encryption when encrypting segments in the DRM section of the server (3200), and provides a key for decryption when decrypting the encrypted video in the browser (3500). According to embodiments, the CDM section (3600) of the browser (3500) requests a key for decryption from the license server (3400) under the control of the EME section (3530), and receives the requested key from the license server (3400) to decrypt the encrypted video. In the present disclosure, the CDM section (3600) is referred to as a content decryption module. That is, the CDM unit (3600) downloads and decrypts (i.e., decrypts) the encrypted segment file from the CDN unit (3300) using the manifest file and the decryption key (or decryption key) provided by the license server (3400). In another embodiment, the CDN unit (3300) may convert the original content into a streaming protocol (e.g., HLS, DASH), encrypt it using the DRM method, and then provide it to the DASH / HLS client (3521).
[0120] The above CDN unit (3300) is composed of a plurality of cache servers (temporary storage devices) and can perform a function of streaming and / or downloading encrypted segments (i.e., DRM-processed content) received from the server (3200) according to a request from a DASH / HLS client (3521).
[0121] The above CDN unit (3300) refers to a network server constructed to install multiple cache servers (or CDN servers) at the bottom of the network of the ISP (Internet Service Provider) that the DASH / HLS client (3521) primarily connects to in order to solve the problem that the Internet router section from the user-side connection node to the server (3200) is the main factor in slowing down when DRM content is directly streamed / downloaded from the server (3200) to the DASH / HLS client (3521), and to move the DRM content provided by the server (3200) to the cache server located close to the user in advance and to deliver the DRM content to the user from the cache server when there is a demand. Accordingly, the server (3200) can transmit a large amount of DRM content to the DASH / HLS client (3521) at high speed through the network, and maintain the Internet QoS (Quality of Service). That is, the DASH / HLS client (3521) searches for the CDN server of the CDN unit (3300) that is optimally located for the user (i.e., the video display device) through a manifest file (e.g., MPD) and requests content.
[0122] The CDN server of the above CDN unit (3300) utilizes the DASH function to provide content encrypted using the DRM method (i.e., DRM video file) to the DASH / HLS client (3521) through the network.
[0123] The above DASH / HLS client (3521) provides an encrypted segment file (or segment data or media stream or media data) provided (or downloaded) from the CDN unit (3300) based on a manifest file to the EME (Encripted Media Extensions) unit (3530) through the DRM handler (3523). In the present disclosure, the DRM handler (3523) is, as an example, a plug-in module for a Unity app for DRM / Un-DRM.
[0124] According to embodiments, the EME unit (3530) is responsible for analyzing media and extracting key data (encryption format, e.g., pssh box of cenc) using HTML extension technology of the W3C standard for playing content encrypted in the DRM method. In addition, the EME unit (3530) controls the CDM unit (3600) to process key acquisition for decrypting content encrypted in the DRM method and decryption of the encrypted content. In the present disclosure, the EME unit (3530) is a standard extension framework for controlling media DRM through JavaScript in a browser (3500), and the CDM unit (3600) is a module that requests and manages a key by linking with a license server (3400) in a browser object, as one embodiment.
[0125] That is, EME provides an API that enables applications to interact with DRM systems to allow playback of encrypted content.
[0126] In the present disclosure, the CDM unit (3600) may be included in the EME unit (3530) or may be configured separately. In addition, decryption (or decryption) of encrypted content (i.e., media data) in the CDM unit (3600) may be performed by combining one or more of hardware, software, and firmware.
[0127] The above EME unit (3530) provides encrypted content input through the DRM handler (3523) to the CDM unit (3600).
[0128] The CDM unit (3600) requests a key for decryption from the license server (3400) under the control of the EME unit (3530), and receives the requested key from the license server (3400) to decrypt the content encrypted using the DRM method. That is, the CDM unit (3600) uses the decryption key (or decryption key) included in the manifest file and the license information provided by the license server (3400) to perform the reverse process of the DRM method (i.e., encryption) performed by the DRM unit of the server (3200) to decrypt (i.e., decrypt) the encrypted segment file.
[0129] For example, if the DRM unit of the server (3200) has encrypted the content using the PlayReady DRM method provided by Microsoft, the CDM unit (3600) decrypts the content using the reverse process of the PlayReady DRM method. In addition, if the DRM unit of the server (3200) has encrypted the content using the FairPlay DRM method provided by Apple, the CDM unit (3600) decrypts the content using the reverse process of the FairPlay DRM method. In addition, if the DRM unit of the server (3200) has encrypted the content using the Widevine DRM method provided by Google, the CDM unit (3600) decrypts the content using the reverse process of the Widevine DRM method. In particular, the Widevine DRM method supports adaptive streaming formats such as DASH / HLS and the HTML5 standard DRM specification based on EME / MSE.
[0130] In this way, the CDM unit (3600) acquires a key included in the license information that can decrypt content encrypted using the DRM method and performs decryption of the encrypted content. In one embodiment, the CDM unit (3600) can be considered a client in a DRM system.
[0131] The content decrypted in the CDM unit (3600) is provided to the media engine (3550) under the control of the media handler (3525) and the MSE unit (3540). In the present disclosure, the media handler (3525) is a plug-in module for decoding media streams, and the MSE unit (3540) is an extension framework for parsing and controlling media streams in a browser, as an example.
[0132] As mentioned above, MSE is a JavaScript API for HTML5 designed for streaming video playback using HTTP downloads. Furthermore, MSE allows browsers to play media not only chunk-by-chunk using JavaScript, but also in a streaming format. For HLS, Safari can directly apply the media source, bypassing MSE. However, for DASH, the media source cannot be applied directly, so MSE is used to directly extend the media source, enabling streaming playback in the browser.
[0133] According to embodiments, the MSE unit (3540) obtains the necessary media information using the manifest file (e.g., MPD, m3u8) provided with the decrypted content, and is then used to actually play the media segments (i.e., chunks) on the web. For example, if the browser is Safari, the HLS Manifest (i.e., m3u8) can be used as the source. The MSE unit (3540) is an interface that allows developers to directly define a new media source using HTMLMediaElement instead of the source tag used to provide the source when playing a video with HTML5 video. The developer receives the data of the video to be played via HTTP and then directly provides the media buffer chunk to the HTMLMediaElement using the SourceBuffer object. This allows the developer to provide the data required for HTML5 video when playing the video. In this way, by extending the media source using the MSE API in the MSE unit (3540), streaming content such as DASH and HLS can be played in a web browser as well.
[0134] The above MSE unit (3540) provides media data, whether expanded or not, of the media source to the media engine (3550), and the media engine (3550) performs media decoding in the reverse manner of the encoding method performed in the server (3200). For example, if encoding is performed in the server (3200) using H.264 as the video codec, the media engine (3550) also performs decoding using H.264.
[0135] Media data decoded by the above media engine (3550) is provided to the Webview module (3511).
[0136] The above Webview module (3511) displays (or plays) the decoded media data as a Webview texture in a Webview object. That is, the Webview module (3511) displays the decoded media data as a Webview texture in a Webview object based on the properties of the video player implemented by the video tag. In other words, the Webview module (3511) uploads the decoded media data (i.e., video) from the media engine (3550) to the Webview texture.
[0137] In the present disclosure, a Webview object is overlaid in a pop-up form on top of a WebGL 3D space, as an example.
[0138] That is, the WebGL unit (3810) of the GPU (3800) draws 3D graphics on a canvas using the canvas API and / or the WebGL API, and the canvas display (3513) displays the WebGL 3D space implemented with the 3D graphics drawn on the canvas on the display area (or WebGL area or background) of the video display device (3900). In the present disclosure, the WebGL unit (3810) of the GPU (3800) may be referred to as a WebGL processing unit.
[0139] And, the Webview object created in the Webview module (3511) is overlaid at a specific location on the WebGL 3D space. That is, the media data is displayed as a Webview texture (3910) on a Webview object with a specified width and height at a specified location within the WebGL 3D space (3900) through the Webview module (3511).
[0140] In other words, the media data (i.e., DRM content) decoded by the media engine (3550) is passed to the Webview object and displayed on the WebGL 3D space (3900) provided by the canvas display (3513) as a Webview texture (3910). At this time, the image (3910) displayed as a Webview texture by the Webview module (3511) is decoded in reverse according to the DRM method through the EME unit (3530) and the CDM unit (3600), and is an image decoded through the reverse process of encoding through the media engine (3550).
[0141] As described above, the structure for providing playback of DRM videos using Webview in WebGL 3D space (i.e., 3D virtual space) is as follows. That is, the WebGL 3D space is rendered and displayed in the display area through the WebGL canvas. Then, for the video play area for displaying DRM videos, a separate Webview object is created and implemented in the Webview object using the video tag supported by HTML5, and the video play area is overlaid on the WebGL 3D space (i.e., WebGL screen). At this time, the WebGL 3D space is processed by the renderer for WebGL, and the DRM video is processed by the renderer for Webview.
[0142] That is, the video player in the Webview object processes video streaming in the DASH format using the HLS / DASH client (3521), and if the video streaming is encrypted in the DRM format, it registers the HTML media element (Audio / Video) callback of the MSE unit (3540) and then processes it to be returned directly to the Webview in the frame-shaped Webview video texture area (3910).
[0143] In this way, the browser (3500) can play DRM video (e.g., DRM video in DASH or HLS format) in Webview using the video tag provided by HTML5 without installing a plug-in. In particular, as a Webview texture, the DRM video can be played at a specific location in the WebGL 3D space with a specified width and height. Here, the DRM video refers to a video decrypted through the EME unit (3530) and the CDM unit (3600).
[0144] FIG. 4 is a flowchart showing an example of a method for decrypting an image encrypted using a DRM method according to embodiments and displaying it based on Webview.
[0145] FIG. 4 illustrates, by way of example, a process of decrypting content encrypted using a DRM method and displaying it as a Webview texture within a WebGL 3D space when a WebGL 3D space is displayed as a background on a website. This is merely an example, and the present disclosure can also decrypt content encrypted using a DRM method and display it as a Webview texture on a website without a WebGL 3D space.
[0146] The present disclosure assumes that a WebGL 3D space drawn on a WebGL canvas is displayed as a background screen of a video display device (S4011).
[0147] At this time, the original video file (e.g., content in mp4 file format) (3100) is encrypted in a DRM manner through the DRM unit of the server (3200), and the encrypted content (i.e., Encrypted Video) is transmitted as video streaming to the DASH / HLS client (3521) of the video display device (e.g., terminal) through the CDN unit (3300). Here, it is assumed that the original video file (3100) is a video that the user has selected to play in a video player implemented through a video tag in the Webview module (3511).
[0148] The above DASH / HLS client (3521) is a client that supports the DASH and / or HLS protocols, and provides (or downloads) chunked video streaming through the CDN unit (3300) (S4012).
[0149] The content encrypted with the DRM method received (or downloaded) by the above DASH / HLS client (3521) is decrypted in the CDM unit (3600) under the control of the EME unit (3530). That is, the CDM unit (3600) requests a DRM key from the license server (3400) through an interface with the license server (3400), and the license server (3400) provides the requested DRM key to the CDM unit (3600) (S4013). Then, the CDM unit (3600) decrypts the content encrypted with the DRM method using the DRM key provided from the license server (3400) (S4014). According to embodiments, the CDM unit (3600) decrypts the encrypted content based on the DRM method supported by the corresponding browser and the DRM key provided from the license server (3400). For example, the CDM unit (3600) performs un-DRM processing (i.e., decryption) on encrypted content based on the widevine DRM method if the browser is Chrome, the faireplay DRM method if the browser is Safari, and the Playready DRM method if the browser is Edge.
[0150] And, the content decrypted in the CDM unit (3600) (i.e., un-DRM processed media data) is provided to the media engine (3550) together with the manifest file.
[0151] The above media engine (3550) decodes un-DRM processed media data under the control of the MSE unit (3540) (S4015).
[0152] The media data decoded by the media engine (3550) can be rendered and displayed as a Webview texture by the Webview module (3511) (S4016). That is, the Webview module (3511) displays the media data decoded by the media engine (3550) as a Webview texture on a Webview object with a specified width and height at a specified location. In this case, as an embodiment, the media data is displayed in the form of an overlay within the WebGL 3D space.
[0153] In this way, in the present disclosure, the browser (3500) can play a DRM image as a Webview texture at a specified width and height at a specific location on the WebGL 3D space displayed on the web screen without installing a plug-in. Here, the DRM image means an image decrypted through the EME unit (3530) and the CDM unit (3600).
[0154] At this time, the Webview video player provided by the Webview module (3511) can only process the square coordinates (x,y) of the 2D texture. Therefore, in order to seamlessly process the Webview texture within the WebGL 3D space, real-time position correction of the DRM video according to the user's viewing direction (or camera view) within the WebGL 3D space is required.
[0155] FIG. 5 is a diagram showing an example of a Webview texture (i.e., an un-DRM processed HTML5 image) being played (or displayed) in 2D format according to embodiments.
[0156] In Fig. 5, only the length (x,y) along which the image is displayed can be controlled even if the user's viewing direction changes. That is, the depth of the image (e.g., z-axis) cannot be controlled even if the user's viewing direction changes, and the depth of the image is fixed regardless of the user's viewing direction.
[0157] FIG. 6 is a diagram showing an example of a WebGL texture (i.e., an image in 3D space) being played (or displayed) according to embodiments.
[0158] In Fig. 6, the image is displayed as a coordinate on (x,y,z) that includes depth information (z) at which the image is located in space. That is, when the user's viewing direction changes, not only the length of (x,y) at which the image is displayed, but also the depth (z) can be controlled.
[0159] In other words, in terms of displaying a video on the screen, when rendering a Webview video, the HTML5 video player (e.g., the Webview video player implemented via the video tag) only draws and displays the (x,y) coordinate (i.e., 2D) area. However, since WebGL requires the video to be positioned and displayed within the (x,y,z) spatial area including depth information, it is not possible to display un-DRM processed videos in 3D form with the HTML5 video player.
[0160] In this way, since the Webview overlay area (i.e., the frame area corresponding to the Webview object) is not a fixed (x,y) coordinate (i.e., 2D) area but changes variably depending on the user's line of sight (or the user's viewing direction or camera view), a process of correcting the 2D position where the un-DRM processed video will be displayed to the 3D position in real time is necessary to make the rendered video appear non-inconsistent within the frame of the video display device (e.g., TV).
[0161] That is, in the space of WebGL, the Webview image must be displayed with 3D information such as (x, y, z) coordinates, but the image (i.e., video element) obtained from a Webview-based video player (i.e., Webview video player) only has 2D information such as (x, y) coordinates.
[0162] Accordingly, the present disclosure is an embodiment of a method for converting a location at which a Webview image is to be displayed from a 2D location (e.g., x, y) to a 3D location (e.g., x, y, z) in real time based on a transformation 3D matrix algorithm and displaying it in the form of an overlay on a WebGL 3D space.
[0163] In the present disclosure, the transformation 3D matrix algorithm is, as an example, applied to a 3D affine transformation matrix algorithm. Here, a 3D affine transformation matrix is an application of digital image processing, a geometric transformation that preserves lines and parallelism. This is merely an example, and the present disclosure is not limited thereto.
[0164] Specifically, the present disclosure applies a 3D affine transformation matrix algorithm based on a reference position and a target position to transform a 2D image having (x,y) coordinates into a 3D image having (x,y,z) coordinates, as one embodiment.
[0165] According to embodiments, the 3D affine transformation matrix algorithm can transform the 2D coordinates (x, y) of each pixel into 3D coordinates (x, y, z) while preserving spatial parallelism by including both linear transformation and translation transformation. That is, the present disclosure can transform a 2D image into a 3D image by applying the 3D affine transformation matrix algorithm.
[0166] More specifically, the present disclosure applies a 3D affine transformation matrix (linear geometry) to directly calculate spatial coordinates (i.e., 3D coordinates) of a video region by applying the (scale, tilt, positioning) functions of an HTML5 video element (e.g., an un-DRM processed video), and displays the un-DRM processed video as a Webview texture at the calculated 3D position.
[0167] FIGS. 7(a) to 7(c) are drawings explaining a process of converting a 2D image into a 3D image and displaying the converted image by applying a transformation 3D matrix according to embodiments.
[0168] ① As in Fig. 7(a), the coordinates of the four corner points (i.e., vertices) of the frame (i.e., Webview object) (7001) of the current frame of the video display device (e.g., TV) are made into a position vector list. Then, this position vector list [(xc1, yc1), (xc2, yc3), (xc3, yc3), (xc4, yc4)] is designated as a reference position (referencePosition). In this case, the coordinates are obtained from the Unity world coordinates through the canvas element as an embodiment. Here, the Unity world coordinates refer to the position of an object with respect to the world, and the directions of the x, y, and z axes are determined with respect to the world.
[0169] ② Repeat step ① for the next frame to obtain new coordinates of the four corner points (i.e., vertices) of the frame of the next frame, and make these coordinates into a list of position vectors. Then, name this list of position vectors [(ut1, vt1), (ut2, vt2), (ut3, vt3), (ut4, vt4)] the target position (targetPosition).
[0170] ③ Then, the phase difference vector between TargetPosition and referencePosition is calculated to obtain a transformation 3D matrix.
[0171] ④ Apply a transformation 3D matrix to each frame of an HTML video element (e.g., an un-DRM processed video) to obtain the 3D position of the area where the un-DRM processed video will be displayed. That is, as shown in Fig. 7(b), the 3D position where the un-DRM processed video will be displayed is calculated in real time, and the existing 2D position is corrected with the calculated 3D position.
[0172] ⑤ Repeat steps ① to ④ until the video (i.e., the un-DRM processed video) stops playing. In this way, the un-DRM processed video is displayed as a Webview texture in a 3D location, as shown in Fig. 7(c), and is displayed as an overlay on the WebGL 3D space.
[0173] In this way, the present disclosure can convert the display position of a DRM image from 2D to 3D based on a reference position (referencePosition) and a target position (TargetPosition). Specifically, the present disclosure can convert the display position of a DRM image from a 2D position without depth information to a 3D position including depth information by applying a 3D affine transformation matrix based on the reference position (referencePosition) and the target position (TargetPosition). In other words, a 2D DRM image can be converted into a 3D DRM image in real time and played back by overlaying it on a WebGL 3D space.
[0174] Next, we will explain the operation of the transformation 3D matrix in more detail.
[0175] First, in Unity, the positions of the four corners of the frame (e.g., Webview object) where the DRM video will be displayed after movement can be obtained in real time for each frame. Furthermore, video position information can be obtained and processed for each frame via video tags.
[0176] The present disclosure utilizes these two pieces of information to compute in real time the 3D position at which a DRM image (i.e., video) will be displayed by utilizing a 3D affine transformation matrix (or 3D affine spatial transformation matrix). Here, the 3D affine transformation matrix is an application of digital image processing, which is a geometric transformation that preserves lines and parallelism.
[0177] According to the embodiments, the 3D affine transformation matrix is a matrix representation of a linear transformation of position values, as shown in the following mathematical expression 1.
[0178] [Mathematical Formula 1]
[0179]
[0180] In mathematical expression 1, x can be defined as the frame position of the current frame, and y can be defined as the frame position of the next frame.
[0181] Using mathematical expression 1, the M transformation matrix can be obtained as in mathematical expression 2 below.
[0182] [Equation 2]
[0183]
[0184] In Equation 2, x1, 쪋, x n+1 represents the corner position of the frame of the current frame, y1, 쪋, y n+1 Indicates the position of the corners of the frame in the next frame.
[0185] Specifically, the present disclosure utilizes the CSS transformation function matrix (CSS transformation function matrix3D()) of an HTML video element to determine the corner positions (x1, 쪋, x) of the frame of the first frame. n+1 ) and the corner positions of the frame of the next frame (y1, 쪋, y n+1 ) can be measured, and then an M transformation matrix for calculating the next 3D position of the video (i.e., DRM video) can be obtained through the following mathematical expression 3.
[0186] [Equation 3]
[0187]
[0188] That is, video.style.transform= matrix3d (a1, b1, c1, d1,
[0189] a2, b2, c2, d2,
[0190] a3, b3, c3, d3,
[0191] a4, b4, c4, d4).
[0192] As a result, the function (video.style.transform) for positioning the video (i.e., DRM video) is defined as in the mathematical expression 3 above, and the video position information value (i.e., 2D position value) obtained through the HTML video tag is substituted into this function to obtain the 3D position value of the video to be displayed in the WebGL 3D space.
[0193] Fig. 8 is a block diagram showing another example of a video display device according to embodiments. That is, Fig. 8 is a block diagram of a video display device for correcting the display position of a DRM video within a WebGL 3D space and displaying it as a Webview texture. Each component illustrated in Fig. 8 may correspond to software, hardware, a processor connected to a memory, and / or a combination thereof. In particular, Fig. 8 can provide a DRM video player structure utilizing a Webview texture by applying real-time camera view position information (i.e., position information of a Webview object according to a user's viewing direction) to a 3D transformation matrix based on a structure utilizing the Webview texture of Fig. 3.
[0194] Hereafter, detailed descriptions of blocks identical to those disclosed in FIG. 3 will be omitted in FIG. 8 to avoid redundant descriptions. Therefore, for parts not described in FIG. 8, reference will be made to the description of FIG. 3.
[0195] In FIG. 8, the web user interface unit (8100) included in the browser (3500) may include a Webview module (8110) and a canvas display (8113). In the present disclosure, a Webview 3D video player is positioned on a Webview object created by the Webview module (8110), as an example. This means that the Webview 3D video player is executed on the Webview object. According to embodiments, the Webview 3D video player may provide a UI, such as buttons and menu items, on the Webview object through a video tag so that a user can play, adjust volume, navigate, set picture quality and screen settings, etc. of the video. In the present disclosure, the Webview module (8110) may be referred to as a Webview processing unit, and the WebGL unit (3810) may be referred to as a WebGL processing unit.
[0196] In the present disclosure, the Webview 3D video player of the Webview module (8110) is a web player application that calculates in real time the 3D position where the DRM video will be displayed by applying a 3D matrix to transform the position, and displays the DRM video at the calculated 3D position. That is, the Webview 3D video player is a video tag supported by HTML5 (i.e., <video>In one embodiment, a view control function for converting (or correcting) a 2D position into a 3D position is added to a video player implemented through a tag. In the present disclosure, the Webview module (8110) and the canvas display (8113) included in the web user interface unit (8100) are executed in a web browser. Here, in one embodiment, the Webview 3D video player is created using a language such as HTML5, CSS, and JavaScript.
[0197] In the present disclosure, a view control function may be included as one of the attributes of a video tag. In the present disclosure, a video player in which a view control function is included as an attribute of a video tag may be referred to as a Webview 3D video player.
[0198] According to embodiments, the Webview module (8110) can play a DRM video in a 3D location using a Webview 3D video player implemented through a video tag having a view control function as an attribute. In one embodiment, the Webview module (8110) can create a Webview object and then display a DRM video in a 3D location on the Webview object using a video tag having a view control function. In the present disclosure, the video tag may be referred to as a video element. In addition, the Webview object can be created using HTML, CSS, JavaScript, etc.
[0199] At this time, the Webview module (8110) receives, for each frame, the position information (i.e., video position information) of the four corners of the frame (i.e., Webview object) where the DRM video will be displayed from the canvas element of the canvas display (8113) through the video tag, and calculates and corrects in real time the 3D position where the DRM video will be displayed based on this position information. That is, in one embodiment, the 3D position where the DRM video will be displayed is calculated and corrected in real time based on the position information that changes whenever the user's viewing direction (or camera view) changes.
[0200] And, in one embodiment, the WebGL part (3810) of the GPU (3800) draws 3D graphics on a canvas using the canvas API and / or the WebGL API, and the canvas display (8113) displays the WebGL 3D space implemented with the 3D graphics drawn on the canvas as a background screen on a video display device.
[0201] Accordingly, the DRM image converted to 3D (i.e., position-corrected) is displayed as a Webview texture (3930) on the Webview object on the WebGL 3D space. That is, the Webview texture (3910) on the WebGL 3D space in FIG. 3 is a DRM image displayed on a 2D position, whereas the Webview texture (3930) on the WebGL 3D space in FIG. 8 is a DRM image displayed on a 3D position.
[0202] FIG. 9 is a flowchart showing another example of a method for decrypting an image encrypted using a DRM method according to embodiments and displaying it based on Webview.
[0203] FIG. 9 illustrates another example of a process for decrypting DRM-encrypted content and displaying it as a Webview texture within the WebGL 3D space when a WebGL 3D space is displayed as a background on a website. This is merely one embodiment, and the present disclosure can also decrypt DRM-encrypted content and display it as a Webview texture on a website without a WebGL 3D space.
[0204] The present disclosure assumes that a WebGL 3D space drawn on a WebGL canvas is displayed as a background screen of a video display device (S9011).
[0205] At this time, the original video file (e.g., content in mp4 file format) (3100) is encrypted in a DRM manner through the DRM section of the server (3200), and the encrypted content (i.e., Encrypted Video) is transmitted as video streaming through the CDN section (3300) to the DASH / HLS client (3521) of the video display device (e.g., terminal).
[0206] The above DASH / HLS client (3521) is a client that supports the DASH and / or HLS protocols, and provides (or downloads) chunked video streaming through the CDN unit (3300) (S9012).
[0207] The content encrypted with the DRM method received (or downloaded) by the above DASH / HLS client (3521) is decrypted in the CDM unit (3600) under the control of the EME unit (3530). That is, the CDM unit (3600) requests a DRM key from the license server (3400) through an interface with the license server (3400), and the license server (3400) provides the requested DRM key to the CDM unit (3600) (S9013). Then, the CDM unit (3600) decrypts the content encrypted with the DRM method using the DRM key provided from the license server (3400) (S9014). According to embodiments, the CDM unit (3600) decrypts the encrypted content based on the DRM method supported by the corresponding browser and the DRM key provided from the license server (3400). For example, the CDM unit (3600) performs un-DRM processing (i.e., decryption) on encrypted content based on the widevine DRM method if the browser is Chrome, the faireplay DRM method if the browser is Safari, and the Playready DRM method if the browser is Edge.
[0208] And, the content decrypted in the CDM unit (3600) (i.e., un-DRM processed media data) is provided to the media engine (3550) together with the manifest file.
[0209] The above media engine (3550) decodes un-DRM processed media data under the control of the MSE unit (3540) (S9015).
[0210] Media data decoded by the above media engine (3550) is provided to the Webview module (8110). Here, the decoded media data is referred to as DRM video or un-DRM processed and decoded video. In the present disclosure, the terms DRM video and un-DRM processed and decoded video may be used interchangeably.
[0211] The Webview module (8110) applies a transformation 3D matrix algorithm to convert the display position of decoded media data to be displayed within the WebGL 3D space from 2D coordinates to 3D coordinates (S9016). More specifically, the Webview module (8110) receives position information (i.e., video position information) of the four corners of the frame where the DRM video will be displayed from the canvas element of the canvas display (8113) through a video tag for each frame, and applies this position information to the transformation 3D matrix algorithm, thereby calculating the 3D position where the DRM video will be displayed in real time for each frame. That is, the present disclosure converts the position where the DRM video will be displayed as a Webview texture from a 2D position (e.g., x, y) to a 3D position (e.g., x, y, z) in real time based on the transformation 3D matrix algorithm, and displays it in the form of an overlay on the WebGL 3D space, in one embodiment. In the present disclosure, a transformation 3D matrix algorithm applies a 3D affine transformation matrix algorithm as one embodiment. Specifically, the present disclosure applies a 3D affine transformation matrix algorithm based on a reference position obtained from the four corners of a frame of a current frame and a target position obtained from the four corners of a frame of a next frame to transform a 2D image having (x, y) coordinates into a 3D image having (x, y, z) coordinates. Here, the reference position and the target position may correspond to real-time camera view position information (i.e., position information of a Webview object according to a user's viewing direction). In addition, in one embodiment, such position information is provided from a canvas element.
[0212] As described so far, the present disclosure can provide a Webview-based DRM play as shown in FIG. 3 and / or FIG. 8, and can also de-DRM encrypted video using a DRM method utilizing in-browser CDM and EME. In particular, the HTML5 video tag can be used to obtain an de-DRM processed video as a Webview object, and the display area of the Webview texture can be processed in real time using a 3D transformation matrix. At this time, two renderers can be provided by overlaying the Webview object (i.e., the player) in the WebGL 3D space.
[0213] In this way, in the present disclosure, the browser (3500) can play a DRM image as a Webview texture by overlaying it at a specific location within the WebGL 3D space without installing a plug-in. Here, the DRM image refers to an image decrypted through the EME unit (3530) and the CDM unit (3600).
[0214] In addition, in the present disclosure, when the browser (3500) displays a DRM image as a Webview texture at a specific location within the WebGL 3D space, the location where the DRM image is displayed can be converted from 2D coordinates to 3D coordinates in real time and displayed. That is, when providing an image service in the form of an overlay within the WebGL 3D space, the location of the DRM image can be corrected in real time using a 3D transformation matrix, thereby providing the DRM image seamlessly within the WebGL 3D space.
[0215] In particular, the Webview overlay method proposed in this disclosure is efficient because it can directly obtain a decrypted video (i.e., Decrypted Video) as a Webview by utilizing an HTML video tag regardless of each browser / DRM type, and then processes the obtained video (i.e., video data) in the application layer area, so no separate customization is required in the low-level layer.
[0216] In addition, in the Webview method that only allows 2D (x,y) cube texture display, the Webview object is not a fixed 2D image (i.e., video), but a 3D transformation algorithm that corrects the position where the image (or video) is displayed by reflecting the movement of the user (e.g., customer) in real time in the WebGL 3D space is added, so that DRM videos can be provided seamlessly within the WebGL 3D space. In addition, the Webview method performs real-time position calculations where the image should be displayed in the CPU area, and the display in the WebGL 3D space is processed in the GPU, so there is an effect of distributing the use of system resources through the multi-processing effect.
[0217] In this way, the present disclosure can provide a DRM video player utilizing WebView textures in WebGL-based services. Therefore, if this DRM playback function is provided, the business model (BM) can be expanded to include businesses utilizing content IP (Intellectual Property) in web virtual exhibition halls.
[0218] So far, we have explained the process of decrypting DRM-protected video and then processing it as a Webview texture in WebGL 3D space and displaying it.
[0219] In another embodiment, the present disclosure may decrypt DRM-ed video and then process it as a WebGL texture in WebGL 3D space for display.
[0220] In particular, the present disclosure can decrypt a DRM-protected video and then process it as a Webview texture in a WebGL 3D space for display, or can process it as a WebGL texture for display. In other words, the present disclosure can provide a DRM player that utilizes a Webview texture processing method or a WebGL texture processing method in a WebGL-based service.
[0221] According to embodiments, the present disclosure may process and display a DRM image as a Webview texture according to a DRM method, or may process and display a DRM image as a WebGL texture.
[0222] According to embodiments, DRM methods can be broadly divided into open DRM methods and custom DRM methods.
[0223] According to embodiments, an image encrypted with an open DRM method can be decrypted by applying an open CDM, and an image encrypted with a custom DRM method can be decrypted by applying a custom CDM.
[0224] According to embodiments, an image encrypted using an open DRM method and then decrypted by applying an open CDM may be processed as a Webview texture and displayed in a WebGL 3D space, and an image encrypted using a custom DRM method and then decrypted by applying a custom CDM may be processed as a WebGL texture and displayed in a WebGL 3D space.
[0225] As mentioned above, DRM is a technology for managing the copyright and security of content, while CDM is a module used to decrypt and play content encrypted using the DRM method. In other words, CDM is a component that handles the decryption of encrypted content within a web browser. In this disclosure, "content" is used interchangeably with digital content, media content, media stream, or video.
[0226] According to embodiments, open DRM refers to a DRM system (or protocol) implemented as open source or open standards. In other words, open DRM is not restrictive or proprietary, is universally used, and is supported across various platforms and devices. Representative open DRM methods include Widevine, FairPlay, and PlayReady.
[0227] Widevine is an open-source DRM technology developed by Google, primarily used to protect video streaming services. Widevine is supported on Android-based devices and the Chrome browser, and boasts high security and stability.
[0228] FairPlay is an open standard DRM technology developed by Apple, primarily used on iOS devices and the Safari browser. It is specifically used to protect Apple content (movies, TV shows, etc.).
[0229] PlayReady is an open standard DRM technology developed by Microsoft and supported on Windows-based devices and the Microsoft Edge browser. Specifically, PlayReady is used to protect access to video streaming and various other content.
[0230] For example, if a user selects the open DRM method as the encryption method for content (i.e., video) through the device and selects Chrome as the browser, the content (i.e., video) is DRM'd (i.e., encrypted) using the widevine method and then decrypted.
[0231] Meanwhile, custom DRM refers to a DRM system independently developed by an organization or content provider applying DRM. Custom DRM refers to systems that utilize proprietary encryption technology, rather than existing open source or standard DRM. Custom DRM is typically used by broadcasters or specific content providers and can only operate in specific hardware or software environments. For example, custom DRM can be used when a high level of security is required for the content provided. Custom DRM can be implemented based on a Conditional Access System (CAS), a scrambler, or other technologies.
[0232] While open DRM is used across a variety of platforms and is universally supported, custom DRM is a DRM system developed independently by developers, designed to meet specific content protection requirements, and can be used in specific environments.
[0233] Open CDM is a DRM module implemented as open source or open standards for decrypting encrypted content in web browsers or other client apps. In other words, Open CDM refers to a CDM developed as an open source project and publicly available. It complies with W3C (World Wide Web Consortium) specifications and industry standards and specifications, making it compatible with multiple browsers and platforms. In other words, Open CDM is designed to be interoperable across various browsers and operates on various platforms without modification. Therefore, major browser vendors can adopt or support Open CDM to ensure consistent DRM functionality across platforms. Because Open CDM is open source and standardized, it is generally more accessible and usable.
[0234] In contrast, a custom CDM refers to a proprietary or customized implementation of a CDM, developed and controlled (or managed) by a specific company or organization. In other words, a custom CDM allows content providers or platform developers to create their own CDMs to handle media decryption, rather than using open source and standardized approaches. In one embodiment, a custom CDM is often developed to meet the requirements of a specific DRM (e.g., a custom DRM) or to integrate with a proprietary DRM solution. As such, because a custom CDM is not open source, access may be restricted and may require specific licenses or agreements with content providers.
[0235] In other words, while open CDMs adhere to the W3C EME standard and provide a standardized interface for media decryption across browsers, custom CDMs lack standardization and may have different implementations across different platforms. In other words, open CDMs are open-source, standardized, and interoperable implementations of CDMs, while custom CDMs are proprietary or custom CDM implementations developed for specific platforms or DRM solutions.
[0236] In this disclosure, custom CDM may be referred to as customized CDM, user-defined CDM, or proprietary CDM.
[0237] Thus, CDM is a component used in DRM systems to safely handle the decryption of encrypted content such as video and audio in web browsers, and there are two types of CDM implementations: open CDM and custom CDM.
[0238] Meanwhile, when selecting open DRM and open CDM to display DRM images by processing them as WebGL textures, browser-specific alignment development is required at the low-level layer (e.g., CDM, EME) depending on the browser type (e.g., Chrome, Safari, Edge, etc.) and the open DRM type (e.g., widevine, fairplay, playready, etc.).
[0239] In contrast, the Webview Overlay method uses HTML tags to directly obtain and process the described video into Webview, regardless of the browser / DRM type.
[0240] Accordingly, the present disclosure encrypts and decrypts content using a custom DRM and a custom CDM, and processes the decrypted content into a WebGL texture and displays it, as an embodiment.
[0241] In addition, the present disclosure encrypts and decrypts content using open DRM and open DRM, and processes the decrypted content into a Webview texture and displays it, as an embodiment.
[0242] In this case, an open DRM license server for encryption and decryption of open DRM and a custom DRM license server for encryption and decryption of custom DRM are required respectively.
[0243] FIG. 10 is a diagram showing another example of a web-based video display device according to embodiments.
[0244] The web-based video display device of Fig. 10 is structured such that a custom DRM, a custom CDM, and a custom DRM license server are further included in the web-based video display device of Fig. 8 to encrypt an original video using a custom DRM method, then decrypt the decrypted video, and then process and display the decrypted video using WebGL. In addition, the web-based video display device of Fig. 8 is structured such that a Webview module is further included in the web-based video display device of Fig. 3 to convert a 2D Webview video into a 3D Webview video.
[0245] Therefore, some descriptions of blocks identical to those disclosed in FIGS. 3 and 8 may be omitted in FIG. 10 to avoid redundant descriptions. Parts not described in FIG. 10 will be referred to the descriptions of FIGS. 3 and 8.
[0246] Each component illustrated in FIG. 10 may correspond to software, hardware, a processor connected to memory, and / or a combination thereof.
[0247] According to embodiments, a custom DRM may be included in an encryption unit (3200), and a custom CDM (3620) may be included in a browser area (3700). In addition, the encryption unit (3200) may also include an open DRM.
[0248] The encryption unit (3200) of FIG. 10 corresponds to the server (3200) of FIG. 3 and FIG. 8. The open CDM unit (3610) of FIG. 10 corresponds to the CDM unit (3600) of FIG. 3 and FIG. 8, and the open DRM license server (3410) corresponds to the license server (3400) of FIG. 3 and FIG. 8.
[0249] That is, the server (3200) of FIGS. 3 and 8 encrypts the original content in the open DRM manner according to the key value provided from the open DRM license server (3410), and the CDM unit (3600) decrypts the content encrypted in the open DRM manner in the open CDM manner.
[0250] In FIG. 10, the original content (or original video file or original video) (3100) is in the mp4 (MPEG-4 part 14) file format as an example. The original content (3100) is encrypted in the open DRM method or the custom DRM method in the encryption unit (3200) and then provided to the DASH / HLS client (3521) of the web browser (3500) of the video display device through the CDN unit (3300) in the DASH or HLS streaming protocol format as an example. In another example, the encryption unit (3200) may provide the original content in the DASH or HLS streaming protocol format to the DASH / HLS client (3521) of the web browser (3500) of the video display device through the CDN unit (3300) without encrypting it.
[0251] According to embodiments, users can choose whether to encrypt the original content with open DRM or custom DRM. Furthermore, if open DRM is selected, the type of open DRM selected (e.g., widevine DRM, fairplay DRM, playready DRM, etc.) varies depending on the type of web browser (e.g., Chrome, Safari, Edge, etc.).
[0252] According to embodiments, if the encryption unit (3200) is a server for DASH, the DASH / HLS client (3521) is a DASH client, and if the encryption unit (3200) is a server for HLS, the DASH / HLS client (3521) is an HLS client. The encryption unit (3200) and the DASH / HLS client (3521) may support both DASH and HLS, or may support only one of the two.
[0253] According to embodiments, content encrypted in the open DRM method or custom DRM method in the encryption unit (3200) may be provided to the DASH / HLS client (3521) through the CDN unit (3300) together with a manifest file, or the manifest file may be first provided to the DASH / HLS client (3521) through the CDN unit (3300) upon request. For example, if the encryption unit (3200) is a server for DASH, the manifest file is MPD, and if it is HLS, the manifest file is m3u8. That is, manifest files such as MPD and m3u8 contain text information about how to play content (e.g., video file) divided into segments and for how many seconds, the URLs of the segments (i.e., media file paths), etc. As MPD and m3u8 have been described in detail above, they will be omitted here.
[0254] Taking DASH as an example, the encryption unit (3200) uploads content encrypted with open DRM or custom DRM (i.e., encrypted segments) and MPD to the CDN unit (3300). The CDN unit (3300) provides the MPD and segment files (i.e., encrypted segment files) according to the network status to the DASH / HLS client (3521) of the browser (3500) of the video display device in response to the user's content playback request. In addition, the DASH / HLS client (3521) can request and receive the MPD from the CDN unit (3300) in response to the user's content streaming request, and can collect information such as the structure and location of the segment, service type, etc. by parsing the transmitted MPD, and can request the CDN unit (3300) for a segment with the bit rate most appropriate for the network status using the URL included in the MPD. In other words, the encrypted segment file is the actual video streaming (i.e., the file required for actual streaming) that combines audio, video, and data, and the MPD describes information related to the segment file. Furthermore, when applying DRM for content protection, the MPD may include the corresponding DRM metadata.
[0255] In the present disclosure, the encryption unit (3200) encrypts segments using an encryption key of an open DRM license server (3410) or a custom DRM license server (3420) according to a DRM method, and uploads the encrypted segments to a CDN unit (3300), as an example. For example, if the DRM method is an open DRM method, the segments are encrypted using the encryption key of the open DRM license server (3410), and if the DRM method is a custom DRM method, the segments are encrypted using the encryption key of the custom DRM license server (3410).
[0256] In this disclosure, the open DRM license server (3410) is a key issuing license server for utilizing Google / MS / Apple DRM, and the custom DRM license server (3420) is a license server that is built externally and issues its own key for Un-DRM and transmits a key value when requested by a CDM in a browser.
[0257] According to embodiments, the open DRM license server (3410) and / or the custom DRM license server (3420) encrypts an image in the encryption unit (3200) using the open DRM method or the custom DRM method, and stores and manages license information (e.g., keys for encryption and decryption, key validity period, device information, etc.) for decrypting (or decrypting) an image encrypted in the open DRM method or the custom DRM method in a web browser (3500). For example, the open DRM license server (3410) and / or the custom DRM license server (3420) provides a key for encryption when encrypting segments in the encryption unit (3200), and provides a key for decryption when decrypting an encrypted image in a web browser (3500). According to embodiments, the open CDM unit (3610) of the web browser (3500) requests a key for decryption from the open DRM license server (3410) under the control of the EME unit (3530), and performs decryption of an encrypted video by receiving the requested key from the open DRM license server (3410). In the present disclosure, the EME standard of the EME unit (3530) provides an API that enables an HTML / JavaScript-based web application running on a web browser to interact with DRM, thereby enabling playback of content (i.e., audio and video) encrypted using a DRM method. According to embodiments, the custom CDM unit (3620) of the web browser (3500) requests a key for decryption from the custom DRM license server (3420) under the control of the EME unit (3530), and performs decryption of an encrypted video by receiving the requested key from the custom DRM license server (3420).
[0258] In the present disclosure, the open CDM unit (3610) and / or the custom CDM unit (3620) are referred to as content decryption modules. That is, the CDM is a module that requests and manages keys by linking with a DRM license server in a browser object, and the open CDM is a key linking module based on open DRM such as Widevine (Google), Fairplay (Apple), and Playready (Edge) within the browser, and the custom CDM is a self-CDM module that utilizes the open CDM module, and is scripted and automatically downloaded when the browser starts.
[0259] According to embodiments, the open CDM unit (3610) downloads and decrypts (i.e., decrypts) an encrypted segment file from the CDN unit (3300) using a manifest file and a decryption key (or decryption key) provided by the open DRM license server (3410). In another embodiment, the CDN unit (3300) may convert the original content into a streaming protocol (e.g., HLS, DASH), encrypt it using the open DRM method, and then provide it to the DASH / HLS client (3521).
[0260] According to embodiments, the custom CDM unit (3620) downloads and decrypts (i.e., decrypts) an encrypted segment file from the CDN unit (3300) using a manifest file and a decryption key (or decryption key) provided by the custom DRM license server (3420). In another embodiment, the CDN unit (3300) may convert the original content into a streaming protocol (e.g., HLS, DASH), encrypt it using a custom DRM method, and then provide it to the DASH / HLS client (3521).
[0261] According to embodiments, content decrypted in the open CDM method in the open CDM unit (3610) or content decrypted in the custom CDM method in the custom CDM unit (3610) is decoded in the media engine (3550) under the control of the media handler (3525) and the MSE unit (3540).
[0262] In the present disclosure, the media handler (3525) is a plug-in module for decoding media streams, and the MSE unit (3540) is an extension framework for parsing and controlling media streams in a browser, as an example.
[0263] As mentioned above, MSE is a JavaScript API for HTML5 designed for streaming video playback using HTTP downloads. Furthermore, MSE allows browsers to play media not only chunk-by-chunk using JavaScript, but also in a streaming format. For HLS, Safari can directly apply the media source, bypassing MSE. However, for DASH, the media source cannot be applied directly, so MSE is used to directly extend the media source, enabling streaming playback in the browser.
[0264] According to embodiments, the MSE unit (3540) obtains the necessary media information using the manifest file (e.g., MPD, m3u8) provided with the decrypted content, and is then used to actually play the media segments (i.e., chunks) on the web. For example, if the browser is Safari, the HLS Manifest (i.e., m3u8) can be used as the source. The MSE unit (3540) is an interface that allows developers to directly define a new media source using HTMLMediaElement instead of the source tag used to provide the source when playing a video with HTML5 video. The developer receives the data of the video to be played via HTTP and then directly provides the media buffer chunk to the HTMLMediaElement using the SourceBuffer object. This allows the developer to provide the data required for HTML5 video when playing the video. In this way, by extending the media source using the MSE API in the MSE unit (3540), streaming content such as DASH and HLS can be played in a web browser as well.
[0265] If the media data decoded by the media engine (3550) is decoded using the open CDM method and then decoded as media data (i.e., video), it is provided to the Webview module (8110). At this time, the media data decoded by the media engine (3550) can be provided to the Webview module (8110) via CUDA (Computed Unified Device Architecture). CUDA is a GPU development tool developed by NVIDIA.
[0266] The Webview module (8110) displays (or plays) the decoded media data as a Webview texture in a Webview object. That is, the Webview module (8110) displays the decoded media data as a Webview texture in a Webview object based on the properties of the video player implemented by the video tag. In other words, the Webview module (8110) uploads the decoded media data (i.e., video) from the media engine (3550) to the Webview texture.
[0267] In the present disclosure, a Webview object is overlaid in a pop-up form on top of a WebGL 3D space, as an example.
[0268] That is, the WebGL unit (3810) of the GPU (3800) draws 3D graphics on a canvas using the canvas API and / or the WebGL API, and the canvas display (8120) displays the WebGL 3D space implemented with the 3D graphics drawn on the canvas on the display area (or WebGL area or background) of the video display device (3900). In the present disclosure, the WebGL unit (3810) of the GPU (3800) may be referred to as a WebGL processing unit or a GLSL unit.
[0269] In addition, the Webview object created in the Webview module (8110) is overlaid at a specific location on the WebGL 3D space. That is, the media data is displayed as a Webview texture (3910) on a Webview object with a specified width and height at a specified location within the WebGL 3D space (3900) through the Webview module (8110).
[0270] In other words, the media data decoded by the media engine (3550) (i.e., content encrypted using the open DRM method, decrypted using the open CDM method, and then decoded) is passed to the Webview object and displayed on the WebGL 3D space (3900) provided by the canvas display (8120) as a Webview texture (3910). At this time, the image (3910) displayed as a Webview texture by the Webview module (8110) is an image that is reversely decrypted using the open DRM method through the EME unit (3530) and the open CDM unit (3610), and decoded through the reverse process of encoding through the media engine (3550).
[0271] In this way, in the present disclosure, the web browser (3500) can play an image encrypted in the open DRM method and then decrypted in the open CDM method at a specified width and height at a specific location on the WebGL 3D space displayed on the web screen as a Webview texture without installing a plug-in.
[0272] At this time, the Webview video player provided by the Webview module (8110) can only process the square coordinates (x,y) of the 2D texture. Therefore, in order to seamlessly process the Webview texture within the WebGL 3D space, real-time position correction of the DRM video according to the user's viewing direction (or camera view) within the WebGL 3D space is required.
[0273] To this end, the Webview module (8110) may further include a view control function that corrects the 2D position of the Webview image to a 3D position in real time. A player that plays the Webview image at the corrected 3D position through the view control function is referred to as a Webview 3D image player.
[0274] In the present disclosure, a Webview 3D video player is positioned on a Webview object created by a Webview module (8110), as an example. This means that the Webview 3D video player runs on the Webview object. According to embodiments, the Webview 3D video player can provide a UI, such as buttons and menu items, on the Webview object through a video tag so that a user can play, adjust volume, navigate, set picture quality and screen settings, etc. of the video. In the present disclosure, the Webview module (8110) may be referred to as a Webview processing unit.
[0275] In the present disclosure, the Webview 3D video player of the Webview module (8110) is a web player application that calculates in real time the 3D position where the DRM video will be displayed by applying a 3D matrix to transform the position as described in FIGS. 5 to 7, and displays the DRM video at the calculated 3D position. That is, the Webview 3D video player is a video tag supported by HTML5 (i.e., <video>In one embodiment, a view control function for converting (or correcting) a 2D position into a 3D position is added to a video player implemented through a tag. In the present disclosure, the Webview module (8110) and the canvas display (8113) included in the web user interface unit (8100) are executed in a web browser. Here, in one embodiment, the Webview 3D video player is created using a language such as HTML5, CSS, and JavaScript.
[0276] In the present disclosure, a view control function may be included as one of the attributes of a video tag. In the present disclosure, a video player in which a view control function is included as an attribute of a video tag may be referred to as a Webview 3D video player.
[0277] According to embodiments, the Webview module (8110) can play a DRM video in a 3D location using a Webview 3D video player implemented through a video tag having a view control function as an attribute. In one embodiment, the Webview module (8110) can create a Webview object and then display a DRM video in a 3D location on the Webview object using a video tag having a view control function. In the present disclosure, the video tag may be referred to as a video element. In addition, the Webview object can be created using HTML, CSS, JavaScript, etc.
[0278] At this time, the Webview module (8110) receives, for each frame, the position information (i.e., video position information) of the four corners of the frame (i.e., Webview object) where the DRM video will be displayed from the canvas element of the canvas display (8120) through the video tag, and calculates and corrects in real time the 3D position where the DRM video will be displayed based on this position information. That is, in one embodiment, the 3D position where the DRM video will be displayed is calculated and corrected in real time based on the position information that changes whenever the user's viewing direction (or camera view) changes.
[0279] And, in one embodiment, the WebGL part (3810) of the GPU (3800) draws 3D graphics on a canvas using the canvas API and / or the WebGL API, and the canvas display (8120) displays the WebGL 3D space implemented with the 3D graphics drawn on the canvas as a background screen on a video display device.
[0280] Therefore, the 3D-converted (i.e., position-corrected) DRM image is displayed as a Webview texture (3910) on the Webview object in the WebGL 3D space.
[0281] In this way, the web browser (3500) can play DRM video (e.g., DRM video in DASH or HLS format) in Webview using the video tag provided by HTML5 without installing a plug-in. In particular, as a Webview texture, a DRM video (i.e., a video encrypted in the open DRM format and decrypted in the open CDM format) can be played at a specific location in the WebGL 3D space with a specified width and height.
[0282] Meanwhile, if the media data decoded by the media engine (3550) is decoded media data (i.e., video) after being decoded using a custom CDM method, the decoded media data is provided to the WebGL unit (3810) of the GPU (3800). At this time, the media data decoded by the media engine (3550) can be provided to the WebGL unit (3810) via CUDA. CUDA is a GPU development tool developed by NVIDIA.
[0283] In the present disclosure, the WebGL part (3810) is a framework used for rendering in a browser object, and the WebGL API handler (illustrated) is also called a canvas, and the canvas can be used to specify a range in which graphics or animations are to be rendered using the Canvas API or the WebGL API.
[0284] The WebGL unit (3810) displays the media data decoded by the media engine (3550) as a WebGl texture at a designated location with a designated width and height through the HTML canvas display (8120). At this time, the media data is displayed in a WebGL 3D space with a designated width and height at a designated location, as an embodiment. In the present disclosure, a canvas element may be used to designate the display location, width, and height of the media data within the WebGL 3D space. That is, the WebGL API uses the canvas element to display the media data decoded by the media engine (3550). The rendering and display of the WebGL 3D space are described in detail in FIG. 2, and thus will be omitted here.
[0285] And, the media data decoded by the media engine (3550) is built in the WebGL manner by the control of the WebGL API handler in the WebGL section (3810) and displayed as a WebGL texture on the HTML canvas display section (8120). That is, the media data (i.e., video) decoded by the media engine (3550) is uploaded to the WebGL texture. In other words, the media data (i.e., decoded content after being encrypted by the custom DRM method and decrypted by the custom CDM method) read from the frame buffer and decoded by the media engine (3550) is transferred to the WebGL object and displayed on the web screen provided by the browser (3500) as a WebGL texture. At this time, the image (3950) displayed as a WebGL texture on the HTML canvas display unit (8120) is decoded in reverse using the custom DRM method through the EME unit (3530) and the custom CDM unit (3620), and is an image decoded in the reverse process of encoding through the media engine (3550).
[0286] In this way, the present disclosure uses a custom CDM to display DRM-ed images as WebGL textures. That is, when utilizing open CDM, developers cannot directly control the WebGL graphics pipeline without using a hardware-dependent language such as GLSL (OpenGL Shading Language), so the present disclosure uses a custom CDM for WebGL. In other words, control is possible with WebGL textures through the custom CDM.
[0287] In particular, in the present disclosure, the browser (3500) can play back DRM video (e.g., DRM video in DASH or HLS format) using WebGL, a JavaScript library that enables multimedia playback on the browser without installing a plug-in. At this time, as a WebGL texture, the DRM video (i.e., video encrypted using a custom DRM method and decrypted using a custom CDM method) can be played back at a specific location in the WebGL 3D space with a specified width and height.
[0288] As described so far, the present disclosure describes a process of applying open DRM and open CDM to content for which copyright protection is desired, encrypting and decrypting the content, and then displaying it as a Webview texture, or applying custom DRM and custom CDM to encrypt and decrypt the content, and then displaying it as a WebGL texture.
[0289] The method of displaying encrypted and decrypted images by overlaying them with Webview textures using open DRM and open CDM in this disclosure has the effect of directly obtaining and processing encrypted images in Webview using HTML tags, regardless of the browser / DRM type. In other words, separate customization in the low-level layer is not required.
[0290] In the present disclosure, a method of displaying encrypted and decrypted images as WebGL textures by applying custom DRM and custom CDM (i.e., a WebGL texture method that directly controls the CDM module of a browser) has the effect of not requiring processing through browser-specific alignment development because it can directly control the buffer that stores the decrypted images.
[0291] As mentioned above, open DRM refers to DRM provided or controlled by browsers. For example, Google Chrome provides Widevine DRM, Apple Safari provides Fairplay DRM, and Microsoft Edge provides PlayReady DRM. These open DRMs are controlled at the device level, such as a PC. Furthermore, videos encrypted using open DRM are decrypted using open CDM.
[0292] Custom DRM is a software-implemented DRM, excluding browser-provided DRM (e.g., widevine DRM, fairplay DRM, playready DRM). For example, this could be DRM implemented based on scramblers or CAS (Conditional Access System). Furthermore, videos encrypted using custom DRM are decrypted using a custom CDM.
[0293] For convenience of explanation, in this disclosure, open DRM may be referred to as the first DRM, and custom DRM may be referred to as the second DRM. This is an example, and the reverse is also possible. Furthermore, open CDM may be referred to as the first CDM, and custom CDM may be referred to as the second CDM. This is an example, and the reverse is also possible. Furthermore, the open DRM license server may be referred to as the first license server, and the custom DRM license server may be referred to as the second license server. This is an example, and the reverse is also possible.
[0294] FIG. 11 is a diagram showing another example of a web-based video display device according to the present disclosure.
[0295] FIG. 11 is a drawing specifically showing the open CDM method encryption and decryption process and the custom CDM method encryption and decryption process described in the web-based video display device of FIG. 10, and the processing and display process of Webview images and WebGL images.
[0296] Therefore, some descriptions of blocks identical to those disclosed in FIGS. 3, 8, and 10 may be omitted in FIG. 11 to avoid redundant descriptions. Parts not described in FIG. 11 will be referred to the descriptions of FIGS. 3, 8, and 10.
[0297] Each component illustrated in FIG. 11 may correspond to software, hardware, a processor connected to memory, and / or a combination thereof.
[0298] In Fig. 11, 3100 may be referred to as an encryption unit that encrypts the original video (i.e., original content) using an open DRM or custom DRM method. Here, as an example, the original video is a Video On Demand (VOD) in an MP4 file format.
[0299] In Fig. 11, content encrypted using the open DRM method is provided to the MSE unit (3540) through the CDN (3300), the DASH / HLS client module (3527), the EME unit (3530), and the open CDM unit (3610).
[0300] Additionally, content encrypted using a custom DRM method is provided to the MSE unit (3540) through the CDN (3300), DASH / HLS client module (3527), EME unit (3530), and custom CDM unit (3620).
[0301] Additionally, the original content may not be encrypted, and unencrypted content (i.e., non-DRM video) is provided to the MSE unit (3540) via the DASH / HLS client module (3527).
[0302] In this disclosure, detailed descriptions of the CDN (3300), DASH / HLS client module (3527), EME unit (3530), open CDM unit (3610), custom CDM unit (3620), and MSE unit (3540) will be referred to in the descriptions of FIGS. 3, 8, and 10.
[0303] In the present disclosure, the DASH / HLS client module (3527) parses metadata to determine whether the input content (i.e., video) is DRM'd or not, and if so, checks whether it is encrypted using an open DRM method or a custom DRM method, and provides the video and manifest file to the open CDM unit (3620) or the custom CDM unit (3620) through the EME unit (3530) (or EME API) or to the MSE unit (3540) without a decryption process, according to one embodiment.
[0304] In FIG. 11, the license server (3410) is referred to as an open DRM license server or a first license server, and provides a key for encrypting an image using the open DRM method and decrypting an image using the open CDM method to the encryption unit (3100) and the open CDM unit (3610). The open CDM unit (3610) may be referred to as the first CDM unit or the native CDM unit. In addition, the license server (3420) is referred to as a custom DRM license server or a second license server, and provides a key for encrypting an image using the custom DRM method and decrypting an image using the custom CDM method to the encryption unit (3100) and the custom CDM unit (3620). The custom CDM unit (3620) may be referred to as the second CDM unit.
[0305] According to embodiments, the open CDM unit (3610) requests a key for decryption from the open DRM license server (3410) under the control of the EME unit (3530), receives the requested key from the open DRM license server (3410), and performs decryption of an image encrypted in the open DRM method. According to embodiments, the custom CDM unit (3620) requests a key for decryption from the custom DRM license server (3420) under the control of the EME unit (3530), receives the requested key from the custom DRM license server (3420), and performs decryption of an image encrypted in the custom DRM method.
[0306] According to embodiments, the custom CDM unit (3620) can be scripted and automatically downloaded when the browser starts. In addition, the custom DRM license server (3420) is built externally and transmits a key value for decryption (i.e., un-DRM) to the custom CDM unit (3620) within the browser upon request.
[0307] According to embodiments, the open CDM unit (3610) outputs encrypted content and a key provided from the open DRM license server (3410) to the OEM (Original Equipment Manufacturer) crypto module (3630). That is, the open CDM unit (3610) can derive an encrypted key required for decrypting the encrypted content through the open DRM license server (3410) and provide the same to the OEM crypto module (3630). The OEM crypto module (3630) operates based on the hardware of a device (e.g., a mobile phone, a PC), and in particular, decrypts the encrypted key and uses the key to decrypt the encrypted content.
[0308] In this case, the input of the OEM crypto module (3630) is encrypted content and key, and the output is decrypted content, and the input of the custom CDM unit (3620) is encrypted content and key, and the output is decrypted content.
[0309] In other words, Open CDM operates based on actual hardware, and the OEM Crypto module (3630) is a module that interfaces Open CDM with devices (e.g., mobile phones, PCs, etc.). Alternatively, Open CDM is an open standard module used for decrypting digital content, and OEM Crypto can refer to encryption technology that device or system manufacturers embed in their products.
[0310] According to embodiments, the MSE unit (3540) is a JavaScript API for HTML5 created for video streaming playback using HTTP download. In other words, the MSE unit (3540) is an API for web-based media playback in a browser. This API supports video and audio playback by dynamically receiving and manipulating media streams in web applications. It provides functions such as dynamic streaming, media segmentation, and subtitle insertion that were not possible with the basic HTML5 video tag. In addition, using the MSE unit (3540), not only can media be played in chunk units using JavaScript in a browser, but also media can be played in a streaming manner. In this case, in the case of HLS, the media source can be applied directly in Safari, so the MSE can be bypassed. However, in the case of DASH, the media source cannot be applied directly, so the media source can be directly expanded using the MSE to enable streaming playback in the browser.
[0311] According to embodiments, the MSE unit (3540) obtains necessary media information using a manifest file (e.g., MPD, m3u8) provided with the decrypted content, and is then used to actually play media segments (i.e., chunks) on the web. As another example, if the browser is Safari, the HLS Manifest (i.e., m3u8) can be used as a source. By using the MSE unit (3540), developers can provide the data required for HTML5 video when playing a video. In this way, by expanding the media source using the MSE API in the MSE unit (3540), streaming content such as DASH and HLS can be played on a web browser as well.
[0312] In Fig. 11, a non-DRM video (i.e., a non-DRM video) or a video encrypted with a custom DRM method and then decrypted by a custom CDM is separated into audio and video under the control of the MSE unit (3504) and then provided to the audio processor (5310) and the video processor (5320) of the WebGL canvas unit (5100), respectively. The audio processor (5310) performs storage and decoding operations on the input audio and then provides it to an audio device, and the video processor (5320) performs storage and decoding operations on the input video and then outputs it to the WebGL texture processing unit. In the present disclosure, the WebGL texture processing unit displays the decoded video as a WebGL texture on the HTML canvas display unit. In the present disclosure, the audio processor (5310) and the video processor (5320) may correspond to the media engine (3550) and / or the GPU (3800) of FIG. 11, and the WebGL texture processing unit may correspond to the GPU (3800) and / or the HTML canvas display unit (8120) of FIG. 11.
[0313] According to embodiments, the WebGL texture processing unit may include a WebGL rendering unit (5330) and a 3D texture generation unit (5340). The WebGL rendering unit (5330) may serve as a buffer for storing a decoded image, and the 3D texture generation unit (5340) may directly control the buffer of the WebGL rendering unit (5330) to change the position of the 3D texture. That is, the x, y, and z coordinate values of the displayed 3D image may be changed, and the order of the displayed frames may be changed.
[0314] In this way, a video decrypted with a custom CDM method or a video that was not DRM-ed is built in WebGL and displayed on the screen as a WebGL texture. In other words, after being encrypted with a custom DRM method and decrypted with a custom CDM method, the decoded video is passed to a WebGL object and displayed as a WebGL texture on the web screen provided by the browser (3500).
[0315] Meanwhile, in Fig. 11, the video encrypted using the open DRM method and then decrypted by the open CDM is separated into audio and video under the control of the MSE unit (3504) and then provided to the audio processor (5510) and video processor (5520) of the Webview canvas unit (5500), respectively. The audio processor (5510) performs storage and decoding operations on the input audio and then provides it to the audio device, and the video processor (5520) performs storage and decoding operations on the input video and then outputs it to the Webview processing unit.
[0316] In the present disclosure, the audio processor (5510) and the video processor (5520) may correspond to the media engine (3550) and / or GPU (3800) of FIG. 11, and the Webview processing unit may correspond to the webview module (8110).
[0317] According to embodiments, the Webview processing unit may include a Webview rendering unit (5530) and a 3D conversion unit (5540).
[0318] According to embodiments, the Webview rendering unit (5530) may serve as a buffer for storing decoded images and display Webview images in a 2D format. In this case, direct control of the buffer is not possible.
[0319] That is, the Webview rendering unit (5530) displays the decoded video as a Webview texture in the Webview object based on the properties of the video player implemented by the video tag. At this time, the Webview video player provided by the Webview rendering unit (5530) can only process the square coordinates (x, y) of the 2D texture.
[0320] At this time, the 3D conversion unit (5540) can perform a view control function that corrects the 2D position of the Webview image processed by the Webview rendering unit (5530) to a 3D position in real time. In the present disclosure, the 3D conversion unit (5540) calculates in real time the 3D position at which the DRM image is to be displayed by applying a conversion 3D matrix as described in FIGS. 5 to 7, and displays the DRM image at the calculated 3D position.
[0321] Accordingly, the Webview processing unit can display the DRM video at a 3D location on the Webview object by using a video tag having a view control function after creating a Webview object. At this time, the Webview processing unit receives, for each frame, the location information (i.e., video location information) of the four corners of the frame (i.e., Webview object) where the DRM video will be displayed from the canvas element of the WebGL canvas (5100) through the video tag, and calculates and corrects in real time the 3D location where the DRM video will be displayed based on this location information. That is, in one embodiment, the 3D location where the DRM video will be displayed is calculated and corrected in real time based on the location information that changes whenever the user's viewing direction (or camera view) changes.
[0322] FIG. 12 is a diagram illustrating another example of a web-based video display device according to embodiments. In particular, FIG. 12 illustrates a specific example of a user browser (600) that decrypts a video encrypted using a custom DRM method using a custom CDM method and then displays it as a WebGL texture. The user browser (600) may be referred to as a web browser or browser.
[0323] In order to avoid redundant descriptions of blocks identical to those disclosed in FIGS. 3, 8, 10, and / or 11, some descriptions may be omitted in FIG. 12. Parts not described in FIG. 12 will be referred to the descriptions of FIGS. 3, 8, 10, and / or 11.
[0324] Each component illustrated in FIG. 12 may correspond to software, hardware, a processor connected to memory, and / or a combination thereof.
[0325] In FIG. 12, CloudFront (6100) is, as an example, Amazon Web Services (AWS) CloudFront. This is an example to facilitate understanding of the present disclosure, and any service that performs CDN functions can replace CloudFront. Specifically, CloudFront (6100), as a CDN service, delivers content encrypted using a custom DRM scheme (e.g., DRMed Video) and a manifest file (e.g., MPD) to the DASH / HLS client (6211) of the play core (6200).
[0326] According to the embodiments, the DASH / HLS client (6211) can request and receive an MPD from the cloud front (6100) according to a user's content streaming request, and can collect information such as the structure and location of the segment and the type of service by parsing the transmitted MPD, and can request a segment with the most appropriate bit rate for the network status from the cloud front (6100) using the URL included in the MPD. That is, the encrypted segment file is an actual video streaming (i.e., a file required for actual streaming) that combines audio, video, and data, and the MPD describes information related to the segment file. In addition, when applying DRM for content protection, the MPD can include the corresponding DRM metadata.
[0327] According to embodiments, the DASH / HLS client (6211) can parse metadata to determine whether the input content (i.e., video) is DRM-protected or not. Based on the determination result, the corresponding video and manifest file can be provided to the descrambler (6413) of the custom CDM unit (6400), or provided to the MSE unit (6511) of the browser framework (6500) without a decryption process.
[0328] The above DASH / HLS client (6211) provides an encrypted segment file (or segment data or media stream or media data) provided (or downloaded) from the cloud front (6100) to the descrambler (6413) of the custom CDM unit (6400) through the DRM handler (6213). In the present disclosure, the descrambler (6413) may be implemented based on a scrambler, CAS, etc. In addition, an EME module may be present between the DRM handler (6213) and the descrambler (6413) in the present disclosure. In one embodiment, the DRM handler (6213) in the present disclosure is a plug-in module for a Unity app for DRM / Un-DRM. In addition, the EME module is a web API used for DRM in a web browser. The EME module supports DRM in the browser to decrypt and play protected content. In other words, the EME module mediates communication between the web browser and the DRM system, allowing the browser to verify the user's license and decrypt the content.
[0329] According to embodiments, the descrambler (6413) can request a key for decryption from the license server (6300) through the license handler (6411), and can receive the key provided from the license server (6300) again through the license handler (6411) to decrypt content encrypted in a custom DRM manner.
[0330] According to embodiments, the license server (6300) is a custom DRM license server, and stores and manages license information (e.g., keys for encryption and decryption, key validity period, device information, etc.) for decrypting (or decrypting) an image encrypted with a custom DRM method in a descrambler (6413). For example, the license server (6300) provides a key for encryption when encrypting segments with a custom DRM method, and provides a key for decryption when decrypting an encrypted image in a descrambler (6413) of a custom CDM unit (6400) in a browser. According to embodiments, the descrambler (6413) of the custom CDM unit (6400) requests a key for decryption from the license server (6300) under the control of the EME module, and receives the requested key from the license server (6300) to decrypt the encrypted image.
[0331] According to embodiments, the descrambler (6413) of the custom CDM unit (6400) decrypts (i.e., decrypts) the encrypted segment file downloaded from the cloud front (6100) using the manifest file and the decryption key (or decryption key) provided by the license server (6300).
[0332] According to embodiments, content decrypted in a custom CDM manner in a descrambler (6413) of a custom CDM unit (6400) is decoded in a media engine (6513) under the control of an MSE unit (6511) of a browser framework (6500). In one embodiment of the present disclosure, the MSE unit (6511) is an extension framework for parsing and controlling media streams in a browser.
[0333] Media data decoded by the above media engine (6513) is provided to the WebGL section (6517).
[0334] In this disclosure, the WebGL part (6517) is a framework used for rendering in a browser object, and the WebGL API handler (illustrated) is also called a canvas, and the canvas can be used to specify a range in which graphics or animations are to be rendered using the Canvas API or the WebGL API.
[0335] The above WebGL unit (6517) displays the media data decoded by the media engine (6513) as a WebGl texture at a designated location with a designated width and height through an HTML canvas display (6617). At this time, the media data is displayed in a designated location with a designated width and height within the WebGL 3D space, as an embodiment. In the present disclosure, a canvas element may be used to designate the display location, width, and height of the media data within the WebGL 3D space. That is, the WebGL API uses the canvas element to display the media data decoded by the media engine (6513). The rendering and display of the WebGL 3D space are described in detail in FIG. 2, and thus will be omitted here.
[0336] That is, media data (i.e., decoded content after being encrypted using a custom DRM method and decrypted using a custom CDM method) read from the frame buffer and decoded by the media engine (6513) is passed to a WebGL object and displayed on a web screen provided by the browser as a WebGL texture.
[0337] In this way, the present disclosure utilizes a custom CDM to display DRM-enabled video as a WebGL texture. Then, a browser can play DRM video (e.g., DRM video in DASH or HLS format) using WebGL, a JavaScript library that enables multimedia playback on the browser without installing a plug-in. In particular, as a WebGL texture, a DRM video (i.e., a video encrypted using a custom DRM method and decrypted using a custom CDM method) can be played at a specific location in WebGL 3D space with a specified width and height.
[0338] FIG. 13 is a diagram illustrating an example of a web-based video display device that performs encryption and decryption using a custom DRM method according to embodiments. In particular, FIG. 13 is a diagram illustrating the encryption and decryption process of the content shown in FIG. 11 in more detail.
[0339] In FIG. 13, the encryption unit (6110) may include a content management system (CMS) unit (6111), a DRM packaging unit (6113), and an uploader (6115).
[0340] According to embodiments, the content management system (6111) is a software platform used to create, edit, and manage content used in websites or applications. Furthermore, the DRM packaging unit (6113) encrypts content provided by the CMS unit (6111) based on a key provided by the custom DRM solution server (6130). The uploader (6115) uploads the encrypted content to storage (6121) in the cloud (6120).
[0341] According to embodiments, a custom DRM solution server (6130) that provides a key for encryption to a DRM packaging unit (6113) may include a DRM manager (6131), a DRM key server (6133), a license server (6135), and a key storage unit (key DB) (6137). That is, the DRM packaging unit (6113) requests an encryption key to the custom DRM solution server (6130) based on information that can identify content to be encrypted (e.g., content ID). Here, the content ID may be any value that can identify the content, and for example, the content ID may be a content name. In the present disclosure, the custom DRM solution server (6130) may be referred to as a DRM system, a custom DRM system, or a third party.
[0342] The above DRM manager (6131) represents software or components that manage and control the DRM system. The DRM manager (6131) is responsible for creating user licenses, setting content encryption, and communicating with the DRM key server (6133).
[0343] According to embodiments, when a DRM manager (6131) receives a request for a key for encryption from a DRM packaging unit (6113), the DRM manager (6131) may provide a key generated by a license server (6135) (or a DRM key server (6133)) to the DRM packaging unit (6113).
[0344] According to embodiments, the license server (6135) may generate a key for encrypting content or a key for decrypting encrypted content through communication with the DRM key server (6133), and then provide the key for encryption to the DRM packaging unit (6113) of the encryption unit (6110) through the DRM key server (6133) and the DRM manager (6131). In addition, the key for decryption may be provided to the custom CDM of the user browser (6000). Alternatively, the key may be generated by the DRM key server (6133), and at this time, the license server (6135) may manage license information (e.g., a key for encryption and decryption, a key validity period of the key, device information, etc.). Alternatively, the DRM key server (6133) may generate and manage a key required for encrypting content or a key required for decrypting encrypted content.
[0345] According to embodiments, the key DB (6137) is a database that stores keys for encryption generated by the license server (6135) or the DRM key server (6133). If a request for a key required for content decryption is made from the custom CDM unit, the DRM key server (6133) can retrieve the key for decryption from the key DB (6137) and provide it to the custom CDM unit.
[0346] According to embodiments, the custom DRM solution server (6130) generates a key for encrypting content or a key for decrypting encrypted content. Furthermore, the custom DRM solution server (6130) interacts with the user's device or client application to issue and manage licenses for the content. Before playing or downloading content, the user must obtain an appropriate license from the custom DRM solution server (6130). This license includes information such as content usage rights and expiration dates. Furthermore, the custom DRM solution server (6130) verifies whether the user has the correct license and provides the custom CDM unit with a key for decrypting encrypted content.
[0347] The cloud front (6123) of the above cloud (6120) provides content (e.g., encrypted content) and a manifest file uploaded to storage (6121) to the player core of the user browser (6000). As described above, the cloud front (6123) performs a role identical to or similar to that of a CDN.
[0348] In this disclosure, the "cloud" (6120) refers to computer resources (hardware, software, servers, etc.) connected to a network via the Internet. Cloud computing refers to the technology and services that provide these computer resources to users on-demand. This allows users to access necessary computing resources through a web browser or application without having to build separate hardware or infrastructure.
[0349] This cloud (6120) may include storage (6121) and a cloud front (6123). According to embodiments, storage (6121) provides a service for storing and managing data in a cloud environment. That is, the uploader (6115) stores encrypted content in storage (6121) through an upload process.
[0350] According to embodiments, CloudFront (6123) is a CDN service provided by Amazon Web Services (AWS). This service is used to quickly and reliably deliver web content, videos, applications, and more to global users. For example, CloudFront (6123) caches content at edge locations distributed around the world and quickly delivers it to users. Each edge location is located within AWS's global network and is geographically distributed. Therefore, CloudFront (6123) can be referred to as a CDN.
[0351] According to embodiments, CloudFront (6123) downloads encrypted content and a manifest file stored in storage (6121) and provides them to the player core of the user browser (6000). In this disclosure, the player core may be referred to as a WebGL player SDK. In this disclosure, the user browser (6000) may be Chrome, Safari, Edge, or the like.
[0352] In the present disclosure, the player core may include a DASH / HLS client, a DRM handler, etc., and is also referred to as a WebGL player SDK. Detailed descriptions of the DASH / HLS client and the DRM handler have been sufficiently described in FIGS. 2, 8, 10, and 12, and thus are omitted here to avoid redundant description.
[0353] The encrypted content provided by the above player core is decrypted in the custom CDM unit. To this end, the custom CDM unit requests a key for decryption from the custom DRM solution server (6130) under the control of the EME unit (not shown), and receives the requested key from the license server (6130) of the custom DRM solution server (6130) to perform decryption of the encrypted video.
[0354] FIG. 14 is a diagram illustrating an example of a web-based video display device that performs encryption and decryption using a custom DRM method according to embodiments. In particular, FIG. 14 illustrates the encryption process of the encryption unit of FIG. 13 in more detail. Therefore, parts not described in FIG. 14 will refer to the description of FIG. 13. For example, a detailed description of the CMS unit and uploader of the encryption unit (6110) in FIG. 14 will refer to FIG. 13 and will be omitted herein.
[0355] According to embodiments, the DRM packaging unit (6113) may include an encryption unit, a DASH packaging unit, and an HLS packaging unit.
[0356] The encryption unit requests a key for encryption from the custom DRM solution server (6130) based on a content identifier (e.g., content-ID) that can identify the content to be encrypted, and performs encryption of the content provided by the CMS unit based on the key provided by the custom DRM solution server (6130) in response to the request. In the present disclosure, the encryption unit may be one of the custom DRM methods. In particular, the encryption unit supports content protection in multiple digital media formats, such as DASH and HLS.
[0357] The above DASH packing unit connects to the encryption unit to generate encrypted content supporting the DASH streaming protocol. The encrypted content can be divided into various qualities and bitrates and streamed according to the user's device and network environment.
[0358] The HLS packaging unit connects to the encryption unit to generate encrypted content supporting the HLS streaming protocol. The encrypted content is then segmented into various quality levels and streamed to provide users with optimal picture quality.
[0359] In Figure 14, UUID (Universally Unique Identifier) is a value representing a universally unique identifier, and each DRM system has a unique identifier (UUID). This UUID is used to identify the DRM system and decrypt (i.e., decrypt) encrypted content in that system. In Figure 14, widevine, playready, and fairplay are the names of DRM systems developed by Google, Microsoft, and Apple, respectively.
[0360] In one embodiment, the UUID (e.g., OnDRM UUID) used in the custom DRM system (6130) of the present disclosure has a value of 088f2698-ac03-45b2-b0eb-ae8833dd9d4d. In one embodiment, the OnDRM UUID can be used to identify the custom DRM system (6130) and generate a key for decrypting (i.e., decrypting) encrypted content in the identified custom DRM system (6130). In this way, the UUID for the custom DRM is used to identify the custom DRM system (6130) and for encryption and license management of content belonging to the identified custom DRM system (6130). In the present disclosure, the custom DRM solution server (6130) may be referred to as a DRM system, a custom DRM system, or a third party.
[0361] The key format shown in FIG. 14 represents information for connecting to the license server (6135) of the custom DRM system (6130) to decrypt encrypted content.
[0362] FIG. 15 is a flowchart showing an example of a method for decrypting a DRM image and displaying it as a Webview texture or a WebGL texture in a web-based image display device according to embodiments.
[0363] FIG. 15 is an example of a process for decrypting content encrypted using a DRM method and displaying it as a Webview texture or a WebGL texture within the WebGL 3D space when a WebGL 3D space is displayed as a background on a website. This is one embodiment, and the present disclosure can also decrypt content encrypted using a DRM method without a WebGL 3D space and display it as a Webview texture or a WebGL texture on a website. Hereinafter, the process of encryption and decryption is described based on the web-based video system of FIG. 10, but this is for the purpose of helping understanding, and it can also be based on the web-based video systems of FIGS. 11 to 14 or a web-based video system not illustrated in the present disclosure.
[0364] The present disclosure assumes that a WebGL 3D space drawn on a WebGL canvas is displayed as a background screen of a video display device (S9501).
[0365] At this time, the original video file (e.g., content in mp4 file format) (3100) is encrypted using an open DRM or custom DRM method through an encryption unit (3200), and the content encrypted using an open DRM or custom DRM method (i.e., Encrypted Video) is transmitted as video streaming through a CDN unit (3300) to a DASH / HLS client (3521) of a player core in a web browser of a video display device (e.g., a terminal). Here, it is assumed that the original video file (3100) is content (e.g., video) that the user wants to encrypt.
[0366] The above DASH / HLS client (3521) is a client that supports the DASH and / or HLS protocols, and provides (or downloads) unencrypted video or encrypted video (e.g., video encrypted using open DRM or custom DRM) through the CDN unit (3300) (S9502).
[0367] In addition, the DASH / HLS client (3521) parses the metadata to determine whether the input video is encrypted using the DRM method or not, and if so, determines whether it is encrypted using the open DRM method or the custom DRM method (S9503). Since the processing of videos not encrypted using the DRM method is not a main feature of the present disclosure, a description of videos not encrypted using the DRM method is omitted here.
[0368] According to embodiments, the video encrypted in the open DRM method received (or downloaded) by the DASH / HLS client (3521) is decrypted in the open CDM unit (3610) under the control of the EME unit (3530), and the content encrypted in the custom DRM method is decrypted in the custom CDM unit (3620) under the control of the EME unit (3530). For convenience of explanation, the open CDM unit (3610) will be referred to as the first CDM unit (3610) and the custom CDM unit (3620) will be referred to as the second CDM unit (3620). In addition, the open DRM license server (3410) will be referred to as the first license server (3410), and the custom DRM license server (3420) will be referred to as the second license server (3420).
[0369] According to embodiments, if it is confirmed in step S9503 that the input image is encrypted using the open DRM method, the first CDM unit (3610) requests the first license server (3410) for a key for decrypting the encrypted image, and the first license server (3410) provides the key for decryption (e.g., a DRM key) to the first CDM unit (3610) in response to the request (S9504). Then, the first CDM unit (3610) decrypts the image (i.e., content) encrypted using the open DRM method using the DRM key provided from the first license server (3410) (S9505). According to embodiments, the first CDM unit (3610) performs decryption of the encrypted image based on the open DRM method supported by the corresponding browser and the DRM key provided from the first license server. For example, the first CDM unit (3610) performs decryption (i.e., decryption) of encrypted video based on the Widevine DRM method if the browser is Chrome, the Faireplay DRM method if the browser is Safari, or the Playready DRM method if the browser is Edge. Here, the decrypted video may be referred to as decrypted content or un-DRM-processed media data.
[0370] And, the content decrypted in the first CDM unit (3610) (i.e., un-DRM processed media data) is provided to the media engine (3550) together with the manifest file.
[0371] The above media engine (3550) decodes un-DRM processed media data under the control of the MSE unit (3540) (S9506).
[0372] Media data decoded by the above media engine (3550) is provided to the Webview module (8110). Here, the decoded media data is referred to as a DRM video, an un-DRM processed and decoded video, or a video encrypted using the open DRM method and then decrypted using the open CDM method. In the present disclosure, the terms DRM video, un-DRM processed and decoded video, and a video encrypted using the open DRM method and then decrypted using the open CDM method may be used interchangeably. Alternatively, a DRM video may also refer to a video encrypted using the open DRM method or a custom DRM method.
[0373] The Webview module (8110) applies a transformation 3D matrix algorithm to convert the display position of decoded media data to be displayed within the WebGL 3D space from 2D coordinates to 3D coordinates (S9507). More specifically, the Webview module (8110) receives position information (i.e., video position information) of the four corners of the frame where the DRM video will be displayed from the canvas element of the canvas display (8120) through a video tag for each frame, and applies this position information to the transformation 3D matrix algorithm, thereby calculating the 3D position where the DRM video will be displayed in real time for each frame. That is, the present disclosure converts the position where the DRM video will be displayed as a Webview texture from a 2D position (e.g., x, y) to a 3D position (e.g., x, y, z) in real time based on the transformation 3D matrix algorithm, and displays it in the form of an overlay on the WebGL 3D space (S9508). In the present disclosure, a transformation 3D matrix algorithm applies a 3D affine transformation matrix algorithm as one embodiment. Specifically, the present disclosure applies a 3D affine transformation matrix algorithm based on a reference position obtained from the four corners of a frame of a current frame and a target position obtained from the four corners of a frame of a next frame to transform a 2D image having (x, y) coordinates into a 3D image having (x, y, z) coordinates. Here, the reference position and the target position may correspond to real-time camera view position information (i.e., position information of a Webview object according to a user's viewing direction). In addition, in one embodiment, such position information is provided from a canvas element.
[0374] As described so far, the present disclosure can provide Webview-based DRM play as shown in FIGS. 3, 8, 10, and 11, and can also de-DRM encrypted video using an open DRM method utilizing open CDM and EME within a browser. In particular, an un-DRM-processed video can be obtained as a Webview object using an HTML5 video tag, and the display area of the Webview texture can be processed in real time using a 3D transformation matrix. At this time, two renderers can be provided by overlaying the Webview object (i.e., the player) in the WebGL 3D space.
[0375] In this way, in the present disclosure, the browser (3500) can play a DRM image as a Webview texture by overlaying it at a specific location within the WebGL 3D space without installing a plug-in. Here, the DRM image means an image encrypted using the open DRM method and decrypted using the open CDM method through the EME unit (3530) and the first CDM unit (3610).
[0376] In addition, in the present disclosure, when the browser (3500) displays a DRM image as a Webview texture at a specific location within the WebGL 3D space, the location where the DRM image is displayed can be converted from 2D coordinates to 3D coordinates in real time and displayed. That is, when providing an image service in the form of an overlay within the WebGL 3D space, the location of the DRM image can be corrected in real time using a 3D transformation matrix, thereby providing the DRM image seamlessly within the WebGL 3D space.
[0377] In particular, the Webview overlay method proposed in this disclosure is efficient because it can directly obtain a decrypted video (i.e., Decrypted Video) as a Webview by utilizing an HTML video tag regardless of each browser / DRM type, and then processes the obtained video (i.e., video data) in the application layer area, so no separate customization is required in the low-level layer.
[0378] In addition, in the Webview method that only allows 2D (x,y) cube texture display, the Webview object is not a fixed 2D image (i.e., video), but a 3D transformation algorithm that corrects the position where the image (or video) is displayed by reflecting the movement of the user (e.g., customer) in real time in the WebGL 3D space is added, so that DRM videos can be provided seamlessly within the WebGL 3D space. In addition, the Webview method performs real-time position calculations where the image should be displayed in the CPU area, and the display in the WebGL 3D space is processed in the GPU, so there is an effect of distributing the use of system resources through the multi-processing effect.
[0379] Meanwhile, if it is confirmed in step S9503 that the input video is encrypted with the custom DRM method, the second CDM unit (3620) requests the second license server (3420) for a key for decrypting the encrypted video, and the second license server (3420) provides the second CDM unit (3620) with a key for decryption (e.g., a DRM key) in response to the request (S9509). Then, the second CDM unit (3620) decrypts the video (i.e., content) encrypted with the custom DRM method using the DRM key provided from the second license server (3420) (S9510). According to embodiments, the second CDM unit (3620) decrypts the encrypted video based on a custom DRM method such as CAS or a scrambler and the DRM key provided from the second license server (3420). Here, the decrypted video may be referred to as decrypted content or un-DRM processed media data.
[0380] And, the content decrypted in the second CDM unit (3620) (i.e., un-DRM processed media data) is provided to the media engine (3550) together with the manifest file. The media engine (3550) decodes the un-DRM processed media data under the control of the MSE unit (3540) (S9511). Here, the decoded media data is referred to as a DRM video, an un-DRM processed and decoded video, or a video encrypted in a custom DRM method and then decrypted in a custom CDM method. In the present disclosure, a DRM video, an un-DRM processed and decoded video, and a video encrypted in a custom DRM method and then decrypted in a custom CDM method may be used with the same meaning. Alternatively, a DRM video may mean a video encrypted in an open DRM method or a custom DRM method.
[0381] The media data decoded by the media engine (3550) is passed to the WebGL unit (3810) of the GPU (3800) as input of a WebGL texture (GLSL) so that it can be rendered and displayed on the screen as WebGL (S9512). That is, the WebGL unit (3810) displays the media data decoded by the media engine (3550) as a WebGL texture at a specified location on the website through the HTML canvas display (8120) with a specified width and height. In this case, the media data is displayed at a specified location with a specified width and height within the WebGL 3D space, as an embodiment. In the present disclosure, a canvas element may be used to specify the display location, width, and height of the media data within the WebGL 3D space.
[0382] Therefore, in the present disclosure, the browser (3500) can play DRM video (e.g., DRM video in DASH or HLS format) using WebGL, a JavaScript library that enables multimedia playback on the browser without installing a plug-in. In particular, as a WebGL texture, the DRM video can be played at a specific location within the WebGL 3D space displayed on the web screen with a specified width and height.
[0383] In this way, the present disclosure can provide a DRM video player utilizing WebView textures or WebGL textures in WebGL-based services. Therefore, if this DRM playback function is provided, the business model (BM) can be expanded to include businesses utilizing content IP (Intellectual Property) in web virtual exhibition halls.
[0384] Each of the parts, modules, or units described above may be software, processors, or hardware parts that execute sequential execution processes stored in memory (or storage units). Each of the steps described in the embodiments described above may be performed by processors, software, or hardware parts. Each of the modules / blocks / units described in the embodiments described above may operate as a processor, software, or hardware. In addition, the methods presented in the embodiments may be implemented as code. This code may be written on a processor-readable storage medium and thus may be read by a processor provided by an apparatus.
[0385] For convenience of explanation, this specification has been described separately in each drawing. However, it is also possible to design new embodiments by combining the embodiments described in each drawing. Furthermore, designing a computer-readable recording medium containing a program for executing the previously described embodiments, as required by those skilled in the art, is also within the scope of the present disclosure.
[0386] The device and method according to the present disclosure are not limited to the configuration and method of the embodiments described above, but the embodiments may be configured by selectively combining all or part of each embodiment so that various modifications can be made.
[0387] In this disclosure, terms such as "first" and "second" may be used to describe various components of the disclosure. However, the various components according to the disclosure should not be interpreted in a limited manner by these terms. These terms are merely used to distinguish one component from another. For example, a first user input signal may be referred to as a "second user input signal." Similarly, a second user input signal may be referred to as a "first user input signal." The use of these terms should be interpreted as not departing from the scope of various embodiments. Although "first user input signal" and "second user input signal" are both user input signals, they do not necessarily mean the same user input signals unless the context clearly indicates otherwise.
[0388] The terminology used to describe the present disclosure is for the purpose of describing particular embodiments and is not intended to be limiting of the embodiments. As used in the description of the embodiments and in the claims, the singular is intended to include the plural unless the context clearly dictates otherwise. In addition, the term "and / or" is used to mean all possible combinations of terms. The term "comprises" or "includes" describes the presence of features, numbers, steps, elements, and / or components, but does not mean that additional features, numbers, steps, elements, and / or components are not included. Conditional expressions such as "if" or "when" used to describe the present disclosure are not intended to be limited to only optional cases. When a specific condition is satisfied, a related action is performed in response to a specific condition, or a related definition is intended to be interpreted.
[0389] As described above, the relevant contents have been described in the best form for carrying out the embodiments.
[0390] As described above, the embodiments may be applied, in whole or in part, to point cloud data transmission and reception devices and systems. Those skilled in the art may variously modify or alter the embodiments within the scope of the embodiments. The embodiments may include modifications and variations, and such modifications and variations do not depart from the scope of the claims and their equivalents.< / video> < / video> < / video> < / video> < / video> < / video> < / canvas> < / canvas> < / canvas> < / canvas> < / canvas> < / canvas>
Claims
1. A step of displaying a WebGL 3D space based on WebGL (Web Graphics Library) on a video display device with a web browser installed; Step of downloading a video encrypted using DRM (Digital Rights Management) through the above web browser; A step of requesting and receiving a key for decrypting the encrypted video downloaded above from a license server; A step of decrypting the encrypted image based on the above key; A step of decoding the above-decrypted image; and A web-based image display method comprising a step of displaying the decoded image at a specific location within the WebGL 3D space.
2. In paragraph 1, The above DRM method is a web-based video display method using an open DRM method or a custom DRM method.
3. In the second paragraph, the step of displaying the decoded image A web-based video display method that processes the decoded video into a Webview texture and displays it in a Webview object within the WebGL 3D space, if the above DRM method is an open DRM method.
4. In the third paragraph, the step of displaying the decoded image A web-based image display method further comprising the step of converting the display position of the Webview object displaying the Webview texture from 2D coordinates to 3D coordinates according to the user's viewing direction, and correcting the display position of the Webview object with the converted 3D coordinates.
5. In the third paragraph, the step of displaying the decoded image A web-based image display method further comprising the step of converting the display position of the Webview object from 2D coordinates to 3D coordinates by applying a 3D transformation matrix, and correcting the display position of the Webview object with the converted 3D coordinates.
6. In paragraph 5, A web-based image display method in which the above 3D transformation matrix is a 3D affine transformation matrix.
7. In the second paragraph, the step of displaying the decoded image A web-based video display method that processes the decoded video into a WebGL texture and displays it in at least a portion of the WebGL 3D space, if the above DRM method is a custom DRM method.
8. In paragraph 2, The request for the above key and the decryption of the encrypted video based on the above key are performed by EME (Encrypted Media Extensions) and CDM (Content Decryption Module). A web-based video display method in which if the DRM method is an open DRM method, the CDM is an open CDM, and if the DRM method is a custom DRM method, the CDM is a custom CDM.
9. In paragraph 1, the step of downloading the encrypted image is A web-based video display method that downloads encrypted video through a Content Delivery Network (CDN).
10. In the first paragraph, the decoding step A web-based video display method that extends the above-decoded video through MSE (Media Source Extensions) and then decodes it.
11. WebGL processing unit that displays WebGL 3D space based on WebGL (Web Graphics Library) on a video display device with a web browser installed; A client part that downloads encrypted video using the DRM (Digital Rights Management) method through the above web browser; A decryption unit that requests and receives a key for decrypting the encrypted video downloaded above from a license server, and decrypts the encrypted video based on the provided key; A decoding unit for decoding the above-decoded image; and A web-based image display device including a display processing unit that displays the decoded image at a specific location within the WebGL 3D space.
12. In paragraph 11, The above DRM method is a web-based video display device using an open DRM method or a custom DRM method.
13. In the 12th paragraph, the display processing unit A web-based video display device that processes the decoded video into a Webview texture and displays it on a Webview object in the WebGL 3D space, if the above DRM method is an open DRM method.
14. In the 13th paragraph, the display processing unit A web-based video display device that converts the display position of the Webview object that displays the Webview texture from 2D coordinates to 3D coordinates according to the user's viewing direction, and corrects the display position of the Webview object with the converted 3D coordinates.
15. In the 13th paragraph, the display processing unit A web-based image display device that applies a 3D transformation matrix to transform the display position of the Webview object from 2D coordinates to 3D coordinates and corrects the display position of the Webview object with the transformed 3D coordinates.
16. In paragraph 15, A web-based image display device in which the above 3D transformation matrix is a 3D affine transformation matrix.
17. In the 12th paragraph, the display processing unit A web-based video display device that processes the decoded video into a WebGL texture and displays it in at least a portion of the WebGL 3D space, if the above DRM method is a custom DRM method.
18. In paragraph 12, In the above decryption unit, the request for the key and the decryption of the encrypted video based on the key are performed by EME (Encrypted Media Extensions) and CDM (Content Decryption Module). A web-based video display device in which, if the DRM method is an open DRM method, the CDM is an open CDM, and if the DRM method is a custom DRM method, the CDM is a custom CDM.
19. In the 11th paragraph, the client part A web-based video display device that downloads encrypted video through a Content Delivery Network (CDN).
20. In the 11th paragraph, the decoding unit A web-based video display device that decodes the decoded video after extending it through MSE (Media Source Extensions).
21. A computer program stored on a computer-readable recording medium that is combined with a computer as hardware to perform the method of claim 1.
Citation Information
Patent Citations
Device for measuring three-dimensional position
JP1997231373A
Web page-based media file playback method, device, and storage medium
JP2021508428A
Terminal apparatus with DRM decoding function and DRM decoding method in terminal apparatus
KR1020120134746A
Apparatus for playing DRM contents and DRM server
KR1020130093718A
Device and method for representing HTML elements having 3-dimension information on web
KR1020160126563A
