KR20160049839A - System and method for providing contents - Google Patents

System and method for providing contents Download PDF

Info

Publication number
KR20160049839A
KR20160049839A KR1020140147551A KR20140147551A KR20160049839A KR 20160049839 A KR20160049839 A KR 20160049839A KR 1020140147551 A KR1020140147551 A KR 1020140147551A KR 20140147551 A KR20140147551 A KR 20140147551A KR 20160049839 A KR20160049839 A KR 20160049839A
Authority
KR
South Korea
Prior art keywords
content
cache
server
information
terminal
Prior art date
Application number
KR1020140147551A
Other languages
Korean (ko)
Inventor
이창훈
Original Assignee
삼성에스디에스 주식회사
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 삼성에스디에스 주식회사 filed Critical 삼성에스디에스 주식회사
Priority to KR1020140147551A priority Critical patent/KR20160049839A/en
Publication of KR20160049839A publication Critical patent/KR20160049839A/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/45Management operations performed by the client for facilitating the reception of or the interaction with the content or administrating data related to the end-user or to the client device itself, e.g. learning user preferences for recommending movies, resolving scheduling conflicts
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/45Management operations performed by the client for facilitating the reception of or the interaction with the content or administrating data related to the end-user or to the client device itself, e.g. learning user preferences for recommending movies, resolving scheduling conflicts
    • H04N21/462Content or additional data management, e.g. creating a master electronic program guide from data received from the Internet and a Head-end, controlling the complexity of a video stream by scaling the resolution or bit-rate based on the client capabilities
    • H04N21/4623Processing of entitlement messages, e.g. ECM [Entitlement Control Message] or EMM [Entitlement Management Message]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/45Management operations performed by the client for facilitating the reception of or the interaction with the content or administrating data related to the end-user or to the client device itself, e.g. learning user preferences for recommending movies, resolving scheduling conflicts
    • H04N21/462Content or additional data management, e.g. creating a master electronic program guide from data received from the Internet and a Head-end, controlling the complexity of a video stream by scaling the resolution or bit-rate based on the client capabilities
    • H04N21/4627Rights management associated to the content

Abstract

A content providing system and method are disclosed. A content providing system according to an embodiment of the present invention receives a content request message including content information from a terminal and adds the cache information to the content request message when cache information matching with the content information exists Cache server; And a content server for receiving the content request message from the cache server, determining whether the cache content previously stored in the cache server is an update target using the cache information, and transmitting the content response message to the cache server do.

Description

[0001] SYSTEM AND METHOD FOR PROVIDING CONTENTS [0002]

Embodiments of the present invention relate to techniques for providing content.

In the case of the conventional cache system, only a static content that exists in a form of a file on the content server, such as an image file, a Cascading Style Sheets (CSS) file, an HTML file, a binary file, Respectively. According to the prior art, although an Expire Date is set for the cache content at the time of content cache, when the content on the content server is changed before the expiration date, the cache content and content server side content become inconsistent . Also, according to the related art, there is a problem that the cache contents are directly provided to the user even when the access right to the contents is changed.

Furthermore, a WAN accelerator is used as another content caching method, but in the case of a WAN accelerator, a network load is generated for all traffic between a user terminal and a content server. In addition, since the conventional WAN accelerator has to be installed on both sides of the content server and the user terminal in a switch form, there is a limit to the application of a service for providing contents to an unspecified number of clients.

Korean Patent Publication No. 2006-0043620 (2006.05.15)

Embodiments of the present invention are intended to provide a means for reflecting update contents and access authority change contents for contents when providing contents.

According to an exemplary embodiment of the present invention, a cache server for receiving a content request message including content information from a terminal and adding the cache information to the content request message when cache information matching the content information exists; And a content server for receiving the content request message from the cache server, determining whether the cache content previously stored in the cache server is an update target using the cache information, and transmitting the content response message to the cache server A content providing system is provided.

The content information may include at least one of a URI (Uniform Resource Identifier) of the content and an identifier of the content.

The cache information may include a cache ID including a URI or an identifier of the cache content, and a cache parameter that is matched with the cache ID and includes at least one of a version, an update date, and an expiration date of the cache content.

The content server may determine that the cache content is an update target when the same value as the cache ID is stored in the content server but the same value as the cache parameter is not stored in the content server.

The content server may transmit the updated cache information and updated content to the cache server by adding the updated content information to the content response message if the cache content corresponds to the update target.

The content server may determine that the cache content is not an update target when the same value as the cache ID and the same value as the cache parameter are respectively stored in the content server.

The content server may determine that the content is new content that is not stored in the cache server when the content request message does not include the cache information.

The content server may generate new cache information when the content corresponds to the new content, and may add the new cache information and the content to the content response message to transmit to the cache server.

The cache server may encrypt and store the content included in the content response message.

The cache server may restore the encrypted content in real time and sequentially transmit the restored content to the terminal.

The content request message may further include authentication information for authenticating an access right of the terminal with respect to the content.

The content server can authenticate the terminal using the authentication information and confirm whether the access right of the terminal is changed with respect to the content.

According to another exemplary embodiment of the present invention, a cache server includes: receiving a content request message including content information from a terminal; Adding the cache information to the content request message when the cache server has cache information matching the content information; The content server receiving the content request message from the cache server; Wherein the content server determines whether the content server has updated the cache content previously stored in the cache server using the cache information; And transmitting, by the content server, a content response message to the cache server.

The content information may include at least one of a URI (Uniform Resource Identifier) of the content and an identifier of the content.

The cache information may include a cache ID including a URI or an identifier of the cache content, and a cache parameter that is matched with the cache ID and includes at least one of a version, an update date, and an expiration date of the cache content.

Determining whether the cache content is an update target may include determining whether the cache content is an update target, if the cache server has stored the same value as the cache ID in the content server, Can be determined to be an update target.

The content providing method may further include adding the updated cache information and updated content to the content response message if the cache content corresponds to an update target.

The determining whether the cache content is an update target may include determining whether the cache content is not an update target when the same value as the cache ID and the same value as the cache parameter are respectively stored in the content server .

The content providing method may further include determining that the content is new content that is not stored in the cache server when the content request message does not include the cache information.

Generating new cache information when the content corresponds to the new content as a result of the determination; And adding the new cache information and the content to the content response message.

The content providing method may further include the step of the caching server encrypting and storing the content included in the content response message.

The content providing method may further include the step of the cache server sequentially restoring the encrypted content in real time and the restored content to the terminal sequentially.

The content request message may further include authentication information for authenticating an access right of the terminal with respect to the content.

The content server may further include checking whether the access right of the terminal to the content is changed by authenticating the terminal using the authentication information.

According to embodiments of the present invention, the access right of the terminal with respect to the content may be authenticated before the content is provided, thereby reflecting the contents of the access right change depending on whether the content is updated or the content expiration date.

In addition, according to embodiments of the present invention, it is possible to extend the range of content that can be provided to the terminal from static content to dynamic content by checking whether the content is updated prior to providing the content and providing the updated content to the terminal have.

In addition, according to embodiments of the present invention, when content is stored in the cache server, the content is encrypted, thereby enhancing the security of the cache content.

1 is a block diagram for explaining a contents providing system according to an embodiment of the present invention;
2 is a block diagram illustrating a detailed configuration of a cache server according to an embodiment of the present invention.
3 is a block diagram illustrating a detailed configuration of a content server according to an embodiment of the present invention.
4 is a flowchart illustrating a content providing method according to the first embodiment of the present invention.
5 is a flowchart illustrating a content providing method according to a second embodiment of the present invention.
6 is a flowchart illustrating a content providing method according to a third embodiment of the present invention.

While the present invention has been described in connection with certain exemplary embodiments, it is to be understood that the invention is not limited to the disclosed embodiments, but, on the contrary, is intended to cover various modifications and similarities. It should be understood, however, that the invention is not intended to be limited to the particular embodiments, but includes all modifications, equivalents, or updates that fall within the spirit and scope of the invention.

In the following description, a detailed description of known functions and configurations incorporated herein will be omitted when it may make the subject matter of the present invention rather unclear. The following terms are defined in consideration of the functions of the present invention, and may be changed according to the intention or custom of the user, the operator, and the like. Therefore, the definition should be based on the contents throughout this specification.

The technical idea of the present invention is determined by the claims, and the following embodiments are merely a means for efficiently describing the technical idea of the present invention to a person having ordinary skill in the art to which the present invention belongs.

Hereinafter, specific embodiments of the present invention will be described with reference to the drawings. However, this is an exemplary embodiment only and the present invention is not limited thereto.

1 is a block diagram illustrating a content providing system 100 according to an embodiment of the present invention. 1, the content providing system 100 includes a terminal 102, a cache server 104, and a content server 106 according to an embodiment of the present invention.

The terminal 102 is a device for requesting content from the content server 106 and receiving the requested content from the content server 106. The terminal 102 may be, for example, a desktop, a notebook, a tablet computer, a PDA, or a mobile phone. Here, the content may include not only static content that exists in the form of a file on the content server 106 such as an image file, a Cascading Style Sheets (CSS) file, an HTML file, a binary file, 106, etc.), statistical data by user input, etc., and dynamic content whose contents and access rights are changed as needed. The dynamic content may be provided to the terminal 102 in the form of, for example, the following HTTP link.

http://192.168.0.1/service/download.do?contentsId=f2cc74e0-5406-11e4-916c-0800200c9a66

The terminal 102 can request content from the content server 106 via the cache server 104. [ To this end, the terminal 102 may send a content request message to the cache server 104. The content request message may include authentication information used to authenticate the access right (or download right) of the terminal 102 with respect to the content, and content information used to identify the content.

Here, the authentication information may be, for example, an ID / password issued from the content server 106, a certificate, a session ID, and the like. As described later, the content server 106 can authenticate the access right of the terminal 102 with respect to the content using the authentication information included in the content request message.

In addition, the content information may include at least one of a URI (Uniform Resource Identifier) of the content requested by the terminal 102 and an identifier of the content.

Here, the URI of the content means the access address of the content on the network, for example, as follows.

<Example of content URI>

http://192.168.0.1/data.dat

http://192.168.0.1/download.do?id=f2cc74e0-5406-11e4-916c-0800200c9a66

The identifier of the content may be a character, a number, a symbol or a set thereof for identifying the content, for example, a content name, a unique number, and the like. The content identifier may be included in the content URI. If the URI of the content is expressed as &quot;http://192.168.0.1/download.do?id=f2cc74e0-5406-11e4-916c-0800200c9a66&quot;, the identifier of the content is, for example, &quot; id = f2cc74e0- 5406-11e4-916c-0800200c9a66 &quot;.

&Lt; Example of identifier of contents &

id = f2cc74e0-5406-11e4-916c-0800200c9a66

The cache server 104 receives and stores contents to be cached from the contents server 106 and provides specific contents among the stored contents to the terminal 102 according to the contents request message of the terminal 102. [ At this time, the cache server 104 may receive a cache ID and a cache parameter of the corresponding content from the content server 106 together with the content. Here, the cache ID is information for identifying the content (hereinafter referred to as &quot; cache content &quot;) stored in the cache server 104, and may be either a URI or an identifier of the cache content. Further, the cache parameter is information indicating the characteristics of the cache content, and may include at least one of a version of the cache content, an update date of the cache content, and an expiration date of the cache content. The cache ID and the cache parameter may be expressed, for example, as follows.

<Cache ID example>

http://192.168.0.1/data.dat

http://192.168.0.1/download.do?id=f2cc74e0-5406-11e4-916c-0800200c9a66

id = f2cc74e0-5406-11e4-916c-0800200c9a66

<Cache parameter example>

Version: 1.0

Modified-Date: 2015-10-15 12: 00: 00,000000000

Expire-Date: 2016-10-15 12: 00: 00,000000000

The cache server 104 may match and store the cache information and the cache contents in the following form.

<Cache content storage format>

Cache ID - Cache Parameter - Cache Content -

The cache server 104 may inquire whether or not cache information matching the content information included in the content request message exists in the cache server 104. [ That is, the cache server 104 can check whether or not a cache ID matching the content identifier of the content included in the content information exists in the cache server 104. [

If there is a cache ID in the cache server 104 that matches the URI or the content identifier of the content included in the content information, the cache server 104 stores the cache information (cache ID, cache parameter) in the content request message And can transmit it to the content server 106. Thereafter, the content server 106 uses the cache information included in the content request message to determine whether the cache content stored in the cache server 104 is an update target (content server 104 side content is changed or updated, The cache server 104 may determine that the cache content is not coincident with the cache content).

As a result of the determination by the content server 106, when the cache content corresponds to an update target, the cache server 104 may receive the content response message including the updated cache information and the updated content from the content server 106. The cache server 104 may update the cache information and the cache content stored in the cache server 104 with the updated cache information and the updated content, and then transmit the updated content to the terminal 102. [

When the cache server 104 determines that the cache content does not correspond to the update target, the cache server 104 may receive the content response message including the cache information from the content server 106 as a result of the determination. The cache server 104 may inquire the cache contents stored in the cache server 104 using the cache information and then transmit the cache contents to the terminal 102. [

On the other hand, if there is no cache ID in the cache server 104 that matches the URI or the content identifier of the content included in the content information, the cache server 104 transmits the content request message received from the terminal 102 to the content server 106). In this case, the content server 106 determines that the content requested by the terminal 102 is new content that is not stored in the cache server 104, and transmits the new cache information and the content response message including the content to the cache server 104). The cache server 104 may store the new cache information and the corresponding content, and then transmit the content to the terminal 102.

The content server 106 authenticates the terminal 102 according to the content request message received from the cache server 104 and transmits the content response message to the cache server 104.

First, the content server 106 can authenticate the access right of the terminal 102 with respect to the content using the authentication information included in the content request message. As described above, the authentication information may be, for example, an ID / password, a session ID, a certificate, and the like. The content server 106 may compare the authentication information stored in the content server 106 with the authentication information included in the content request message to authenticate the access right of the terminal 102 with respect to the content. When the content on the content server 106 is updated (or changed), the access right of the terminal 102 to the content can also be changed. According to the embodiments of the present invention, the access right of the terminal 102 can be authenticated before providing the content, thereby reflecting the contents of the access right change depending on whether the content is updated or the content expiration date.

Also, the content server 106 can determine whether the cache content stored in the cache server 104 is an update target by using the cache information included in the content request message.

If the same value as the cache ID included in the cache information is previously stored in the content server 106 but the same value as the cache parameter is not stored in the content server 106, It can be determined that the cache content stored in the server 104 is an update target. When the content stored in the content server 106 is updated (or changed), at least one of the version, the update date, and the expiration date of the updated content is changed and does not match the cache parameter stored in the cache server 104 The content server 106 can determine that the cache content stored in the cache server 104 is an update target. The content server 106 updates the version, update date, and expiration date of the content included in the cache parameter with the updated version, update date, and expiration date of the content, and then updates the updated cache information with the content response Message to the cache server 104 in addition to the message. According to the embodiments of the present invention, the content of the content that can be provided to the terminal 102 can be changed from static content to dynamic content by providing the updated content to the terminal 102, Content can be expanded.

If the same value as the cache ID included in the cache information and the same value as the cache parameter included in the cache information are previously stored in the content server 106, It can be determined that the content is not an update target. In this case, since the cache contents stored in the cache server 104 and the contents stored in the contents server 106 are identical, the contents server 106 need not send the contents to the cache server 104. Accordingly, the content server 106 may add only the cache information included in the content request message to the content response message, and transmit the content request message to the cache server 104.

On the other hand, if the content request message does not include the cache information, the content server 106 can determine that the content requested by the terminal 102 is new content, that is, content that is not stored in the cache server 104 . The content server 102 can extract content requested by the terminal 102 from the content stored in the content server 106 using the content information (URI of the content, identifier of the content) included in the content request message. In addition, the content server 106 may generate new cache information (cache ID, cache parameters) for the extracted content, and may add the extracted content and new cache information to the content response message and send it to the cache server 104 have. Hereinafter, the detailed configuration of the cache server 104 and the content server 106 will be described in more detail.

2 is a block diagram showing a detailed configuration of a cache server 104 according to an embodiment of the present invention. 2, the cache server 104 according to an embodiment of the present invention includes a first transmission / reception unit 202, a cache information management unit 204, a cache DB 206, an encryption unit 208, (210).

The first transceiver 202 is an interface for transmitting and receiving data to and from the terminal 102 and the content server 106, respectively. The first transceiver 202 may receive the content request message from the terminal 102 and may transmit the cache content stored in the cache DB 206 to the terminal 102. Also, the first transceiver 202 may transmit the content request message to the content server 106 and receive the content response message from the content server 106.

The cache information management unit 204 manages cache information and cache contents stored in the cache DB 206. [ The cache information management unit 204 can inquire whether or not cache information matched with the content information included in the content request message is stored in the cache DB 206. [ If cache information matched with the content information included in the content request message is stored in the cache DB 206, the cache information management unit 204 may add the cache information to the content request message. The first transceiver 202 may transmit the content request message to which the cache information is added to the content server 106. [

The cache information management unit 204 can update the cache information and the cache content stored in the cache DB 206 in accordance with the content response message received from the content server 106. [ As described above, if it is determined by the content server 106 that the cache content stored in the cache server 104 is an update target, the content server 106 adds the updated cache information and the updated content to the content response message And transmit it to the cache server 104. The cache information management unit 204 can update the cache information and the cache content stored in the cache DB 206 with the updated cache information and the updated content.

The cache information management unit 204 may newly store new cache information and contents in the cache DB 206 according to the content response message received from the content server 106. [ As described above, if the content requested by the terminal 102 corresponds to new content as a result of the determination by the content server 106, the content server 106 generates new cache information, Message to the cache server 104 in addition to the message. The cache information management unit 204 can newly store the new cache information and the corresponding content received from the content server 106 in the cache DB 206. [

The cache information management unit 204 may delete the cache information and the cache content stored in the cache DB 206 according to a predetermined cache information management rule. The cache information management rule is a condition for storing and managing content in the cache DB 206. For example, the cache information management rule may include a number of times the terminal 102 requested the specific content for a predetermined time, a date last requested by the terminal 102, . &Lt; / RTI &gt; As an example, if the number of times the terminal 102 requests the cache contents stored in the cache DB 206 for less than three times in the past one month is less than three times, the cache information management unit 204 stores the cache contents in the cache DB 206, Information can be deleted. In addition, the cache information management unit 204 can store only the content requested through the specific path in the cache DB 206 and manage it. For example, the cache information management unit 204 stores the content requested via the "/ data / erp /" path in the cache DB 206, and the content requested through the "/ data / crm / It may not be stored in the cache DB 206. [ In addition, the cache information management unit 204 may store only a specific type of content in the cache DB 206 and manage it. For example, the cache information management unit 204 stores the content of the "application / octet-stream" type in the cache DB 206, while the content of the "image / gif" type is not stored in the cache DB 206 .

The cache DB 206 is a place where cache information and cache contents are stored. As described above, the cache information (cache ID, cache parameters) and the cache contents may be matched with each other and stored in the cache DB 206. [ The cache information and the cache contents stored in the cache DB 206 may be updated or deleted under the control of the cache information management unit 204. [ In addition, the cache information management unit 204 may store the new cache information and the contents in the cache DB 206. [

The encryption unit 208 encrypts the cache contents. The encryption unit 208 can encrypt the cache content stored in the cache DB 206 or encrypt the cache content before the cache content is stored in the cache DB 206 and store the encrypted content in the cache DB 206. [ Thus, the security of the cache contents can be enhanced. The encryption unit 208 may encrypt the cache contents using a hash function such as SHA-1 or SHA-256, but the encryption method of the encryption unit 208 is not limited thereto, 208 may encrypt the cache content using various encryption algorithms. In addition, the encryption unit 208 can encrypt not only the cache contents but also the corresponding cache information (cache ID, cache parameters) to further enhance the security of the corresponding cache contents.

The decryption unit 210 decrypts the encrypted cache contents. When the first transmission / reception unit 202 desires to transmit the cache content to the terminal 102, the decryption unit 210 may decrypt the corresponding cache content. At this time, the decryption unit 210 can restore the encrypted cache contents in real time, and the first transmission / reception unit 202 can transmit the restored cache contents to the terminal 102 in real time. For example, the decrypting unit 210 may recover the encrypted cache contents from a 0 byte offset by a predetermined size (for example, 32 KB), and the first transmitting and receiving unit 202 may recover the restored cache contents And can be transmitted to the terminal 102 in real time. If the cache content is large (for example, about 1 GB), a response delay due to decoding may occur if the entire cache content is decrypted and then transmitted to the terminal 102. Accordingly, in the embodiment of the present invention, in order to improve the response speed to the terminal 102, the encrypted cache contents are restored in real time and the restored cache contents can be transmitted to the terminal 102 sequentially. When the encryption unit 208 encrypts not only the cache content but also the corresponding cache information as described above, the decryption unit 208 decrypts the cache information stored in the cache DB 206 in the cache information management of the cache information management unit 204 Can be decoded.

3 is a block diagram showing a detailed configuration of a content server 106 according to an embodiment of the present invention. 3, the content server 106 according to an embodiment of the present invention includes a second transceiver 302, an authenticator 304, a determiner 306, a content provider 308, And a DB 310.

The second transmission / reception unit 302 is an interface for transmitting / receiving data to / from the cache server 104. The second transceiver 302 may receive the content request message from the cache server 104 and may transmit the content response message to the cache server 104.

The authentication unit 304 authenticates the access right of the terminal 102 with respect to the content requested by the terminal 102. [ As described above, the authentication unit 304 can compare the authentication information stored in the content server 106 with the authentication information included in the content request message, and authenticate the access right of the terminal 102 with respect to the content. The authentication information may be, for example, an ID / password, a session ID, a certificate, and the like. However, the method of authenticating the terminal 102 by the authentication unit 304 is not limited thereto, and the authentication unit 304 may authenticate the terminal 102 by using various authentication methods. If the authentication information previously stored in the content server 106 does not match the authentication information included in the content request message, the authentication unit 304 may transmit an error message to the cache server 104. [ In this case, access of the terminal 102 to the content is prohibited.

The determination unit 306 determines whether the cache content stored in the cache server 104 is an update target or the content requested by the terminal 102 is new content. First, the determination unit 306 determines whether or not cache information exists in the content request message received from the cache server 104. When there is cache information in the content request message, the determination unit 306 can determine whether the cache content stored in the cache server 104 is an update target using the cache information.

If the same value as the cache ID included in the cache information is previously stored in the content server 106 but the same value as the cache parameter is not stored in the content server 106, It can be determined that the cache content stored in the server 104 is an update target. When the content stored in the content DB 310 is updated, at least one of the version, the update date, and the expiration date of the updated content is changed and does not match the cache parameter stored in the cache server 104, It can be determined that the cache content stored in the cache server 104 is an update target.

If the same value as the cache ID included in the cache information and the same value as the cache parameter included in the cache information are previously stored in the content server 106, It can be determined that the content is not an update target. When the content stored in the content server 106 is not updated, the version, update date, and expiration date of the content stored in the content server 106 match the cache parameters stored in the cache server 104, May determine that the cache content stored in the cache server 104 is not an update target.

On the other hand, when there is no cache information in the content request message, the determination unit 306 may determine that the content requested by the terminal 102 is new content, that is, content that is not stored in the cache server 104.

The content providing unit 208 generates a content response message. The content providing unit 208 may add the updated cache information, the updated content, and the like to the content response message according to the determination result of the determining unit 206. [ The second transceiver 302 may transmit a content response message to the cache server 104. [

If the cache content stored in the cache server 104 is an update target, the content providing unit 208 extracts the updated content from the content DB 310, The updated content can be added to the content response message. The content providing unit 208 may extract the updated content from the content DB 310 using the cache ID included in the cache information. Each of the contents stored in the contents DB 310 is matched with a URI of the contents, an identifier of the corresponding contents, a version of the corresponding contents, an update date of the corresponding contents, and an expiration date of the corresponding contents. The content providing unit 208 can extract the content matched with the cache ID included in the cache information from the content DB 310. In this case, the cache parameters (the version of the cache content, the update date and the expiration date) included in the cache information, the version of the updated content stored in the content DB 310, the update date of the content, . The content providing unit 208 may set one or more of the version, update date, and expiration date of the content stored in the content DB 310 as updated cache parameters. The content provider 208 may then add the updated cache information including the cache ID and the updated cache parameters to the content response message. In addition, the content providing unit 208 may add the updated content to the content response message. Then, the second transceiver 302 may transmit the content response message including the updated cache information and the updated content to the cache server 104. [ According to the embodiments of the present invention, whenever the terminal 102 requests content, it can easily determine whether to update the corresponding content by using the cache ID and the cache parameter. Accordingly, (102).

If it is determined that the cache content stored in the cache server 104 does not correspond to the update target, the content provider 208 adds the cache information included in the content request message to the content response message as it is can do. In this case, since the cache contents stored in the cache server 104 are identical to the contents stored in the contents DB 310, the contents provider 208 need not add the contents stored in the contents DB 310 to the contents response message .

When the determination unit 306 determines that the content requested by the terminal 102 corresponds to new content that is not stored in the cache server 104, the content providing unit 208 generates new cache information, Cache information and corresponding content to the content response message. The content providing unit 208 may extract the content from the content DB 310 using the cache ID included in the cache information. As described above, the URI of the content, the identifier of the corresponding content, the version of the corresponding content, the update date of the corresponding content, and the expiration date of the corresponding content are matched in each of the contents included in the contents DB 310. The content providing unit 208 can extract the content matched with the cache ID included in the cache information from the content DB 310. The content providing unit 208 may set a URI or an identifier of the content as a new cache ID and set at least one of the version of the content, the update date of the content, and the expiration date of the content as a new cache parameter. Thereafter, the content providing unit 208 may add new cache information including the new cache ID and the new cache parameter, and the content to the content response message. Then, the second transceiver 302 may transmit the new cache information and the content response message including the content to the cache server 104. [

4 is a flowchart illustrating a content providing method according to a first embodiment of the present invention. Here, it is assumed that the cache content stored in the cache server 104 corresponds to an update target.

First, the terminal 102 transmits a content request message including authentication information and content information to the cache server 104 (S402). Here, the authentication information is information used to authenticate the access right (or the download right) of the terminal 102 with respect to the content requested by the terminal 102, for example, an ID / password issued from the content server 106, Certificate, session ID, and so on. The content information is information used to identify the content, and may include at least one of a URI (Uniform Resource Identifier) of the content and an identifier of the corresponding content.

Next, the cache server 104 inquires whether cache information matching with the content information included in the content request message exists in the cache server 104 (S404). Here, the cache information may include a cache ID and a cache parameter. The cache ID may be a URI or an identifier of the cache content stored in the cache server 104, and the cache parameter may include at least one of a version, an update date, and an expiration date of the cache content.

If cache information matching the content information included in the content request message exists in the cache server 104, the cache server 104 adds the cache information to the content request message and transmits the content request message to the content server 106 (S406 ).

Next, the content server 106 authenticates the terminal 102 using the authentication information included in the content request message (S408). The content server 106 may compare the authentication information stored in the content server 106 with the authentication information included in the content request message and authenticate the access right of the terminal 102 with respect to the content. The authentication information may be, for example, an ID / password, a session ID, a certificate, and the like. If the authentication information stored in the content server 106 does not match the authentication information included in the content request message, the content server 106 may transmit an error message to the cache server 104. [ In this case, access of the terminal 102 to the content is prohibited.

When the authentication of the terminal 102 is completed for the content, the content server 106 determines whether the cache content stored in the cache server 104 is to be updated by using the cache information included in the content request message S410). If the same value as the cache ID included in the cache information is stored in the content server 106 but the same value as the cache parameter is not stored in the content server 106, 104 can be determined to be an update target.

If it is determined in step S410 that the cache content stored in the cache server 104 is an update target, the content server 106 extracts the updated content and updates the cache parameters (S412). Each of the contents stored in the contents server 106 is matched with the URI of the corresponding contents, the identifier of the corresponding contents, the version of the corresponding contents, the update date of the corresponding contents, and the expiration date of the corresponding contents. The content server 106 may extract content matched with the cache ID included in the cache information from the content DB 310. Since the extracted content is the updated content, the cache parameters (the version of the cache content, the update date, the expiration date, etc.) included in the cache information, the version of the updated content, the update date of the updated content, Etc. become inconsistent. The content server 106 may set one or more of the updated version of the content, the updated date of the updated content, and the expiration date of the updated content to the updated cache parameter.

Next, the content server 106 adds the updated cache information including the cache ID, the updated cache parameters, and the updated content to the content response message and transmits it to the cache server 104 (S414).

Next, in accordance with the content response message, the cache server 104 updates the cache information and the cache content stored in the cache server 104 (S416). The cache server 104 can update the cache information and the cache content stored in the cache server 104 with the updated cache information and the updated content included in the content response message, respectively.

Finally, the cache server 104 transmits the updated content to the terminal 102 as a response to the content request of the terminal 102 (S418).

5 is a flowchart illustrating a content providing method according to a second embodiment of the present invention. Here, it is assumed that the cache content stored in the cache server 104 does not correspond to the update target, and steps S502 to S510 are the same as steps S402 to S410, and thus description thereof will be omitted here.

As described above, the content server 106 can determine whether or not the cache content stored in the cache server 104 is an update target by using the cache information included in the content request message, If the cache content stored in the result cache server 104 does not correspond to the update target, the content server 106 adds the cache information included in the content request message to the content response message as it is, and transmits the content request message to the cache server 104 S512). In this case, since the cache contents stored in the cache server 104 are identical to the contents stored in the contents server 106, the contents provider 208 need not add the contents stored in the contents server 106 to the contents response message .

Next, the cache server 104 inquires the cache contents stored in the cache server 104 using the cache information included in the content response message (S514). As described above, since the cache contents are matched with the cache information and stored in the cache server 104, the cache server 104 inquires cache information matched with the cache information included in the content response message, Can be extracted.

Finally, the cache server 104 transmits the extracted cache content to the terminal 102 as a response to the content request of the terminal 102 (S516). As described above, since the cache server 104 encrypts and stores the cache contents, it is necessary to decrypt the cache contents before transmitting the cache contents to the terminal 102. [ However, if the cache content is large (e.g., about 1 GB), a response delay due to the decryption may occur if the entire contents of the cache are decrypted and transmitted to the terminal 102. Therefore, The restored cache contents can be transmitted to the terminal 102 at the same time as restoring the cache contents in real time. For example, the cache server 104 can restore the encrypted cache contents from a 0 byte offset by a predetermined size (for example, 32 KB), and at the same time, As shown in FIG. Accordingly, the response speed to the terminal 102 can be improved.

6 is a flowchart illustrating a content providing method according to a third embodiment of the present invention. Here, it is assumed that the content requested by the terminal 102 is new content that is not stored in the cache server 104.

First, the terminal 102 transmits a content request message including authentication information and content information to the cache server 104 (S602).

Next, the cache server 104 inquires whether cache information matching with the content information included in the content request message exists in the cache server 104 (S604).

If the cache information matching the content information included in the content request message does not exist in the cache server 104, the cache server 104 transmits the received content request message to the content server 106 as it is (S606).

Next, the content server 106 authenticates the terminal 102 using the authentication information included in the content request message (S608). As described above, the content server 106 can compare the authentication information stored in the content server 106 with the authentication information included in the content request message to authenticate the access right of the terminal 102 with respect to the content.

When the authentication of the terminal 102 with respect to the content is completed, the content server 106 confirms that the content request message does not include the cache information, so that the content requested by the terminal 102 is stored in the cache server 104 It is determined that the content is new content (S610).

Next, the content server 106 extracts the content requested by the terminal 102 among the contents stored in the content server 106 and generates new cache information (S612). The content server 106 may extract the content requested by the terminal 102 using the cache ID included in the cache information. As described above, the content stored in the content server 106 is matched with the URI of the corresponding content, the identifier of the corresponding content, the version of the corresponding content, the update date of the corresponding content, and the expiration date of the corresponding content. The content server 106 may extract content matching the cache ID included in the cache information among the contents stored in the content server 106. Also, the content server 106 may set a URI or an identifier of the extracted content as a new cache ID, and set at least one of the version of the content, the update date of the content, and the expiration date of the content as a new cache parameter.

Next, the content server 106 adds the new cache information including the new cache ID and the new cache parameter and the corresponding content to the content response message, and transmits the new content information to the cache server 104 (S614).

Next, the cache server 104 stores the new cache information included in the content response message and the corresponding content (S616). At this time, the cache server 104 can encrypt and store the contents.

Finally, the cache server 104 transmits the content to the terminal 102 as a response to the content request of the terminal 102 (S618).

While the present invention has been particularly shown and described with reference to exemplary embodiments thereof, it is clearly understood that the same is by way of illustration and example only and is not to be taken by way of limitation, I will understand. Therefore, the scope of the present invention should not be limited to the above-described embodiments, but should be determined by equivalents to the appended claims, as well as the appended claims.

100: Content providing system
102: terminal
104: cache server
106: Content server
202: first transmission /
204: Cache information management unit
206: Cache DB
208:
210:
302: second transmission /
304:
306:
308: Content provisioning
310: Contents DB

Claims (24)

A cache server for receiving a content request message including content information from a terminal and adding the cache information to the content request message when cache information matching the content information exists; And
And a content server for receiving the content request message from the cache server, determining whether the cache content stored in the cache server is an update target using the cache information, and transmitting the content response message to the cache server. Content providing system.
The method according to claim 1,
Wherein the content information includes at least one of a URI (Uniform Resource Identifier) of the content and an identifier of the content.
The method of claim 2,
Wherein the cache information includes a cache ID consisting of a URI or an identifier of the cache content, and cache parameters including at least one of a version, an update date, and an expiration date of the cache content matched with the cache ID system.
The method of claim 3,
Wherein the content server determines that the cache content is an update target when the same value as the cache ID is stored in the content server but the same value as the cache parameter is not stored in the content server, .
The method of claim 4,
Wherein the content server adds the updated cache information and updated content to the content response message and transmits the updated content information to the cache server when the cache content corresponds to an update target.
The method of claim 3,
Wherein the content server determines that the cache content is not an update target when the same value as the cache ID and the same value as the cache parameter are respectively stored in the content server.
The method of claim 3,
Wherein the content server determines that the content is new content that is not stored in the cache server when the content request message does not include the cache information.
The method of claim 7,
Wherein the content server generates new cache information when the content corresponds to the new content and transmits the new cache information and the content to the cache server by adding the new cache information and the content to the content response message, .
The method of claim 8,
Wherein the cache server encrypts and stores the content included in the content response message.
The method of claim 9,
Wherein the cache server restores the encrypted content in real time and sequentially transmits the restored content to the terminal.
The method according to claim 1,
Wherein the content request message further includes authentication information for authenticating an access right of the terminal with respect to the content.
The method of claim 11,
Wherein the content server confirms whether the access right of the terminal is changed with respect to the content by authenticating the terminal using the authentication information.
The cache server receiving a content request message including content information from a terminal;
Adding the cache information to the content request message when the cache server has cache information matching the content information;
The content server receiving the content request message from the cache server;
The content server determining whether the cache content stored in the cache server is an update target using the cache information; And
And the content server sending a content response message to the cache server.
14. The method of claim 13,
Wherein the content information includes at least one of a URI (Uniform Resource Identifier) of the content and an identifier of the content.
15. The method of claim 14,
Wherein the cache information includes a cache ID consisting of a URI or an identifier of the cache content, and cache parameters including at least one of a version, an update date, and an expiration date of the cache content matched with the cache ID Way.
16. The method of claim 15,
Determining whether the cache content is an update target may include determining whether the cache content is an update target, if the cache server has stored the same value as the cache ID in the content server, Is an update target.
18. The method of claim 16,
And adding the updated cache information and the updated content to the content response message if the cache content corresponds to an update target.
16. The method of claim 15,
The step of determining whether the cache content is an update target may include determining whether the cache content is not an update target if the same value as the cache ID and the same value as the cache parameter are respectively stored in the content server , And content providing method.
16. The method of claim 15,
And determining that the content is new content that is not stored in the cache server when the content request message does not include the cache information.
The method of claim 19,
Generating new cache information when the content corresponds to the new content; And
And adding the new cache information and the content to the content response message.
The method of claim 20,
Wherein the cache server further comprises encrypting and storing the content included in the content response message.
23. The method of claim 21,
Wherein the cache server further comprises: restoring the encrypted content in real time and simultaneously transmitting the restored content to the terminal.
14. The method of claim 13,
Wherein the content request message further includes authentication information for authenticating an access right of the terminal to the content.
24. The method of claim 23,
Further comprising the step of authenticating the terminal using the authentication information in the content server to confirm whether the access right of the terminal is changed with respect to the content.
KR1020140147551A 2014-10-28 2014-10-28 System and method for providing contents KR20160049839A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020140147551A KR20160049839A (en) 2014-10-28 2014-10-28 System and method for providing contents

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020140147551A KR20160049839A (en) 2014-10-28 2014-10-28 System and method for providing contents

Publications (1)

Publication Number Publication Date
KR20160049839A true KR20160049839A (en) 2016-05-10

Family

ID=56020968

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020140147551A KR20160049839A (en) 2014-10-28 2014-10-28 System and method for providing contents

Country Status (1)

Country Link
KR (1) KR20160049839A (en)

Similar Documents

Publication Publication Date Title
US11475137B2 (en) Distributed data storage by means of authorisation token
KR101974452B1 (en) Methods and system for managing personal information based on programmable blockchain and one-id
US9742570B2 (en) Securing multimedia content via certificate-issuing cloud service
US10574460B2 (en) Mechanism for achieving mutual identity verification via one-way application-device channels
US9407432B2 (en) System and method for efficient and secure distribution of digital content
JP5749236B2 (en) Key change management device and key change management method
CN113193965B (en) Digital content materialization display system based on NFT
US10708047B2 (en) Computer-readable recording medium storing update program and update method, and computer-readable recording medium storing management program and management method
US11196561B2 (en) Authorized data sharing using smart contracts
WO2020019387A1 (en) Method for acquiring video resource file, and management system
KR101985179B1 (en) Blockchain based id as a service
US20130275765A1 (en) Secure digital document distribution with real-time sender control of recipient document content access rights
US10021562B2 (en) Mobile trusted module (MTM)-based short message service security system and method thereof
US11595398B1 (en) Access control for named domain networking
KR101648364B1 (en) Method for improving encryption/decryption speed by complexly applying for symmetric key encryption and asymmetric key double encryption
CN105025019A (en) Data safety sharing method
US20130054965A1 (en) Usage Control of Digital Data Exchanged Between Terminals of a Telecommunications Network
CN111475845A (en) Unstructured data identity authorization access system and method
WO2019083379A1 (en) Data transmission
CN111193755B (en) Data access method, data encryption method and data encryption and access system
CN114679340B (en) File sharing method, system, device and readable storage medium
US10621319B2 (en) Digital certificate containing multimedia content
KR101412698B1 (en) System for certificate distribution using relay server, method of certificate distribution, and apparatus for the same
CN110602075A (en) File stream processing method, device and system for encryption access control
KR20160049839A (en) System and method for providing contents

Legal Events

Date Code Title Description
A201 Request for examination
E902 Notification of reason for refusal
E902 Notification of reason for refusal
E601 Decision to refuse application