JP4644175B2 - ACCESS LOAD CONTROL DEVICE, ITS PROGRAM, AND POST RECEPTION SYSTEM - Google Patents

ACCESS LOAD CONTROL DEVICE, ITS PROGRAM, AND POST RECEPTION SYSTEM Download PDF

Info

Publication number
JP4644175B2
JP4644175B2 JP2006276280A JP2006276280A JP4644175B2 JP 4644175 B2 JP4644175 B2 JP 4644175B2 JP 2006276280 A JP2006276280 A JP 2006276280A JP 2006276280 A JP2006276280 A JP 2006276280A JP 4644175 B2 JP4644175 B2 JP 4644175B2
Authority
JP
Japan
Prior art keywords
servers
load
page
server
access
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.)
Expired - Fee Related
Application number
JP2006276280A
Other languages
Japanese (ja)
Other versions
JP2008097184A (en
Inventor
弘 中西
春男 星野
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Japan Broadcasting Corp
Original Assignee
Japan Broadcasting Corp
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 Japan Broadcasting Corp filed Critical Japan Broadcasting Corp
Priority to JP2006276280A priority Critical patent/JP4644175B2/en
Publication of JP2008097184A publication Critical patent/JP2008097184A/en
Application granted granted Critical
Publication of JP4644175B2 publication Critical patent/JP4644175B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本発明は、ページを配信する複数のサーバを備えたサーバ負荷分散システムにおいて、サーバへのアクセス負荷を制御するアクセス負荷制御装置およびそのプログラム、ならびに、投稿受付システムに関する。 The present invention, in the server load balancing system comprising a plurality of servers for distributing a page, the access load control equipment AND ITS program controls access load on the server, and to post accepting system.

近年、放送番組中に、視聴者に対して番組への投稿を呼びかけ、インターネットを介して、投稿を受け付けるシステム(投稿受付システム)が運用されている。
このようなシステムでは、放送番組で投稿を呼びかけると、放送局のサーバ(Webサーバ)において、投稿用のページ(Webページ)を公開する。そして、視聴者は、デジタルテレビ受信機、パーソナルコンピュータ、携帯電話等の端末を介して、投稿用のページにアクセスし、投稿用のデータの入力を行う。
このように、視聴者に対して番組への投稿を呼びかけると、図8に示すように、一時的に投稿用のページへのアクセス数が急増し、時間の経過に伴って徐々にアクセス数が低下していく。そこで、従来は、アクセス数のピーク時の処理が可能な数のサーバを用意し、視聴者の端末からのアクセス(要求)を負荷分散装置で各サーバに分配することで、1台のサーバに負荷が集中しないようにしたサーバ負荷分散システムとして、投稿受付システムを構成していた。
In recent years, a system (post accepting system) that invites viewers to post a program during a broadcast program and accepts posts via the Internet has been operated.
In such a system, when a posting is called for in a broadcast program, a posting page (Web page) is released on a server (Web server) of the broadcasting station. Then, the viewer accesses a posting page via a terminal such as a digital television receiver, a personal computer, or a mobile phone, and inputs posting data.
In this way, when the viewer is invited to contribute to the program, as shown in FIG. 8, the number of accesses to the posting page temporarily increases, and the number of accesses gradually increases as time passes. It goes down. Therefore, conventionally, a number of servers capable of processing at the peak of the number of accesses are prepared, and access (request) from the viewer's terminal is distributed to each server by the load balancer, so that one server can be provided. A posting acceptance system was configured as a server load balancing system that prevented the load from being concentrated.

例えば、従来のサーバ負荷分散システムSは、図9に示すように、複数のサーバ10(10,10,…,10)と、投稿用のページを記憶するページ情報記憶装置20と、アクセスを各サーバ10に分配する負荷分散装置30とを備えている。
このサーバ負荷分散システムSでは、負荷分散装置30が、インターネット等のネットワークNを介して、デジタルテレビ受信機50、パーソナルコンピュータ(パソコン)50、携帯電話50等の端末50からの投稿用のページへのアクセスを各サーバ10に分配することで、複数の投稿を受け付けることを可能にしている。
For example, the conventional server load balancing system S B, as shown in FIG. 9, a plurality of servers 10 (10 1, 10 2, ..., 10 n) and, with the page information storage device 20 for storing the pages for posts , And a load balancer 30 that distributes access to each server 10.
In the server load balancing system S B, the load balancer 30 via the network N such as the Internet, a digital television receiver 50 1, a personal computer (PC) 50 2 posts from the terminal 50 such as a mobile phone 50 3 By distributing access to the page for each server 10, it is possible to accept a plurality of posts.

また、従来の他のサーバ負荷分散システムSは、図10に示すように、複数のサーバ10(10,10,…,10)と、ビジー状態を示すページを表示するサーバであるソーリーサーバ10と、投稿用のページを記憶するページ情報記憶装置20と、アクセスを各サーバ10に分配する負荷分散装置30とを備えている。
このサーバ負荷分散システムSでは、負荷分散装置30が、インターネット等のネットワークNを介して、デジタルテレビ受信機50、パソコン50、携帯電話50等の端末50からの投稿用のページへのアクセスを各サーバ10に分配する。このとき、負荷分散装置30は、各サーバ10のすべてが投稿受け付け中である場合に、端末50からのアクセスをソーリーサーバ10に分配することで、視聴者に対して、現在ビジー状態であり、投稿を受け付けることができない旨を通知する。
このような、複数のサーバを備え、サーバに対する負荷を分散させる技術については、例えば、特許文献1等に開示されている。
特開2006−79340号公報(段落0017〜0027、図1)
Further, another conventional server load balancing system S C, as shown in FIG. 10, a plurality of servers 10 (10 1, 10 2, ..., 10 n) and is a server that displays a page indicating the busy state A sorry server 10 S , a page information storage device 20 that stores a posting page, and a load distribution device 30 B that distributes access to each server 10 are provided.
In the server load balancing system S C, load balancer 30 B, via the network N such as the Internet, a digital television receiver 50 1, page on the computer 50 2, for posts from the terminal 50 such as a mobile phone 50 3 Access to the server 10 is distributed to each server 10. At this time, when all of the servers 10 are accepting postings, the load distribution device 30 B distributes access from the terminal 50 to the sorry server 10 S so that the viewer is currently busy. There is a notification that the post cannot be accepted.
Such a technique that includes a plurality of servers and distributes the load on the servers is disclosed in, for example, Patent Document 1.
Japanese Patent Laying-Open No. 2006-79340 (paragraphs 0017 to 0027, FIG. 1)

前記したサーバ負荷分散システムS(図9)では、アクセス数のピークを想定し、そのピークにおける処理が可能な数のサーバを準備する必要がある。しかし、そのピークは一時的なものであるため、アクセスが平常状態になったときには、多くのサーバは、アクセスのない無駄なサーバとなってしまうという問題がある。
さらに、サーバ負荷分散システムSでは、各サーバに想定以上のアクセスがあった場合、各サーバは、過負荷に伴って、メモリの内容をハードディスクに書き出す、あるいは、ハードディスクから読み込むページング等が頻繁に発生するようになり、急激に応答時間が長くなってしまう。これによって、例えば、生放送の番組中に視聴者からの投稿を受け付けることができなくなってしまうという問題がある。
In the server load distribution system S B (FIG. 9) described above, it is necessary to prepare a number of servers capable of processing at the peak assuming the peak of the number of accesses. However, since the peak is temporary, there is a problem that many servers become useless servers without access when access becomes normal.
Furthermore, in the server load balancing system S B, if there is more than expected access each server, each server, with the overload, write the contents of the memory to the hard disk, or the like is frequently paging read from the hard disk Will occur, and the response time will become longer. Accordingly, for example, there is a problem that a post from a viewer cannot be accepted during a live broadcast program.

また、前記したサーバ負荷分散システムS(図10)では、ソーリーサーバを設け、ビジー状態を視聴者に通知することができるため、アクセス数のピークにおける処理が可能な数のサーバを準備する必要はない。ただし、想定以上のアクセスがあった場合、ソーリーサーバが応答してしまい、投稿されたデータを受け付けない状態が発生してしまうという問題がある。 In the server load distribution system S C (FIG. 10) described above, since a sorry server is provided to notify the viewer of the busy state, it is necessary to prepare a number of servers capable of processing at the peak number of accesses. There is no. However, there is a problem that when there is an access that exceeds the expected level, the sorry server responds and the posted data is not accepted.

本発明は、以上のような問題点に鑑みてなされたものであり、サーバの設置台数を抑えることが可能で、さらに、サーバの過負荷の発生を抑えることで、システム全体の停止を防止することが可能なアクセス負荷制御装置およびそのプログラム、ならびに、投稿受付システムを提供することを目的とする。 The present invention has been made in view of the above problems, and can reduce the number of installed servers. Further, the present invention prevents the entire system from being stopped by suppressing the occurrence of server overload. it is possible access load control equipment you and the program, as well as, an object of the present invention is to provide a post acceptance system.

本発明は、前記目的を達成するために創案されたものであり、まず、請求項1に記載のアクセス負荷制御装置は、ページを配信する複数のサーバを備え、ネットワークを介して要求された前記ページへのアクセスを、負荷分散装置により前記複数のサーバに分配して応答するサーバ負荷分散システムにおいて、前記複数のサーバが配信するページを、動的ページへのリンク先が記述されている第1静的ページと、前記動的ページへのリンク先が記述されていない第2静的ページとのいずれかに切り換えることで、前記サーバへのアクセス負荷を制御するアクセス負荷制御装置であって、負荷収集手段と、負荷解析手段と、配信ページ指示手段とを備え、前記負荷解析手段が、アクセス数解析手段と、配信サーバ数決定手段とを備える構成とした。 The present invention was devised to achieve the above object. First, an access load control device according to claim 1 includes a plurality of servers that distribute pages, and is requested via a network. access to the page, the server load balancing system to respond by distributing to the plurality of servers by the load balancer, a page of the plurality of server delivers, the links to dynamic pages is described 1 a static page, the links to dynamic pages is not described by switching to either of the second static page, an access load control device for controlling the access load on the server, a negative a load collecting unit, a load analysis unit, and a distribution page instructing means, the load analyzer means, and an access analysis unit, configured to include a distribution server number determining means .

かかる構成において、アクセス負荷制御装置は、負荷収集手段によって、複数のサーバから単位時間あたりのアクセス数を収集する In this configuration, the access load control device, the load collecting unit collects the number of access per unit time from a plurality of servers.

さらに、アクセス負荷制御装置は、負荷解析手段によって、負荷収集手段で収集した単位時間あたりのアクセス数に基づいて、1静的ページを配信する第1サーバの数を決定する。
なお、動的ページは、CGI(Common Gateway Interface)、java(登録商標)等で記述され、外部プログラムを起動させることで、データ入力やその応答を行うページである。また、静的ページは、HTML(HyperText Markup Language)等の言語で記述され、単に情報の提示のみを行うページである。このように、動的ページは、静的ページに比べてCPUパワー等を消費し、負荷が大きい。
また、第1静的ページは、動的ページへのリンク先が記述されているため、一旦、第1静的ページが公開されると、リンク先を選択されることで動的ページへ遷移してしまう。
Furthermore, the access load control device, the load analyzer, based on the number of accesses per unit collected by the load collecting unit time determines the number of first server that distributes the first static pages.
The dynamic page is a page that is described in CGI (Common Gateway Interface), Java (registered trademark), and the like, and is used to input data and respond by starting an external program. A static page is a page that is described in a language such as HTML (HyperText Markup Language) and that merely presents information. As described above, the dynamic page consumes CPU power and the like and has a larger load than the static page.
The first static pages, dynamic because the links to the page is written, once the first static page is published, a transition to the dynamic page that is selected landing End up.

そこで、アクセス負荷制御装置は、負荷解析手段のアクセス数解析手段によって、複数のサーバから収集した複数のサーバ全体の単位時間あたりのアクセス数において、第1静的ページを介して動的ページを配信するために使用する予め定めた負荷量の第1サーバ数分のアクセス数に応じた負荷量と、第2静的ページを配信するために使用する予め定めた負荷量の第2サーバ数分のアクセス数に応じた負荷量との和が、予め定めた複数のサーバ全体の負荷制限値以下となる第1サーバ数分のアクセス数を算出する。
すなわち、アクセス数解析手段は、アクセス数が多くサーバ全体の負荷が大きい場合、負荷の軽い第2静的ページを配信するサーバの割合を多くする。これによって、サーバ全体の負荷が軽減されることになる。また、アクセス数解析手段は、アクセス数が少なくサーバ全体の負荷が小さい場合、第1静的ページを配信するサーバの割合を多くする。これによって、アクセスに対して、動的ページを配信する割合を高めることになる。
そして、アクセス負荷制御装置は、負荷解析手段の配信サーバ数決定手段によって、アクセス数解析手段で算出された第1サーバ数分のアクセス数に応じた負荷量を、第1サーバが使用できる最大負荷量で除算することで、第1サーバの数を決定する。
Therefore, the access load control device distributes the dynamic page via the first static page in the number of accesses per unit time of the entire plurality of servers collected from the plurality of servers by the access number analyzing unit of the load analyzing unit. A load amount corresponding to the number of accesses corresponding to the number of first servers of a predetermined load amount to be used for the second load and a number of second servers corresponding to a predetermined load amount used for delivering the second static page The number of accesses corresponding to the number of first servers is calculated such that the sum of the load amount according to the number of accesses is equal to or less than a predetermined load limit value for the plurality of servers.
That is, the access number analysis means increases the ratio of servers that distribute the second static page with a light load when the number of accesses is large and the load on the entire server is large. As a result, the load on the entire server is reduced. Further, the access number analyzing means increases the ratio of the server that distributes the first static page when the number of accesses is small and the load on the entire server is small. This increases the ratio of delivering dynamic pages to access.
Then, the access load control device determines the maximum load that can be used by the first server by the distribution server number determination means of the load analysis means, according to the number of accesses corresponding to the number of first servers calculated by the access number analysis means. Divide by amount to determine the number of first servers.

また、請求項2に記載のアクセス負荷制御装置は、ページを配信する複数のサーバを備え、ネットワークを介して要求された前記ページへのアクセスを、負荷分散装置により前記複数のサーバに分配して応答するサーバ負荷分散システムにおいて、前記複数のサーバが配信するページを、動的ページへのリンク先が記述されている第1静的ページと、前記動的ページへのリンク先が記述されていない第2静的ページとのいずれかに切り換えることで、前記サーバへのアクセス負荷を制御するアクセス負荷制御装置であって、負荷収集手段と、負荷解析手段と、配信ページ指示手段とを備える構成とした。 The access load control device according to claim 2 includes a plurality of servers that distribute pages, and distributes access to the pages requested via a network to the plurality of servers by a load distribution device. In the server load balancing system that responds, the pages delivered by the plurality of servers are not described with respect to the first static page in which the link destination to the dynamic page is described and the link destination to the dynamic page. An access load control device for controlling an access load to the server by switching to any one of the second static pages, comprising a load collection means, a load analysis means, and a delivery page instruction means did.

かかる構成において、アクセス負荷制御装置は、負荷収集手段によって、複数のサーバから、当該サーバの負荷の状態を示す負荷量を定期的に収集する。そして、アクセス負荷制御装置は、負荷解析手段によって、負荷収集手段で収集した複数のサーバ全体の負荷量と、予め定めた前記複数のサーバ全体の負荷制限値とを比較し、負荷量が負荷制限値以上の場合、第1静的ページを配信する第1サーバの数を所定数減少させるとともに第2静的ページを配信する第2サーバの数を第1サーバの減少数分増加させ、負荷量が負荷制限値未満の場合、第1静的ページを配信する第1サーバの数を所定数増加させるとともに第2静的ページを配信する第2サーバの数を第1サーバの増加数分減少させて、第1サーバの数および第2サーバの数を決定する。
そして、アクセス負荷制御装置は、配信ページ指示手段によって、負荷解析手段で決定した第1サーバの数および第2サーバの数に基づいて、複数のサーバに対して、第1サーバとして第1静的ページを配信する旨の指示または第2サーバとして第2静的ページを配信する旨の指示を通知する。
In such a configuration, the access load control device periodically collects a load amount indicating a load state of the server from a plurality of servers by the load collecting means. The access load control device compares the load amounts of the plurality of servers collected by the load collection unit with the load limit values of the plurality of servers determined in advance by the load analysis unit, and the load amount is the load limit. If the value is greater than or equal to the value, the number of first servers that distribute the first static page is decreased by a predetermined number , and the number of second servers that distribute the second static page is increased by the number of decrease of the first server, and the load amount Is less than the load limit value, the number of first servers that distribute the first static page is increased by a predetermined number , and the number of second servers that distribute the second static page is decreased by the increased number of first servers. Thus, the number of first servers and the number of second servers are determined.
Then, the access load control device uses the distribution page instruction means as a first static server as a first server based on the number of first servers and the number of second servers determined by the load analysis means. An instruction to distribute the page or an instruction to distribute the second static page as the second server is notified.

また、請求項に記載のアクセス負荷制御プログラムは、ページを配信する複数のサーバを備え、ネットワークを介して要求された前記ページへのアクセスを、負荷分散装置により前記複数のサーバに分配して応答するサーバ負荷分散システムにおいて、前記複数のサーバが配信するページを、動的ページへのリンク先が記述されている第1静的ページと、動的ページへのリンク先が記述されていない第2静的ページとのいずれかに切り換えることで、前記サーバへのアクセス負荷を制御するために、アクセス負荷制御装置のコンピュータを、負荷収集手段、負荷解析手段、配信ページ指示手段として機能させることを特徴とする。 The access load control program according to claim 3 includes a plurality of servers that distribute pages, and distributes access to the pages requested via a network to the plurality of servers by a load balancer. in server load balancing system that responds, a page of the plurality of server delivers a first static page links to dynamic pages is described, not linked to the dynamic page is written first by switching to either of two static pages, to control access load on the server, the computer of the access load controller, the load collecting unit, the load analyzer, to function as a delivery page instructing means Features.

かかる構成において、アクセス負荷制御プログラムは、負荷収集手段によって、複数のサーバから単位時間あたりのアクセス数を収集する。
さらに、アクセス負荷制御プログラムは、負荷解析手段によって、負荷収集手段で収集した複数のサーバ全体の単位時間あたりのアクセス数に基づいて、第1静的ページを配信する第1サーバの数を決定する。
このとき、負荷解析手段は、複数のサーバから収集した複数のサーバ全体の単位時間あたりのアクセス数において、第1静的ページを介して動的ページを配信するために使用する予め定めた負荷量の第1サーバ数分のアクセス数に応じた負荷量と、第2静的ページを配信するために使用する予め定めた負荷量の第2サーバ数分のアクセス数に応じた負荷量との和が、予め定めた複数のサーバ全体の負荷制限値以下となる第1サーバ数分のアクセス数を算出し、当該第1サーバ数分のアクセス数に応じた負荷量を、第1サーバが使用できる最大負荷量で除算することで、第1サーバの数を決定する。
そして、アクセス負荷制御プログラムは、配信ページ指示手段によって、負荷解析手段で決定した第1サーバの数に基づいて、複数のサーバに対して、第1サーバとして第1静的ページを配信する旨の指示または第2サーバとして第2静的ページを配信する旨の指示を通知する。
なお、アクセス負荷制御プログラムは、アクセス負荷制御装置のコンピュータを、複数のサーバから、当該サーバの負荷の状態を示す負荷量を定期的に収集する負荷収集手段、この負荷収集手段で収集した複数のサーバ全体の負荷量と、予め定めた複数のサーバ全体の負荷制限値とを比較し、負荷量が負荷制限値以上の場合、第1静的ページを配信する第1サーバの数を所定数減少させるとともに第2静的ページを配信する第2サーバの数を第1サーバの減少数分増加させ、負荷量が負荷制限値未満の場合、第1静的ページを配信する第1サーバの数を所定数増加させるとともに第2静的ページを配信する第2サーバの数を第1サーバの増加数分減少させて、第1サーバの数および第2サーバの数を決定する負荷解析手段、この負荷解析手段で決定した第1サーバの数および第2サーバの数に基づいて、複数のサーバに対して、第1サーバとして第1静的ページを配信する旨の指示または第2サーバとして第2静的ページを配信する旨の指示を通知する配信ページ指示手段、として機能させることとしてもよい(請求項4)。
In such a configuration, the access load control program collects the number of accesses per unit time from a plurality of servers by the load collecting means.
Furthermore, the access load control program determines the number of first servers that deliver the first static page based on the number of accesses per unit time of the plurality of servers as a whole collected by the load collection unit by the load analysis unit. .
At this time, the load analyzing means uses a predetermined load amount used for distributing the dynamic page via the first static page in the number of accesses per unit time of the plurality of servers collected from the plurality of servers . The sum of the load amount according to the number of accesses for the number of first servers and the load amount according to the number of accesses for the number of second servers of a predetermined load amount used for delivering the second static page However, the first server can use the load amount corresponding to the number of accesses corresponding to the number of first servers by calculating the number of accesses corresponding to the number of first servers that is equal to or less than the predetermined load limit value of the plurality of servers. The number of first servers is determined by dividing by the maximum load amount.
The access load control program distributes the first static page as a first server to a plurality of servers based on the number of first servers determined by the load analysis unit by the distribution page instruction unit. An instruction or an instruction to distribute the second static page as the second server is notified.
The access load control program causes a computer of the access load control device, a plurality of servers, load collection means for periodically collects load indicating the state of loading of the server, a plurality of collected in this load collecting means The load amount of the entire server is compared with the load limit values of a plurality of predetermined servers. If the load amount is equal to or greater than the load limit value, the number of first servers that deliver the first static page is decreased by a predetermined number. And increasing the number of second servers that deliver the second static page by the number of reductions of the first server, and if the load amount is less than the load limit value, the number of first servers that deliver the first static page is the number of second server reduces the number increased minutes first server that distributes second static pages with increasing predetermined number, the load analyzer means for determining the number of numbers and the second server of the first server, the load Analytical means Based on the determined number of first servers and the number of second servers, an instruction to distribute the first static page as the first server or the second static page as the second server to a plurality of servers. It may be made to function as a delivery page instruction means for notifying an instruction to deliver (claim 4).

さらに、請求項に記載の投稿受付システムは、投稿を受け付ける動的ページへのリンク先が記述されている第1静的ページと、前記動的ページへのリンク先が記述されていない第2静的ページとのいずれかにを切り換えてを配信する複数のサーバを備え、ネットワークを介して要求された前記動的ページへのアクセスを、負荷分散装置により前記複数のサーバに分配して応答する投稿受付システムであって、前記サーバの負荷を制御するアクセス負荷制御装置を備え、前記アクセス負荷制御装置が、負荷収集手段と、負荷解析手段と、配信ページ指示手段とを備え、前記負荷解析手段が、アクセス数解析手段と、配信サーバ数決定手段とを備える構成とした。 Furthermore, the posting acceptance system according to claim 5 includes a first static page in which a link destination to a dynamic page that accepts posting is described, and a second static page in which a link destination to the dynamic page is not described. A plurality of servers that switch to one of the static pages and distribute the response, and access to the dynamic page requested via the network is distributed to the plurality of servers by the load balancer and responds a post accepting system includes an access load control device for controlling the load of the server, the access load control device comprises a load collecting unit, a load analysis unit, and a distribution page instructing means, the load analysis The means includes an access number analyzing means and a distribution server number determining means .

かかる構成において、投稿受付システムは、アクセス負荷制御装置の負荷収集手段によって、複数のサーバから単位時間あたりのアクセス数を収集する。
さらに、投稿受付システムは、アクセス負荷制御装置の負荷解析手段によって、負荷収集手段で収集した複数のサーバ全体の単位時間あたりのアクセス数に基づいて、第1静的ページを配信する第1サーバの数を決定する。
このとき、投稿受付システムは、負荷解析手段のアクセス数解析手段によって、複数のサーバから収集した複数のサーバ全体の単位時間あたりのアクセス数において、第1静的ページを介して動的ページを配信するために使用する予め定めた負荷量の第1サーバ数分のアクセス数に応じた負荷量と、第2静的ページを配信するために使用する予め定めた負荷量の第2サーバ数分のアクセス数に応じた負荷量との和が、予め定めた複数のサーバ全体の負荷制限値以下となる第1サーバ数分のアクセス数を算出する。
そして、投稿受付システムは、負荷解析手段の配信サーバ数決定手段によって、アクセス数解析手段で算出された第1サーバ数分のアクセス数に応じた負荷量を、第1サーバが使用できる最大負荷量で除算することで、第1サーバの数を決定する。
In such a configuration, the posting acceptance system collects the number of accesses per unit time from a plurality of servers by the load collection means of the access load control device.
Furthermore, the posting acceptance system includes a first server that distributes the first static page based on the number of accesses per unit time of the entire plurality of servers collected by the load collecting unit by the load analyzing unit of the access load control device. Determine the number.
At this time, the posting acceptance system distributes the dynamic page via the first static page in the number of accesses per unit time of the plurality of servers collected from the plurality of servers by the access number analysis unit of the load analysis unit. A load amount corresponding to the number of accesses corresponding to the number of first servers of a predetermined load amount to be used for the second load and a number of second servers corresponding to a predetermined load amount used for delivering the second static page The number of accesses corresponding to the number of first servers is calculated such that the sum of the load amount according to the number of accesses is equal to or less than a predetermined load limit value for the entire plurality of servers.
Then, the posting acceptance system determines the maximum load amount that the first server can use the load amount corresponding to the number of accesses for the first server number calculated by the access number analyzing unit by the distribution server number determining unit of the load analyzing unit. The number of first servers is determined by dividing by.

そして、投稿受付システムは、アクセス負荷制御装置の配信ページ指示手段によって、負荷解析手段で決定した第1サーバの数に基づいて、複数のサーバに対して、第1サーバとして第1静的ページを配信する旨の指示または第2サーバとして第2静的ページを配信する旨の指示を通知する。
これによって、動的ページである投稿を受け付けるページを配信するサーバの数を調整することができる。
なお、投稿受付システムは、アクセス負荷制御装置を、複数のサーバから、当該サーバの負荷の状態を示す負荷量を定期的に収集する負荷収集手段と、この負荷収集手段で収集した複数のサーバ全体の負荷量と、予め定めた複数のサーバ全体の負荷制限値とを比較し、負荷量が負荷制限値以上の場合、第1静的ページを配信する第1サーバの数を所定数減少させるとともに第2静的ページを配信する第2サーバの数を第1サーバの減少数分増加させ、負荷量が負荷制限値未満の場合、第1静的ページを配信する第1サーバの数を所定数増加させるとともに第2静的ページを配信する第2サーバの数を第1サーバの増加数分減少させて、第1サーバの数および第2サーバの数を決定する負荷解析手段と、この負荷解析手段で決定した第1サーバの数および第2サーバの数に基づいて、複数のサーバに対して、第1サーバとして第1静的ページを配信する旨の指示または第2サーバとして第2静的ページを配信する旨の指示を通知する配信ページ指示手段と、を備える構成としてもよい(請求項6)。
Then, the posting acceptance system provides the first static page as the first server to a plurality of servers based on the number of first servers determined by the load analysis means by the distribution page instruction means of the access load control device. An instruction to distribute or an instruction to distribute the second static page as the second server is notified.
As a result, the number of servers that distribute pages that accept posts that are dynamic pages can be adjusted.
Incidentally, post accepting system, the access load control device, a plurality of servers, across multiple servers and load collecting unit, collected in the load collection means for periodically collects load indicating the state of loading of the server When the load amount is equal to or greater than the load limit value, the number of first servers that distribute the first static page is decreased by a predetermined number. When the number of second servers that distribute the second static page is increased by the number of decrease of the first server and the load amount is less than the load limit value, the predetermined number of the first servers that distribute the first static page Load analysis means for determining the number of first servers and the number of second servers by increasing the number of second servers that distribute the second static page and decreasing the number of first servers, and the load analysis First server determined by means Based on the number and the number of second servers, an instruction to distribute the first static page as the first server or an instruction to distribute the second static page as the second server to a plurality of servers It is good also as a structure provided with the delivery page instruction | indication means to notify (Claim 6).

本発明は、以下に示す優れた効果を奏するものである。
請求項1〜4に記載の発明によれば、サーバ負荷分散システムに対して、アクセスが集中した場合であっても、動的ページへのリンク先が記述されている静的ページを配信するサーバの数を少なくすることで、システム内におけるサーバ全体の負荷を抑えることができ、システムダウンを防止することができる。また、本発明によれば、アクセス数が減少した場合は、動的ページへのリンク先が記述されている静的ページを配信するサーバの数を増やすことで、アクセス数に応じた動的ページの配信を行わせることが可能になる。さらに、本発明によれば、サーバ負荷分散システムにアクセスが集中する場合であっても、動的ページを配信するサーバの数を調整することができるため、サーバの設置台数を抑えることができる。
The present invention has the following excellent effects.
According to the first to fourth aspects of the present invention, a server that distributes a static page in which a link destination to a dynamic page is described even when access is concentrated to the server load balancing system. By reducing the number of servers, it is possible to suppress the load on the entire server in the system and to prevent the system from going down. Further, according to the present invention, when the number of accesses decreases, the number of servers that deliver static pages in which links to dynamic pages are described is increased, so that the dynamic pages according to the number of accesses Can be delivered. Furthermore, according to the present invention, even when access is concentrated in the server load distribution system, the number of servers that distribute dynamic pages can be adjusted, so that the number of installed servers can be suppressed.

請求項1,3に記載の発明によれば、負荷量に基づいて、動的ページへのリンク先が記述されている第1の静的ページを配信するサーバの数や、動的ページへのリンク先が記述されていない第2の静的ページを配信するサーバの数を決定するため、複数のサーバに対して、いずれか一方のサーバへの移行指示を一度に通知することができ、アクセス数の急激な変化に柔軟に対応することができる。 According to the first and third aspects of the invention, based on the load amount, the number of servers that deliver the first static page in which the link destination to the dynamic page is described, In order to determine the number of servers that deliver the second static page for which the link destination is not described, it is possible to notify a plurality of servers of a transition instruction to one of the servers at a time, and access It can respond flexibly to sudden changes in numbers.

請求項2,4に記載の発明によれば、負荷収集手段で収集した負荷量と、システム内におけるサーバ全体の負荷制限値とに基づいて、システムが過負荷であるか否かを判定する簡単な構成であるため、その判定結果に基づく、サーバへの切り替え指示を素早く行うことができる。 According to the second and fourth aspects of the invention, it is easy to determine whether the system is overloaded based on the load amount collected by the load collecting means and the load limit value of the entire server in the system. Therefore, it is possible to promptly switch to the server based on the determination result.

請求項5,6に記載の発明によれば、投稿を受け付ける際に、一度にアクセスが集中した場合であっても、投稿を受け付けるページにアクセス可能なサーバの数を少なくすることで、システム内におけるサーバ全体の負荷を抑えることができ、システムダウンを防止することができる。また、本発明によれば、アクセス数が減少した場合は、投稿を受け付けるページにアクセス可能なサーバの数を増やすことで、アクセス数に応じて投稿を受け付けることが可能になる。さらに、本発明によれば、投稿受付システムにアクセスが集中する場合であっても、投稿を受け付けるサーバの数を調整することができるため、サーバの設置台数を抑えることができる。 According to the fifth and sixth aspects of the present invention, even when access is concentrated at one time when accepting a post, the number of servers that can access a page that accepts a post is reduced. It is possible to reduce the load on the entire server and to prevent the system from going down. Further, according to the present invention, when the number of accesses decreases, it is possible to accept posts according to the number of accesses by increasing the number of servers that can access pages that accept posts. Furthermore, according to the present invention, the number of servers installed can be suppressed because the number of servers that accept posts can be adjusted even when access concentrates on the posting acceptance system.

以下、本発明の実施の形態について図面を参照して説明する。
[投稿受付システム(サーバ負荷分散システム)の構成]
最初に、図1を参照して、本発明に係るアクセス負荷制御装置を含む投稿受付システム(サーバ負荷分散システム)の構成について説明を行う。図1は、投稿受付システムの構成を示すブロック図である。この投稿受付システムSは、インターネットを介して、放送番組を視聴している視聴者からの投稿を受け付けるものである。
Hereinafter, embodiments of the present invention will be described with reference to the drawings.
[Configuration of the submission acceptance system (server load balancing system)]
First, with reference to FIG. 1, the configuration of a posting acceptance system (server load distribution system) including an access load control device according to the present invention will be described. FIG. 1 is a block diagram showing the configuration of the posting acceptance system. The posting acceptance system S accepts postings from viewers who are watching broadcast programs via the Internet.

図1に示すように、投稿受付システムSは、複数のサーバ10(10,10,…,10)と、ページ情報記憶装置20と、負荷分散装置30と、アクセス負荷制御装置40とを備えている。なお、投稿受付システムSは、インターネット等のネットワークNを介して、デジタルテレビ受信機50、パーソナルコンピュータ50、携帯電話50等の端末50からの要求(投稿)を受け付ける。 As shown in FIG. 1, the posting acceptance system S includes a plurality of servers 10 (10 1 , 10 2 ,..., 10 n ), a page information storage device 20, a load distribution device 30, and an access load control device 40. It has. The posting acceptance system S accepts a request (posting) from the terminal 50 such as the digital television receiver 50 1 , the personal computer 50 2 , and the mobile phone 50 3 via the network N such as the Internet.

サーバ10は、ネットワークNを介して、端末50からの要求を受け付けるとともに、Webページを配信するWebサーバである。このサーバ10は、端末50からアクセスがあった場合、投稿を受け付けるための複数のWebページを配信する。
また、サーバ10は、負荷量(例えば、端末50からの単位時間当たりのアクセス数、CPU使用率等)を、負荷分散装置30とアクセス負荷制御装置40に通知する。そして、サーバ10は、アクセス負荷制御装置40から指示されたWebページ(後記する投稿予告ページまたは投稿募集ページ)を、端末50からアクセスがあった際に配信する。
The server 10 is a Web server that accepts a request from the terminal 50 via the network N and distributes a Web page. When accessed from the terminal 50, the server 10 delivers a plurality of Web pages for accepting posts.
Further, the server 10 notifies the load distribution device 30 and the access load control device 40 of the load amount (for example, the number of accesses from the terminal 50 per unit time, the CPU usage rate, etc.). Then, the server 10 distributes a Web page (post notice preview page or post recruitment page described later) instructed from the access load control device 40 when the terminal 50 is accessed.

ここで、図2を参照(適宜図1参照)して、サーバ10が配信するWebページについて説明する。図2は、サーバが配信するWebページの内容を説明するための説明図である。
ここでは、サーバ10は、端末50からの最初のアクセスに対し、投稿予告ページ(図2(a))、または、投稿受付ページへのリンク先を記述した投稿募集ページ(図2(b))のいずれかを配信することとする。
Here, the Web page distributed by the server 10 will be described with reference to FIG. 2 (refer to FIG. 1 as appropriate). FIG. 2 is an explanatory diagram for explaining the contents of a Web page distributed by the server.
Here, for the first access from the terminal 50, the server 10 submits a posting notice page (FIG. 2A) or a posting recruitment page describing a link destination to the posting acceptance page (FIG. 2B). Any one of the above shall be distributed.

ここで、投稿予告ページは、図2(a)に示すように、投稿開始の日時等の予告を記述したWebページである。この投稿予告ページは、HTML等の言語で記述され、単に情報の提示のみを行う静的ページ(第2の静的ページ)である。
また、投稿募集ページは、図2(b)に示すように、HTML等の言語で記述された静的ページ(第1の静的ページ)であって、投稿を受け付ける投稿受付ページへのリンク先が記述されている。
なお、この投稿予告ページおよび投稿募集ページは、同一のアドレスであって、各サーバ10が、アクセス負荷制御装置40からの指示に基づいて、いずれか一方のページを配信する。
Here, as shown in FIG. 2A, the posting notice page is a Web page describing a notice such as the date and time of posting start. This posting notice page is a static page (second static page) that is described in a language such as HTML and that simply presents information.
In addition, as shown in FIG. 2B, the posting recruitment page is a static page (first static page) described in a language such as HTML, and is a link destination to a posting acceptance page that accepts postings. Is described.
The posting notice page and the posting solicitation page have the same address, and each server 10 delivers one of the pages based on an instruction from the access load control device 40.

また、投稿受付ページは、図2(c)に示すように、投稿募集ページにリンクが張られており、例えば、投稿募集ページの「送信ボタン」をマウス等で押下されることで起動される。この投稿受付ページは、CGI(Common Gateway Interface)、java(登録商標)等で記述され、外部プログラムを起動させることで、端末50からのデータ入力やその応答を行う動的なページである。図2では、投稿受付ページは、「送信ボタン」が押下されてから、投稿欄等に記載されている内容を受信して、投稿完了ページ(図2(d))を表示するまでの動作を行うこととしている。   Further, as shown in FIG. 2C, the posting acceptance page is linked to the posting solicitation page, and is activated, for example, by pressing a “send button” on the posting solicitation page with a mouse or the like. . This posting acceptance page is a dynamic page that is described in CGI (Common Gateway Interface), Java (registered trademark), and the like, and inputs data from the terminal 50 and responds to it by starting an external program. In FIG. 2, the posting acceptance page is the operation from when the “Send button” is pressed until the content described in the posting column etc. is received and the posting completion page (FIG. 2 (d)) is displayed. To do.

以降では、投稿予告ページの配信を指示されたサーバを「投稿予告サーバ」、投稿募集ページの配信を指示されたサーバを「投稿募集サーバ」と呼ぶこととする。
図1に戻って、投稿受付システムSの構成について説明を続ける。
Hereinafter, the server instructed to deliver the posting notice page will be referred to as “post notice server”, and the server instructed to deliver the contribution solicitation page will be referred to as “post recruiting server”.
Returning to FIG. 1, the description of the configuration of the posting acceptance system S will be continued.

ページ情報記憶装置20は、サーバ10がWebページを配信する際のページ情報を記憶しておくものであって、ハードディスク等の一般的な記憶装置である。ここで、ページ情報とは、HTML等で記述された静的なWebページ、CGI等で記述された動的なWebページである。なお、ページ情報記憶装置20は、視聴者から投稿された情報を記憶しておくものでもある。   The page information storage device 20 stores page information when the server 10 distributes Web pages, and is a general storage device such as a hard disk. Here, the page information is a static Web page described in HTML or the like, or a dynamic Web page described in CGI or the like. The page information storage device 20 also stores information posted by viewers.

負荷分散装置30は、端末50からのアクセスを、サーバ10(10,10,…,10)に分配するものである。この負荷分散装置30は、一般的なロードバランサであって、通信系統の一方をネットワークNに接続し、他方をサーバ10(10,10,…,10)が接続されているローカルなネットワークに接続し、端末50からのアクセスを順次サーバ10(10,10,…,10)に分配する。なお、負荷分散装置30は、サーバ10から通知される負荷量に応じて、端末50からのアクセスを各サーバ10に分配するものであってもよい。 The load balancer 30 distributes access from the terminal 50 to the servers 10 (10 1 , 10 2 ,..., 10 n ). This load balancer 30 is a general load balancer, and one of the communication systems is connected to the network N, and the other is a local load machine connected to the servers 10 (10 1 , 10 2 ,..., 10 n ). Connected to the network, access from the terminal 50 is sequentially distributed to the servers 10 (10 1 , 10 2 ,..., 10 n ). Note that the load distribution device 30 may distribute the access from the terminal 50 to each server 10 in accordance with the load amount notified from the server 10.

アクセス負荷制御装置40は、サーバ10の負荷状況に基づいて、各サーバ10が配信するWebページを決定し、各サーバ10の負荷を調整するものである。
通常、動的なページである投稿受付ページの動作は、静的なページの配信に比べて、サーバ10にかかる負荷が大きい。そこで、アクセス負荷制御装置40は、サーバ10(10,10,…,10)全体にかかる負荷が大きい場合は、動的な投稿受付ページへのリンク先を記述した投稿募集ページを配信する投稿募集サーバの数を制限し、他のサーバが投稿受付ページへのリンク先を記述していない静的な投稿予告ページを配信する投稿予告サーバとなるように制御する。そして、アクセス負荷制御装置40は、サーバ10(10,10,…,10)全体にかかる負荷が小さくなるにつれて、投稿募集サーバの数を増やすように制御する。
The access load control device 40 determines a Web page distributed by each server 10 based on the load status of the server 10 and adjusts the load on each server 10.
Usually, the operation of the posting acceptance page, which is a dynamic page, places a greater load on the server 10 than the static page distribution. Therefore, when the load on the entire server 10 (10 1 , 10 2 ,..., 10 n ) is large, the access load control device 40 distributes a posting recruitment page describing a link destination to a dynamic posting acceptance page. The number of posting recruitment servers is limited, and control is performed so that another server becomes a posting notice server that distributes a static contribution notice page that does not describe a link destination to the contribution acceptance page. Then, the access load control device 40 controls to increase the number of posting recruitment servers as the load on the entire server 10 (10 1 , 10 2 ,..., 10 n ) decreases.

これによって、投稿受付システムSは、一時的にサーバ10にアクセスが集中した場合であっても、システム全体として処理可能なWebページを配信することができ、ページング等による急激に応答時間が長くなってしまう状態を回避することができる。
このように、投稿受付システムSは、確実に投稿を受け付けるサーバ10を確保することができるため、生放送中に投稿を受け付ける場合であっても、遅滞なく、一定量の投稿を確保することができ、番組進行に支障を与えることがない。
As a result, the posting acceptance system S can deliver a Web page that can be processed as a whole system even when access is temporarily concentrated on the server 10, and the response time is abruptly increased due to paging or the like. Can be avoided.
Thus, since the posting acceptance system S can secure the server 10 that reliably accepts postings, even when accepting postings during live broadcasting, a certain amount of postings can be secured without delay. The program will not be disturbed.

[投稿受付システム(サーバ負荷分散システム)の動作]
次に、図3を参照(適宜図1参照)して、本発明に係るアクセス負荷制御装置を含む投稿受付システム(サーバ負荷分散システム)の動作概要について説明を行う。図3は、投稿受付システムの動作概要を説明するためのシーケンス図である。
[Operation of submission acceptance system (server load balancing system)]
Next, referring to FIG. 3 (refer to FIG. 1 as appropriate), an outline of the operation of the posting acceptance system (server load distribution system) including the access load control apparatus according to the present invention will be described. FIG. 3 is a sequence diagram for explaining the outline of the operation of the posting acceptance system.

まず、投稿受付システムSは、番組を放送する放送局(操作担当者)からの指示(あるいは予め定めた時刻)に基づいて、アクセス負荷制御装置40によって、予め定めた初期台数分のサーバ(ここでは、サーバ10とする)に対して、配信するWebページを、投稿募集ページとする旨の指示(投稿募集サーバへの移行指示)を通知する(ステップS1)。また、投稿受付システムSは、ステップS1で通知したサーバ以外のサーバ(ここでは、サーバ10とする)に対して、配信するWebページを、投稿予告ページとするする旨の指示(投稿予告サーバへの移行指示)を通知する(ステップS2)。 First, the posting acceptance system S uses a predetermined initial number of servers (here) by the access load control device 40 based on an instruction (or a predetermined time) from a broadcasting station (operator in charge) that broadcasts a program. in, the server 10 1 against), a Web page to deliver, notifies of instructions to the post Wanted page (instruction to shift to the post recruitment server) (step S1). In addition, the post accepting system S, the server other than the notification server (in this case, the server 10 2) in step S1 with respect to, a Web page to deliver, instruction to the post notice page (post notice server (Instruction to shift to) is notified (step S2).

その後、サーバ10は、ページ情報記憶装置20から、投稿募集ページのページ情報を取得する(ステップS3)。また、サーバ10は、ページ情報記憶装置20から、投稿予告ページのページ情報を取得する(ステップS4)。 Thereafter, the server 10 1 from the page information storage device 20, and acquires the page information of Submissions page (step S3). The server 10 2, from the page information storage device 20, and acquires the page information posted notice page (Step S4).

ここで、放送局から放送を介して、投稿が呼びかけられたとする(ステップS5)。
すると、視聴者側の端末50から、投稿を行うためのページ要求が、インターネットを介して、負荷分散装置30を通してサーバ10に送信される(ステップS6)。そして、サーバ10が投稿募集ページを端末50に配信し(ステップS7)、端末50において視聴者が投稿を入力することで、その投稿内容が、サーバ10に送信される(ステップS8)。
このとき、他の端末50から、投稿を行うためのページ要求がサーバ10に要求されると(ステップS9)、サーバ10が投稿予告ページを端末50に配信する(ステップS10)。
なお、端末50(50、50)から要求がある間、アクセス負荷制御装置40は、各サーバ10,10の負荷状態を監視する(ステップS11)。
Here, it is assumed that a posting is called from a broadcasting station via broadcasting (step S5).
Then, the terminal 50 1 of the viewer's side, a page request to perform post, via the Internet, is transmitted to the server 10 1 through the load balancer 30 (step S6). Then, the server 10 1 distributes Submissions page to the terminal 50 1 (step S7), and that the viewer in the terminal 50 1 is input post, the posted content is transmitted to the server 10 1 (step S8 ).
At this time, from another terminal 50 2, a page request for performing post is required to the server 10 2 (step S9), and the server 10 2 distributes post announcement page to the terminal 50 2 (step S10).
While there is a request from the terminal 50 (50 1 , 50 2 ), the access load control device 40 monitors the load state of each of the servers 10 1 , 10 2 (step S11).

その後、アクセス負荷制御装置40が、各サーバ10,10にかかる負荷が小さくなるにつれて、投稿予告サーバとなっているサーバ10に対して、配信するWebページを、投稿予告ページから投稿募集ページに更新する旨の指示(投稿募集サーバへの移行指示)を通知する(ステップS12)。
その後、サーバ10は、ページ情報記憶装置20から、投稿募集ページのページ情報を取得することで投稿募集サーバへ移行する(ステップS13)。
Thereafter, the access load control device 40, as the load applied to each server 10 1, 10 2 is reduced, the server 10 2 that is the post notice server, a Web page to be distributed, post recruited from post notice page An instruction to update the page (instruction to transfer to the posting recruitment server) is notified (step S12).
Thereafter, the server 10 2, from the page information storage device 20, the process proceeds to Submissions server by acquiring the page information Submissions page (step S13).

以上説明したように、投稿受付システムSは、各サーバ10にかかる負荷の状態に応じて、投稿を受け付けるサーバの数を増減させることで、サーバ全体が過負荷とならないように制御しながら動作する。
以下、本発明に係るアクセス負荷制御装置について、その構成および動作について詳述する。
As described above, the posting acceptance system S operates while controlling so that the entire server is not overloaded by increasing or decreasing the number of servers that accept postings according to the state of the load on each server 10. .
Hereinafter, the configuration and operation of the access load control apparatus according to the present invention will be described in detail.

[アクセス負荷制御装置の構成:第1実施形態]
まず、図4を参照して、アクセス負荷制御装置40の構成について説明する。図4は、本発明の第1実施形態に係るアクセス負荷制御装置の構成を示すブロック図である。
図4に示すように、アクセス負荷制御装置40は、通信制御手段41と、記憶手段42と、負荷収集手段43と、負荷解析手段44と、配信ページ指示手段45と、終了判定手段46とを備えている。
[Configuration of Access Load Control Device: First Embodiment]
First, the configuration of the access load control device 40 will be described with reference to FIG. FIG. 4 is a block diagram showing the configuration of the access load control device according to the first embodiment of the present invention.
As shown in FIG. 4, the access load control device 40 includes a communication control unit 41, a storage unit 42, a load collection unit 43, a load analysis unit 44, a delivery page instruction unit 45, and an end determination unit 46. I have.

通信制御手段41は、サーバ10に負荷量の通知を要求する指示や、どのWebページを配信するのかを示す指示を送信したり、サーバ10から負荷量を受信したりするものである。   The communication control unit 41 transmits an instruction for requesting the server 10 to notify the load amount, an instruction indicating which Web page is to be distributed, and receives the load amount from the server 10.

記憶手段42は、負荷状態を解析するために必要となる種々の負荷関連情報を記憶するものであって、ハードディスク等の一般的な記憶装置である。
ここでは、記憶手段42には、各サーバ10に対して、どのWebページの配信を指示しているのか示す配信指示情報を記憶しておく。なお、ここでいうWebページは、投稿予告ページおよび投稿募集ページである。
The storage means 42 stores various load-related information necessary for analyzing the load state, and is a general storage device such as a hard disk.
Here, the storage means 42 stores distribution instruction information indicating which Web page is instructed to be delivered to each server 10. Note that the Web page here is a posting notice page and a posting recruitment page.

また、記憶手段42には、サーバ10(10,10,…,10)全体の負荷の制限値である負荷制限値を記憶しておく。例えば、サーバ10が使用できる最大のCPU使用率を、サーバ10の台数分だけ合計した値を負荷制限値として記憶しておく。もちろん、この負荷制限値は、CPU使用率のみならず、メモリ使用量等、負荷の指標となるものであればよい。
さらに、記憶手段42には、サーバ10(10,10,…,10)が、Webページを配信する際にかかる負荷量(配信負荷量)を記憶しておく。例えば、予め各サーバ10が、投稿予告ページを配信する際にかかる負荷量や、投稿募集ページを配信し、投稿受付ページが動作する際にかかる負荷量を配信負荷量として記憶しておく。この配信負荷量は、例えば、CPU使用量、メモリ使用量等である。
The storage means 42 stores a load limit value that is a limit value of the load of the entire server 10 (10 1 , 10 2 ,..., 10 n ). For example, a value obtained by totaling the maximum CPU usage rate that can be used by the server 10 by the number of servers 10 is stored as a load limit value. Of course, this load limit value is not limited to the CPU usage rate, but may be a load index such as a memory usage amount.
Further, the storage means 42 stores a load amount (distribution load amount) applied when the server 10 (10 1 , 10 2 ,..., 10 n ) distributes the Web page. For example, each server 10 stores in advance the amount of load applied when the posting notice page is distributed or the posting solicitation page, and the amount of load applied when the posting acceptance page operates as the distribution load amount. The distribution load amount is, for example, a CPU usage amount, a memory usage amount, or the like.

負荷収集手段43は、通信制御手段41を介して、サーバ10(10,10,…,10)の現時点における負荷の状態を示す負荷量(動作負荷量)を収集するものである。この負荷収集手段43は、動作負荷量として、単位時間あたりのアクセス数を収集するものとする。
ここでは、負荷収集手段43は、定期的(例えば、1秒間隔)に、各サーバ10に動作負荷量の通知を要求し、各サーバ10から動作負荷量を収集する。この収集した動作負荷量は、負荷解析手段44に出力される。
The load collection unit 43 collects a load amount (operation load amount) indicating a current load state of the server 10 (10 1 , 10 2 ,..., 10 n ) via the communication control unit 41. This load collecting means 43 collects the number of accesses per unit time as the operation load.
Here, the load collection unit 43 requests the server 10 to notify the operation load amount periodically (for example, at intervals of 1 second), and collects the operation load amount from each server 10. The collected operating load is output to the load analysis unit 44.

負荷解析手段44は、負荷収集手段43で収集した負荷量(動作負荷量)に基づいて、各サーバ10の負荷状態を解析し、各サーバ10において、投稿予告ページまたは投稿募集ページのいずれを配信するのかを制御するものである。ここでは、負荷解析手段44は、アクセス数解析手段44aと、配信サーバ数決定手段44bとを備えている。   The load analysis unit 44 analyzes the load state of each server 10 based on the load amount (operation load amount) collected by the load collection unit 43, and distributes either the posting notice page or the posting recruitment page in each server 10. It controls what to do. Here, the load analysis unit 44 includes an access number analysis unit 44a and a distribution server number determination unit 44b.

アクセス数解析手段44aは、単位時間あたりのアクセス数に基づいて、サーバ10全体で過負荷とならない投稿予告サーバと投稿募集サーバとのアクセス数の割合を算出するものである。なお、アクセス数解析手段44aは、サーバ10全体で過負荷とならない範囲で最大の投稿募集ページを配信するように、アクセス数の割合を算出する。   The number-of-access analysis means 44a calculates the ratio of the number of accesses between the posting notice server and the posting recruitment server that do not overload the entire server 10 based on the number of accesses per unit time. The number-of-accesses analysis unit 44a calculates the ratio of the number of accesses so as to distribute the maximum contribution solicitation page within a range where the entire server 10 does not become overloaded.

ここで、アクセス数解析手段44aにおけるアクセス数の割合を算出する手法について、数式を用いて具体的に説明する。
なお、ここでは、説明を簡略化するため、すべてのサーバ10は同一性能であるとし、現時点におけるシステム全体のアクセス数をP件、サーバ10の数をn台、サーバ10が投稿募集ページ(投稿受付ページを含む)を配信するために使用するCPU使用率をU%、投稿予告ページを配信するために使用するCPU使用率をU%、1台のサーバ10が使用できる最大のCPU使用率をUMAX%とする。
ここで、アクセス数に対して投稿受付ページを配信する件数をk件とすると、サーバ10全体が過負荷にならない条件として、CPU使用率[%]に関して、以下の(1)式を満たせばよいことになる。
k×U+(P−k)×U≦UMAX×n …(1)
Here, the method of calculating the ratio of the number of accesses in the access number analyzing means 44a will be specifically described using mathematical expressions.
Here, in order to simplify the explanation, it is assumed that all servers 10 have the same performance, the number of accesses of the entire system at the present time is P, the number of servers 10 is n, and the server 10 is a posting recruitment page (posts) CPU usage rate used to deliver (including reception pages) is U A %, CPU usage rate used to deliver the posting notice page is U B %, and the maximum CPU usage that can be used by one server 10 The rate is U MAX %.
Here, when the number of posting acceptance pages distributed to the number of accesses is k, as a condition that the entire server 10 does not become overloaded, the following equation (1) may be satisfied with respect to the CPU usage rate [%]. It will be.
k × U A + (P−k) × U B ≦ U MAX × n (1)

例えば、アクセス数(P)を2000件、サーバ10の数(n)を10台、サーバ10が投稿募集ページ(投稿受付ページを含む)を配信するために使用するCPU使用率(U)を2%、投稿予告ページを配信するために使用するCPU使用率(U)を0.2%、1台のサーバ10がページを配信するために使用できる最大のCPU使用率(UMAX)を80%とすると、前記(1)式より、投稿募集ページを配信する件数(k)は、以下の(2)式を満たせばよい。
k≦222 …(2)
For example, the number of accesses (P) is 2000, the number (n) of the servers 10 is 10, and the CPU usage rate (U A ) used by the server 10 to deliver the posting recruitment page (including the posting acceptance page). 2%, the CPU usage rate (U B ) used to deliver the posting notice page is 0.2%, and the maximum CPU usage rate (U MAX ) that one server 10 can use to deliver the page Assuming 80%, the number (k) of distribution of the posting recruitment page may satisfy the following formula (2) from the formula (1).
k ≦ 222 (2)

この場合、2000件を10台のサーバ10で処理することから、1台のサーバ10の平均処理件数は、200件/台となる。よって、この200件の内訳は、22.2件(=200×222/2000)を投稿募集ページ(投稿受付ページを含む)で、残りの177.8件を投稿予告ページで処理すればよい。このように算出されたアクセス数の割合は、配信サーバ数決定手段44bに出力される。
なお、ここでは、一例として、CPU使用率を負荷量として使用したが、サーバ10の負荷を計測可能な量であれば、CPU使用率に限定されるものではなく、例えば、メモリ使用量、プロセス実行時間等、あるいはそれらの組み合わせ(加重平均等)を使用してもよい。
In this case, since 2,000 cases are processed by ten servers 10, the average number of cases of processing by one server 10 is 200 cases / unit. Therefore, the breakdown of the 200 cases may be 22.2 (= 200 × 222/2000) on the post recruitment page (including the post acceptance page) and the remaining 177.8 on the post notice page. The ratio of the access number calculated in this way is output to the distribution server number determining unit 44b.
Here, as an example, the CPU usage rate is used as the load amount. However, the CPU usage rate is not limited to the CPU usage rate as long as the load of the server 10 can be measured. You may use execution time etc. or those combinations (weighted average etc.).

配信サーバ数決定手段44bは、アクセス数解析手段44aで算出された投稿募集サーバと、投稿予告サーバとのアクセス数の割合に基づいて、投稿募集サーバと、投稿予告サーバの数を決定するものである。   The distribution server number determining unit 44b determines the number of posting soliciting servers and posting notice servers based on the ratio of the number of accesses between the posting soliciting server and the posting notice server calculated by the access number analyzing unit 44a. is there.

ここで、配信サーバ数決定手段44bにおける投稿募集サーバと、投稿予告サーバの数を算出する手法について、数式を用いて具体的に説明する。
また、ここでは前記同様、サーバ10の数をn台、サーバ10が投稿募集ページ(投稿受付ページを含む)を配信するために使用するCPU使用率をU%、1台のサーバ10が使用できる最大のCPU使用率をUMAX%とする。このとき、配信サーバ数決定手段44bは、アクセス数解析手段44aにおいて投稿募集サーバへのアクセス数がkと算出されたとき、投稿募集サーバの数Xおよび投稿予告サーバの数Xを、以下の(3)式および(4)式により算出する。
=U×k/UMAX …(3)
=n−X …(4)
Here, a method for calculating the number of posting recruitment servers and posting notice servers in the distribution server number determination unit 44b will be specifically described using mathematical expressions.
Further, here, similarly to the above, the number of servers 10 is n, the CPU usage rate used by the server 10 to distribute the posting recruitment page (including the posting acceptance page) is U A %, and one server 10 uses it. The maximum possible CPU usage rate is U MAX %. In this case, the distribution server number determining unit 44b, when the number of accesses to the posting recruitment server in the access analysis unit 44a is calculated as k A, the number X B having X A and post notice server Submissions server, It calculates with the following (3) Formula and (4) Formula.
X A = U A × k A / U MAX (3)
X B = n−X A (4)

例えば、サーバ10の数(n)を10台、サーバ10が投稿募集ページを配信するために使用するCPU使用率(U)を2%、1台のサーバ10がページを配信するために使用できる最大のCPU使用率(UMAX)を80%、投稿募集ページを配信するサーバへのアクセス数(k)を222件とすると、前記(3)式および(4)式より、投稿募集サーバの数(X)は5台、投稿予告サーバの数(X)は5台となる。
この配信サーバ数決定手段44bで決定された投稿募集ページまたは投稿予告ページを配信するサーバの数は、配信ページ指示手段45に出力される。なお、投稿予告サーバの数は、投稿募集サーバの数が決まれば、一意に決まるものであるため、配信サーバ数決定手段44bは、投稿募集サーバの数のみを算出することとしてもよい。
For example, ten number (n) of the server 10, 2% CPU utilization of (U A) to be used by the server 10 delivers the post recruitment page, used for a single server 10 delivers the page Assuming that the maximum possible CPU usage rate (U MAX ) is 80% and the number of accesses (k A ) to the server that distributes the posting solicitation page is 222, the posting solicitation server from the above formulas (3) and (4) The number (X A ) is five, and the number of posting notice servers (X B ) is five.
The number of servers that distribute the posting solicitation page or posting notice page determined by the distribution server number determining means 44 b is output to the distribution page instruction means 45. Since the number of posting notice servers is uniquely determined when the number of posting recruitment servers is determined, the distribution server number determination unit 44b may calculate only the number of posting recruitment servers.

配信ページ指示手段45は、各サーバ10に対して、配信するWebページの更新を指示するものである。なお、配信ページ指示手段45から、各サーバ10への指示は、通信制御手段41を介して、各サーバ10に送信される。
具体的には、配信ページ指示手段45は、負荷解析手段44の配信サーバ数決定手段44bで決定された投稿募集サーバの数が、記憶手段42に配信指示情報として記憶されている現在の投稿募集サーバの数よりも少ない場合、その差分の数だけ、投稿募集サーバに対して、投稿予告ページを配信する旨の指示(投稿予告サーバへの移行指示)を送信する。
一方、配信ページ指示手段45は、負荷解析手段44の配信サーバ数決定手段44bで決定された投稿募集サーバの数が、現在の投稿募集サーバの数よりも多い場合、その差分の数だけ、投稿予告サーバに対して、投稿募集ページを配信する旨の指示(投稿募集サーバへの移行指示)を送信する。
The distribution page instruction means 45 instructs each server 10 to update the Web page to be distributed. Note that an instruction from the distribution page instruction unit 45 to each server 10 is transmitted to each server 10 via the communication control unit 41.
Specifically, the distribution page instructing unit 45 has a current posting recruitment in which the number of posting recruitment servers determined by the distribution server number determining unit 44b of the load analyzing unit 44 is stored in the storage unit 42 as distribution instruction information. If the number is less than the number of servers, an instruction to distribute the posting notice page (instruction to shift to the posting notice server) is transmitted to the posting recruitment server by the number of differences.
On the other hand, when the number of posting recruitment servers determined by the distribution server number determination unit 44b of the load analysis unit 44 is larger than the current number of posting posting servers, the delivery page instruction unit 45 posts only the number of differences. An instruction to distribute the posting solicitation page (instruction to shift to the posting soliciting server) is transmitted to the notice server.

これによって、配信サーバ数決定手段44bで決定された投稿募集サーバおよび投稿予告サーバの数だけ稼動することになる。このとき、配信ページ指示手段45は、新たに稼動した投稿募集サーバおよび投稿予告サーバの数を、記憶手段42に記憶しておく。
なお、配信ページ指示手段45は、初期状態においては、予め各サーバ10に対して、投稿予告ページを配信する旨の指示(投稿予告サーバへの移行指示)を送信しておき、放送番組等で投稿を呼びかけたタイミングで外部から入力される指示、あるいは予め定めた時刻に基づいて、各サーバに、順次、投稿募集サーバへの移行指示を送信する。
As a result, the number of posting recruitment servers and posting notice servers determined by the distribution server number determination means 44b are operated. At this time, the distribution page instructing unit 45 stores the number of newly posted posting recruitment servers and posting notice servers in the storage unit 42.
In the initial state, the distribution page instructing means 45 transmits an instruction to distribute the posting notice page (instruction to shift to the posting notice server) to each server 10 in advance. Based on an instruction input from the outside at the timing of calling for posting or a predetermined time, an instruction to shift to the posting recruitment server is sequentially transmitted to each server.

このとき、配信ページ指示手段45は、初期値として、投稿募集サーバの数を少なく(例えば、1台)設定しておく。その後、配信ページ指示手段45は、負荷解析手段44から出力される投稿募集サーバと、投稿予告サーバとの割合に基づいて、投稿募集サーバおよび投稿予告サーバの数を制御する。
また、ここでは、配信ページ指示手段45は、各サーバ10に対して、配信するWebページの更新を指示した段階で、終了判定手段46に通知を行う。
At this time, the delivery page instruction means 45 sets a small number (for example, one) of posting recruitment servers as an initial value. Thereafter, the distribution page instruction means 45 controls the number of contribution solicitation servers and contribution notice servers based on the ratio between the contribution solicitation server output from the load analysis means 44 and the contribution notice server.
Also, here, the distribution page instruction means 45 notifies the end determination means 46 at the stage where each server 10 is instructed to update the Web page to be distributed.

終了判定手段46は、当該アクセス負荷制御装置40の動作を終了するか否かを判定するものである。ここでは、終了判定手段46は、配信ページ指示手段45から、各サーバ10のWebページが更新された旨が通知されることで、すべてのサーバ10が投稿募集サーバになったことを検出する。そして、終了判定手段46は、図示を省略したタイマによって時間を計測し、予め定めた時間を経過した段階で、動作を終了する。
ここで、動作の終了とは、負荷収集手段43における負荷の収集を終了することとしてもよいし、アクセス負荷制御装置40の電源断等によって装置全体の動作を終了することとしてもよい。
The end determination means 46 determines whether or not to end the operation of the access load control device 40. Here, the end determination means 46 detects that all the servers 10 have become posting recruitment servers when notified from the distribution page instruction means 45 that the Web page of each server 10 has been updated. Then, the end determination means 46 measures the time with a timer (not shown), and ends the operation when a predetermined time has elapsed.
Here, the end of the operation may be the end of the load collection in the load collecting unit 43 or the end of the operation of the entire apparatus due to power-off of the access load control device 40 or the like.

なお、すべてのサーバ10が投稿募集サーバに移行した後に、あるサーバ10が投稿予告サーバに移行した旨の通知があった場合、終了判定手段46は、タイマを停止させるものとする。これによって、再度アクセスが増加する場合、アクセス負荷制御装置40の動作を継続させることができる。
このようにアクセス負荷制御装置40を構成することで、サーバ10へのアクセスがピークのときは、負荷が軽い投稿予告サーバを多く稼働させ、アクセスが平常状態に移行するにつれて、投稿募集サーバの数を増やすことが可能になる。
If there is a notification that a certain server 10 has transitioned to the posting notice server after all the servers 10 have transitioned to the posting recruitment server, the termination determination means 46 shall stop the timer. Thereby, when the access increases again, the operation of the access load control device 40 can be continued.
By configuring the access load control device 40 in this manner, when the access to the server 10 is at a peak, many posting notice servers with light loads are operated, and the number of posting recruiting servers increases as the access shifts to a normal state. It becomes possible to increase.

以上、アクセス負荷制御装置40の構成について説明したが、アクセス負荷制御装置40は、一般的なコンピュータを前記した各手段として機能させるアクセス負荷制御プログラムによって動作させることができる。
また、ここでは、アクセス負荷制御装置40を、個別の装置として構成したが、負荷分散装置30内部に組み込む構成としてもよい。その場合、アクセス負荷制御装置40の通信制御手段41は、負荷分散装置30内部の通信制御手段を使用することになる。
また、ここでは、アクセス負荷制御装置40に終了判定手段46を備える構成としたが、終了判定手段46を省いて構成しても構わない。
Although the configuration of the access load control device 40 has been described above, the access load control device 40 can be operated by an access load control program that causes a general computer to function as each means described above.
Here, the access load control device 40 is configured as an individual device, but may be configured to be incorporated in the load distribution device 30. In that case, the communication control means 41 of the access load control device 40 uses the communication control means inside the load distribution device 30.
In addition, here, the access load control device 40 is configured to include the termination determination unit 46, but the termination determination unit 46 may be omitted.

[アクセス負荷制御装置の動作:第1実施形態]
次に、図5を参照(適宜図4参照)して、アクセス負荷制御装置40の動作について詳細に説明する。図5は、本発明の第1実施形態に係るアクセス負荷制御装置の動作を示すフローチャートである。
[Operation of Access Load Control Device: First Embodiment]
Next, the operation of the access load control device 40 will be described in detail with reference to FIG. 5 (refer to FIG. 4 as appropriate). FIG. 5 is a flowchart showing the operation of the access load control apparatus according to the first embodiment of the present invention.

(負荷収集ステップ)
まず、アクセス負荷制御装置40は、配信ページ指示手段45によって、各サーバ10に対して、投稿募集サーバへの移行指示または投稿予告サーバへの移行指示(サーバの種別)を送信する(ステップS20)。なお、投稿募集サーバとなるサーバ10の数は予め定められているものとする。例えば、初期値として1台を投稿募集サーバとする。
そして、アクセス負荷制御装置40は、負荷収集手段43によって、各サーバ10から、負荷量を収集する(ステップS21)。
(Load collection step)
First, the access load control device 40 transmits, to each server 10 by the distribution page instruction means 45, a transition instruction to the posting recruitment server or a transition instruction to the posting notice server (server type) (step S20). . It is assumed that the number of servers 10 serving as posting recruitment servers is predetermined. For example, one is set as a posting recruitment server as an initial value.
Then, the access load control device 40 collects the load amount from each server 10 by the load collecting means 43 (step S21).

(配信サーバ数決定ステップ)
その後、アクセス負荷制御装置40は、負荷解析手段44のアクセス数解析手段44aによって、各サーバ10の負荷量である単位時間あたりのアクセス数に基づいて、更新すべき投稿募集サーバと投稿予告サーバとのアクセス数の割合を算出する(ステップS22)。
そして、アクセス負荷制御装置40は、負荷解析手段44の配信サーバ数決定手段44bによって、投稿募集サーバと投稿予告サーバとのアクセス数の割合に基づいて、投稿募集サーバ(または投稿予告サーバ)の数を決定する(ステップS23)。
(Delivery server number determination step)
Thereafter, the access load control device 40 uses the access number analysis unit 44a of the load analysis unit 44 to update the posting recruitment server and the posting notice server to be updated based on the number of accesses per unit time that is the load amount of each server 10. The ratio of the number of accesses is calculated (step S22).
Then, the access load control device 40 uses the distribution server number determination means 44b of the load analysis means 44 to determine the number of posting recruitment servers (or posting notice servers) based on the ratio of the number of accesses between the posting recruitment server and the posting notice server. Is determined (step S23).

(配信ページ指示ステップ)
ここで、アクセス負荷制御装置40は、配信ページ指示手段45によって、ステップS23で決定された投稿募集サーバの数と、現在の投稿募集サーバの数とを比較する(ステップS24)。
そして、現在の投稿募集サーバの数がステップS23で決定された投稿募集サーバの数より多い場合(ステップS24で「多い」)、アクセス負荷制御装置40は、配信ページ指示手段45によって、その差分の数だけ、投稿募集サーバに対して、投稿予告サーバへの移行指示を送信し(ステップS25)、ステップS27に進む。
(Distribution page instruction step)
Here, the access load control device 40 compares the number of posting recruitment servers determined in step S23 with the number of current posting recruitment servers by the distribution page instruction means 45 (step S24).
When the current number of posting recruitment servers is larger than the number of posting recruitment servers determined in step S23 (“large” in step S24), the access load control device 40 uses the distribution page instruction means 45 to calculate the difference. A number of instructions to the posting recruitment server are transmitted to the posting recruitment server (step S25), and the process proceeds to step S27.

一方、現在の投稿募集サーバの数がステップS23で決定された投稿募集サーバの数より少ない場合(ステップS24で「少ない」)、アクセス負荷制御装置40は、配信ページ指示手段45によって、その差分の数だけ、投稿予告サーバに対して、投稿募集サーバへの移行指示を送信し(ステップS26)、ステップS27に進む。   On the other hand, when the current number of posting recruitment servers is smaller than the number of posting recruitment servers determined in step S23 (“less” in step S24), the access load control device 40 uses the distribution page instruction means 45 to calculate the difference. A number of instructions to the posting notice server are transmitted to the posting notice server (step S26), and the process proceeds to step S27.

なお、ステップS23で決定された投稿募集サーバの数と、現在の投稿募集サーバの数とが同数である場合(ステップS24で「同じ」)、アクセス負荷制御装置40は、そのままステップS27に進む。
そして、アクセス負荷制御装置40は、終了判定手段46によって、すべてのサーバ10が投稿募集サーバに移行し、かつ、一定時間経過したか否かを判定する(ステップS27)。
If the number of posting recruitment servers determined in step S23 is the same as the current number of posting recruitment servers (“same” in step S24), the access load control device 40 proceeds directly to step S27.
Then, the access load control device 40 determines whether or not all the servers 10 have moved to the posting recruitment server and a certain time has passed by the end determination means 46 (step S27).

ここで、すべてのサーバ10が投稿募集サーバに移行していない場合(ステップS27でNo)、アクセス負荷制御装置40は、ステップS21に戻って動作を継続する。
一方、すべてのサーバ10が投稿募集サーバに移行し、かつ、一定時間経過した場合(ステップS27でYes)、アクセス負荷制御装置40は、動作を終了する。
以上の動作によって、アクセス負荷制御装置40は、各サーバ10にかかる負荷の状態に応じて、投稿を受け付けるサーバの数を増減させることで、サーバ10全体が過負荷とならないように制御することができる。
Here, when all the servers 10 have not shifted to the posting recruitment server (No in Step S27), the access load control device 40 returns to Step S21 and continues the operation.
On the other hand, when all the servers 10 have moved to the posting recruitment server and a certain time has passed (Yes in step S27), the access load control device 40 ends the operation.
With the above operation, the access load control device 40 can control the entire server 10 not to be overloaded by increasing or decreasing the number of servers that accept posts according to the state of the load on each server 10. it can.

[アクセス負荷制御装置の構成:第2実施形態]
次に、図6を参照して、アクセス負荷制御装置40Bの他の構成について説明する。図6は、本発明の第2実施形態に係るアクセス負荷制御装置の構成を示すブロック図である。
図6に示すように、アクセス負荷制御装置40Bは、通信制御手段41と、記憶手段42と、負荷収集手段43Bと、負荷解析手段44Bと、配信ページ指示手段45と、終了判定手段46とを備えている。負荷収集手段43Bおよび負荷解析手段44B以外の構成については、図4で説明したアクセス負荷制御装置40と同一のものであるため、同一の符号を付し説明を省略する。
[Configuration of Access Load Control Device: Second Embodiment]
Next, another configuration of the access load control device 40B will be described with reference to FIG. FIG. 6 is a block diagram showing the configuration of the access load control device according to the second embodiment of the present invention.
As shown in FIG. 6, the access load control device 40B includes a communication control means 41, a storage means 42, a load collection means 43B, a load analysis means 44B, a distribution page instruction means 45, and an end determination means 46. I have. Since the configuration other than the load collecting unit 43B and the load analyzing unit 44B is the same as that of the access load control device 40 described with reference to FIG. 4, the same reference numerals are given and description thereof is omitted.

なお、アクセス負荷制御装置40(図4)は、アクセス状況に基づいて、投稿募集サーバへ移行するサーバ10の数を算出し、その数に基づいて、投稿募集サーバへの移行指示を行ったが、アクセス負荷制御装置40Bは、1台ずつ移行させる点のみが異なっている。
以下、アクセス負荷制御装置40(図4)と異なる負荷収集手段43Bおよび負荷解析手段44Bについて説明する。
The access load control device 40 (FIG. 4) calculates the number of servers 10 to be transferred to the posting recruitment server based on the access status, and issues a transition instruction to the posting recruitment server based on the number. The access load control device 40B is different only in that it is shifted one by one.
Hereinafter, the load collection means 43B and the load analysis means 44B different from the access load control device 40 (FIG. 4) will be described.

負荷収集手段43Bは、通信制御手段41を介して、サーバ10(10,10,…,10)の現時点における負荷の状態を示す負荷量(動作負荷量)を収集するものである。この負荷収集手段43Bは、動作負荷量として、CPU使用量等のサーバ10の負荷量を収集するものとする。
ここでは、負荷収集手段43Bは、定期的(例えば、1秒間隔)に、各サーバ10に動作負荷量を要求し、各サーバ10から動作負荷量を収集する。この収集した動作負荷量は、負荷解析手段44Bに出力される。
The load collecting unit 43B collects a load amount (operation load amount) indicating a current load state of the server 10 (10 1 , 10 2 ,..., 10 n ) via the communication control unit 41. This load collecting means 43B collects the load amount of the server 10 such as the CPU usage amount as the operation load amount.
Here, the load collection unit 43B requests the operation load amount from each server 10 periodically (for example, at intervals of 1 second) and collects the operation load amount from each server 10. The collected operating load is output to the load analysis unit 44B.

負荷解析手段44Bは、負荷収集手段43Bで収集した負荷量(動作負荷量)に基づいて、サーバ10全体の負荷状態を解析し、各サーバ10において、投稿予告ページまたは投稿募集ページのいずれを配信するのかを制御するものである。ここでは、負荷解析手段44Bは、負荷判定手段44cを備えている。   The load analysis unit 44B analyzes the load state of the entire server 10 based on the load amount (operation load amount) collected by the load collection unit 43B, and distributes either the posting notice page or the posting recruitment page in each server 10. It controls what to do. Here, the load analysis unit 44B includes a load determination unit 44c.

負荷判定手段44cは、負荷収集手段43Bで収集された負荷量(動作負荷量)が、予め定めたサーバ10全体の負荷制限値を超過するか否かを判定するものである。この負荷判定手段44cで判定された判定結果(負荷制限値未満、負荷制限値以上)は、配信ページ指示手段45に出力される。
例えば、負荷判定手段44cは、サーバ10の数をn台、各サーバ10の現在のCPU使用率をU、U,…,U%、サーバ10全体の負荷制限値(CPU使用率の制限)をUnmax%としたとき、以下の(5)式の場合に負荷制限値を超過したと判定し、(6)式の場合には、まだ、負荷制限値に達していないと判定する。
The load determination unit 44c determines whether or not the load amount (operation load amount) collected by the load collection unit 43B exceeds a predetermined load limit value of the entire server 10. The determination result (less than the load limit value and greater than or equal to the load limit value) determined by the load determination unit 44 c is output to the distribution page instruction unit 45.
For example, the load determination unit 44c includes n servers 10, the current CPU usage rate of each server 10 is U 1 , U 2 ,..., U n %, the load limit value of the entire server 10 (CPU usage rate when the limit) was U nmax%, determines that it has exceeded the load limit value when the following equation (5), in the case of (6) is still determined that, does not reach the load limit .

Figure 0004644175
Figure 0004644175

そして、負荷解析手段44Bは、負荷判定手段44cの判定結果が負荷制限値未満の場合、投稿募集サーバの数を現在の数よりも多く設定する。例えば、投稿募集サーバの数を1台分増加させる。
一方、判定結果が負荷制限値以上の場合、負荷解析手段44Bは、投稿募集サーバの数を現在の数よりも少なく設定する。例えば、投稿募集サーバの数を1台分減少させる。すなわち、投稿予告サーバの数を1台分増加させる。
この負荷解析手段44Bで設定された投稿募集サーバの数は、配信ページ指示手段45に出力される。
このようにアクセス負荷制御装置40を構成することで、サーバ10へのアクセスがピークのときは、負荷の軽い投稿予告サーバを多く稼働させ、アクセスが平常状態に移行するにつれて、投稿募集サーバの数を増やすことが可能になる。
Then, when the determination result of the load determination unit 44c is less than the load limit value, the load analysis unit 44B sets the number of posting recruitment servers more than the current number. For example, the number of posting recruitment servers is increased by one.
On the other hand, when the determination result is equal to or greater than the load limit value, the load analysis unit 44B sets the number of posting recruitment servers smaller than the current number. For example, the number of posting recruitment servers is reduced by one. That is, the number of posting notice servers is increased by one.
The number of posting recruitment servers set by the load analysis unit 44B is output to the distribution page instruction unit 45.
By configuring the access load control device 40 in this manner, when the access to the server 10 is at a peak, a large number of posting notice servers with light loads are operated, and the number of posting recruiting servers increases as the access shifts to a normal state. It becomes possible to increase.

[アクセス負荷制御装置の動作:第2実施形態]
次に、図7を参照(適宜図6参照)して、アクセス負荷制御装置40Bの動作について詳細に説明する。図7は、本発明の第2実施形態に係るアクセス負荷制御装置の動作を示すフローチャートである。
まず、アクセス負荷制御装置40Bは、配信ページ指示手段45によって、各サーバ10に対して、投稿募集サーバへの移行指示または投稿予告サーバへの移行指示(サーバの種別)を送信する(ステップS30)。なお、投稿募集サーバとなるサーバ10の数は予め定められているものとする。例えば、初期値として1台を投稿募集サーバとする。
そして、アクセス負荷制御装置40Bは、負荷収集手段43Bによって、各サーバ10から、負荷量を収集する(ステップS31)。
[Operation of Access Load Control Device: Second Embodiment]
Next, the operation of the access load control device 40B will be described in detail with reference to FIG. 7 (refer to FIG. 6 as appropriate). FIG. 7 is a flowchart showing the operation of the access load control apparatus according to the second embodiment of the present invention.
First, the access load control device 40B uses the distribution page instruction means 45 to transmit a transition instruction to the posting recruitment server or a transition instruction to the posting notice server (server type) to each server 10 (step S30). . It is assumed that the number of servers 10 serving as posting recruitment servers is predetermined. For example, one is set as a posting recruitment server as an initial value.
Then, the access load control device 40B collects the load amount from each server 10 by the load collecting means 43B (step S31).

ここで、負荷収集手段43Bの負荷判定手段44cが、ステップS31で収集した負荷量(動作負荷量)が予め定めたサーバ全体の負荷制限値を超過するか否かを判定する(ステップS32)。
そして、ステップS31で収集した負荷量がサーバ全体の負荷制限値を超過している場合(ステップS32で「Yes」)、アクセス負荷制御装置40Bは、配信ページ指示手段45によって、1台の投稿募集サーバに対して、投稿予告サーバへの移行指示を送信し(ステップS33)、ステップS35に進む。
Here, the load determination unit 44c of the load collection unit 43B determines whether or not the load amount (operation load amount) collected in step S31 exceeds a predetermined load limit value for the entire server (step S32).
If the load amount collected in step S31 exceeds the load limit value of the entire server (“Yes” in step S32), the access load control device 40B uses the distribution page instruction means 45 to recruit one post. A transition instruction to the posting notice server is transmitted to the server (step S33), and the process proceeds to step S35.

一方、ステップS31で収集した負荷量がサーバ全体の負荷制限値未満である場合(ステップS32で「No」)、アクセス負荷制御装置40Bは、配信ページ指示手段45によって、1台の投稿予告サーバに対して、投稿募集サーバへの移行指示を送信する(ステップS34)。なお、すべてのサーバ10がすでに投稿募集サーバとなっている場合は、そのままステップS35に進む。
そして、アクセス負荷制御装置40Bは、終了判定手段46によって、すべてのサーバ10が投稿募集サーバに移行し、かつ、一定時間経過したか否かを判定する(ステップS35)。
On the other hand, when the load amount collected in step S31 is less than the load limit value of the entire server (“No” in step S32), the access load control device 40B uses the distribution page instruction means 45 to make one posting notice server. On the other hand, a migration instruction to the posting recruitment server is transmitted (step S34). If all the servers 10 are already posting recruitment servers, the process proceeds directly to step S35.
Then, the access load control device 40B determines whether or not all the servers 10 have moved to the posting recruitment server and a certain time has passed by the end determination means 46 (step S35).

ここで、すべてのサーバ10が投稿募集サーバに移行していない場合(ステップS35でNo)、アクセス負荷制御装置40Bは、ステップS31に戻って動作を継続する。
一方、すべてのサーバ10が投稿募集サーバに移行し、かつ、一定時間経過した場合(ステップS35でYes)、アクセス負荷制御装置40Bは、動作を終了する。
以上の動作によって、アクセス負荷制御装置40Bは、各サーバ10にかかる負荷の状態に応じて、投稿を受け付けるサーバの数を増減させることで、各サーバ10が過負荷とならないように制御することができる。
Here, when all the servers 10 have not shifted to the posting recruitment server (No in step S35), the access load control device 40B returns to step S31 and continues the operation.
On the other hand, when all the servers 10 have moved to the posting recruitment server and a certain time has elapsed (Yes in step S35), the access load control device 40B ends the operation.
With the above operation, the access load control device 40B can control each server 10 not to be overloaded by increasing or decreasing the number of servers that accept posts according to the state of the load on each server 10. it can.

以上、本発明に係るアクセス負荷制御装置を含んだ投稿受付システムの構成および動作について説明したが、本発明はこれに限定されるものではない。
ここでは、投稿を受け付けるサーバの負荷を制御する投稿受付システムとしてシステムを構成したが、投稿のみならず、例えば、Webサーバによるチケットの販売等にも応用することができる。すなわち、本発明は、複数のWebサーバにおいて、要求によってCGI等の動的ページを動作させるシステムであれば、本発明に係るアクセス負荷制御装置を用いたサーバ負荷分散システムとして構成することができる。
The configuration and operation of the posting acceptance system including the access load control device according to the present invention have been described above, but the present invention is not limited to this.
Here, the system is configured as a posting acceptance system that controls the load of a server that accepts postings. However, the system can be applied not only to postings but also to sales of tickets by a Web server, for example. That is, the present invention can be configured as a server load distribution system using the access load control device according to the present invention, as long as it is a system that operates a dynamic page such as CGI upon request in a plurality of Web servers.

本発明に係る投稿受付システム(サーバ負荷分散システム)の構成を示すブロック図である。It is a block diagram which shows the structure of the contribution reception system (server load distribution system) which concerns on this invention. サーバが配信するWebページの内容を説明するための説明図である。It is explanatory drawing for demonstrating the content of the web page which a server delivers. 本発明に係る投稿受付システムの動作概要を説明するためのシーケンス図である。It is a sequence diagram for demonstrating the operation | movement outline | summary of the contribution reception system which concerns on this invention. 本発明の第1実施形態に係るアクセス負荷制御装置の構成を示すブロック図である。It is a block diagram which shows the structure of the access load control apparatus which concerns on 1st Embodiment of this invention. 本発明の第1実施形態に係るアクセス負荷制御装置の動作を示すフローチャートである。It is a flowchart which shows operation | movement of the access load control apparatus which concerns on 1st Embodiment of this invention. 本発明の第2実施形態に係るアクセス負荷制御装置の構成を示すブロック図である。It is a block diagram which shows the structure of the access load control apparatus which concerns on 2nd Embodiment of this invention. 本発明の第2実施形態に係るアクセス負荷制御装置の動作を示すフローチャートである。It is a flowchart which shows operation | movement of the access load control apparatus which concerns on 2nd Embodiment of this invention. 従来の投稿受付システムのアクセス数と経過時間との関係を示すグラフ図である。It is a graph which shows the relationship between the access number of the conventional contribution reception system, and elapsed time. 従来のサーバ負荷分散システムの構成を示すブロック図である。It is a block diagram which shows the structure of the conventional server load distribution system. 従来のサーバ負荷分散システムの他の構成を示すブロック図である。It is a block diagram which shows the other structure of the conventional server load distribution system.

符号の説明Explanation of symbols

S 投稿受付システム(サーバ負荷分散システム)
10 サーバ
20 ページ情報記憶装置
30 負荷分散装置
40、40B アクセス負荷制御装置
41 通信制御手段
42 記憶手段
43、43B 負荷収集手段
44、44B 負荷解析手段
44a アクセス数解析手段
44b 配信サーバ数決定手段
44c 負荷判定手段
45 配信ページ指示手段
46 終了判定手段
S Posting acceptance system (server load balancing system)
10 server 20 page information storage device 30 load distribution device 40, 40B access load control device 41 communication control means 42 storage means 43, 43B load collection means 44, 44B load analysis means 44a access number analysis means 44b distribution server number determination means 44c load Determination means 45 Distribution page instruction means 46 End determination means

Claims (6)

ページを配信する複数のサーバを備え、ネットワークを介して要求された前記ページへのアクセスを、負荷分散装置により前記複数のサーバに分配して応答するサーバ負荷分散システムにおいて、前記複数のサーバが配信するページを、動的ページへのリンク先が記述されている第1静的ページと、前記動的ページへのリンク先が記述されていない第2静的ページとのいずれかに切り換えることで、前記サーバへのアクセス負荷を制御するアクセス負荷制御装置であって、
前記複数のサーバから単位時間あたりのアクセス数を収集する負荷収集手段と、
この負荷収集手段で収集した前記複数のサーバ全体の単位時間あたりのアクセス数に基づいて、前記第1静的ページを配信する第1サーバの数を決定する負荷解析手段と、
この負荷解析手段で決定した第1サーバの数に基づいて、前記複数のサーバに対して、前記第1サーバとして前記第1静的ページを配信する旨の指示または第2サーバとして前記第2静的ページを配信する旨の指示を通知する配信ページ指示手段と、を備え、
前記負荷解析手段は、前記複数のサーバから収集した前記複数のサーバ全体の単位時間あたりのアクセス数において、前記第1静的ページを介して前記動的ページを配信するために使用する予め定めた負荷量の第1サーバ数分のアクセス数に応じた負荷量と、前記第2静的ページを配信するために使用する予め定めた負荷量の第2サーバ数分のアクセス数に応じた負荷量との和が、予め定めた前記複数のサーバ全体の負荷制限値以下となる前記第1サーバ数分のアクセス数を算出するアクセス数解析手段と、
このアクセス数解析手段で算出した第1サーバ数分のアクセス数に応じた負荷量を、前記第1サーバが使用できる最大負荷量で除算することで、前記第1サーバの数を決定する配信サーバ数決定手段と、
を備えていることを特徴とするアクセス負荷制御装置。
In a server load distribution system that includes a plurality of servers that distribute pages and that distributes and responds to access to the pages requested via a network to the plurality of servers, the plurality of servers distribute By switching the page to be switched to either the first static page in which the link destination to the dynamic page is described or the second static page in which the link destination to the dynamic page is not described, An access load control device for controlling an access load to the server,
Load collection means for collecting the number of accesses per unit time from the plurality of servers;
Load analysis means for determining the number of first servers that deliver the first static page based on the number of accesses per unit time of the entire plurality of servers collected by the load collection means;
Based on the number of first servers determined by the load analyzing means, an instruction to deliver the first static page as the first server to the plurality of servers or the second static as the second server. A delivery page instruction means for notifying an instruction to deliver a target page,
The load analyzing means is a predetermined number used to distribute the dynamic page via the first static page in the number of accesses per unit time of the entire plurality of servers collected from the plurality of servers . A load amount corresponding to the number of accesses corresponding to the number of first servers in the load amount and a load amount corresponding to the number of accesses corresponding to the number of second servers in a predetermined load amount used for distributing the second static page Access number analysis means for calculating the number of accesses for the number of the first servers, the sum of which is equal to or less than a predetermined load limit value for the plurality of servers,
A distribution server that determines the number of the first servers by dividing the load corresponding to the number of accesses for the number of first servers calculated by the access number analyzing means by the maximum load that can be used by the first server. Number determining means;
An access load control device comprising:
ページを配信する複数のサーバを備え、ネットワークを介して要求された前記ページへのアクセスを、負荷分散装置により前記複数のサーバに分配して応答するサーバ負荷分散システムにおいて、前記複数のサーバが配信するページを、動的ページへのリンク先が記述されている第1静的ページと、前記動的ページへのリンク先が記述されていない第2静的ページとのいずれかに切り換えることで、前記サーバへのアクセス負荷を制御するアクセス負荷制御装置であって、
前記複数のサーバから、当該サーバの負荷の状態を示す負荷量を定期的に収集する負荷収集手段と、
この負荷収集手段で収集した前記複数のサーバ全体の負荷量と、予め定めた前記複数のサーバ全体の負荷制限値とを比較し、前記負荷量が前記負荷制限値以上の場合、前記第1静的ページを配信する第1サーバの数を所定数減少させるとともに前記第2静的ページを配信する第2サーバの数を前記第1サーバの減少数分増加させ、前記負荷量が前記負荷制限値未満の場合、前記第1静的ページを配信する第1サーバの数を所定数増加させるとともに前記第2静的ページを配信する第2サーバの数を前記第1サーバの増加数分減少させて、前記第1サーバの数および前記第2サーバの数を決定する負荷解析手段と、
この負荷解析手段で決定した第1サーバの数および第2サーバの数に基づいて、前記複数のサーバに対して、前記第1サーバとして前記第1静的ページを配信する旨の指示または前記第2サーバとして前記第2静的ページを配信する旨の指示を通知する配信ページ指示手段と、
を備えていることを特徴とするアクセス負荷制御装置。
In a server load distribution system that includes a plurality of servers that distribute pages and that distributes and responds to access to the pages requested via a network to the plurality of servers, the plurality of servers distribute By switching the page to be switched to either the first static page in which the link destination to the dynamic page is described or the second static page in which the link destination to the dynamic page is not described, An access load control device for controlling an access load to the server,
Load collection means for periodically collecting a load amount indicating a load state of the server from the plurality of servers;
The load amounts of the plurality of servers collected by the load collection means are compared with the predetermined load limit values of the plurality of servers. If the load amount is equal to or greater than the load limit value, the first static The number of first servers that distribute target pages is decreased by a predetermined number , the number of second servers that distribute the second static pages is increased by the number of decreases of the first servers, and the load amount is the load limit value. If the number is less than 1, the number of the first servers that distribute the first static page is increased by a predetermined number , and the number of the second servers that distribute the second static page is decreased by the increased number of the first servers. Load analysis means for determining the number of the first servers and the number of the second servers;
Based on the number of first servers and the number of second servers determined by the load analyzing means, an instruction to distribute the first static page as the first server to the plurality of servers or the first server A delivery page instruction means for notifying an instruction to deliver the second static page as two servers;
An access load control device comprising:
ページを配信する複数のサーバを備え、ネットワークを介して要求された前記ページへのアクセスを、負荷分散装置により前記複数のサーバに分配して応答するサーバ負荷分散システムにおいて、前記複数のサーバが配信するページを、動的ページへのリンク先が記述されている第1静的ページと、前記動的ページへのリンク先が記述されていない第2静的ページとのいずれかに切り換えることで、前記サーバへのアクセス負荷を制御するために、アクセス負荷制御装置のコンピュータを、
前記複数のサーバから単位時間あたりのアクセス数を収集する負荷収集手段、
この負荷収集手段で収集した前記複数のサーバ全体の単位時間あたりのアクセス数に基づいて、前記第1静的ページを配信する第1サーバの数を決定する負荷解析手段、
この負荷解析手段で決定した第1サーバの数に基づいて、前記複数のサーバに対して、前記第1サーバとして前記第1静的ページを配信する旨の指示または第2サーバとして前記第2静的ページを配信する旨の指示を通知する配信ページ指示手段、として機能させ、
前記負荷解析手段は、前記複数のサーバから収集した前記複数のサーバ全体の単位時間あたりのアクセス数において、前記第1静的ページを介して前記動的ページを配信するために使用する予め定めた負荷量の第1サーバ数分のアクセス数に応じた負荷量と、前記第2静的ページを配信するために使用する予め定めた負荷量の第2サーバ数分のアクセス数に応じた負荷量との和が、予め定めた前記複数のサーバ全体の負荷制限値以下となる前記第1サーバ数分のアクセス数を算出し、当該第1サーバ数分のアクセス数に応じた負荷量を、前記第1サーバが使用できる最大負荷量で除算することで、前記第1サーバの数を決定することを特徴とするアクセス負荷制御プログラム。
In a server load distribution system that includes a plurality of servers that distribute pages and that distributes and responds to access to the pages requested via a network to the plurality of servers, the plurality of servers distribute By switching the page to be switched to either the first static page in which the link destination to the dynamic page is described or the second static page in which the link destination to the dynamic page is not described, In order to control the access load to the server, a computer of the access load control device,
Load collection means for collecting the number of accesses per unit time from the plurality of servers;
Load analysis means for determining the number of first servers that deliver the first static page based on the number of accesses per unit time of the entire plurality of servers collected by the load collection means;
Based on the number of first servers determined by the load analysis means, an instruction to distribute the first static page as the first server or the second static as the second server to the plurality of servers. Function as a delivery page instruction means for notifying an instruction to deliver a target page,
The load analyzing means is a predetermined number used to distribute the dynamic page via the first static page in the number of accesses per unit time of the entire plurality of servers collected from the plurality of servers . A load amount corresponding to the number of accesses corresponding to the number of first servers in the load amount and a load amount corresponding to the number of accesses corresponding to the number of second servers in a predetermined load amount used for distributing the second static page The number of accesses corresponding to the number of first servers that is equal to or less than a predetermined load limit value of the entire plurality of servers is calculated, and the amount of load corresponding to the number of accesses corresponding to the number of first servers is calculated as An access load control program that determines the number of the first servers by dividing by a maximum load that can be used by the first server.
ページを配信する複数のサーバを備え、ネットワークを介して要求された前記ページへのアクセスを、負荷分散装置により前記複数のサーバに分配して応答するサーバ負荷分散システムにおいて、前記複数のサーバが配信するページを、動的ページへのリンク先が記述されている第1静的ページと、前記動的ページへのリンク先が記述されていない第2静的ページとのいずれかに切り換えることで、前記サーバへのアクセス負荷を制御するために、アクセス負荷制御装置のコンピュータを、
前記複数のサーバから、当該サーバの負荷の状態を示す負荷量を定期的に収集する負荷収集手段、
この負荷収集手段で収集した前記複数のサーバ全体の負荷量と、予め定めた前記複数のサーバ全体の負荷制限値とを比較し、前記負荷量が前記負荷制限値以上の場合、前記第1静的ページを配信する第1サーバの数を所定数減少させるとともに前記第2静的ページを配信する第2サーバの数を前記第1サーバの減少数分増加させ、前記負荷量が前記負荷制限値未満の場合、前記第1静的ページを配信する第1サーバの数を所定数増加させるとともに前記第2静的ページを配信する第2サーバの数を前記第1サーバの増加数分減少させて、前記第1サーバの数および前記第2サーバの数を決定する負荷解析手段、
この負荷解析手段で決定した第1サーバの数および第2サーバの数に基づいて、前記複数のサーバに対して、前記第1サーバとして前記第1静的ページを配信する旨の指示または前記第2サーバとして前記第2静的ページを配信する旨の指示を通知する配信ページ指示手段、
として機能させることを特徴とするアクセス負荷制御プログラム。
In a server load distribution system that includes a plurality of servers that distribute pages and that distributes and responds to access to the pages requested via a network to the plurality of servers, the plurality of servers distribute By switching the page to be switched to either the first static page in which the link destination to the dynamic page is described or the second static page in which the link destination to the dynamic page is not described, In order to control the access load to the server, a computer of the access load control device,
Load collection means for periodically collecting a load amount indicating a load state of the server from the plurality of servers;
The load amounts of the plurality of servers collected by the load collection means are compared with the predetermined load limit values of the plurality of servers. If the load amount is equal to or greater than the load limit value, the first static The number of first servers that distribute target pages is decreased by a predetermined number , the number of second servers that distribute the second static pages is increased by the number of decreases of the first servers, and the load amount is the load limit value. If the number is less than 1, the number of the first servers that distribute the first static page is increased by a predetermined number , and the number of the second servers that distribute the second static page is decreased by the increased number of the first servers. , Load analysis means for determining the number of the first servers and the number of the second servers,
Based on the number of first servers and the number of second servers determined by the load analyzing means, an instruction to distribute the first static page as the first server to the plurality of servers or the first server A delivery page instruction means for notifying an instruction to deliver the second static page as two servers;
An access load control program characterized by functioning as
投稿を受け付ける動的ページへのリンク先が記述されている第1静的ページと、前記動的ページへのリンク先が記述されていない第2静的ページとのいずれかに切り換えて配信する複数のサーバを備え、ネットワークを介して要求された前記動的ページへのアクセスを、負荷分散装置により前記複数のサーバに分配して応答する投稿受付システムであって、
前記サーバの負荷を制御するアクセス負荷制御装置を備え、
前記アクセス負荷制御装置が、
前記複数のサーバから単位時間あたりのアクセス数を収集する負荷収集手段と、
この負荷収集手段で収集した前記複数のサーバ全体の単位時間あたりのアクセス数に基づいて、前記第1静的ページを配信する第1サーバの数を決定する負荷解析手段と、
この負荷解析手段で決定した第1サーバの数に基づいて、前記複数のサーバに対して、前記第1サーバとして前記第1静的ページを配信する旨の指示または第2サーバとして前記第2静的ページを配信する旨の指示を通知する配信ページ指示手段と、を備え、
前記負荷解析手段は、前記複数のサーバから収集した前記複数のサーバ全体の単位時間あたりのアクセス数において、前記第1静的ページを介して前記動的ページを配信するために使用する予め定めた負荷量の第1サーバ数分のアクセス数に応じた負荷量と、前記第2静的ページを配信するために使用する予め定めた負荷量の第2サーバ数分のアクセス数に応じた負荷量との和が、予め定めた前記複数のサーバ全体の負荷制限値以下となる前記第1サーバ数分のアクセス数を算出するアクセス数解析手段と、
このアクセス数解析手段で算出した第1サーバ数分のアクセス数に応じた負荷量を、前記第1サーバが使用できる最大負荷量で除算することで、前記第1サーバの数を決定する配信サーバ数決定手段と、
を備えていることを特徴とする投稿受付システム。
A plurality of pages to be distributed by switching to either a first static page in which a link destination to a dynamic page that accepts a post is described or a second static page in which a link destination to the dynamic page is not described A post accepting system that responds by distributing a response to access to the dynamic page requested via a network to the plurality of servers by a load balancer,
An access load control device for controlling the load of the server;
The access load control device is
Load collection means for collecting the number of accesses per unit time from the plurality of servers;
Load analysis means for determining the number of first servers that deliver the first static page based on the number of accesses per unit time of the entire plurality of servers collected by the load collection means;
Based on the number of first servers determined by the load analysis means, an instruction to distribute the first static page as the first server or the second static as the second server to the plurality of servers. A delivery page instruction means for notifying an instruction to deliver a target page,
The load analyzing means is a predetermined number used to distribute the dynamic page via the first static page in the number of accesses per unit time of the entire plurality of servers collected from the plurality of servers . A load amount corresponding to the number of accesses corresponding to the number of first servers in the load amount and a load amount corresponding to the number of accesses corresponding to the number of second servers in a predetermined load amount used for distributing the second static page Access number analysis means for calculating the number of accesses for the number of the first servers, the sum of which is equal to or less than a predetermined load limit value for the plurality of servers,
A distribution server that determines the number of the first servers by dividing the load corresponding to the number of accesses for the number of first servers calculated by the access number analyzing means by the maximum load that can be used by the first server. Number determining means;
Post accepting system characterized by comprising.
投稿を受け付ける動的ページへのリンク先が記述されている第1静的ページと、前記動的ページへのリンク先が記述されていない第2静的ページとのいずれかに切り換えて配信する複数のサーバを備え、ネットワークを介して要求された前記動的ページへのアクセスを、負荷分散装置により前記複数のサーバに分配して応答する投稿受付システムであって、
前記サーバの負荷を制御するアクセス負荷制御装置を備え、
前記アクセス負荷制御装置が、
前記複数のサーバから、当該サーバの負荷の状態を示す負荷量を定期的に収集する負荷収集手段と、
この負荷収集手段で収集した前記複数のサーバ全体の負荷量と、予め定めた前記複数のサーバ全体の負荷制限値とを比較し、前記負荷量が前記負荷制限値以上の場合、前記第1静的ページを配信する第1サーバの数を所定数減少させるとともに前記第2静的ページを配信する第2サーバの数を前記第1サーバの減少数分増加させ、前記負荷量が前記負荷制限値未満の場合、前記第1静的ページを配信する第1サーバの数を所定数増加させるとともに前記第2静的ページを配信する第2サーバの数を前記第1サーバの増加数分減少させて、前記第1サーバの数および前記第2サーバの数を決定する負荷解析手段と、
この負荷解析手段で決定した第1サーバの数および第2サーバの数に基づいて、前記複数のサーバに対して、前記第1サーバとして前記第1静的ページを配信する旨の指示または前記第2サーバとして前記第2静的ページを配信する旨の指示を通知する配信ページ指示手段と、
を備えていることを特徴とする投稿受付システム。
A plurality of pages to be distributed by switching to either a first static page in which a link destination to a dynamic page that accepts a post is described or a second static page in which a link destination to the dynamic page is not described A post accepting system that responds by distributing a response to access to the dynamic page requested via a network to the plurality of servers by a load balancer,
An access load control device for controlling the load of the server;
The access load control device is
Load collection means for periodically collecting a load amount indicating a load state of the server from the plurality of servers;
The load amounts of the plurality of servers collected by the load collection means are compared with the predetermined load limit values of the plurality of servers. If the load amount is equal to or greater than the load limit value, the first static The number of first servers that distribute target pages is decreased by a predetermined number , the number of second servers that distribute the second static pages is increased by the number of decreases of the first servers, and the load amount is the load limit value. If the number is less than 1, the number of the first servers that distribute the first static page is increased by a predetermined number , and the number of the second servers that distribute the second static page is decreased by the increased number of the first servers. Load analysis means for determining the number of the first servers and the number of the second servers;
Based on the number of first servers and the number of second servers determined by the load analyzing means, an instruction to distribute the first static page as the first server to the plurality of servers or the first server A delivery page instruction means for notifying an instruction to deliver the second static page as two servers;
Post accepting system characterized by comprising.
JP2006276280A 2006-10-10 2006-10-10 ACCESS LOAD CONTROL DEVICE, ITS PROGRAM, AND POST RECEPTION SYSTEM Expired - Fee Related JP4644175B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2006276280A JP4644175B2 (en) 2006-10-10 2006-10-10 ACCESS LOAD CONTROL DEVICE, ITS PROGRAM, AND POST RECEPTION SYSTEM

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2006276280A JP4644175B2 (en) 2006-10-10 2006-10-10 ACCESS LOAD CONTROL DEVICE, ITS PROGRAM, AND POST RECEPTION SYSTEM

Publications (2)

Publication Number Publication Date
JP2008097184A JP2008097184A (en) 2008-04-24
JP4644175B2 true JP4644175B2 (en) 2011-03-02

Family

ID=39379989

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2006276280A Expired - Fee Related JP4644175B2 (en) 2006-10-10 2006-10-10 ACCESS LOAD CONTROL DEVICE, ITS PROGRAM, AND POST RECEPTION SYSTEM

Country Status (1)

Country Link
JP (1) JP4644175B2 (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010086145A (en) * 2008-09-30 2010-04-15 Hitachi East Japan Solutions Ltd Distributed processing system
JP5843459B2 (en) * 2011-03-30 2016-01-13 インターナショナル・ビジネス・マシーンズ・コーポレーションInternational Business Machines Corporation Information processing system, information processing apparatus, scaling method, program, and recording medium
CN104011700B (en) 2012-02-14 2016-10-26 英派尔科技开发有限公司 Load balance in games system based on cloud
US9358467B2 (en) 2013-07-22 2016-06-07 Empire Technology Development Llc Game load management
CN111858088A (en) * 2020-06-24 2020-10-30 珠海格力电器股份有限公司 Communication data processing method, communication data processing device, computer equipment and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005293048A (en) * 2004-03-31 2005-10-20 Fujitsu Ltd Resource plan preparation program
JP2006171823A (en) * 2004-12-13 2006-06-29 Hitachi Ltd Access control device in computer system
JP2007328417A (en) * 2006-06-06 2007-12-20 Nec Biglobe Ltd Request limiting device, server device, request limiting method and request limiting program

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005293048A (en) * 2004-03-31 2005-10-20 Fujitsu Ltd Resource plan preparation program
JP2006171823A (en) * 2004-12-13 2006-06-29 Hitachi Ltd Access control device in computer system
JP2007328417A (en) * 2006-06-06 2007-12-20 Nec Biglobe Ltd Request limiting device, server device, request limiting method and request limiting program

Also Published As

Publication number Publication date
JP2008097184A (en) 2008-04-24

Similar Documents

Publication Publication Date Title
JP4644175B2 (en) ACCESS LOAD CONTROL DEVICE, ITS PROGRAM, AND POST RECEPTION SYSTEM
US7644139B2 (en) Method and system for optimizing metadata passing in a push content processing protocol
US7634534B2 (en) Delay storage device and delay treating method
US20070260673A1 (en) Dynamic syndicated content delivery system and method
US20070260674A1 (en) Push framework for delivery of dynamic mobile content
EP1853045A1 (en) Dynamic syndicated content delivery system and method
US20120042004A1 (en) Plug in registration method and apparatus for push content delivery
US7356584B2 (en) Optimization of service provider load balancing
KR20170079496A (en) Apparatus for inducing advertisement competition based on contents preference
JP2011172021A (en) Cache server control device, content distribution system, method of distributing content, and program
US8780708B2 (en) Transmission control system
JP4403048B2 (en) Content providing server, user terminal, content providing program, and content acquisition program
US20070276863A1 (en) Plug in registration method and apparatus for push content delivery
CN112308537B (en) Position data processing system, method, equipment and medium
KR101195123B1 (en) Cloud computing network system and file distrubuting method of the same
US20030126244A1 (en) Apparatus for scheduled service of network requests and a method therefor
CN113765964A (en) Method and device for distributing services of distributed system
EP1852786A1 (en) System and method for the fragmentation of mobile content
JP2004362449A (en) Service providing device, service coordinator device, service providing method, service coordinating method and program, as well as computer readable recording medium having the program recorded thereon
US20050193107A1 (en) Method and apparatus for relay control and computer product
EP2299643A1 (en) Server load balancing method and system of media service
CN115460427B (en) Live broadcast scheduling method, device, computing equipment and storage medium
US9240998B2 (en) Management apparatus and control method of management apparatus
WO2020071317A1 (en) Content viewing system and content viewing control method
US8285863B2 (en) Access control device, access control method, and access control program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20090319

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20100525

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20100601

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20100802

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20100824

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20101007

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

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20101203

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20131210

Year of fee payment: 3

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees