JP7351469B1 - Web page providing system, web page providing method, and computer program - Google Patents

Web page providing system, web page providing method, and computer program Download PDF

Info

Publication number
JP7351469B1
JP7351469B1 JP2023078784A JP2023078784A JP7351469B1 JP 7351469 B1 JP7351469 B1 JP 7351469B1 JP 2023078784 A JP2023078784 A JP 2023078784A JP 2023078784 A JP2023078784 A JP 2023078784A JP 7351469 B1 JP7351469 B1 JP 7351469B1
Authority
JP
Japan
Prior art keywords
web page
page
data
storage means
page data
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
Application number
JP2023078784A
Other languages
Japanese (ja)
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 JP2023078784A priority Critical patent/JP7351469B1/en
Application granted granted Critical
Publication of JP7351469B1 publication Critical patent/JP7351469B1/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Information Transfer Between Computers (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

【課題】コストをあまり掛けることなく従来よりも安定的に、新しい情報が次々に掲載されるウェブページを配信する。【解決手段】ウェブサーバ2に、ウェブページを表示するためのウェブページデータを記憶するウェブページ記憶手段を設ける。ウェブサーバ2は、ウェブページの構成に影響を及ぼす可能性がありまたは影響を及ぼす第一のイベントが生じた場合に、第二のイベントが生じた後、ウェブページ記憶手段に記憶されているウェブページデータを生成し直す。そして、閲覧用端末装置3Aから要求があった際に、ウェブページデータを閲覧用端末装置3Aへ送信する。【選択図】図1[Problem] To distribute a web page in which new information is posted one after another more stably than before without incurring too much cost. A web server 2 is provided with web page storage means for storing web page data for displaying web pages. The web server 2 stores a web page stored in the web page storage means after a second event occurs when a first event occurs that may or does affect the configuration of the web page. Regenerate page data. Then, when there is a request from the viewing terminal device 3A, the web page data is transmitted to the viewing terminal device 3A. [Selection diagram] Figure 1

Description

本発明は、ウェブページをクライアントへ提供する技術に関する。 The present invention relates to technology for providing web pages to clients.

CMS(Content Management System)によるウェブページの提供方法には主に、動的配信および静的配信の2つの方法がある。 There are two main methods for providing web pages using a CMS (Content Management System): dynamic distribution and static distribution.

動的配信によると、クライアントからウェブページを要求されるごとに、その時点にデータベースに記憶されている情報に基づいてウェブページを生成してクライアントへ送信する。一方、静的配信によると、クライアントからウェブページを要求されるごとに、そのウェブページをクライアントへ送信するが、要求されるごとに生成するのではなく予め生成しておいたものを送信する。 According to dynamic distribution, each time a client requests a web page, a web page is generated based on information stored in a database at that time and sent to the client. On the other hand, according to static distribution, each time a client requests a web page, the web page is sent to the client, but rather than being generated each time a request is made, a previously generated web page is sent.

WWWの基本技術 静的コンテンツと動的コンテンツ,上越教育大学,http://juen-cs.dl.juen.ac.jp/html/www/005/,2023年4月30日検索Basic WWW technology: Static content and dynamic content, Joetsu University of Education, http://juen-cs.dl.juen.ac.jp/html/www/005/, retrieved on April 30, 2023

動的配信によると、新しい情報を静的配信よりも確実にクライアントへ提供することができる。したがって、動的配信は、特に、新しい情報が次々に掲載されるウェブページの配信方法として好んで採用される。 Dynamic distribution allows new information to be provided to clients more reliably than static distribution. Therefore, dynamic distribution is particularly preferred as a distribution method for web pages where new information is posted one after another.

ところが、動的配信は、ウェブページの生成の際にウェブサーバに掛かる負荷が静的配信よりも大きい。したがって、ウェブサイトへのアクセスが集中するとウェブサーバがダウンすることがある。 However, dynamic distribution places a greater load on the web server when generating web pages than static distribution. Therefore, when access to a website is concentrated, the web server may go down.

そこで、ウェブサーバのスペックを増強したり、ウェブサーバの台数を増やしたり、負荷分散装置を導入したりするなどの対策が講じられることがある。 Therefore, countermeasures such as increasing the specifications of the web server, increasing the number of web servers, or introducing a load balancing device may be taken.

しかし、これらの対策は、コストが掛かるし、アクセスが集中しないときはオーバスペックになる。 However, these measures are costly and become over-specified when access is not concentrated.

本発明は、このような問題点に鑑み、コストをあまり掛けることなく従来よりも安定的に、新しい情報が次々に掲載されるウェブページを配信することを、目的とする。 In view of these problems, it is an object of the present invention to distribute web pages in which new information is posted one after another more stably than before without incurring too much cost.

本発明の一形態に係るウェブページ提供システムは、ウェブページを提供するウェブページ提供システムであって、前記ウェブページを表示するためのウェブページデータを記憶するウェブページ記憶手段と、前記ウェブページの構成に影響を及ぼす可能性がありまたは影響を及ぼすイベントが生じた場合に前記ウェブページデータを前記ウェブページ記憶手段から削除する削除手段と、クライアントから要求があった際に、前記ウェブページデータが前記ウェブページ記憶手段に記憶されている場合は、当該記憶されているウェブページデータを当該クライアントへ送信し、記憶されていない場合は、前記ウェブページデータを生成し直して当該クライアントへ送信するとともに前記ウェブページ記憶手段に記憶させる、提供手段と、を有する。
A web page providing system according to one embodiment of the present invention is a web page providing system that provides web pages, and includes a web page storage means for storing web page data for displaying the web page, and a web page storage means for storing web page data for displaying the web page. Deleting means for deleting the web page data from the web page storage means when an event that may or may affect the configuration occurs; If the data is stored in the web page storage means, the stored web page data is sent to the client; if the data is not stored, the web page data is regenerated and sent to the client. and providing means for storing the web page in the web page storage means .

好ましくは、前記提供手段は、前記ウェブページデータが前記ウェブページ記憶手段に記憶されていなければ、前記イベントが最後に生じた時点から所定の時間が経過した場合にも、前記ウェブページデータを生成し直して前記ウェブページ記憶手段に記憶させる。
Preferably, the providing means generates the web page data even if a predetermined period of time has passed since the last occurrence of the event, if the web page data is not stored in the web page storage means. and then store it in the web page storage means.

または、前記所定の時間は、前記ウェブページへのアクセスの頻度が高いほど短く設定される。 Alternatively, the predetermined time is set shorter as the frequency of access to the web page is higher.

または、前記ウェブページデータの生成日時を記憶する属性記憶手段と、前記提供手段によって前記ウェブページデータが生成し直された際に、前記ウェブページデータの全部分または所定の一部分の、生成し直す前後の内容が相違すれば、前記属性記憶手段に記憶されている前記生成日時を、前記ウェブページデータを生成し直した日時に更新し、同一であれば、前記生成日時を更新しない、管理手段と、を有し、前記提供手段は、前記要求の際に前記クライアントから提示された前記ウェブページデータのキャッシュ日時が、前記属性記憶手段に記憶されている前記生成日時よりも古い場合に前記ウェブページデータを送信し、新しい場合は当該ウェブページデータの代わりに前記ウェブページが更新されていないことを示すメッセージを送信する。
Alternatively, when the web page data is regenerated by the attribute storage means for storing the generation date and time of the web page data, and the providing means regenerates the web page data, the entire part or a predetermined part of the web page data is regenerated. If the content before and after is different, the generation date and time stored in the attribute storage means is updated to the date and time when the web page data was regenerated, and if the content is the same, the management unit does not update the generation date and time. and the providing means is configured to provide the web page data when the cache date and time of the web page data presented by the client at the time of the request is older than the generation date and time stored in the attribute storage means. The page data is sent, and if the page data is new, a message indicating that the web page has not been updated is sent instead of the web page data.

前記ウェブページは、1つまたは複数の所定のカテゴリのうちの少なくとも1つが対応付けられている1つまたは複数の記事ページを案内する一覧を有する固定ページであり、前記イベントは、前記1つまたは複数の所定のカテゴリのうちの前記ウェブページと共通のカテゴリが少なくとも1つ対応付けられている記事ページが更新され、削除され、または新たな追加されることである。
The web page is a fixed page having a list showing one or more article pages associated with at least one of one or more predetermined categories , and the event is An article page that is associated with at least one common category with the web page out of one or more predetermined categories is updated, deleted, or newly added.

本発明によると、コストをあまり掛けることなく従来よりも安定的に、新しい情報が次々に掲載されるウェブページを配信することができる。 According to the present invention, web pages on which new information is posted one after another can be distributed more stably than before without much cost.

ウェブページ提供システムの全体的な構成の例を示す図である。FIG. 1 is a diagram showing an example of the overall configuration of a web page providing system. ウェブサーバのハードウェア構成の例を示す図である。It is a diagram showing an example of the hardware configuration of a web server. ウェブサーバの機能的構成の例を示す図である。FIG. 2 is a diagram illustrating an example of a functional configuration of a web server. ウェブサイトの機能的構成の例を示す図である。FIG. 2 is a diagram showing an example of a functional configuration of a website. 固定ページの例を示す図である。It is a diagram showing an example of a fixed page. 属性データ例を示す図である。It is a figure showing an example of attribute data. 固定ページの例を示す図である。It is a diagram showing an example of a fixed page. 固定ページの例を示す図である。It is a diagram showing an example of a fixed page. 固定ページの例を示す図である。It is a diagram showing an example of a fixed page. 固定ページの例を示す図である。It is a diagram showing an example of a fixed page. 固定ページの例を示す図である。It is a diagram showing an example of a fixed page. 記事ページの例を示す図である。It is a figure showing an example of an article page. 固定ページ更新処理の流れの例を示すフローチャートである。It is a flowchart which shows an example of the flow of fixed page update processing. タスクデータの例を示す図である。FIG. 3 is a diagram showing an example of task data. リクエスト応答処理の流れの例を示すフローチャートである。3 is a flowchart illustrating an example of the flow of request response processing. ウェブサーバにおける全体的な処理の流れの例を示すフローチャートである。3 is a flowchart illustrating an example of the overall processing flow in a web server.

〔1.全体構成〕
図1は、ウェブページ提供システム1の全体的な構成の例を示す図である。図2は、ウェブサーバ2のハードウェア構成の例を示す図である。
[1. overall structure〕
FIG. 1 is a diagram showing an example of the overall configuration of a web page providing system 1. As shown in FIG. FIG. 2 is a diagram showing an example of the hardware configuration of the web server 2. As shown in FIG.

図1に示すウェブページ提供システム1は、様々なウェブページを様々な閲覧者へ提供するためのシステムであって、ウェブサーバ2、複数の閲覧用端末装置3A(3A1、3A2、…)、複数の管理用端末装置3B(3B1、3B2、…)、および通信回線10などによって構成される。 A web page providing system 1 shown in FIG. 1 is a system for providing various web pages to various viewers, and includes a web server 2, multiple viewing terminal devices 3A (3A1, 3A2,...), The management terminal device 3B (3B1, 3B2, . . . ), a communication line 10, etc.

ウェブサーバ2は、通信回線10を介して各閲覧用端末装置3Aおよび各管理用端末装置3Bと通信することができる。通信回線10として、インターネット、LAN(Local Area Network)回線、または公衆回線などが用いられる。 The web server 2 can communicate with each viewing terminal device 3A and each management terminal device 3B via the communication line 10. As the communication line 10, the Internet, a LAN (Local Area Network) line, a public line, or the like is used.

ウェブサーバ2は、ウェブページのデータを管理し、閲覧者からの要求に応じてウェブページのHTML(Hypertext Markup Language)ファイルなどを閲覧者の閲覧用端末装置3Aへ配信する。 The web server 2 manages the data of the web page, and delivers the HTML (Hypertext Markup Language) file of the web page to the viewer's viewing terminal device 3A in response to a request from the viewer.

ウェブサーバ2は、コンピュータ本体21、ディスプレイ22a、キーボード22b、およびポインティングデバイス22cなどによって構成される。コンピュータ本体21は、図2に示すように、メインプロセッサ21a、RAM(Random Access Memory)21b、ROM(Read Only Memory)21c、補助記憶装置21d、ネットワークアダプタ21e、入出力インタフェース21f、およびグラフィックボード21gなどによって構成される。 The web server 2 includes a computer main body 21, a display 22a, a keyboard 22b, a pointing device 22c, and the like. As shown in FIG. 2, the computer main body 21 includes a main processor 21a, a RAM (Random Access Memory) 21b, a ROM (Read Only Memory) 21c, an auxiliary storage device 21d, a network adapter 21e, an input/output interface 21f, and a graphic board 21g. It is composed of etc.

メインプロセッサ21aは、CPU(Central Processing Unit)またはGPU(Graphics Processing Unit)などのプロセッサであって、RAM21bにロードされたプログラムを実行する。 The main processor 21a is a processor such as a CPU (Central Processing Unit) or a GPU (Graphics Processing Unit), and executes a program loaded into the RAM 21b.

ROM21cまたは補助記憶装置21dには、オペレーティングシステムのほかウェブページ管理アプリケーション20(図3参照)がインストールされている。ウェブページ管理アプリケーション20は、RAM21bにロードされ、メインプロセッサ21aによって実行される。他のプログラムも適宜、RAM21bにロードされ、メインプロセッサ21aによって実行される。補助記憶装置21dとして、HDD(Hard Disk Drive)またはSSD(Solid State Drive)などが用いられる。ウェブページ管理アプリケーション20については、後に詳細に説明する。 In addition to the operating system, a web page management application 20 (see FIG. 3) is installed in the ROM 21c or the auxiliary storage device 21d. Web page management application 20 is loaded into RAM 21b and executed by main processor 21a. Other programs are also loaded into the RAM 21b as appropriate and executed by the main processor 21a. As the auxiliary storage device 21d, an HDD (Hard Disk Drive) or an SSD (Solid State Drive) is used. The web page management application 20 will be described in detail later.

ネットワークアダプタ21eは、通信回線10を介して閲覧用端末装置3Aおよび管理用端末装置3Bなどと通信するためのNIC(Network Interface Card)などの通信装置である。入出力インタフェース21fは、USB(Universal Serial Bus)などの規格に対応した入出力ボードであって、キーボード22bおよびポインティングデバイス22cが接続される。 The network adapter 21e is a communication device such as a NIC (Network Interface Card) for communicating with the viewing terminal device 3A, the management terminal device 3B, etc. via the communication line 10. The input/output interface 21f is an input/output board compatible with standards such as USB (Universal Serial Bus), and is connected to a keyboard 22b and a pointing device 22c.

グラフィックボード21gは、画面を表示するための映像信号を生成しディスプレイ22aへ送信する。「ビデオボード」または「ビデオカード」などと呼ばれることもある。ディスプレイ22aは、グラフィックボード21gに繋がれており、グラフィックボード21gからの映像信号に基づいて画像を表示する。 The graphic board 21g generates a video signal for displaying a screen and transmits it to the display 22a. Sometimes called a "video board" or "video card." The display 22a is connected to the graphic board 21g, and displays images based on video signals from the graphic board 21g.

ディスプレイ22aは、映像信号に基づいて、コマンドまたは情報を入力するための画面およびメインプロセッサ21aによる処理の実行結果を示す画面などを表示する。 The display 22a displays, based on the video signal, a screen for inputting commands or information, a screen showing the results of processing executed by the main processor 21a, and the like.

キーボード22bおよびポインティングデバイス22cは、コマンドまたは情報を入力するために用いられる。 Keyboard 22b and pointing device 22c are used to enter commands or information.

図1に戻って、閲覧用端末装置3Aは、閲覧者がウェブページを閲覧するためのクライアントである。閲覧用端末装置3Aとして、ウェブブラウザを備えるコンピュータ、例えばパーソナルコンピュータ、スマートフォン、またはタブレットコンピュータなどが用いられる。 Returning to FIG. 1, the viewing terminal device 3A is a client for a viewer to view a web page. A computer equipped with a web browser, such as a personal computer, a smartphone, or a tablet computer, is used as the viewing terminal device 3A.

管理用端末装置3Bは、ウェブサイトの管理者または投稿者がウェブページを新たに作成し、編集し、または削除するためのクライアントである。管理用端末装置3Bとして、閲覧用端末装置3Aと同様、ウェブブラウザを備えるコンピュータが用いられる。 The management terminal device 3B is a client for a website administrator or poster to newly create, edit, or delete a web page. As the management terminal device 3B, a computer equipped with a web browser is used like the viewing terminal device 3A.

〔2.各部の機能的構成の概要〕
図3は、ウェブサーバ2の機能的構成の例を示す図である。図4は、ウェブサイト4の機能的構成の例を示す図である。
[2. Overview of functional configuration of each part]
FIG. 3 is a diagram showing an example of the functional configuration of the web server 2. As shown in FIG. FIG. 4 is a diagram showing an example of the functional configuration of the website 4. As shown in FIG.

ウェブページ管理アプリケーション20は、CMS(Content Management System)用のソフトウェアである。ウェブページ管理アプリケーション20によると、図3に示す新規固定ページ登録部201、固定ページファイル生成部202、新規記事ページ登録部203、記事ページファイル生成部204、リクエスト応答部206、タスク管理部205、固定コンテンツ記憶部241、固定ページファイル記憶部242、固定ページ属性記憶部243、記事コンテンツ記憶部244、記事ページファイル記憶部245、およびタスク記憶部246などの機能がウェブサーバ2に実現される。これらの機能によって、ウェブサイトが構築され管理される。 The web page management application 20 is software for CMS (Content Management System). According to the web page management application 20, a new fixed page registration section 201, a fixed page file generation section 202, a new article page registration section 203, an article page file generation section 204, a request response section 206, a task management section 205, shown in FIG. Functions such as a fixed content storage section 241, a fixed page file storage section 242, a fixed page attribute storage section 243, an article content storage section 244, an article page file storage section 245, and a task storage section 246 are implemented in the web server 2. These features allow websites to be built and managed.

以下、図4に示すように構成される、ある地方自治体100のウェブサイト4を例に、ウェブサーバ2の各部、閲覧用端末装置3A、および管理用端末装置3Bそれぞれの処理について、順次、説明する。ウェブサイト4は複数のウェブページによって構成される。 Hereinafter, using the website 4 of a certain local government 100 configured as shown in FIG. 4 as an example, the processing of each part of the web server 2, the viewing terminal device 3A, and the management terminal device 3B will be explained in order. do. Website 4 is composed of multiple web pages.

これらのウェブページは、固定ページおよび記事ページに大別される。固定ページは、例えばウェブサイトのトップページ、ウェブサイト主のプロフィールのウェブページ、およびウェブサイト主への問合せ用のウェブページなど、固定的なウェブページである。以下、ウェブサイト4における固定ページを「固定ページ5」と記載する。また、各固定ページ5を「固定ページ51」、「固定ページ52」、…と区別して記載することがある。 These web pages are broadly classified into fixed pages and article pages. The fixed page is a fixed web page, such as a top page of a website, a web page of a website owner's profile, and a web page for inquiries to the website owner. Hereinafter, the fixed page on website 4 will be referred to as "fixed page 5." Further, each fixed page 5 may be described separately as "fixed page 51", "fixed page 52", etc.

一方、記事ページは、ニュースなどが記載されたウェブページである。例えば、ブログの各ページは、記事ページの一例である。記事ページは、一般に「投稿ページ」と呼ばれることもある。以下、ウェブサイト4における記事ページを「記事ページ6」と記載する。また、各記事ページ6を「記事ページ61」、「記事ページ62」、…、と区別して記載することがある。 On the other hand, an article page is a web page in which news and the like are described. For example, each page of a blog is an example of an article page. Article pages are also generally called "post pages." Hereinafter, the article page on website 4 will be referred to as "article page 6." Further, each article page 6 may be described separately as "article page 61", "article page 62", etc.

〔3.各部の詳細〕
〔3.1 固定ページ5の準備〕
図5は、固定ページ50の例を示す図である。図6は、属性データ7Dの例を示す図である。図7は、固定ページ51の例を示す図である。図8は、固定ページ52の例を示す図である。図9は、固定ページ53の例を示す図である。図10は、固定ページ54の例を示す図である。図11は、固定ページ55の例を示す図である。
[3. Details of each part]
[3.1 Preparation of fixed page 5]
FIG. 5 is a diagram showing an example of a fixed page 50. FIG. 6 is a diagram showing an example of attribute data 7D. FIG. 7 is a diagram showing an example of the fixed page 51. FIG. 8 is a diagram showing an example of the fixed page 52. FIG. 9 is a diagram showing an example of the fixed page 53. FIG. 10 is a diagram showing an example of the fixed page 54. FIG. 11 is a diagram showing an example of the fixed page 55.

固定ページ5は、ウェブサイト4の管理者による操作に基づいて、次のようにウェブサーバ2へ登録される。以下、管理者が管理用端末装置3B1を使用する場合を例に、固定ページ5の登録方法について説明する。 The fixed page 5 is registered in the web server 2 as follows based on the operation by the administrator of the website 4. Hereinafter, a method for registering the fixed page 5 will be described using an example in which the administrator uses the management terminal device 3B1.

管理用端末装置3B1は、所定のコマンドが管理者によって入力されると、固定ページ用のテンプレートをウェブサーバ2へ要求する。 When a predetermined command is input by the administrator, the management terminal device 3B1 requests the web server 2 for a fixed page template.

すると、新規固定ページ登録部201は、固定ページ用のテンプレートのファイルを管理用端末装置3B1へ送信することによって、管理用端末装置3B1に固定ページ用のテンプレートを表示させる。管理者は、固定ページ5に関する情報として、主に次の(1-1)~(1-5)の各情報を、表示されたテンプレートへ入力する。
(1-1)固定ページ5のHTMLファイルのファイル名
(1-2)固定ページ5のタイトル
(1-3)固定ページ5に配置するタブのタブ名およびリンク先
(1-4)固定ページ5に掲載するコンテンツ
(1-5)固定ページ5の記事一覧にリストアップする記事のカテゴリのカテゴリ名

例えば、図4、図5に示す固定ページ50を登録する場合は、管理者は、(1-1)のファイル名として「index.html」を入力する。(1-2)のタイトルとしてタイトル50aの文字列すなわち「東西市ウェブサイト トップページ」を入力する。
Then, the new fixed page registration unit 201 causes the management terminal device 3B1 to display the fixed page template by transmitting the fixed page template file to the management terminal device 3B1. The administrator mainly inputs the following information (1-1) to (1-5) into the displayed template as information regarding the fixed page 5.
(1-1) File name of the HTML file of fixed page 5 (1-2) Title of fixed page 5 (1-3) Tab name and link destination of the tab placed on fixed page 5 (1-4) Fixed page 5 Content to be posted on (1-5) Category name of article category listed in article list on fixed page 5

For example, when registering the fixed page 50 shown in FIGS. 4 and 5, the administrator inputs "index.html" as the file name of (1-1). Input the character string of title 50a, ie, "Tozai City Website Top Page" as the title of (1-2).

さらに、管理者は、(1-3)のタブ名として、タブ50b1、50b2、…、50b5それぞれのタブ名すなわち「スポーツ」、「成人向け」、…、「アクセス」を入力する。これらのタブは、他の固定ページ5へのハイパーリンクとして用いられる。また、タブ50b1、50b2、…、50b5それぞれに対応付けるリンク先として、固定ページ51、52、…、55それぞれを識別する識別情報(ファイル名またはURL(Uniform Resource Locator))を入力する。 Further, the administrator inputs the tab names of the tabs 50b1, 50b2, . . . , 50b5, ie, "Sports", "Adults", . These tabs are used as hyperlinks to other fixed pages 5. Further, identification information (file name or URL (Uniform Resource Locator)) for identifying each of the fixed pages 51, 52, . . . , 55 is input as a link destination to be associated with each of the tabs 50b1, 50b2, .

さらに、管理者は、(1-4)のコンテンツとして、テキスト、リッチテキスト、画像、動画像、またはハイパーリンクなどによって構成されるコンテンツを入力する。本例では、「2023年、市制50周年を迎えました。」というリッチテキストおよび5つの花の画像によって構成されるコンテンツ50cを入力する。 Furthermore, the administrator inputs content composed of text, rich text, images, moving images, hyperlinks, etc. as the content (1-4). In this example, the content 50c is input, which is composed of the rich text "2023 marks the 50th anniversary of the city's incorporation." and five flower images.

さらに、管理者は、(1-5)のカテゴリ名として、予め用意された複数のカテゴリ名のうちの、記事一覧50dにリストアップしたい記事ページ6のカテゴリのカテゴリ名を入力する。例えば、スポーツに関する記事ページ6をリストアップしたい場合は、「スポーツ」というカテゴリ名を入力する。カテゴリ名を複数、入力することもできる。すべてのカテゴリのカテゴリ名を入力する場合は、これらのカテゴリ名の代わりに「all」と入力してもよい。 Further, as the category name (1-5), the administrator inputs the category name of the category of the article page 6 that is desired to be listed in the article list 50d, out of a plurality of category names prepared in advance. For example, if you want to list article page 6 related to sports, enter the category name "Sports". You can also enter multiple category names. If you want to enter the category names for all categories, you can enter "all" instead of these category names.

テンプレートに固定ページ50の情報が入力されると、これらの情報を示す固定ページデータ7Aが管理用端末装置3B1からウェブサーバ2へ送信される。(1-4)のコンテンツとして画像または動画像が入力された場合は、その画像または動画像のファイルが付属ファイル7Bとして管理用端末装置3B1からウェブサーバ2へ固定ページデータ7Aとともに送信される。 When the information of the fixed page 50 is input into the template, fixed page data 7A indicating this information is transmitted from the management terminal device 3B1 to the web server 2. When an image or moving image is input as the content in (1-4), the file of the image or moving image is transmitted as an attached file 7B from the management terminal device 3B1 to the web server 2 together with the fixed page data 7A.

新規固定ページ登録部201は、固定ページデータ7Aを受信すると、固定コンテンツ記憶部241に記憶させる。付属ファイル7Bとともに受信した場合は、固定ページデータ7Aと付属ファイル7Bとを対応付けて固定コンテンツ記憶部241に記憶させる。 Upon receiving the fixed page data 7A, the new fixed page registration unit 201 stores it in the fixed content storage unit 241. If the fixed page data 7A and the attached file 7B are received together with the attached file 7B, the fixed page data 7A and the attached file 7B are stored in the fixed content storage unit 241 in association with each other.

固定ページファイル生成部202は、固定ページ50の情報を入力する際に使用されたテンプレートおよび固定ページデータ7Aなどに基づいて、固定ページ50のHTMLファイル7Cを生成する。 The fixed page file generation unit 202 generates the HTML file 7C of the fixed page 50 based on the template and fixed page data 7A used when inputting the information of the fixed page 50.

記事一覧50dには、固定ページデータ7Aに示されるカテゴリ名が対応付けられている記事ページ6それぞれのタイトルが並べられる。各タイトルは、ハイパーリンクであり、それぞれの記事ページ6へのURLが対応付けられている。記事ページ6へのカテゴリ名の対応付けについては、「3.2 記事ページ6の投稿」で説明する。なお、タイトルとともに記事ページ6の更新日または更新日時を並べてもよい。 The article list 50d lists the titles of the article pages 6 that are associated with the category names shown in the fixed page data 7A. Each title is a hyperlink, and is associated with a URL to each article page 6. The association of category names with article pages 6 will be explained in "3.2 Posting of article pages 6." Note that the update date or update date and time of the article page 6 may be arranged along with the title.

そして、固定ページファイル生成部202は、HTMLファイル7Cを、固定ページデータ7Aに示されるファイル名(本例では、「index.html」)と対応付けて固定ページファイル記憶部242に記憶させる。 Then, the fixed page file generation section 202 stores the HTML file 7C in the fixed page file storage section 242 in association with the file name (in this example, "index.html") shown in the fixed page data 7A.

新規固定ページ登録部201は、さらに属性データ7Dを生成し、図6のように固定ページ属性記憶部243に記憶させる。属性データ7Dには、固定ページ5(本例では、固定ページ50)に関する次の情報が示される。「ファイル名」は、HTMLファイル7Cのファイル名であって、固定ページデータ7Aに示されるファイル名が用いられる。「生成日時」は、HTMLファイル7Cが生成された日時である。 The new fixed page registration unit 201 further generates attribute data 7D and stores it in the fixed page attribute storage unit 243 as shown in FIG. The attribute data 7D shows the following information regarding the fixed page 5 (fixed page 50 in this example). The "file name" is the file name of the HTML file 7C, and the file name shown in the fixed page data 7A is used. “Generation date and time” is the date and time when the HTML file 7C was generated.

「ハッシュ値」は、HTMLファイル7Cのハッシュ値である。ハッシュ値は、所定のハッシュ関数hによって算出される。なお、HTMLファイル7Cの全部分のハッシュ値ではなく、ボディタグ(<body>、</body>)で括られている部分などのような、閲覧者へ提示するコンテンツの部分のハッシュ値であってもよい。 The "hash value" is the hash value of the HTML file 7C. The hash value is calculated using a predetermined hash function h. Note that the hash value is not the hash value of all parts of the HTML file 7C, but the hash value of the part of the content to be presented to the viewer, such as the part enclosed by body tags (<body>, </body>). You can.

以上の処理によって、ウェブサーバ2への固定ページ50の登録が完了する。固定ページ50以外の固定ページ5、例えば図7に示す固定ページ51、図8に示す固定ページ52、図9に示す固定ページ53、図10に示す固定ページ54、および図11に示す固定ページ55なども同様の方法で、ウェブサーバ2へ登録される。 By the above processing, registration of the fixed page 50 to the web server 2 is completed. Fixed pages 5 other than fixed page 50, such as fixed page 51 shown in FIG. 7, fixed page 52 shown in FIG. 8, fixed page 53 shown in FIG. 9, fixed page 54 shown in FIG. 10, and fixed page 55 shown in FIG. etc. are also registered in the web server 2 in a similar manner.

なお、管理者は、(1-1)~(1-5)のすべてを一度に纏めて入力する必要はなく、何度かに分けて入力してもよい。この場合は、最初に入力された情報が固定ページデータ7Aとして固定コンテンツ記憶部241に記憶され、その後に入力された情報が固定ページデータ7Aに追記される。また、(1-3)~(1-5)の各情報は、必要に応じて任意に入力すればよい。例えば、固定ページ55のように記事一覧が設けられない場合は、(1-5)のカテゴリ名を入力する必要がない。または、固定ページ54、55のようにタグが設けられない場合は、(1-3)のタグ名およびリンク先を入力する必要がない。 Note that the administrator does not need to input all of (1-1) to (1-5) at once, and may input them several times. In this case, the information input first is stored in the fixed content storage unit 241 as the fixed page data 7A, and the information input after that is added to the fixed page data 7A. Further, each of the information (1-3) to (1-5) may be input as desired. For example, in a case where no article list is provided, such as on the fixed page 55, there is no need to input the category name (1-5). Alternatively, if no tag is provided, such as in fixed pages 54 and 55, there is no need to input the tag name and link destination in (1-3).

〔3.2 記事ページ6の投稿〕
図12は、記事ページ61の例を示す図である。
[3.2 Posting article page 6]
FIG. 12 is a diagram showing an example of the article page 61.

地方自治体100では、部署ごとに投稿者が決められており、各投稿者は、自分の部署に関わる記事を適宜、投稿する。例えば、スポーツ課の投稿者は、スポーツの大会に関する記事およびスポーツ施設に関する記事などを投稿する。すると、記事が記事ページ6としてウェブサーバ2に登録される。 In the local government 100, posters are determined for each department, and each poster posts articles related to his or her own department as appropriate. For example, a poster in the sports section posts articles about sports tournaments, articles about sports facilities, and the like. Then, the article is registered in the web server 2 as an article page 6.

以下、ある投稿者が管理用端末装置3B2を使用する場合を例に、記事ページ6の登録方法について説明する。 Hereinafter, a method for registering the article page 6 will be described using an example in which a certain poster uses the management terminal device 3B2.

管理用端末装置3B2は、所定のコマンドが投稿者によって入力されると、記事ページ用のテンプレートをウェブサーバ2へ要求する。 When a predetermined command is input by the poster, the management terminal device 3B2 requests the web server 2 for a template for the article page.

すると、新規記事ページ登録部203は、記事ページ用のテンプレートのファイルを管理用端末装置3B2へ送信することによって、管理用端末装置3B2に記事ページ用のテンプレートを表示させる。投稿者は、記事ページ6に関する情報として、主に次の(2-1)~(2-3)の各情報を、表示されたテンプレートへ入力する。
(2-1)記事ページ6のタイトル
(2-2)記事ページ6に掲載するコンテンツ
(2-3)記事ページ6のカテゴリのカテゴリ名

例えば、図4、図12に示す記事ページ61を登録する場合は、投稿者は、(2-1)のタイトルとしてタイトル61aの文字列すなわち「2023年 マラソン大会」を入力する。(2-2)のコンテンツとして、テキスト、リッチテキスト、画像、動画像、またはハイパーリンクなどによって構成されるコンテンツを入力する。本例では、マラソンのイラストおよびフォントサイズが相違する4行の文字列からなるリッチテキストによって構成されるコンテンツ61bを入力する。
Then, the new article page registration unit 203 causes the management terminal device 3B2 to display the article page template by transmitting the article page template file to the management terminal device 3B2. The poster mainly inputs the following information (2-1) to (2-3) into the displayed template as information regarding the article page 6.
(2-1) Title of article page 6 (2-2) Content to be posted on article page 6 (2-3) Category name of category of article page 6

For example, when registering the article page 61 shown in FIGS. 4 and 12, the poster inputs the character string of the title 61a, ie, "2023 Marathon Tournament" as the title (2-1). As the content (2-2), content composed of text, rich text, images, moving images, hyperlinks, etc. is input. In this example, content 61b is input that is composed of an illustration of a marathon and rich text consisting of four lines of character strings with different font sizes.

さらに、投稿者は、(2-3)のカテゴリ名として、予め用意された複数のカテゴリ名のうちの、記事ページ61のカテゴリのカテゴリ名を入力する。記事ページ61はマラソン大会に関するものなので「スポーツ」というカテゴリ名を入力してもよいし、2023年に開催するイベントに関するものなので「2023」というカテゴリ名を入力してもよい。カテゴリ名を複数、入力してもよい。 Further, as the category name (2-3), the poster inputs the category name of the category of the article page 61 from among the plurality of category names prepared in advance. Since the article page 61 is about a marathon event, the category name "Sports" may be entered, and since the article page 61 is about an event to be held in 2023, the category name "2023" may be entered. You may enter multiple category names.

テンプレートに記事ページ61の情報が入力されると、これらの情報を示す記事ページデータ7Eが管理用端末装置3B2からウェブサーバ2へ送信される。(2-2)のコンテンツとして画像または動画像が入力された場合は、その画像または動画像のファイルが付属ファイル7Fとして管理用端末装置3B1からウェブサーバ2へ記事ページデータ7Eとともに送信される。 When the information of the article page 61 is input into the template, article page data 7E indicating this information is transmitted from the management terminal device 3B2 to the web server 2. If an image or moving image is input as the content in (2-2), the file of the image or moving image is sent as an attached file 7F from the management terminal device 3B1 to the web server 2 together with the article page data 7E.

新規記事ページ登録部203は、記事ページデータ7Eを受信すると、記事コンテンツ記憶部244に記憶させる。付属ファイル7Fとともに受信した場合は、記事ページデータ7Eと付属ファイル7Fとを対応付けて記事コンテンツ記憶部244に記憶させる。 Upon receiving the article page data 7E, the new article page registration section 203 stores it in the article content storage section 244. When received together with the attached file 7F, the article page data 7E and the attached file 7F are stored in the article content storage unit 244 in association with each other.

記事ページファイル生成部204は、記事ページ61の情報を入力する際に使用されたテンプレートおよび記事ページ61の記事ページデータ7Eなどに基づいて、記事ページ61のHTMLファイル7Gを生成する。さらに、ユニークなファイル名(本例では、「000001.html」)を発行する。そして、HTMLファイル7Gを、発行したファイル名と対応付けて記事ページファイル記憶部245に記憶させる。 The article page file generation unit 204 generates the HTML file 7G of the article page 61 based on the template used when inputting the information of the article page 61, the article page data 7E of the article page 61, and the like. Furthermore, a unique file name (in this example, "000001.html") is issued. Then, the HTML file 7G is stored in the article page file storage unit 245 in association with the published file name.

以上の処理によって、ウェブサーバ2への記事ページ61の登録(投稿)が完了する。記事ページ61以外の各記事ページ6(62、63、…)も同様の方法によってウェブサーバ2に登録される。 Through the above processing, registration (posting) of the article page 61 to the web server 2 is completed. Each article page 6 (62, 63, . . . ) other than the article page 61 is also registered in the web server 2 by the same method.

〔3.3 固定ページ5の更新〕
図13は、固定ページ更新処理の流れの例を示すフローチャートである。図14は、タスクデータ7Jの例を示す図である。
[3.3 Update of fixed page 5]
FIG. 13 is a flowchart illustrating an example of the flow of fixed page update processing. FIG. 14 is a diagram showing an example of task data 7J.

記事ページ6が更新され、削除され、または新たに登録されると、登録済の固定ページ5(図4参照)のうちのいずれかが生成し直される。以下、記事ページ61が新たに登録された場合を例に、図13のフローチャートを参照しながら、固定ページ5を生成し直す処理について説明する。 When the article page 6 is updated, deleted, or newly registered, one of the registered fixed pages 5 (see FIG. 4) is regenerated. Hereinafter, the process of regenerating the fixed page 5 will be described with reference to the flowchart of FIG. 13, taking as an example the case where the article page 61 is newly registered.

記事ページ61が新たに登録されると、タスク管理部205は、登録済の固定ページ5の中から記事ページ61のカテゴリ名に対応付けられているものを選出する(図13の#801)。なお、固定ページ5それぞれに対応付けられているカテゴリ名は、固定ページ5それぞれの固定ページデータ7Aに示されている。 When an article page 61 is newly registered, the task management unit 205 selects one associated with the category name of the article page 61 from among the registered fixed pages 5 (#801 in FIG. 13). Note that the category name associated with each fixed page 5 is shown in the fixed page data 7A of each fixed page 5.

そして、タスク管理部205は、選出した固定ページ5のHTMLファイル7Cを固定ページファイル記憶部242から削除するとともに(#802)、その固定ページ5のタスクデータ7Jを生成し、図14に示すようにタスク記憶部246に記憶させる(#803)。 Then, the task management unit 205 deletes the HTML file 7C of the selected fixed page 5 from the fixed page file storage unit 242 (#802), and generates the task data 7J of the fixed page 5, as shown in FIG. is stored in the task storage unit 246 (#803).

タスクデータ7Jには、次のような情報が示される。「ファイル名」は、その固定ページ5の識別情報(ファイル名またはURL)である。「再生成予定時刻」は、その固定ページ5のHTMLファイル7Cの再生成を開始する予定の時刻であって、そのHTMLファイル7Cが削除された時刻に所定の待機時間Tを足した時刻である。例えば、削除された時刻が「15時59分57秒」であって、待機時間Tが「30秒」である場合は、再生予定時刻は、「16時00分27秒」である。 The task data 7J shows the following information. “File name” is identification information (file name or URL) of the fixed page 5. The "scheduled regeneration time" is the scheduled time to start regenerating the HTML file 7C of the fixed page 5, and is the time when the HTML file 7C is deleted plus the predetermined waiting time T. . For example, if the deleted time is "15:59:57" and the waiting time T is "30 seconds", the scheduled reproduction time is "16:00:27".

なお、タスク管理部205は、ステップ#801において複数の固定ページ5を選出した場合は、ステップ#802においてそれぞれのHTMLファイル7Cを固定ページファイル記憶部242から削除し、ステップ#803においてそれぞれのタスクデータ7Jを生成しタスク記憶部246に記憶させる。図4の通り、本例では、記事ページ61に対応付けられているカテゴリ名が「スポーツ」および「2023」なので、すべてのカテゴリ名が対応付けられている固定ページ50、「スポーツ」が対応付けられている固定ページ51、および「2023」が対応付けられている固定ページ54の少なくとも3つがステップ#801において選出される。そして、それぞれのHTMLファイル7Cが固定ページファイル記憶部242から削除され、それぞれのタスクデータ7Jが生成されタスク記憶部246へ記憶される。 Note that when the task management unit 205 selects a plurality of fixed pages 5 in step #801, the task management unit 205 deletes each HTML file 7C from the fixed page file storage unit 242 in step #802, and deletes each of the fixed pages 5 in step #803. Data 7J is generated and stored in the task storage unit 246. As shown in FIG. 4, in this example, the category names associated with the article page 61 are "Sports" and "2023", so the fixed page 50, "Sports", which is associated with all category names, is associated with the article page 61. At least three of the fixed page 51 associated with the fixed page 51 and the fixed page 54 associated with "2023" are selected in step #801. Then, each HTML file 7C is deleted from the fixed page file storage section 242, and each task data 7J is generated and stored in the task storage section 246.

待機時間Tは、固定ページ5ごとに異なっていてもよい。例えば、アクセスされる頻度の低い固定ページ5の待機時間Tを、高い固定ページ5の待機時間Tよりも長く設定してもよい。 The waiting time T may be different for each fixed page 5. For example, the waiting time T of fixed pages 5 that are accessed less frequently may be set longer than the waiting time T of fixed pages 5 that are accessed more frequently.

また、タスク記憶部246は、キュー(待ち行列)の役割を有する。タスク記憶部246に記憶されるタスクデータ7Jは、再生成予定時刻の早い順に並べ換えられてもよい。 Further, the task storage unit 246 has the role of a queue. The task data 7J stored in the task storage unit 246 may be sorted in descending order of scheduled regeneration time.

固定ページファイル生成部202は、上述の通り、管理用端末装置3Bから固定ページデータ7Aが送信されてきた際にHTMLファイル7Cを生成するが、さらに、タスク記憶部246に記憶されているタスクデータ7Jに基づいて次のタイミングでHTMLファイル7Cを生成する。 As described above, the fixed page file generation unit 202 generates the HTML file 7C when the fixed page data 7A is sent from the management terminal device 3B, but also generates the HTML file 7C from the task data stored in the task storage unit 246. 7J, the HTML file 7C is generated at the following timing.

固定ページファイル生成部202は、現在の時刻が、あるタスクデータ7Jに示される再生成予定時刻に到達したら(#804でYes)、そのタスクデータ7Jに対応する固定ページ5のHTMLファイル7Cを生成し直して固定ページファイル記憶部242へ記憶させ(#806)、そのタスクデータ7Jをタスク記憶部246から削除する(#807)。 When the current time reaches the scheduled regeneration time indicated in a certain task data 7J (Yes in #804), the fixed page file generation unit 202 generates an HTML file 7C of the fixed page 5 corresponding to the task data 7J. The task data 7J is then stored again in the fixed page file storage section 242 (#806), and the task data 7J is deleted from the task storage section 246 (#807).

生成し直されたHTMLファイル7Cによると、固定ページ5の記事一覧には、その固定ページ5に対応付けられているカテゴリ名のカテゴリの記事ページ6それぞれのタイトルがハイパーリンクとして配置される。これらの記事ページ6には、新たな記事ページ6のタイトルが含まれている。 According to the regenerated HTML file 7C, in the article list of the fixed page 5, the titles of the article pages 6 of the category with the category name associated with the fixed page 5 are arranged as hyperlinks. These article pages 6 include the title of the new article page 6.

また、いずれかのタスクデータ7Jに対応する固定ページ5が閲覧用端末装置3Aから要求されることがあるが、上述の通り、その固定ページ5のHTMLファイル7Cが削除されている。そこで、そのような固定ページ5が要求された場合も同様に(#805でYes)、その固定ページ5のHTMLファイル7Cを生成し直して固定ページファイル記憶部242へ記憶させ(#806)、その固定ページ5のタスクデータ7Jをタスク記憶部246から削除する(#807)。 Further, the fixed page 5 corresponding to any task data 7J may be requested from the viewing terminal device 3A, but as described above, the HTML file 7C of the fixed page 5 has been deleted. Therefore, when such a fixed page 5 is requested (Yes in #805), the HTML file 7C of the fixed page 5 is regenerated and stored in the fixed page file storage unit 242 (#806), The task data 7J of the fixed page 5 is deleted from the task storage section 246 (#807).

つまり、新たな記事ページ6が登録されると、その記事ページ6に関連する固定ページ5のHTMLファイル7Cが固定ページファイル記憶部242から削除される。そして、所定の時間が経過しまたはその固定ページ5が閲覧用端末装置3Aから要求された際に、その固定ページ5のHTMLファイル7Cが生成し直され、固定ページファイル記憶部242に記憶される。このような処理によって、固定ページ5が更新される。 That is, when a new article page 6 is registered, the HTML file 7C of the fixed page 5 related to the new article page 6 is deleted from the fixed page file storage section 242. Then, when a predetermined period of time has passed or the fixed page 5 is requested from the viewing terminal device 3A, the HTML file 7C of the fixed page 5 is regenerated and stored in the fixed page file storage section 242. . The fixed page 5 is updated by such processing.

さらに、固定ページファイル生成部202は、生成し直したHTMLファイル7Cのハッシュ値をハッシュ関数hによって生成する(#808)。そして、生成したハッシュ値とその固定ページ5の属性データ7Dに示されるハッシュ値とが一致しない場合は(#809でNo)、その属性データ7Dに示される生成日時およびハッシュ値を、それぞれ、そのHTMLファイル7Cを生成し直した日時および生成したハッシュ値に更新する(#810)。一方、両者が一致する場合は(#809でYes)、属性データ7Dの更新をスキップする。 Further, the fixed page file generation unit 202 generates a hash value of the regenerated HTML file 7C using the hash function h (#808). If the generated hash value and the hash value shown in the attribute data 7D of the fixed page 5 do not match (No in #809), the generation date and time and the hash value shown in the attribute data 7D are The HTML file 7C is updated to the date and time of regeneration and the generated hash value (#810). On the other hand, if the two match (Yes in #809), updating of the attribute data 7D is skipped.

ところで、ある固定ページ5のHTMLファイル7Cが再生成されるまでに、さらに、いずれかの記事ページ6が更新され、削除され、または新たに登録されることがある。その記事ページ6に対応付けられているカテゴリ名がその固定ページ5にも対応付けられている場合は(#811でYes)、タスク管理部205は、その固定ページ5のタスクデータ7Jの再生成予定時刻を、現在の時刻に待機時間Tを足した時刻に更新する(#812)。これにより、その固定ページ5のHTMLファイル7Cの生成が延期される。 Incidentally, before the HTML file 7C of a certain fixed page 5 is regenerated, some article page 6 may be further updated, deleted, or newly registered. If the category name associated with the article page 6 is also associated with the fixed page 5 (Yes in #811), the task management unit 205 regenerates the task data 7J of the fixed page 5. The scheduled time is updated to the current time plus the waiting time T (#812). As a result, generation of the HTML file 7C for the fixed page 5 is postponed.

例えば、16時33分20秒時点において、ある固定ページ5のタスクデータ7Jに示される再生成予定時刻が「16時33分27秒」であり、新たに記事ページ6が登録され、その記事ページ6に対応付けられているカテゴリ名がその固定ページ5にも対応付けられており、かつ、その固定ページ5の待機時間Tが「45秒」である場合は、タスク管理部205は、再生成予定時刻が「16時34分12秒」が示されるようにそのタスクデータ7Jを更新する。 For example, at the time of 16:33:20, the scheduled regeneration time indicated in the task data 7J of a certain fixed page 5 is "16:33:27", a new article page 6 is registered, and the article page If the category name associated with 6 is also associated with that fixed page 5, and the waiting time T of that fixed page 5 is "45 seconds", the task management unit 205 The task data 7J is updated so that the scheduled time is shown as "16:34:12".

ステップ#804~#812の処理は、ステップ#803でタスクデータ7Jが登録された各固定ページ5について実行される。 The processes in steps #804 to #812 are executed for each fixed page 5 in which the task data 7J was registered in step #803.

〔3.4 固定ページ5および記事ページ6の提供〕
図15は、リクエスト応答処理の流れの例を示すフローチャートである。
[3.4 Provision of fixed page 5 and article page 6]
FIG. 15 is a flowchart showing an example of the flow of request response processing.

閲覧者は、閲覧用端末装置3Aを操作することによって固定ページ5および記事ページ6を閲覧することができる。以下、ある閲覧者が閲覧用端末装置3A1を操作する場合を例に、固定ページ5および記事ページ6の提供方法を説明する。 A viewer can view the fixed page 5 and article page 6 by operating the viewing terminal device 3A. Hereinafter, a method for providing the fixed page 5 and the article page 6 will be described, taking as an example a case where a certain viewer operates the viewing terminal device 3A1.

閲覧用端末装置3A1は、いずれかの固定ページ5のURLが閲覧者によって指定されると、リクエストデータ7Kをウェブサーバ2へ送信する。以下、固定ページ50のURLが指定された場合を例に説明する。 The viewing terminal device 3A1 transmits the request data 7K to the web server 2 when the URL of any fixed page 5 is specified by the viewer. An example in which the URL of the fixed page 50 is specified will be described below.

リクエストデータ7Kには、URLが指定された固定ページ5すなわち固定ページ50の識別情報(例えば、ファイル名)が示される。固定ページ50のHTMLファイル7Cが閲覧用端末装置3A1にキャッシュされている場合は、さらに、「If-Modified-Since」の値として、そのHTMLファイル7Cが取得された日時(キャッシュ日時)がリクエストデータ7Kに示される。 The request data 7K shows identification information (eg, file name) of the fixed page 5, ie, the fixed page 50, to which the URL is specified. If the HTML file 7C of the fixed page 50 is cached in the viewing terminal device 3A1, the date and time when the HTML file 7C was acquired (cache date and time) is further included in the request data as the value of "If-Modified-Since". 7K.

リクエスト応答部206は、リクエストデータ7Kを閲覧用端末装置3A1から受信すると、リクエストデータ7Kに対して応答する処理を、図15のフローチャートに示す手順で実行する。 When the request response unit 206 receives the request data 7K from the viewing terminal device 3A1, it executes the process of responding to the request data 7K according to the procedure shown in the flowchart of FIG. 15.

リクエスト応答部206は、リクエストデータ7Kに示される識別情報に対応する固定ページ5(本例では、固定ページ50)のHTMLファイル7Cが固定ページファイル記憶部242に記憶されており(#821でYes)、かつ、固定ページ50の属性データ7Dに示される生成日時がリクエストデータ7Kに示されるキャッシュ日時よりも後である場合は(#822でYes)、そのHTMLファイル7Cを閲覧用端末装置3A1へ送信する(#823)。つまり、静的配信を行う。 The request response unit 206 determines that the HTML file 7C of the fixed page 5 (fixed page 50 in this example) corresponding to the identification information indicated in the request data 7K is stored in the fixed page file storage unit 242 (Yes in #821). ), and if the generation date and time indicated in the attribute data 7D of the fixed page 50 is later than the cache date and time indicated in the request data 7K (Yes in #822), the HTML file 7C is sent to the viewing terminal device 3A1. Send (#823). In other words, perform static distribution.

そして、閲覧用端末装置3A1は、送信されてきたHTMLファイル7Cに基づいて固定ページ50を表示する。なお、そのHTMLファイル7Cに付属ファイル7Bへのリンクが示される場合は、閲覧用端末装置3A1は、その付属ファイル7Bをウェブサーバ2へ要求する。すると、リクエスト応答部206は、その付属ファイル7Bを閲覧用端末装置3A1へ送信する。そして、閲覧用端末装置3A1は、その付属ファイル7Bに基づいて固定ページ50の画像または動画像の部分を表示する。 The viewing terminal device 3A1 then displays the fixed page 50 based on the transmitted HTML file 7C. Note that if the HTML file 7C shows a link to the attached file 7B, the viewing terminal device 3A1 requests the attached file 7B from the web server 2. Then, the request response unit 206 transmits the attached file 7B to the viewing terminal device 3A1. The viewing terminal device 3A1 then displays the image or moving image portion of the fixed page 50 based on the attached file 7B.

一方、その生成日時がそのキャッシュ日時よりも先である場合は(#822でNo)、そのHTMLファイル7Cの代わりに、「304 Not Modified」のメッセージすなわち「更新されていない」ことを示すレスポンスデータ7Lを閲覧用端末装置3A1へ送信する(#824)。 On the other hand, if the generation date and time is earlier than the cache date and time (No in #822), instead of the HTML file 7C, a "304 Not Modified" message, i.e., response data indicating that it has not been updated. 7L to the viewing terminal device 3A1 (#824).

閲覧用端末装置3A1は、レスポンスデータ7Lを受信すると、自らキャッシュしているHTMLファイル7Cに基づいて固定ページ50を表示する。HTMLファイル7Cに付属ファイル7Bへのリンクが示される場合は、自らキャッシュしているその付属ファイル7Bに基づいて固定ページ50の画像または動画像の部分を表示する。 When the viewing terminal device 3A1 receives the response data 7L, it displays the fixed page 50 based on the HTML file 7C cached by itself. When the HTML file 7C shows a link to the attached file 7B, the image or moving image portion of the fixed page 50 is displayed based on the attached file 7B cached by itself.

または、そのHTMLファイル7Cが固定ページファイル記憶部242に記憶されていなければ(#821でNo)、図13のステップ#802で説明した通り、生成し直すために一旦、削除された可能性がある。そこで、リクエスト応答部206は、次のように動的配信を行う。 Alternatively, if the HTML file 7C is not stored in the fixed page file storage unit 242 (No in #821), there is a possibility that it was once deleted in order to be regenerated, as explained in step #802 of FIG. be. Therefore, the request response unit 206 performs dynamic distribution as follows.

リクエスト応答部206は、そのHTMLファイル7Cを生成し直すように固定ページファイル生成部202に直ちに指令する(#825)。すると、図13のステップ#805で説明した通り、固定ページファイル生成部202によってそのHTMLファイル7Cが生成し直され、固定ページファイル記憶部242に記憶される。これにより、そのHTMLファイル7Cが更新される。 The request response unit 206 immediately instructs the fixed page file generation unit 202 to regenerate the HTML file 7C (#825). Then, as described in step #805 of FIG. 13, the fixed page file generation unit 202 regenerates the HTML file 7C and stores it in the fixed page file storage unit 242. As a result, the HTML file 7C is updated.

そして、リクエスト応答部206は、更新(再生成)されたHTMLファイル7Cを閲覧用端末装置3A1へ送信する(#826)。 Then, the request response unit 206 transmits the updated (regenerated) HTML file 7C to the viewing terminal device 3A1 (#826).

すると、閲覧用端末装置3A1は、HTMLファイル7Cに基づいて固定ページ50を表示する。なお、そのHTMLファイル7Cに付属ファイル7Bへのリンクが示される場合は、ウェブサーバ2から取得してもよいし、自らキャッシュしている場合は、これを用いてもよい。 Then, the viewing terminal device 3A1 displays the fixed page 50 based on the HTML file 7C. Note that if the HTML file 7C shows a link to the attached file 7B, it may be obtained from the web server 2, or if it is cached by itself, this may be used.

固定ページ50の記事一覧50dの中からいずれかのタイトルが選択されると、閲覧用端末装置3A1は、選択されたタイトルに対応する記事ページ6をウェブサーバ2へ要求する。 When any title is selected from the article list 50d of the fixed page 50, the viewing terminal device 3A1 requests the web server 2 for the article page 6 corresponding to the selected title.

リクエスト応答部206は、その要求を受信すると、その記事ページ6のHTMLファイル7Gを閲覧用端末装置3A1へ送信する。 Upon receiving the request, the request response unit 206 transmits the HTML file 7G of the article page 6 to the viewing terminal device 3A1.

そして、閲覧用端末装置3A1は、HTMLファイル7Gに基づいてその記事ページ6を表示する。なお、そのHTMLファイル7Gに付属ファイル7Fへのリンクが示される場合は、閲覧用端末装置3A1は、その付属ファイル7Fをウェブサーバ2へ要求する。すると、リクエスト応答部206は、その付属ファイル7Fを閲覧用端末装置3A1へ送信する。そして、閲覧用端末装置3A1は、その付属ファイル7Fに基づいてその記事ページ6の画像または動画像の部分を表示する。 The viewing terminal device 3A1 then displays the article page 6 based on the HTML file 7G. Note that if the HTML file 7G shows a link to the attached file 7F, the viewing terminal device 3A1 requests the attached file 7F from the web server 2. Then, the request response unit 206 transmits the attached file 7F to the viewing terminal device 3A1. The viewing terminal device 3A1 then displays the image or moving image portion of the article page 6 based on the attached file 7F.

〔4.全体的な処理の流れおよび本実施形態の効果〕
図16は、ウェブサーバ2における全体的な処理の流れの例を示すフローチャートである。
[4. Overall processing flow and effects of this embodiment]
FIG. 16 is a flowchart showing an example of the overall processing flow in the web server 2. As shown in FIG.

次に、ウェブサーバ2の全体的な処理の流れを、図16のフローチャートを参照しながら説明する。ここでは特に、固定ページ51(図4、図7参照)を登録しまたは提供する場合を例に説明する。 Next, the overall processing flow of the web server 2 will be explained with reference to the flowchart of FIG. 16. Here, the case where a fixed page 51 (see FIGS. 4 and 7) is registered or provided will be explained as an example.

ウェブサーバ2は、固定ページ51の固定ページデータ7Aを受信すると、固定ページ51を登録する処理として、固定ページ51のHTMLファイル7Cおよび属性データ7Dを生成する処理などを行う(図16の#11)。 When the web server 2 receives the fixed page data 7A of the fixed page 51, the web server 2 performs a process of generating an HTML file 7C and attribute data 7D of the fixed page 51 as a process of registering the fixed page 51 (#11 in FIG. 16). ).

記事ページ6に関する指令があった場合は(#12でYes)、その記事ページ6に関する処理を行う(#13)。例えば、新たな記事ページ6の記事ページデータ7Eを受信すると、その記事ページ6を登録する処理を行う。または、既存の記事ページ6の更新の指令があった場合は、その記事ページ6の記事ページデータ7Eを更新し、その記事ページ6のHTMLファイル7Gを生成し直す。または、既存の記事ページ6の削除の指令があった場合は、その記事ページ6の記事ページデータ7EおよびHTMLファイル7Gなどを削除する。 If there is a command regarding article page 6 (Yes in #12), processing regarding that article page 6 is performed (#13). For example, when article page data 7E of a new article page 6 is received, processing for registering the article page 6 is performed. Alternatively, when there is a command to update an existing article page 6, the article page data 7E of the article page 6 is updated, and the HTML file 7G of the article page 6 is regenerated. Alternatively, if there is a command to delete an existing article page 6, the article page data 7E, HTML file 7G, etc. of the article page 6 are deleted.

そして、ウェブサーバ2は、図13で説明した固定ページ更新処理を実行する(#14)。 Then, the web server 2 executes the fixed page update process described in FIG. 13 (#14).

すなわち、もしも、更新され、削除され、または新たに登録された記事ページ6に対応付けられているカテゴリ名が固定ページ51にも対応付けられていれば、ウェブサーバ2は、固定ページ51のHTMLファイル7Cを一旦削除する(図13の#802)。そして、再生成予定時刻になり(#804でYes)、または、固定ページ51が閲覧用端末装置3Aから要求されたら(#805でYes)、HTMLファイル7Cを生成し直す(#806)。HTMLファイル7Cを生成し直すまでに、いずれかの記事ページ6が更新され、削除され、または新たに登録され、その記事ページ6に対応付けられているカテゴリ名が固定ページ51にも対応付けられている場合は(#811でYes)、再生成予定時刻を、現在の時刻に待機時間Tを足した時刻に更新する(#812)。また、ステップ#802で削除したHTMLファイル7Cのハッシュ値と#806で再生成したHTMLファイル7Cのハッシュ値とが一致しない場合は(#809でNo)、固定ページ51の属性データ7D(図6参照)を、再生成したHTMLファイル7Cの生成日時およびハッシュ値が示されるように更新する(#810)。 That is, if the category name associated with the updated, deleted, or newly registered article page 6 is also associated with the fixed page 51, the web server 2 updates the HTML of the fixed page 51. File 7C is temporarily deleted (#802 in FIG. 13). Then, when the scheduled regeneration time comes (Yes in #804) or when the fixed page 51 is requested from the viewing terminal device 3A (Yes in #805), the HTML file 7C is generated again (#806). Before the HTML file 7C is regenerated, any article page 6 is updated, deleted, or newly registered, and the category name associated with that article page 6 is also associated with the fixed page 51. If so (Yes in #811), the scheduled regeneration time is updated to the current time plus the waiting time T (#812). Further, if the hash value of the HTML file 7C deleted in step #802 and the hash value of the HTML file 7C regenerated in #806 do not match (No in #809), the attribute data 7D of the fixed page 51 (see FIG. ) is updated to indicate the generation date and time and hash value of the regenerated HTML file 7C (#810).

または、閲覧用端末装置3Aから固定ページ51の識別情報を示すデータをリクエストデータ7Kとして要求された場合は(図16の#15でYes)、ウェブサーバ2は、図15で説明したリクエスト応答処理を実行する(#16)。 Alternatively, if the viewing terminal device 3A requests data indicating the identification information of the fixed page 51 as the request data 7K (Yes in #15 of FIG. 16), the web server 2 performs the request response process described in FIG. Execute (#16).

すなわち、ウェブサーバ2は、固定ページ51のHTMLファイル7Cを記憶しており(図15の#821でYes)、かつ、固定ページ51の属性データ7Dに示される生成日時がリクエストデータ7Kに示されるキャッシュ日時よりも後であれば(#822でYes)、そのHTMLファイル7Cを閲覧用端末装置3Aへ送信する(#823)。つまり、静的配信を行う。その生成日時がそのキャッシュ日時よりも先であれば(#822でNo)、「304 Not Modified」のメッセージを示すデータすなわちレスポンスデータ7Lを閲覧用端末装置3Aへ送信する(#824)。そのHTMLファイル7Cを記憶していなければ、固定ページ更新処理によって直ちにHTMLファイル7Cが生成し直されるので(図13の#806参照)、これを閲覧用端末装置3Aへ送信する(#826)。つまり、動的配信を行う。 That is, the web server 2 stores the HTML file 7C of the fixed page 51 (Yes in #821 in FIG. 15), and the generation date and time indicated in the attribute data 7D of the fixed page 51 is indicated in the request data 7K. If it is later than the cache date and time (Yes in #822), the HTML file 7C is sent to the viewing terminal device 3A (#823). In other words, perform static distribution. If the generation date and time is earlier than the cache date and time (No in #822), data indicating the message "304 Not Modified", that is, response data 7L, is transmitted to the viewing terminal device 3A (#824). If the HTML file 7C is not stored, the fixed page update process immediately regenerates the HTML file 7C (see #806 in FIG. 13), and sends it to the viewing terminal device 3A (#826). In other words, dynamic distribution is performed.

ウェブサーバ2は、サービスを継続している間、発生したイベントに応じて図16のステップ#12~#16の処理を適宜、実行する。また、固定ページ51以外の固定ページ5についても同様に処理する。 While continuing the service, the web server 2 appropriately executes the processes of steps #12 to #16 in FIG. 16 depending on the event that occurs. Further, fixed pages 5 other than fixed page 51 are also processed in the same manner.

本実施形態によると、ウェブサーバ2は、固定ページ5のHTMLファイル7Cを基本的に静的配信によって提供する。また、記事ページ6の追加、更新、または削除など、固定ページ5の構成が変わり得る可能性が生じた場合に、固定ページ5のHTMLファイル7Cを一旦削除する。そして、待機時間Tまでに固定ページ5のリクエストがあれば、HTMLファイル7Cを生成し直しHTMLファイル7Cを提供する。つまり、動的配信によってHTMLファイル7Cを提供する。一方、待機時間Tまでに固定ページ5のリクエストがなければ、HTMLファイル7Cを生成し直し、静的配信に備える。このような配信方法により、コストをあまり掛けることなく従来よりも安定的に固定ページ5を新しい状態で配信することができる。 According to this embodiment, the web server 2 basically provides the HTML file 7C of the fixed page 5 by static distribution. Furthermore, when there is a possibility that the configuration of the fixed page 5 may change due to addition, update, or deletion of the article page 6, the HTML file 7C of the fixed page 5 is temporarily deleted. If there is a request for the fixed page 5 by the waiting time T, the HTML file 7C is generated again and the HTML file 7C is provided. In other words, the HTML file 7C is provided by dynamic distribution. On the other hand, if there is no request for the fixed page 5 by the waiting time T, the HTML file 7C is regenerated and prepared for static distribution. With such a distribution method, the fixed page 5 can be distributed in a new state more stably than before without incurring much cost.

また、ウェブサーバ2は、固定ページ5の再生成を待機している間に、その固定ページ5とカテゴリ名が共通する記事ページ6が更新され、削除され、または新たに生成されると、再生成予定時刻を設定し直すことによって、待機期間を延長する。これにより、HTMLファイル7Cを生成する回数を全体的に減らすことができ、さらなる安定化を図ることができる。 Additionally, while waiting for the fixed page 5 to be regenerated, if an article page 6 that has the same category name as the fixed page 5 is updated, deleted, or newly generated, the web server 2 will reproduce the fixed page 5. Extend the waiting period by resetting the scheduled completion time. Thereby, the number of times the HTML file 7C is generated can be reduced overall, and further stability can be achieved.

〔5.変形例〕
本実施形態では、ウェブサーバ2は、記事ページ6の追加、更新、または削除があった際に、その記事ページ6のカテゴリ名に対応付けられている固定ページ5のタスクデータ7Jをタスク記憶部246(図14参照)に登録するとともにその固定ページ5のHTMLファイル7Cを固定ページファイル記憶部242から削除したが、他のイベントがあった際にも同様に処理してもよい。固定ページ5の固定的な部分(例えば、図5に示すタイトル50a、タブ50b1~50b5、またはコンテンツ50cなど)が編集された場合にも、その固定ページ5のタスクデータ7Jを登録しその固定ページ5のHTMLファイル7Cを削除してもよい。
[5. Modified example]
In this embodiment, when an article page 6 is added, updated, or deleted, the web server 2 stores the task data 7J of the fixed page 5 associated with the category name of the article page 6 in the task storage. 246 (see FIG. 14), and the HTML file 7C of the fixed page 5 is deleted from the fixed page file storage section 242, but the same process may be performed when another event occurs. Even when a fixed part of the fixed page 5 (for example, the title 50a, tabs 50b1 to 50b5, or content 50c shown in FIG. 5) is edited, the task data 7J of the fixed page 5 is registered and the fixed page is edited. The HTML file 7C of 5 may be deleted.

上述の通り、固定ページ5のHTMLファイル7Cのハッシュ値は、生成し直す前後で一致する場合がある。つまり、生成し直しても実質的に固定ページ5の構成が変わらないことがある。そこで、ウェブサーバ2は、レスポンスデータ7Lの登録およびHTMLファイル7Cの削除の前に、生成し直すことによって固定ページ5の構成が変わるか否かを判断してもよい。そして、構成が変わる場合にのみ、レスポンスデータ7Lの登録およびHTMLファイル7Cの削除を行ってもよい。なお、構成が変わるか否かは、記事一覧(例えば、図5に示す固定ページ50の記事一覧50d)のメンバが変わるか否かによって判断すればよい。 As described above, the hash values of the HTML file 7C of the fixed page 5 may be the same before and after regeneration. In other words, even if it is regenerated, the configuration of the fixed page 5 may not substantially change. Therefore, before registering the response data 7L and deleting the HTML file 7C, the web server 2 may determine whether the configuration of the fixed page 5 will change by regenerating it. Then, the response data 7L may be registered and the HTML file 7C may be deleted only when the configuration changes. Note that whether or not the configuration changes may be determined based on whether or not the members of the article list (for example, the article list 50d of the fixed page 50 shown in FIG. 5) change.

本実施形態では、ウェブサーバ2は、タスクデータ7Jに示される再生成予定時刻になったらHTMLファイル7Cを生成し直したが、リソースに余裕があれば(例えば、メインプロセッサ21aの使用率が所定の値未満であれば)、再生成予定時刻になるのを待たず、HTMLファイル7Cを生成し直してもよい。タスクデータ7Jが複数ある場合は、再生成予定時刻が早いものから優先的に生成し直せばよい。 In the present embodiment, the web server 2 regenerates the HTML file 7C at the regeneration scheduled time indicated in the task data 7J, but if there is sufficient resources (for example, if the usage rate of the main processor 21a is ), the HTML file 7C may be regenerated without waiting for the scheduled regeneration time. If there is a plurality of task data 7J, the task data 7J may be regenerated preferentially starting from the one with the earliest scheduled regeneration time.

本実施形態では、記事ページ6の記事一覧を有する固定ページ5のHTMLファイル7Cの再生成および提供を例に説明したが、他の固定ページ(ウェブページ)のHTMLファイルの再生成および提供にも、本発明を適用することができる。例えば、タイムラインを有し、スポーツのリアルタイム中継を行うウェブページの再生成および提供にも、本発明を適用することができる。 In this embodiment, the explanation has been given by taking as an example the regeneration and provision of the HTML file 7C of the fixed page 5 having the article list of the article page 6, but the regeneration and provision of the HTML file of other fixed pages (web pages) is also possible. , the present invention can be applied. For example, the present invention can be applied to regenerating and providing a web page that has a timeline and broadcasts sports in real time.

本実施形態では、図3に示した各手段をウェブサーバ2に纏めて設けたが、複数台の装置に分散して設けてもよい。 In this embodiment, the respective means shown in FIG. 3 are collectively provided in the web server 2, but they may be provided in a distributed manner in a plurality of devices.

その他、ウェブページ提供システム1、ウェブサーバ2の全体または各部の構成、処理の内容、処理の順序、データの構成などは、本発明の趣旨に沿って適宜変更することができる。 In addition, the overall configuration of the web page providing system 1 and the web server 2 or the configuration of each part, the content of processing, the order of processing, the data configuration, etc. can be changed as appropriate in accordance with the spirit of the present invention.

2 ウェブサーバ
202 ウェブページファイル生成部(生成手段、管理手段)
205 タスク管理部(削除手段)
206 リクエスト応答部(送信手段)
5 固定ページ(ウェブページ)
6 記事ページ
242 固定ページファイル記憶部
243 固定ページ属性記憶部(属性記憶手段)
3A 閲覧者端末装置(クライアント)
7C HTMLファイル
2 Web server 202 Web page file generation unit (generation means, management means)
205 Task management section (deletion means)
206 Request response unit (transmission means)
5 Fixed page (web page)
6 Article page 242 Fixed page file storage unit 243 Fixed page attribute storage unit (attribute storage means)
3A Viewer terminal device (client)
7C HTML file

Claims (7)

ウェブページを提供するウェブページ提供システムであって、
前記ウェブページを表示するためのウェブページデータを記憶するウェブページ記憶手段と、
前記ウェブページの構成に影響を及ぼす可能性がありまたは影響を及ぼすイベントが生じた場合に前記ウェブページデータを前記ウェブページ記憶手段から削除する削除手段と、
クライアントから要求があった際に、前記ウェブページデータが前記ウェブページ記憶手段に記憶されている場合は、当該記憶されているウェブページデータを当該クライアントへ送信し、記憶されていない場合は、前記ウェブページデータを生成し直して当該クライアントへ送信するとともに前記ウェブページ記憶手段に記憶させる、提供手段と、
を有することを特徴とするウェブページ提供システム。
A web page providing system that provides web pages,
web page storage means for storing web page data for displaying the web page;
Deleting means for deleting the web page data from the web page storage means when an event that may or does affect the configuration of the web page occurs;
When a request is received from a client, if the web page data is stored in the web page storage means, the stored web page data is sent to the client, and if not stored, the web page data is sent to the client. Providing means for regenerating web page data and transmitting it to the client and storing it in the web page storage means;
A web page providing system comprising:
前記提供手段は、前記ウェブページデータが前記ウェブページ記憶手段に記憶されていなければ、前記イベントが最後に生じた時点から所定の時間が経過した場合にも、前記ウェブページデータを生成し直して前記ウェブページ記憶手段に記憶させる、
請求項1に記載のウェブページ提供システム。
The providing means may generate the web page data again even if a predetermined time has elapsed since the last occurrence of the event, if the web page data is not stored in the web page storage means. storing it in the web page storage means;
The web page providing system according to claim 1.
前記所定の時間は、前記ウェブページへのアクセスの頻度が高いほど短く設定される、
請求項2に記載のウェブページ提供システム。
The predetermined time is set shorter as the frequency of access to the web page is higher;
The web page providing system according to claim 2.
前記ウェブページデータの生成日時を記憶する属性記憶手段と、
前記提供手段によって前記ウェブページデータが生成し直された際に、前記ウェブページデータの全部分または所定の一部分の、生成し直す前後の内容が相違すれば、前記属性記憶手段に記憶されている前記生成日時を、前記ウェブページデータを生成し直した日時に更新し、同一であれば、前記生成日時を更新しない、管理手段と、
を有し、
前記提供手段は、前記要求の際に前記クライアントから提示された前記ウェブページデータのキャッシュ日時が、前記属性記憶手段に記憶されている前記生成日時よりも古い場合に前記ウェブページデータを送信し、新しい場合は当該ウェブページデータの代わりに前記ウェブページが更新されていないことを示すメッセージを送信する、
請求項1ないし請求項3のいずれかに記載のウェブページ提供システム。
attribute storage means for storing the generation date and time of the web page data;
When the web page data is regenerated by the providing means, if the content of all or a predetermined part of the web page data before and after the regeneration is different, it is stored in the attribute storage means. A management means that updates the generation date and time to the date and time when the web page data was regenerated, and does not update the generation date and time if they are the same;
has
The providing means transmits the web page data when the cache date and time of the web page data presented by the client at the time of the request is older than the generation date and time stored in the attribute storage means, If the web page is new, a message indicating that the web page has not been updated is sent instead of the web page data;
A web page providing system according to any one of claims 1 to 3.
前記ウェブページは、1つまたは複数の所定のカテゴリのうちの少なくとも1つが対応付けられている1つまたは複数の記事ページを案内する一覧を有する固定ページであり、
記イベントは、前記1つまたは複数の所定のカテゴリのうちの前記ウェブページと共通のカテゴリが少なくとも1つ対応付けられている記事ページが更新され、削除され、または新たな追加されることである、
請求項1ないし請求項3のいずれかに記載のウェブページ提供システム。
The web page is a fixed page having a list showing one or more article pages associated with at least one of one or more predetermined categories ,
The event is that an article page that is associated with at least one common category with the web page among the one or more predetermined categories is updated, deleted, or newly added. is,
A web page providing system according to any one of claims 1 to 3.
ウェブページを提供するウェブページ提供方法であって、
前記ウェブページを表示するためのウェブページデータを記憶するウェブページ記憶手段を用意しておき
前記ウェブページの構成に影響を及ぼす可能性がありまたは影響を及ぼすイベントが生じた場合に前記ウェブページデータを前記ウェブページ記憶手段から削除し、
クライアントから要求があった際に、前記ウェブページデータが前記ウェブページ記憶手段に記憶されている場合は、当該記憶されているウェブページデータを当該クライアントへ送信し、記憶されていない場合は、前記ウェブページデータを生成し直して当該クライアントへ送信するとともに前記ウェブページ記憶手段に記憶させる、
ことを特徴とするウェブページ提供方法。
A web page providing method for providing a web page, the method comprising:
Prepare a web page storage means for storing web page data for displaying the web page,
deleting the web page data from the web page storage means when an event that may or does affect the configuration of the web page occurs;
When a request is received from a client, if the web page data is stored in the web page storage means, the stored web page data is sent to the client, and if not stored, the web page data is sent to the client. Regenerating web page data and transmitting it to the client and storing it in the web page storage means;
A web page providing method characterized by:
ウェブページの提供を、ウェブページ記憶手段に記憶されている前記ウェブページを表示するためのウェブページデータを送信することによって行うコンピュータに用いられるコンピュータプログラムであって、
前記コンピュータに、
前記ウェブページの構成に影響を及ぼす可能性がありまたは影響を及ぼすイベントが生じた場合に、前記ウェブページデータを前記ウェブページ記憶手段から削除する処理を実行させ、
クライアントから要求があった際に、前記ウェブページデータが前記ウェブページ記憶手段に記憶されている場合は、当該記憶されているウェブページデータを当該クライアントへ送信する処理を実行させ、記憶されていない場合は、前記ウェブページデータを生成し直して当該クライアントへ送信するとともに前記ウェブページ記憶手段に記憶させる処理を実行させる、
ことを特徴とするコンピュータプログラム。
A computer program for use in a computer that provides a web page by transmitting web page data for displaying the web page stored in a web page storage means, the computer program comprising:
to the computer;
executing a process of deleting the web page data from the web page storage means when an event that may or does affect the configuration of the web page occurs;
When a request is received from a client, if the web page data is stored in the web page storage means, a process is executed to transmit the stored web page data to the client, and if the web page data is not stored. If so, regenerate the web page data, transmit it to the client, and cause the web page storage means to store the data.
A computer program characterized by:
JP2023078784A 2023-05-11 2023-05-11 Web page providing system, web page providing method, and computer program Active JP7351469B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2023078784A JP7351469B1 (en) 2023-05-11 2023-05-11 Web page providing system, web page providing method, and computer program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2023078784A JP7351469B1 (en) 2023-05-11 2023-05-11 Web page providing system, web page providing method, and computer program

Publications (1)

Publication Number Publication Date
JP7351469B1 true JP7351469B1 (en) 2023-09-27

Family

ID=88099268

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2023078784A Active JP7351469B1 (en) 2023-05-11 2023-05-11 Web page providing system, web page providing method, and computer program

Country Status (1)

Country Link
JP (1) JP7351469B1 (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004038396A (en) 2002-07-01 2004-02-05 Nec Corp Portal system
JP2005346609A (en) 2004-06-07 2005-12-15 National Institute Of Information & Communication Technology Device, method, and program for merging and displaying web page information, and computer readable recording medium recorded with its rogram

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004038396A (en) 2002-07-01 2004-02-05 Nec Corp Portal system
JP2005346609A (en) 2004-06-07 2005-12-15 National Institute Of Information & Communication Technology Device, method, and program for merging and displaying web page information, and computer readable recording medium recorded with its rogram

Similar Documents

Publication Publication Date Title
US20210349964A1 (en) Predictive resource identification and phased delivery of structured documents
US9060007B2 (en) System and methods for facilitating the synchronization of data
US8230046B2 (en) Setting cookies in conjunction with phased delivery of structured documents
US10755040B2 (en) Method and system for semantically generating and digitally publishing articles
CN104981800A (en) Delivery and display of page previews during page retrieval events
JP2002108870A (en) System and method for processing information
KR102087280B1 (en) Server for editing electronic document based on message including edit command and operating method thereof
JP7351469B1 (en) Web page providing system, web page providing method, and computer program
JP6832584B2 (en) Information processing equipment and computer programs
JP2007279900A (en) Method for distributing content and server for implementing the method
JP2005100005A (en) Content management system, content management method and program therefor
JP2002015005A (en) Method and system for providing information
JP2007272444A (en) Content management device, content management method, and content management program
JP2009205253A (en) Data retrieval program, data retrieval device, and data retrieval method
JP2000020197A (en) Information processing situation presenting method, network information transmitting and receiving system and recording medium stored with information processing situation presenting processing program
US20210357465A1 (en) Method and System for High Speed Serving of Webpages
JP2011048410A (en) Questionnaire distribution device and method, and computer program
JP2004088454A (en) System for displaying image information
JP2004021651A (en) Information distribution system, distributed information display program and distributed information display method
CN113810738A (en) Method and device for rendering pseudo B terminal based on concentrator and storage medium
JP2004013565A (en) Content browsing state management system, content browsing state management method, program and recording medium
JP2005182590A (en) Data routing and forwarding device, computer program, and program recording medium
KR101038779B1 (en) Remote controlling method of desktop
US20190266126A1 (en) Information processing device, information processing method, program, and storage medium
JP2008217481A (en) Related information providing system, related information providing program, and related information providing method

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20230517

A871 Explanation of circumstances concerning accelerated examination

Free format text: JAPANESE INTERMEDIATE CODE: A871

Effective date: 20230517

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20230620

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20230727

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: 20230829

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20230905

R150 Certificate of patent or registration of utility model

Ref document number: 7351469

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150