JP6997405B1 - Cache server, content provision system, and program - Google Patents
Cache server, content provision system, and program Download PDFInfo
- Publication number
- JP6997405B1 JP6997405B1 JP2021014627A JP2021014627A JP6997405B1 JP 6997405 B1 JP6997405 B1 JP 6997405B1 JP 2021014627 A JP2021014627 A JP 2021014627A JP 2021014627 A JP2021014627 A JP 2021014627A JP 6997405 B1 JP6997405 B1 JP 6997405B1
- Authority
- JP
- Japan
- Prior art keywords
- content
- update
- server
- cache
- request
- Prior art date
- Legal status (The legal status 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 status listed.)
- Active
Links
Images
Landscapes
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
【課題】コンテンツを利用するためのライセンスを効率的に管理できるようにする。【解決手段】キャッシュサーバは、サーバから受信したコンテンツを記憶する記憶部と、端末装置からコンテンツを特定する情報を含むリクエスト情報を取得するリクエスト取得部と、リクエスト情報により特定されるコンテンツを記憶部から読み出して端末装置に送信するコンテンツ送信部と、記憶部に記憶されたコンテンツの保存期間が所定の有効期限内にあるか否かを判定するキャッシュ期限管理部と、保存期間が有効期限を超えた場合に、サーバに対してコンテンツの更新を要求する更新要求処理を行う更新処理部と、更新要求処理の対象となるコンテンツの更新がサーバにより拒否された場合に、更新が拒否されたコンテンツを使用するためのライセンスが無効となっていることを端末装置に通知する通知部と、を備える。【選択図】図3PROBLEM TO BE SOLVED: To efficiently manage a license for using a content. SOLUTION: A cache server has a storage unit for storing content received from a server, a request acquisition unit for acquiring request information including information for specifying content from a terminal device, and a storage unit for storing content specified by request information. The content transmission unit that reads from and sends it to the terminal device, the cache expiration date management unit that determines whether the retention period of the content stored in the storage unit is within the predetermined expiration date, and the retention period exceeds the expiration date. If the update processing unit that performs the update request processing that requests the server to update the content and the content that is the target of the update request processing are rejected by the server, the content whose update is rejected is displayed. It is provided with a notification unit for notifying the terminal device that the license for use is invalid. [Selection diagram] Fig. 3
Description
本発明の実施形態は、キャッシュサーバ、コンテンツ提供システム、及びプログラムに関する。 Embodiments of the present invention relate to a cache server, a content providing system, and a program.
近年、コンピュータネットワークを介して様々なデジタルコンテンツを複数の端末装置に配信するシステムが利用されている。また、このようなシステムにおいて、コンテンツを配信するコンテンツサーバと端末装置との間に介在し、コンテンツをキャッシュするキャッシュサーバが利用されている。キャッシュサーバを利用することで、端末装置はコンテンツサーバに直接アクセスすることなく、キャッシュサーバからコンテンツを受信できる。 In recent years, a system that distributes various digital contents to a plurality of terminal devices via a computer network has been used. Further, in such a system, a cache server that intervenes between the content server that distributes the content and the terminal device and caches the content is used. By using the cache server, the terminal device can receive the content from the cache server without directly accessing the content server.
上記のようなコンテンツには、その使用を許可するライセンスが設定される場合がある。このような場合、ライセンスの有効期限が切れていると、ユーザはコンテンツを利用できなくなる。 The above content may be licensed to allow its use. In such cases, if the license has expired, the user will not be able to use the content.
本発明が解決しようとする課題は、コンテンツを利用するためのライセンスを効率的に管理することが可能なキャッシュサーバ、コンテンツ提供システム、及びプログラムを提供することである。 An object to be solved by the present invention is to provide a cache server, a content providing system, and a program capable of efficiently managing licenses for using the content.
本発明の第1態様に係るキャッシュサーバは、サーバから受信したコンテンツを記憶する記憶部と、端末装置から前記コンテンツを特定する情報を含むリクエスト情報を取得するリクエスト取得部と、前記リクエスト情報により特定される前記コンテンツを前記記憶部から読み出して前記端末装置に送信するコンテンツ送信部と、前記記憶部に記憶された前記コンテンツの保存期間が所定の有効期限内にあるか否かを判定するキャッシュ期限管理部と、前記保存期間が前記有効期限を超えた場合に、前記サーバに対して前記コンテンツの更新を要求する更新要求処理を行う更新処理部と、前記更新要求処理の対象となる前記コンテンツの更新が前記サーバにより拒否された場合に、更新が拒否された前記コンテンツを使用するためのライセンスが無効となっていることを前記端末装置に通知する通知部と、を備えるものである。 The cache server according to the first aspect of the present invention is specified by the storage unit for storing the content received from the server, the request acquisition unit for acquiring the request information including the information for specifying the content from the terminal device, and the request information. A content transmission unit that reads the content to be read from the storage unit and transmits the content to the terminal device, and a cache expiration date for determining whether or not the storage period of the content stored in the storage unit is within a predetermined expiration date. The management unit, the update processing unit that performs the update request processing that requests the server to update the content when the retention period exceeds the expiration date, and the content that is the target of the update request processing. It is provided with a notification unit for notifying the terminal device that the license for using the content for which the update is refused is invalid when the update is refused by the server.
本発明の第2態様に係るコンテンツ提供システムは、キャッシュサーバと端末装置とがネットワークを介して接続され、前記キャッシュサーバは、サーバから受信したコンテンツを記憶する記憶部と、端末装置から前記コンテンツを特定する情報を含むリクエスト情報を取得するリクエスト取得部と、前記リクエスト情報により特定される前記コンテンツを前記記憶部から読み出して前記端末装置に送信するコンテンツ送信部と、前記記憶部に記憶された前記コンテンツの保存期間が所定の有効期限内にあるか否かを判定するキャッシュ期限管理部と、前記保存期間が前記有効期限を超えた場合に、前記サーバに対して前記コンテンツの更新を要求する更新要求処理を行う更新処理部と、前記更新要求処理の対象となる前記コンテンツの更新が前記サーバにより拒否された場合に、更新が拒否された前記コンテンツを使用するためのライセンスが無効となっていることを前記端末装置に通知する通知部と、を備えるものである。 In the content providing system according to the second aspect of the present invention, the cache server and the terminal device are connected via a network, and the cache server stores the content received from the server and the content from the terminal device. A request acquisition unit that acquires request information including specific information, a content transmission unit that reads the content specified by the request information from the storage unit and transmits the content to the terminal device, and the content storage unit stored in the storage unit. A cache expiration management unit that determines whether the content retention period is within a predetermined expiration date, and an update that requests the server to update the content when the retention period exceeds the expiration date. When the update processing unit that performs request processing and the update of the content that is the target of the update request processing are rejected by the server, the license for using the content whose update is rejected is invalid. It is provided with a notification unit for notifying the terminal device of the fact.
本発明の第3態様に係るプログラムは、コンピュータに、サーバから受信したコンテンツを記憶装置に記憶させる処理と、端末装置から前記コンテンツを特定する情報を含むリクエスト情報を取得する処理と、前記リクエスト情報により特定される前記コンテンツを前記記憶装置から読み出して前記端末装置に送信する処理と、前記記憶装置に記憶された前記コンテンツの保存期間が所定の有効期限内にあるか否かを判定する処理と、前記保存期間が前記有効期限を超えた場合に、前記サーバに対して前記コンテンツの更新を要求する更新要求処理と、前記更新要求処理の対象となる前記コンテンツの更新が前記サーバにより拒否された場合に、更新が拒否された前記コンテンツを使用するためのライセンスが無効となっていることを前記端末装置に通知する処理と、を実行させるものである。 The program according to the third aspect of the present invention includes a process of storing content received from a server in a storage device in a computer, a process of acquiring request information including information for specifying the content from a terminal device, and the request information. A process of reading the content specified by the method from the storage device and transmitting the content to the terminal device, and a process of determining whether or not the storage period of the content stored in the storage device is within a predetermined expiration date. When the retention period exceeds the expiration date, the update request process for requesting the update of the content to the server and the update of the content subject to the update request process are rejected by the server. In this case, the process of notifying the terminal device that the license for using the content whose update has been refused is invalid is executed.
本発明によれば、コンテンツを利用するためのライセンスを効率的に管理することが可能なキャッシュサーバ、コンテンツ提供システム、及びプログラムを提供できる。 According to the present invention, it is possible to provide a cache server, a content providing system, and a program capable of efficiently managing licenses for using contents.
以下、本発明の例示的な実施形態が開示される。以下に示される実施形態の構成、並びに当該構成によってもたらされる作用、結果、及び効果は、一例である。本発明は、以下の実施形態に開示される構成以外によっても実現可能であるとともに、基本的な構成に基づく種々の効果や派生的な効果のうち、少なくとも一つを得ることが可能である。 Hereinafter, exemplary embodiments of the present invention will be disclosed. The configurations of the embodiments shown below, as well as the actions, results, and effects produced by such configurations, are examples. The present invention can be realized by a configuration other than the configurations disclosed in the following embodiments, and at least one of various effects and derivative effects based on the basic configuration can be obtained.
図1は、実施形態に係るコンテンツ提供システム1の構成の一例を示す図である。コンテンツ提供システム1は、コンテンツサーバ11(サーバ)、キャッシュサーバ12、及び複数のクライアント端末13(端末装置)を含む。
FIG. 1 is a diagram showing an example of the configuration of the
コンテンツサーバ11は、コンピュータネットワークを介して所定のコンテンツを配信する情報処理装置であり、例えばWebサーバ等であり得る。なお、「コンテンツ」は、クライアント端末13に所定の機能を実現させるためのソフトウェア、データ等を意味するものとする。コンテンツの種類は限定されるべきものではないが、例えば、学生等のユーザがクライアント端末13上で教材等を閲覧できるようにするソフトウェア、データ等であり得る。
The
キャッシュサーバ12は、コンテンツサーバ11から配信されたコンテンツをキャッシュする情報処理装置である。ここで例示するキャッシュサーバ12は、インターネット等の外部ネットワーク14を介してコンテンツサーバ11と通信可能に接続し、LAN(Local Area Network)、WLAN(Wireless Local Area Network)等の内部ネットワーク15を介して複数のクライアント端末13のそれぞれと通信可能に接続されている。キャッシュサーバ12は、MIB(Management Information Base)等を利用して各クライアント端末13を管理するための処理を実行する。
The
クライアント端末13は、コンテンツサーバ11から配信されるコンテンツを利用して所定の機能を実現する情報処理装置であり、例えばパーソナルコンピュータ(タブレット型端末、ノート型PC、スマートフォン等)等であり得る。
The
なお、図1に示す構成は例示であり、コンテンツ提供システム1の構成はこれに限定されるものではない。例えば、コンテンツサーバ11は複数存在してもよいし、クライアント端末13は1つであってもよい。また、コンテンツサーバ11とキャッシュサーバ12とがLAN等の内部ネットワークを介して接続されてもよいし、キャッシュサーバ12とクライアント端末13とがインターネット等の外部ネットワークを介して接続されてもよい。また、クライアント端末13とコンテンツサーバ11とが直接通信可能であってもよい。
The configuration shown in FIG. 1 is an example, and the configuration of the
図2は、実施形態に係るキャッシュサーバ12のハードウェア構成の一例を示す図である。ここで例示するキャッシュサーバ12は、制御装置51、記憶装置52、通信I/F(Interface)53、及びユーザI/F54を備える。
FIG. 2 is a diagram showing an example of the hardware configuration of the
制御装置51は、CPU(Central Processing Unit)、RAM(Random Access Memory)、ROM(Read Only Memory)等を備えて構成されるプロセッサである。CPUは、ROM等の不揮発性記憶媒体に記憶されたプログラムに従いRAMをワーキングエリアとして動作し、各種機能を実現するための演算処理を行う。
The
記憶装置52は、SSD(Solid State Drive)、HDD(Hard Disk Drive)等の不揮発性記憶媒体を利用して構成されるストレージである。記憶装置52は、キャッシュサーバ12の機能を実現するために必要な各種データを記憶する。記憶装置52は、例えば、コンテンツサーバ11から配信されたコンテンツ、各クライアント端末13を管理するためのMIBファイル、クライアント端末13から受信したリクエストヘッダ(リクエスト情報)、コンテンツサーバ11から受信したレスポンスヘッダ等を記憶する。
The
通信I/F53は、外部ネットワーク14を介したコンテンツサーバ11との通信、内部ネットワーク15を介したクライアント端末13との通信等を確立するためのデバイスである。ユーザI/F54は、ユーザ(管理者)との間で情報の送受を可能にするデバイスであり、例えばキーボード、ポインティングデバイス、ディスプレイ、スピーカ等であり得る。
The communication I /
なお、図2に示す構成は例示であり、キャッシュサーバ12の構成は上記に限定されるものではなく、後述する機能を実現可能な範囲において適宜選択されるべきものである。
The configuration shown in FIG. 2 is an example, and the configuration of the
図3は、実施形態に係るキャッシュサーバ12の機能構成の一例を示す図である。キャッシュサーバ12は、記憶部101、リクエスト取得部102、キャッシュ処理部103、コンテンツ送信部104、キャッシュ期限管理部105、更新処理部106、及び通知部107を備える。これらの機能的構成要素101~107は、図2に例示したハードウェア構成要素51~54、及びROM等に記憶されたプログラム等のソフトウェア構成要素の協働により構成される。
FIG. 3 is a diagram showing an example of the functional configuration of the
記憶部101は、コンテンツサーバ11から受信したコンテンツを記憶(キャッシュ)する。また、記憶部101は、コンテンツのキャッシュ、読み出し等の処理に必要な各種データを記憶する。
The storage unit 101 stores (caches) the content received from the
リクエスト取得部102は、クライアント端末13から送信されたリクエストヘッダを取得する。リクエストヘッダは、クライアント端末13が利用を要求するコンテンツを特定する情報、ユーザ(ライセンシー)を特定する認証情報を含む。リクエスト取得部102により取得されたリクエストヘッダは、記憶部101に記憶される。
The request acquisition unit 102 acquires the request header transmitted from the
キャッシュ処理部103は、コンテンツサーバ11から受信したコンテンツを記憶部101にキャッシュするための処理を行う。
The cache processing unit 103 performs processing for caching the content received from the
コンテンツ送信部104は、リクエストヘッダに対応するコンテンツを記憶部101から読み出し、クライアント端末13に送信する。
The content transmission unit 104 reads the content corresponding to the request header from the storage unit 101 and transmits it to the
キャッシュ期限管理部105は、記憶部101にキャッシュされたコンテンツの保存期間を管理する。キャッシュ期限管理部105は、キャッシュされたコンテンツの保存期間が所定のキャッシュ有効期限内にあるか否かを判定する。キャッシュ有効期限は、例えば、所定の最大保存期間、コンテンツが作成又は変更された日からの経過期間に対する保存期間の割合、所定の最小保存期間等を考慮して設定され得る。なお、キャッシュ有効期限は上記に限定されるものではなく、使用状況、コンテンツの種類等に応じて適宜設定されるべきものである。 The cache deadline management unit 105 manages the retention period of the content cached in the storage unit 101. The cache expiration date management unit 105 determines whether or not the retention period of the cached content is within a predetermined cache expiration date. The cache expiration date may be set in consideration of, for example, a predetermined maximum retention period, a ratio of the retention period to the elapsed period from the date when the content is created or changed, a predetermined minimum retention period, and the like. The cache expiration date is not limited to the above, and should be appropriately set according to the usage status, the type of content, and the like.
更新処理部106は、キャッシュされたコンテンツの保存期間がキャッシュ有効期限を超えた場合に、当該コンテンツの更新(再送信)をコンテンツサーバ11に対して要求する更新要求処理を行う。更新処理部106は、例えば、保存期間が最大保存期間(例えば30日間等)を超えたか、又はコンテンツが作成又は変更された日からの経過期間に対する保存期間の割合が所定値(例えば90%等)を超えた場合に、更新要求処理を行ってもよい。また、更新処理部106は、保存期間が最小保存期間(例えば7日間等)に満たない場合には更新要求処理を行わなくてもよい。
The update processing unit 106 performs update request processing for requesting the
通知部107は、更新要求処理の対象となる(キャッシュ有効期限が切れた)コンテンツの更新がコンテンツサーバ11により拒否された場合(拒否レスポンスを受信した場合)に、当該更新が拒否されたコンテンツのライセンスが無効となっている(ライセンス有効期限が切れている)ことを示すライセンス期限情報をクライアント端末13に通知(送信)する。
When the
上記構成により、キャッシュサーバ12にキャッシュされているコンテンツのキャッシュ有効期限が切れたとき、キャッシュサーバ12が自動的に更新要求処理を実行し、更新要求処理の成否に基づき当該コンテンツのライセンスが有効であるか否かが判定される。そして、ライセンスが無効となっている場合(コンテンツの更新が拒否された場合)には、当該コンテンツのライセンスが無効となっていることがクライアント端末13に通知される。
With the above configuration, when the cache expiration date of the content cached in the
図4は、実施形態に係る更新要求処理及びライセンスの無効通知を行う際の処理の一例を示すフローチャートである。キャッシュ期限管理部105は、記憶部101にキャッシュされているコンテンツの保存期間がキャッシュ有効期限内か否かを判定する(S101)。保存期間がキャッシュ有効期限内である場合(S101:Yes)、本ルーチンは終了する。保存期間がキャッシュ有効期限内でない場合(S101:No)、更新処理部106は、当該コンテンツの更新(再送信)をコンテンツサーバ11に要求する(S102)。
FIG. 4 is a flowchart showing an example of the renewal request process and the process for notifying the invalidity of the license according to the embodiment. The cache expiration date management unit 105 determines whether or not the retention period of the content cached in the storage unit 101 is within the cache expiration date (S101). If the retention period is within the cache expiration date (S101: Yes), this routine ends. When the retention period is not within the cache expiration date (S101: No), the update processing unit 106 requests the
その後、更新処理部106は、コンテンツの更新がコンテンツサーバ11により許可されたか否かを判定する(S103)。コンテンツの更新が許可されなかった場合(コンテンツサーバ11から拒否レスポンスを受信した場合)(S103:No)、通知部107は、当該コンテンツのライセンスが無効となっていることをクライアント端末13に通知する(S104)。一方、コンテンツの更新が許可された場合(S103:Yes)、更新処理部106は、受信したコンテンツを使用してキャッシュデータを更新する(S105)。
After that, the update processing unit 106 determines whether or not the content update is permitted by the content server 11 (S103). When the content update is not permitted (when a rejection response is received from the content server 11) (S103: No), the notification unit 107 notifies the
図5は、実施形態に係るキャッシュ有効期限とライセンスの有無とキャッシュデータの利用可否との関係の一例を示すテーブルである。図5に示すように、キャッシュ有効期限が有効であり、且つコンテンツのライセンスが有効である場合には、クライアント端末13はコンテンツを利用できる。キャッシュ有効期限が有効であり、且つライセンスが無効(期限切れ)である場合には、クライアント端末13はキャッシュサーバ12にキャッシュされているデータ又はクライアント端末13自身にキャッシュされているデータの範囲内でのみコンテンツを利用できる。この場合、当該キャッシュされているデータの範囲外の情報(例えばコンテンツサーバ11側で変更された情報、リンク先の情報等)を利用できない。キャッシュ有効期限が有効であり、ライセンスがない(ライセンス取得経歴がない)場合、クライアント端末13はコンテンツを利用できない。
FIG. 5 is a table showing an example of the relationship between the cache expiration date, the presence / absence of a license, and the availability of cache data according to the embodiment. As shown in FIG. 5, when the cache expiration date is valid and the content license is valid, the
キャッシュ有効期限が無効であり、且つライセンスが有効である場合には、キャッシュサーバ12内のコンテンツが更新(コンテンツサーバ11から再送信)され、クライアント端末13はコンテンツを利用できる。キャッシュ有効期限が無効であり、且つライセンスが無効であるか又はない場合には、クライアント端末13はコンテンツを利用できない。
When the cache expiration date is invalid and the license is valid, the content in the
図6は、実施形態に係るリクエストヘッダの一例を示す図である。ここで例示するリクエストヘッダ201は、クライアント端末13が利用を要求するコンテンツを特定可能にするif-non-matchヘッダ211を含む。if-non-matchヘッダ211の値は、コンテンツ毎に割り当てられる。また、同一のコンテンツであってもその内容が変更された場合には、if-non-matchヘッダ211の値が変更される。このようなif-non-matchヘッダ211を利用することにより、コンテンツサーバ11及びキャッシュサーバ12は、クライアント端末13から要求されているコンテンツを特定できる。また、このようなif-non-matchヘッダ211を利用することにより、クライアント端末13が取得したコンテンツやキャッシュサーバ12にキャッシュされているコンテンツの内容が最新の状態であるか否かを判定できる。なお、リクエストヘッダの構成は上記に限定されるものではなく、使用状況等に応じて適宜設計されるべきものである。
FIG. 6 is a diagram showing an example of a request header according to an embodiment. The
図7は、実施形態に係るコンテンツ提供システム1においてライセンスが有効である場合における処理の一例を示すシーケンス図である。ここでは、1台目のクライアント端末13が複数回アクセスした後、2台目のクライアント端末13が複数回アクセスする場合を例示する。
FIG. 7 is a sequence diagram showing an example of processing when the license is valid in the
1台目のクライアント端末13の初回アクセス時において、1台目のクライアント端末13がリクエストヘッダ201を送信すると(S201)、コンテンツサーバ11は、当該リクエストヘッダ201に対応するコンテンツとレスポンスヘッダとをキャッシュサーバ12へ送信する(S202)。レスポンスヘッダには、例えばリクエストの許可/拒否を示す情報、コンテンツを特定可能にする情報(例えばif-non-matchヘッダ211と同じ値のヘッダ)等が含まれる。キャッシュサーバ12は、コンテンツサーバ11から受信したコンテンツをキャッシュし(S203)、当該コンテンツを1台目のクライアント端末13へ送信する。1台目のクライアント端末13は、キャッシュサーバ12からコンテンツを受信し、その使用を開始する(S204)。
When the
1台目のクライアント端末13の2回目以降のアクセス時において、1台目のクライアント端末13がリクエストヘッダ201を送信すると(S211)、キャッシュサーバ12は、当該リクエストヘッダ201に対応するコンテンツ(ここではキャッシュ有効期限内であるものとする)をキャッシュデータ(記憶部101)から読み出して1台目のクライアント端末13へ送信する(S212)。1台目のクライアント端末13は、受信したコンテンツが変更されているか否かを確認するためにif-non-matchヘッダ211を送信する(S213)。コンテンツサーバ11は、if-non-matchヘッダ211を受信すると、これに対応するコンテンツが変更されたか否かを示す情報(ここでは変更されていないことを示す"Not-Modified")を送信する(S214)。1台目のクライアント端末13は、Not-Modifiedを受信すると、キャッシュサーバ12から受信したコンテンツの使用を開始する(S215)。
When the
2台目のクライアント端末13の初回アクセス時において、2台目のクライアント端末13がリクエストヘッダ201を送信すると(S221)、コンテンツサーバ11は、当該リクエストヘッダ201に対するレスポンスヘッダを送信する(S222)。当該レスポンスヘッダには、リクエストヘッダ201(if-non-matchヘッダ211)に対応するコンテンツの内容が変更されたか否かを判定可能な情報が含まれている。ここでは、当該コンテンツは変更されていない(Not-Modifiedである)ものとする。キャッシュサーバ12は、レスポンスヘッダを受信すると、リクエストヘッダ201に対応するコンテンツ(ここではキャッシュ有効期限内であるものとする)をキャッシュデータから読み出して2台目のクライアント端末13へ送信する(S223)。2台目のクライアント端末13は、当該コンテンツを受信し、その使用を開始する(S224)。
When the
2台目のクライアント端末13の2回目以降のアクセス時において、2台目のクライアント端末13がリクエストヘッダ201を送信すると(S231)、キャッシュサーバ12は、当該リクエストヘッダ201に対応するコンテンツ(ここではキャッシュ有効期限内であるものとする)をキャッシュデータから読み出して2台目のクライアント端末13へ送信する(S232)。2台目のクライアント端末13は、受信したコンテンツが変更されているか否かを確認するためにif-non-matchヘッダ211を送信する(S233)。コンテンツサーバ11は、if-non-matchヘッダ211を受信すると、これに対応するコンテンツが変更されたか否かを示す情報(ここでは変更されていないことを示す"Not-Modified")を送信する(S234)。2台目のクライアント端末13は、Not-Modifiedを受信すると、キャッシュサーバ12から受信したコンテンツの使用を開始する(S235)。
When the
図8は、実施形態に係るコンテンツ提供システム1においてライセンスが無効である場合における処理の一例を示すシーケンス図である。クライアント端末13の初回アクセス時において、クライアント端末13がリクエストヘッダ201を送信すると(S301)、コンテンツサーバ11は、クライアント端末13のログインを許可し、コンテンツの利用を拒否する(S302)。
FIG. 8 is a sequence diagram showing an example of processing when the license is invalid in the
クライアント端末13の2回目以降のアクセス時において、クライアント端末13はリクエストヘッダ201を送信する(S311)。キャッシュサーバ12は、当該リクエストヘッダ201に対応するコンテンツの保存期間がキャッシュ有効期限内である場合には、キャッシュデータから当該コンテンツを読み出してクライアント端末13へ送信する(S312)。クライアント端末13は、受信したコンテンツを、キャッシュサーバ12にキャッシュされた範囲内でのみ使用可能となる(S313)。このとき、クライアント端末13が受信したコンテンツのうち、キャッシュ時から変更された内容、外部サイトへのリンクが必要となる内容等については利用不可となる。
At the time of the second and subsequent access of the
キャッシュサーバ12は、キャッシュしているコンテンツのうち、保存期間がキャッシュ有効期限を超えたコンテンツについて、コンテンツサーバ11に対して更新要求処理を実行する(S321)。当該更新要求処理は、クライアント端末13からのリクエストの有無とは無関係に行われる。本例においては、当該コンテンツのライセンスが無効となっているため、コンテンツサーバ11は、更新要求処理の対象となるコンテンツの更新(再送信)を拒否する(S322)。キャッシュサーバ12は、コンテンツサーバ11から更新を拒否することを示すレスポンスを受信すると、当該更新を拒否されたコンテンツのライセンスが無効となっていることを各クライアント端末13に通知する(S323)。各クライアント端末13は、キャッシュサーバ12から受信した通知に応じて、当該コンテンツのライセンスが切れていることを示す警告表示を出力する(S324)。
The
上記のような機能を実現するためのプログラムは、インストール可能な形式又は実行可能な形式のファイルでCD(Compact Disc)-ROM、フレキシブルディスク(FD)、CD-R(Recordable)、DVD(Digital Versatile Disk)等のコンピュータで読み取り可能な記録媒体に記録して提供することが可能なものである。また、当該プログラムは、インターネット等のネットワーク経由で提供又は配布されてもよい。 Programs for realizing the above functions are files in installable format or executable format, such as CD (Compact Disc) -ROM, flexible disc (FD), CD-R (Recordable), and DVD (Digital Versatile). It can be recorded and provided on a recording medium that can be read by a computer such as a disk). In addition, the program may be provided or distributed via a network such as the Internet.
上記実施形態によれば、キャッシュサーバ12にキャッシュされているコンテンツのキャッシュ有効期限が切れたとき、キャッシュサーバ12が自動的に更新要求処理を実行し、更新要求処理の成否に基づき当該コンテンツのライセンスが有効であるか否かが判定される。そして、ライセンスが無効となっている場合(コンテンツの更新が拒否された場合)には、当該コンテンツのライセンスが無効となっていることがクライアント端末13に通知される。これにより、コンテンツを利用するためのライセンスを効率的に管理することが可能となる。
According to the above embodiment, when the cache expiration date of the content cached in the
また、上記実施形態において、更新処理部106は、コンテンツの保存期間が所定の最大保存期間を超えたか、又はコンテンツが作成又は変更された日からの経過期間に対する保存期間の割合が所定値を超えた場合に、更新要求処理を行う。キャッシュ有効期限をこのように設定することで、更新要求処理を適切なタイミングで実行できる。 Further, in the above embodiment, in the update processing unit 106, the retention period of the content exceeds the predetermined maximum retention period, or the ratio of the retention period to the elapsed period from the date when the content is created or changed exceeds the predetermined value. If so, update request processing is performed. By setting the cache expiration date in this way, the update request processing can be executed at an appropriate timing.
また、上記実施形態において、更新処理部106は、コンテンツの保存期間が所定の最小保存期間に満たない場合には更新要求処理を行わない。これにより、更新要求処理の実行頻度が不要に増加することを回避できる。 Further, in the above embodiment, the update processing unit 106 does not perform the update request processing when the retention period of the content is less than the predetermined minimum retention period. As a result, it is possible to avoid an unnecessary increase in the execution frequency of the update request process.
また、上記実施形態において、リクエストヘッダ201(リクエスト情報)は、コンテンツの内容が変更されたか否かを判定可能にする情報(if-non-matchヘッダ211)を含む。これにより、リクエストヘッダ201に含まれる情報を利用して、クライアント端末13が取得したコンテンツやキャッシュサーバ12にキャッシュされているコンテンツの内容が最新の状態であるか否かを判定できる。
Further, in the above embodiment, the request header 201 (request information) includes information (if-non-match header 211) that makes it possible to determine whether or not the content of the content has been changed. As a result, it is possible to determine whether or not the content acquired by the
以上、本発明の実施形態が例示されたが、上記実施形態は一例であって、発明の範囲を限定することは意図していない。上記実施形態は、その他の様々な形態で実施されることが可能であり、発明の要旨を逸脱しない範囲で、種々の省略、置き換え、組み合わせ、変更を行うことができる。また、各構成や、形状、等のスペック(構造や、種類、方向、形式、大きさ、長さ、幅、厚さ、高さ、数、配置、位置、材質等)は、適宜に変更して実施することができる。 Although the embodiments of the present invention have been exemplified above, the above-described embodiment is an example and is not intended to limit the scope of the invention. The above embodiment can be implemented in various other embodiments, and various omissions, replacements, combinations, and changes can be made without departing from the gist of the invention. In addition, specifications such as each configuration and shape (structure, type, direction, type, size, length, width, thickness, height, number, arrangement, position, material, etc.) are changed as appropriate. Can be carried out.
1…コンテンツ提供システム、11…コンテンツサーバ(サーバ)、12…キャッシュサーバ、13…クライアント端末(端末装置)、14…外部ネットワーク、15…内部ネットワーク、51…制御装置、52…記憶装置、53…通話I/F、54…ユーザI/F、101…記憶部、102…リクエスト取得部、103…キャッシュ処理部、104…コンテンツ送信部、105…キャッシュ期限管理部、106…更新処理部、107…通知部、201…リクエストヘッダ(リクエスト情報)、211…if-non-matchヘッダ 1 ... content providing system, 11 ... content server (server), 12 ... cache server, 13 ... client terminal (terminal device), 14 ... external network, 15 ... internal network, 51 ... control device, 52 ... storage device, 53 ... Call I / F, 54 ... User I / F, 101 ... Storage unit, 102 ... Request acquisition unit, 103 ... Cache processing unit, 104 ... Content transmission unit, 105 ... Cache deadline management unit, 106 ... Update processing unit, 107 ... Notification unit, 201 ... Request header (request information), 211 ... if-non-match header
Claims (7)
端末装置から前記コンテンツを特定する情報を含むリクエスト情報を取得するリクエスト取得部と、
前記リクエスト情報により特定される前記コンテンツを前記記憶部から読み出して前記端末装置に送信するコンテンツ送信部と、
前記記憶部に記憶された前記コンテンツの保存期間が所定の有効期限内にあるか否かを判定するキャッシュ期限管理部と、
前記保存期間が前記有効期限を超えた前記コンテンツの更新を前記サーバに対して要求する更新要求処理を、前記更新要求処理の対象となる前記コンテンツに対応する前記リクエスト情報が取得されたか否かに関わらず行う更新処理部と、
前記更新要求処理の対象となる前記コンテンツの更新が前記サーバにより拒否された場合に、更新が拒否された前記コンテンツを使用するためのライセンスが無効となっていることを前記端末装置に通知する通知部と、
を備えるキャッシュサーバ。 A storage unit that stores the content received from the server,
A request acquisition unit that acquires request information including information that identifies the content from the terminal device, and
A content transmission unit that reads the content specified by the request information from the storage unit and transmits the content to the terminal device.
A cache expiration management unit that determines whether or not the storage period of the content stored in the storage unit is within a predetermined expiration date, and a cache expiration management unit.
Whether or not the request information corresponding to the content subject to the update request processing has been acquired for the update request processing for requesting the server to update the content whose retention period has exceeded the expiration date. The update processing unit that is performed regardless of
Notification to notify the terminal device that the license for using the content for which the update is refused is invalid when the update of the content subject to the update request processing is refused by the server. Department and
A cache server with.
請求項1に記載のキャッシュサーバ。 The update processing unit performs the update when the retention period exceeds a predetermined maximum retention period, or when the ratio of the retention period to the elapsed period from the date when the content is created or changed exceeds a predetermined value. Perform request processing,
The cache server according to claim 1.
請求項1又は2に記載のキャッシュサーバ。 The update processing unit does not perform the update request processing when the retention period does not reach a predetermined minimum retention period.
The cache server according to claim 1 or 2.
請求項1~3のいずれか1項に記載のキャッシュサーバ。 The request information includes information that makes it possible to determine whether or not the content of the content has been changed.
The cache server according to any one of claims 1 to 3.
前記キャッシュサーバは、
サーバから受信したコンテンツを記憶する記憶部と、
端末装置から前記コンテンツを特定する情報を含むリクエスト情報を取得するリクエスト取得部と、
前記リクエスト情報により特定される前記コンテンツを前記記憶部から読み出して前記端末装置に送信するコンテンツ送信部と、
前記記憶部に記憶された前記コンテンツの保存期間が所定の有効期限内にあるか否かを判定するキャッシュ期限管理部と、
前記保存期間が前記有効期限を超えた前記コンテンツの更新を前記サーバに対して要求する更新要求処理を、前記更新要求処理の対象となる前記コンテンツに対応する前記リクエスト情報が取得されたか否かに関わらず行う更新処理部と、
前記更新要求処理の対象となる前記コンテンツの更新が前記サーバにより拒否された場合に、更新が拒否された前記コンテンツを使用するためのライセンスが無効となっていることを前記端末装置に通知する通知部と、
を備える、
コンテンツ提供システム。 A content providing system in which a cache server and a terminal device are connected via a network.
The cache server is
A storage unit that stores the content received from the server,
A request acquisition unit that acquires request information including information that identifies the content from the terminal device, and
A content transmission unit that reads the content specified by the request information from the storage unit and transmits the content to the terminal device.
A cache expiration management unit that determines whether or not the storage period of the content stored in the storage unit is within a predetermined expiration date, and a cache expiration management unit.
Whether or not the request information corresponding to the content subject to the update request processing has been acquired for the update request processing for requesting the server to update the content whose retention period has exceeded the expiration date. The update processing unit that is performed regardless of
Notification to notify the terminal device that the license for using the content for which the update is refused is invalid when the update of the content subject to the update request processing is refused by the server. Department and
To prepare
Content provision system.
請求項5に記載のコンテンツ提供システム。 The terminal device outputs information indicating that the license of the content is invalid based on the notification from the notification unit.
The content providing system according to claim 5.
サーバから受信したコンテンツを記憶装置に記憶させる処理と、
端末装置から前記コンテンツを特定する情報を含むリクエスト情報を取得する処理と、
前記リクエスト情報により特定される前記コンテンツを前記記憶装置から読み出して前記端末装置に送信する処理と、
前記記憶装置に記憶された前記コンテンツの保存期間が所定の有効期限内にあるか否かを判定する処理と、
前記保存期間が前記有効期限を超えた前記コンテンツの更新を前記サーバに対して要求する更新要求処理を、前記更新要求処理の対象となる前記コンテンツに対応する前記リクエスト情報が取得されたか否かに関わらず行う処理と、
前記更新要求処理の対象となる前記コンテンツの更新が前記サーバにより拒否された場合に、更新が拒否された前記コンテンツを使用するためのライセンスが無効となっていることを前記端末装置に通知する処理と、
を実行させるプログラム。 On the computer
The process of storing the content received from the server in the storage device,
The process of acquiring request information including information that identifies the content from the terminal device, and
A process of reading the content specified by the request information from the storage device and transmitting the content to the terminal device.
A process of determining whether or not the storage period of the content stored in the storage device is within a predetermined expiration date, and a process of determining whether or not the storage period is within a predetermined expiration date.
Whether or not the request information corresponding to the content subject to the update request processing has been acquired for the update request processing for requesting the server to update the content whose retention period has exceeded the expiration date. Processing to be performed regardless of
When the update of the content subject to the update request process is rejected by the server, the process of notifying the terminal device that the license for using the content for which the update is rejected is invalid. When,
A program to execute.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2021014627A JP6997405B1 (en) | 2021-02-01 | 2021-02-01 | Cache server, content provision system, and program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2021014627A JP6997405B1 (en) | 2021-02-01 | 2021-02-01 | Cache server, content provision system, and program |
Publications (2)
Publication Number | Publication Date |
---|---|
JP6997405B1 true JP6997405B1 (en) | 2022-01-17 |
JP2022117870A JP2022117870A (en) | 2022-08-12 |
Family
ID=80448102
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2021014627A Active JP6997405B1 (en) | 2021-02-01 | 2021-02-01 | Cache server, content provision system, and program |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP6997405B1 (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP7294490B1 (en) | 2022-03-31 | 2023-06-20 | 凸版印刷株式会社 | CONTENT MANAGEMENT SYSTEM, CONTENT MANAGEMENT PROGRAM AND CONTENT MANAGEMENT METHOD |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7587398B1 (en) * | 2004-06-30 | 2009-09-08 | Google Inc. | System and method of accessing a document efficiently through multi-tier web caching |
US20120311091A1 (en) * | 2011-05-31 | 2012-12-06 | International Business Machines Corporation | Digital rights protection through content expiration enforcement |
US20140112232A1 (en) * | 2010-06-17 | 2014-04-24 | Interdigital Patent Holdings, Inc. | Application layer protocol support for sleeping nodes in constrained networks |
JP2016126655A (en) * | 2015-01-07 | 2016-07-11 | 株式会社楽日 | Content service system |
-
2021
- 2021-02-01 JP JP2021014627A patent/JP6997405B1/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7587398B1 (en) * | 2004-06-30 | 2009-09-08 | Google Inc. | System and method of accessing a document efficiently through multi-tier web caching |
US20140112232A1 (en) * | 2010-06-17 | 2014-04-24 | Interdigital Patent Holdings, Inc. | Application layer protocol support for sleeping nodes in constrained networks |
US20120311091A1 (en) * | 2011-05-31 | 2012-12-06 | International Business Machines Corporation | Digital rights protection through content expiration enforcement |
JP2016126655A (en) * | 2015-01-07 | 2016-07-11 | 株式会社楽日 | Content service system |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP7294490B1 (en) | 2022-03-31 | 2023-06-20 | 凸版印刷株式会社 | CONTENT MANAGEMENT SYSTEM, CONTENT MANAGEMENT PROGRAM AND CONTENT MANAGEMENT METHOD |
JP2023150388A (en) * | 2022-03-31 | 2023-10-16 | 凸版印刷株式会社 | Content management system, content management program, and content management method |
Also Published As
Publication number | Publication date |
---|---|
JP2022117870A (en) | 2022-08-12 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9792294B2 (en) | Using byte-range locks to manage multiple concurrent accesses to a file in a distributed filesystem | |
US10169367B2 (en) | Managing opportunistic locks in a distributed file system | |
US9990372B2 (en) | Managing the level of consistency for a file in a distributed filesystem | |
US9575985B2 (en) | Distributed lock administration | |
CA2421825A1 (en) | Version control system for software development | |
US20160072886A1 (en) | Sending interim notifications to a client of a distributed filesystem | |
US20150256640A1 (en) | Access requests with cache intentions | |
TW200826551A (en) | Offline execution of web based applications | |
US8965862B2 (en) | Directory oplock | |
US8438561B2 (en) | Mediation apparatus, installation system, installation method, and installation program | |
KR20080011934A (en) | Cotents sharing method between mobile terminal and local server | |
CN102982082A (en) | Intelligent caching for security trimming | |
TW201033832A (en) | Programming model for synchronizing browser caches across devices and web services | |
CA2559084A1 (en) | Data provisioning method and system | |
JP6997405B1 (en) | Cache server, content provision system, and program | |
TWI262001B (en) | A method and system for providing access to resource in a peer-to-peer network, peer-to-peer grid, peer-to-peer network, and computer readable medium thereof | |
KR20140143775A (en) | Cache management | |
US11157410B2 (en) | System and method for broadcast cache invalidation | |
JP2012243105A (en) | File management device and control program thereof | |
JP2008234206A (en) | Information transmitting system, information processor, information management device, and information transmission method | |
KR101666064B1 (en) | Apparatus for managing data by using url information in a distributed file system and method thereof | |
JP5011927B2 (en) | Application execution system, computer, application execution method and program for application execution system | |
JPH1153244A (en) | Information providing system | |
JP6782219B2 (en) | Data utilization support device, data utilization support system, and data utilization support method | |
JP2006244007A (en) | Reliability decision/access control device, method therefor and program |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20210317 |
|
A871 | Explanation of circumstances concerning accelerated examination |
Free format text: JAPANESE INTERMEDIATE CODE: A871 Effective date: 20210317 |
|
A975 | Report on accelerated examination |
Free format text: JAPANESE INTERMEDIATE CODE: A971005 Effective date: 20210326 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20210622 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20210817 |
|
TRDD | Decision of grant or rejection written | ||
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20211116 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20211129 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 6997405 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |