JP2005070941A - Server system, service method, and program - Google Patents

Server system, service method, and program Download PDF

Info

Publication number
JP2005070941A
JP2005070941A JP2003297331A JP2003297331A JP2005070941A JP 2005070941 A JP2005070941 A JP 2005070941A JP 2003297331 A JP2003297331 A JP 2003297331A JP 2003297331 A JP2003297331 A JP 2003297331A JP 2005070941 A JP2005070941 A JP 2005070941A
Authority
JP
Japan
Prior art keywords
terminal
service
statistics
request
unit
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.)
Granted
Application number
JP2003297331A
Other languages
Japanese (ja)
Other versions
JP3914907B2 (en
Inventor
Shoji Mori
昌二 森
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.)
Konami Computer Entertainment Studios Inc
Original Assignee
Konami Computer Entertainment Studios Inc
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 Konami Computer Entertainment Studios Inc filed Critical Konami Computer Entertainment Studios Inc
Priority to JP2003297331A priority Critical patent/JP3914907B2/en
Publication of JP2005070941A publication Critical patent/JP2005070941A/en
Application granted granted Critical
Publication of JP3914907B2 publication Critical patent/JP3914907B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Small-Scale Networks (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide a server device which responds to service requests from a terminal, with appropriate priority. <P>SOLUTION: An accepting part 102 of a server device 101 accepts a service request from a terminal, and a responding part 105 makes a response by providing the requested service to the terminal. A statistic part 103 stores the statistics of the service requests accepted in the past and the request origin terminal which made the service request, and a calculation part 104 compares the statistics of the service requests in the latest predetermined period or the predetermined number of times of the service requests from the terminal, with the statistics of the service requests with the terminal as the request origin terminal stored in the statistical part 103 to calculate similarity, and obtains priority preliminarily associated with the similarity. The server device 101 provides the requested service to the terminal with the priority obtained. <P>COPYRIGHT: (C)2005,JPO&NCIPI

Description

本発明は、端末からのサービスの要求に適切な優先度で応答するサーバ装置、サービス方法、ならびに、これらをコンピュータにて実現するプログラムに関する。   The present invention relates to a server apparatus that responds to a request for service from a terminal with an appropriate priority, a service method, and a program that implements these on a computer.

従来から、インターネットを用いて、各端末からサーバ装置に種々のリクエストを行い、各種のサービスを受ける方式が広く行われている。サービスの種類としては、ウェブページによる情報の提供、各種ゲームの提供、物品、情報、チケット等の購入、これらのサービスを受けるためのユーザ登録など、種々のものが採用されている。   2. Description of the Related Art Conventionally, a method of receiving various services by making various requests from each terminal to a server device using the Internet has been widely performed. Various types of services such as provision of information through web pages, provision of various games, purchase of goods, information, tickets, etc., and user registration for receiving these services are employed.

このような環境下においては、各端末がダイヤルアップ接続によってインターネットに接続されていたり、代理(proxy)サーバや各種のルータ、ファイアウォールを中継している場合には、異なる端末からのサービス要求であっても、サーバには、サービスを要求するIPアドレスが同一であるように、見える。   In such an environment, if each terminal is connected to the Internet by dial-up connection, or relays through a proxy server, various routers, or firewalls, the service request is from a different terminal. However, it appears to the server that the IP address requesting the service is the same.

一方で、あるユーザが頻繁に同じサーバ装置にサービスを要求することによって、サービスの提供を妨害するなどのいたずらも発生している。   On the other hand, when a certain user frequently requests a service from the same server device, a mischief such as disturbing the provision of the service has occurred.

このようなサーバ装置によるサービスの提供の際には、頻繁にサービスを要求してサービスの提供を妨害するいたずらをできるだけ防止する技術が強く求められている。この場合、そのようないたずらをしている悪意のユーザと同じIPアドレスを利用している善意のユーザに対して、サービスを一切提供しないことは望ましくないため、悪意のユーザが利用するIPアドレスを一切利用できないこととはしない技術が望ましい。
本発明は、上記のような課題を解決するためになされたもので、端末からのサービスの要求に適切な優先度で応答するサーバ装置、サービス方法、ならびに、これらをコンピュータにて実現するプログラムを提供することを目的とする。
In providing a service by such a server device, a technique for frequently asking for a service and preventing as much as possible mischief that interferes with the provision of the service is strongly demanded. In this case, since it is not desirable not to provide any service to a bona fide user who uses the same IP address as a malicious user who performs such mischief, the IP address used by the malicious user is A technology that is not supposed to be unavailable at all is desirable.
The present invention has been made to solve the above-described problems, and provides a server device that responds to a service request from a terminal with an appropriate priority, a service method, and a program that implements these on a computer. The purpose is to provide.

以上の目的を達成するため、本発明の原理にしたがって、下記の発明を開示する。
本発明の第1の観点に係るサーバ装置は、受付部と、統計部と、計算部と、応答部と、を備え、以下のように構成する。
In order to achieve the above object, the following invention is disclosed in accordance with the principle of the present invention.
A server device according to a first aspect of the present invention includes a reception unit, a statistics unit, a calculation unit, and a response unit, and is configured as follows.

すなわち、受付部は、端末からのサービスの要求を受け付ける。典型的には、端末と受付部とは、インターネット等のコンピュータ通信網を介して接続され、端末からの各種のサービスの要求があってから、実際のサービスが提供されることとなる。   That is, the reception unit receives a service request from a terminal. Typically, the terminal and the reception unit are connected via a computer communication network such as the Internet, and an actual service is provided after a request for various services is received from the terminal.

一方、応答部は、当該端末に、当該要求されたサービスを提供して応答する。端末と受付部とがコンピュータ通信網を介して接続されている場合、端末と応答部もまたコンピュータ通信網を介して接続されるのが一般的である。端末から要求されたサービスの種類に応じて適宜サービスを提供する。本発明では、提供されるサービスの種類は問わない。   On the other hand, the response unit responds to the terminal by providing the requested service. When the terminal and the reception unit are connected via a computer communication network, the terminal and the response unit are also generally connected via a computer communication network. Services are provided as appropriate according to the type of service requested from the terminal. In the present invention, the type of service provided is not limited.

さらに、統計部は、過去に受け付けたサービスの要求と、当該サービスの要求をした要求元端末と、の統計を蓄積する。蓄積される統計としては、たとえば、要求元の端末のIPアドレスや当該ユーザ名等の端末を識別する情報、要求されたサービスの種類、当該要求がされた日時等が考えられる。   Further, the statistics unit accumulates statistics of service requests accepted in the past and request source terminals that have requested the services. Examples of the accumulated statistics include information identifying the terminal such as the IP address of the requesting terminal and the user name, the type of service requested, the date and time when the request was made, and the like.

そして、計算部は、当該端末からの最近の所定の期間もしくは所定の回数のサービスの要求の統計と、統計部に蓄積された当該端末を要求元端末とするサービスの要求の統計と、を比較して類似度を計算し、当該類似度にあらかじめ対応付けられた優先度を得る。統計には、要求元の端末を識別する情報が蓄積されているので、当該端末について、最近のサービス要求の様子(最近の所定の期間もしくは所定の回数のサービスの要求の統計)が通常のサービス要求の様子(統計部に蓄積された当該端末を要求元端末とするサービスの統計)とどの程度異なるかを調べることができる。なお、類似度が低くなる(サービス要求の様子が異常である)と、優先度が下がるように設定することが望ましい。   Then, the calculation unit compares the statistics of the request for the service for the predetermined period or the predetermined number of times from the terminal with the statistics of the request for the service using the terminal as the requesting terminal accumulated in the statistics unit. Then, the similarity is calculated, and a priority associated with the similarity is obtained. Since the information for identifying the requesting terminal is stored in the statistics, the state of the recent service request (statistics of the request for the service for the recent predetermined period or the predetermined number of times) for the terminal is the normal service. It can be checked how much it differs from the state of the request (statistics of a service in which the terminal accumulated in the statistics unit is the request source terminal). It is desirable to set so that the priority is lowered when the similarity is low (the service request is abnormal).

一方、サーバ装置は、当該端末へ、得られた優先度で、当該要求されたサービスを提供する。すなわち、サーバ装置は、得られた優先度によって受付部や応答部を制御することにより、当該端末へのサービスの提供の優先度を変更する。本発明により、いたずらが発生している場合など、サービス要求の様子が異常な変化を示した場合にも、適切な優先度でサービスを提供することができるようになる。   On the other hand, the server device provides the requested service to the terminal with the obtained priority. That is, the server device changes the priority of service provision to the terminal by controlling the receiving unit and the response unit according to the obtained priority. The present invention makes it possible to provide a service with an appropriate priority even when the state of a service request shows an abnormal change, such as when mischief occurs.

また、本発明のサーバ装置において、得られる優先度は、当該要求されたサービスを提供する確率であり、応答部は、乱数を生成して当該要求されたサービスを提供するか否かを決定するように構成することができる。すなわち、優先度が高い場合には、応答部がサービスを提供する確率を高くし、優先度が低い場合には、サービスを提供する確率を低くする。本発明は、上記発明の好適実施形態の一つであり、応答部側でサービスを提供するか否かを決めることによって、各端末に適切にサービスを提供することができるようになる。   In the server device of the present invention, the priority obtained is the probability of providing the requested service, and the response unit determines whether to generate the random number and provide the requested service. It can be constituted as follows. That is, when the priority is high, the probability that the response unit provides the service is increased, and when the priority is low, the probability of providing the service is decreased. The present invention is one of the preferred embodiments of the invention described above, and the service can be appropriately provided to each terminal by determining whether or not the response unit provides the service.

また、本発明のサーバ装置において、受付部は、得られた優先度で、当該端末からのサービスの要求を受け付けるように構成することができる。すなわち、優先度が高い場合には、受付部が要求を受け付ける確率を高くし、優先度が低い場合には、受付部が要求を受け付ける確率を低くする。本発明は、上記発明の好適実施形態の一つであり、受付部側でサービス要求を受け付けるか否かを決めることによって、各端末に適切にサービスを提供することができるようになる。   In the server device of the present invention, the reception unit can be configured to receive a service request from the terminal with the obtained priority. That is, when the priority is high, the probability that the accepting unit accepts the request is increased, and when the priority is low, the probability that the accepting unit accepts the request is decreased. The present invention is one of the preferred embodiments of the invention described above, and the service can be appropriately provided to each terminal by determining whether or not to accept the service request on the reception unit side.

また、本発明のサーバ装置において、受付部は、端末との間の通信路の帯域制限を行って、当該端末からサービスの要求を受け付ける優先度を変更するように構成することができる。すなわち、優先度が高い場合には、帯域制限を緩くし、優先度が低い場合には、帯域制限を厳しくする。本発明によれば、各端末との通信の帯域制限を調節することによって、サービスを提供する優先度を調整することができるようになる。   In the server device of the present invention, the reception unit can be configured to limit the bandwidth of the communication path with the terminal and change the priority for receiving a service request from the terminal. That is, when the priority is high, the bandwidth limit is relaxed, and when the priority is low, the bandwidth limit is tightened. According to the present invention, the priority for providing a service can be adjusted by adjusting the bandwidth limit of communication with each terminal.

また、本発明のサーバ装置において、統計部は、「当該サービスの要求をした要求元端末の統計」にかえて、「当該サービスの要求をした要求元端末を含む要求元端末群の統計」を蓄積し、計算部は、「当該端末からの最近の所定の期間もしくは所定の回数のサービスの要求の統計と、統計部に蓄積された当該端末を要求元端末とするサービスの要求の統計と」を比較するのにかえて、「当該端末を含む端末群からの最近の所定の期間もしくは所定の回数のサービスの要求の統計と、統計部に蓄積された当該端末を要求元端末群に含むサービスの要求の統計と」を比較して類似度を計算するように構成することができる。   Further, in the server device of the present invention, the statistic unit replaces “statistics of the requesting terminal that requested the service” with “statistics of the requesting terminal group including the requesting terminal that requested the service”. Accumulating and calculating section "the statistics of the request for the service of the recent predetermined period or the predetermined number of times from the terminal, and the statistics of the request of the service having the terminal as the requesting terminal accumulated in the statistics section" Instead of comparing the statistic of the request for the service for the recent predetermined period or the predetermined number of times from the terminal group including the terminal, and the service including the terminal accumulated in the statistical unit in the request source terminal group. It can be configured to calculate the degree of similarity by comparing with the request statistics.

特に、統計部および計算部は、同じグローバルIP(Internet Protocol)アドレスを利用してサービスの要求をする端末の群を、要求元端末群とするように構成することができる。
端末がダイアルアップ接続を利用している場合は、複数の端末(ユーザ)が、あるプロバイダが提供する同じグローバルIPアドレスを利用する。そこで、IPアドレス単位で統計を蓄積した場合には、端末単位に統計が蓄積されるのではなく、当該プロバイダを利用している端末群について統計が蓄積されることになる。したがって、このような端末群に対してサービス提供の優先度が割り当てられる。
In particular, the statistics unit and the calculation unit can be configured such that a group of terminals that request a service using the same global IP (Internet Protocol) address is a request source terminal group.
When a terminal uses a dial-up connection, a plurality of terminals (users) use the same global IP address provided by a certain provider. Therefore, when statistics are accumulated in units of IP addresses, statistics are not accumulated in units of terminals, but statistics are accumulated for a group of terminals using the provider. Accordingly, priority of service provision is assigned to such a terminal group.

また、統計部および計算部は、同じ代理サーバを経由してサービスの要求をする端末の群を要求元端末群とするように構成することができる。
端末が代理サーバを利用している場合は、複数の端末が、当該代理サーバのグローバルIPアドレスを利用する。そこで、IPアドレス単位で統計を蓄積した場合には、端末単位に統計が蓄積されるのではなく、当該代理サーバを利用している端末群について統計が蓄積されることになる。したがって、このような端末群に対してサービス提供の優先度が割り当てられる。
Further, the statistics unit and the calculation unit can be configured such that a group of terminals that request a service via the same proxy server is a request source terminal group.
When the terminal uses a proxy server, a plurality of terminals use the global IP address of the proxy server. Therefore, when statistics are accumulated in units of IP addresses, statistics are not accumulated in units of terminals, but statistics are accumulated for a group of terminals using the proxy server. Accordingly, priority of service provision is assigned to such a terminal group.

これらの発明によれば、最終的にユーザが使用している端末の同定ができない場合であっても、当該端末が利用するプロバイダや代理サーバを単位として統計を蓄積することによって、当該端末が含まれる端末群を単位としてサービス提供の優先度を割り当てることができるようになる。   According to these inventions, even if the terminal used by the user cannot be finally identified, the terminal is included by accumulating statistics in units of providers and proxy servers used by the terminal. Service provision priority can be assigned in units of groups of terminals.

本発明の他の観点に係るサービス方法は、受付工程と、統計工程と、計算工程と、応答工程と、を備え、以下のように構成する。
すなわち、受付工程では、端末からのサービスの要求を受け付ける。
一方、応答工程では、当該端末に、当該要求されたサービスを提供して応答する。
さらに、統計工程では、過去に受け付けたサービスの要求と、当該サービスの要求をした要求元端末と、の統計を蓄積する。
A service method according to another aspect of the present invention includes a reception process, a statistical process, a calculation process, and a response process, and is configured as follows.
That is, in the reception step, a service request from the terminal is received.
On the other hand, in the response step, the requested service is provided and responded to the terminal.
Further, in the statistical process, statistics of service requests received in the past and request source terminals that have requested the services are accumulated.

そして、計算工程では、当該端末からの最近の所定の期間もしくは所定の回数のサービスの要求の統計と、統計工程により蓄積された当該端末を要求元端末とするサービスの要求の統計と、を比較して類似度を計算し、当該類似度にあらかじめ対応付けられた優先度を得る。
一方、当該サービス方法は、当該端末に対して、得られた優先度で、当該要求されたサービスを提供する。
Then, in the calculation process, the service request statistics for the recent predetermined period or the predetermined number of times from the terminal are compared with the service request statistics stored in the statistical process using the terminal as the requesting terminal. Then, the similarity is calculated, and a priority associated with the similarity is obtained.
On the other hand, the service method provides the requested service to the terminal with the obtained priority.

本発明のその他の観点に係るプログラムは、コンピュータを上記サーバ装置として機能させ、または、コンピュータに上記サービス方法を実行させるように構成する。
また、本発明のプログラムは、コンパクトディスク、フレキシブルディスク、ハードディスク、光磁気ディスク、ディジタルビデオディスク、磁気テープ、半導体メモリ等のコンピュータ読取可能な情報記憶媒体に記録することができる。
上記プログラムは、プログラムが実行されるコンピュータとは独立して、コンピュータ通信網を介して配布・販売することができる。また、上記情報記憶媒体は、コンピュータとは独立して配布・販売することができる。
A program according to another aspect of the present invention is configured to cause a computer to function as the server device or to cause the computer to execute the service method.
The program of the present invention can be recorded on a computer-readable information storage medium such as a compact disk, flexible disk, hard disk, magneto-optical disk, digital video disk, magnetic tape, and semiconductor memory.
The above program can be distributed and sold via a computer communication network independently of the computer on which the program is executed. The information storage medium can be distributed and sold independently from the computer.

本発明によれば、端末からのサービスの要求に適切な優先度で応答するサーバ装置、サービス方法、ならびに、これらをコンピュータにて実現するプログラムを提供することができる。   According to the present invention, it is possible to provide a server device that responds to a service request from a terminal with an appropriate priority, a service method, and a program that implements these on a computer.

以下に本発明の実施形態を説明する。以下では、理解を容易にするため、インターネット内のサーバ装置に本発明が適用される実施形態を説明するが、各種のコンピュータ、PDA(Personal Data Assistants)、携帯電話などの情報処理装置においても同様に本発明を適用することができる。すなわち、以下に説明する実施形態は説明のためのものであり、本願発明の範囲を制限するものではない。したがって、当業者であればこれらの各要素もしくは全要素をこれと均等なものに置換した実施形態を採用することが可能であるが、これらの実施形態も本発明の範囲に含まれる。   Embodiments of the present invention will be described below. In the following, for ease of understanding, an embodiment in which the present invention is applied to a server device in the Internet will be described. However, the same applies to information processing devices such as various computers, PDAs (Personal Data Assistants), and mobile phones. The present invention can be applied to. That is, the embodiment described below is for explanation, and does not limit the scope of the present invention. Therefore, those skilled in the art can employ embodiments in which each or all of these elements are replaced with equivalent ones, and these embodiments are also included in the scope of the present invention.

(サービス提供システムの構成)
図1は、本発明の実施形態の1つに係るサーバ装置が含まれるサービス提供システムの概要構成を示す説明図である。以下、本図を参照して説明する。
サービス提供システム10は、サーバ装置101と、複数の端末151と、を備え、これらはインターネット171を介して通信可能に接続される。インターネット171と各端末151との接続は、ダイヤルアップ接続を用いた場合、各端末151には、一時的なグローバルIPアドレスが割り当てられるのが一般的である。この場合、当該グローバルIPアドレスは、ダイヤルアップ接続サービスを提供するプロバイダを利用するユーザの端末で共有されることになる。
(Service providing system configuration)
FIG. 1 is an explanatory diagram showing a schematic configuration of a service providing system including a server device according to one embodiment of the present invention. Hereinafter, a description will be given with reference to FIG.
The service providing system 10 includes a server device 101 and a plurality of terminals 151, which are connected to be communicable via the Internet 171. When dial-up connection is used for connection between the Internet 171 and each terminal 151, a temporary global IP address is generally assigned to each terminal 151. In this case, the global IP address is shared by the terminal of the user who uses the provider that provides the dial-up connection service.

また、常時接続環境では、各端末151には固有のグローバルIPアドレスが割り当てられるのが一般的であるが、たとえば家庭内LANを構築する場合には、家庭内LANに含まれる端末151からのアクセスは、すべてこのグローバルIPアドレスを介して行われるように構成されることが多い。このように、インターネットと家庭内LANとを、ルータやファイアウォールで接続する場合には、家庭内LANに含まれる端末151は、ルータ等に割り当てられるグローバルIPを共有することになる。   In a constant connection environment, each terminal 151 is generally assigned a unique global IP address. For example, when a home LAN is constructed, access from the terminal 151 included in the home LAN is possible. Are often configured to take place via this global IP address. As described above, when the Internet and the home LAN are connected by a router or a firewall, the terminals 151 included in the home LAN share a global IP assigned to the router or the like.

また、インターネット内の代理サーバを用いて、ウェブサーバ装置へのアクセスを高速化したりする手法も広く用いられている。代理サーバは、上記の家庭内LANの態様におけるルータやファイアウォールと同じような機能を果たす。   In addition, a technique of speeding up access to a web server device using a proxy server in the Internet is also widely used. The proxy server performs the same function as the router and firewall in the above-described home LAN mode.

図2は、本発明のサーバ装置が実現される典型的な情報処理装置の概要構成を示す説明図である。以下、本図を参照して説明する。   FIG. 2 is an explanatory diagram showing a schematic configuration of a typical information processing device in which the server device of the present invention is realized. Hereinafter, a description will be given with reference to FIG.

情報処理装置201は、CPU(Central Processing Unit)202と、ROM(Read Only Memory)203と、RAM(Random Access Memory)204と、キーボードやマウスからなる入力装置205と、モニタなどの表示装置206と、ハードディスクなどの外部記憶装置207と、CD−ROMドライブなどの媒体読取装置208と、NIC(Network Interface Card)209と、を備える。   The information processing apparatus 201 includes a central processing unit (CPU) 202, a read only memory (ROM) 203, a random access memory (RAM) 204, an input device 205 including a keyboard and a mouse, a display device 206 such as a monitor, An external storage device 207 such as a hard disk, a medium reading device 208 such as a CD-ROM drive, and a network interface card (NIC) 209.

サーバ装置として機能するための各種のプログラムを、媒体読取装置208に装着されたCD−ROMなどから外部記憶装置207にインストールし、当該サーバ用プログラムを実行させることによって、情報処理装置201は、本発明のサーバ装置101として機能する。特に、情報処理装置201の電源を投入した後の処理すべき手順を記述した初期化ファイルを適切に外部記憶装置207に用意しておくことにより、情報処理装置201の電源を投入すると、必要なサーバ用プログラムが実行され、本発明のサーバ装置101として機能するようになる。   Various programs for functioning as a server device are installed in the external storage device 207 from a CD-ROM or the like mounted on the medium reading device 208, and the information processing device 201 executes the server program to execute the program. It functions as the server apparatus 101 of the invention. In particular, when the information processing apparatus 201 is turned on by appropriately preparing an initialization file describing the procedure to be processed after turning on the information processing apparatus 201 in the external storage device 207, it is necessary. The server program is executed and functions as the server apparatus 101 of the present invention.

CPU 202は、情報処理装置201の全体の動作を制御し、各構成要素と接続され、これらを制御する制御信号を与えたり、これらとの情報のやりとりを行うためにデータの送受を行う。
ROM 203には、電源投入直後に実行されるIPL(Initial Program Loader)が記録され、これが実行されることにより、外部記憶装置207や媒体読取装置208に装着されたCD−ROM等に記録されたプログラムをRAM 204に読み出してCPU 202による実行が開始される。
The CPU 202 controls the overall operation of the information processing apparatus 201, is connected to each component, gives control signals for controlling these components, and transmits and receives data to exchange information with them.
The ROM 203 records an IPL (Initial Program Loader) that is executed immediately after the power is turned on, and is recorded on a CD-ROM or the like attached to the external storage device 207 or the medium reading device 208 by being executed. The program is read into the RAM 204 and execution by the CPU 202 is started.

RAM 204は、データやプログラムを一時的に記憶するためのもので、外部記憶装置207や媒体読取装置208に装着されたCD−ROM等に記録されたプログラムやデータを保持し、また、これがサーバ装置として機能する場合には、各種のサービスを提供するために必要な情報を一時的に記憶したり、サービスの提供の過程を記録するために用いられる。   The RAM 204 is for temporarily storing data and programs, and holds programs and data recorded on a CD-ROM or the like mounted on the external storage device 207 or the medium reading device 208. When functioning as a device, it is used to temporarily store information necessary for providing various services and to record the service provision process.

入力装置205は、当該情報処理装置201を直接使用したりこれを管理したりする際に、サーバ装置の管理者が、各種の指示を与えるためのものであり、表示装置206は、当該指示の結果等、各種の報告を管理者に提示するためのものである。   The input device 205 is used by the server device administrator to give various instructions when the information processing device 201 is directly used or managed, and the display device 206 displays the instructions. It is for presenting various reports such as results to the administrator.

典型的には、これらは、当該情報処理装置201に直接接続されるキーボードやマウスならびにモニタが相当するが、NIC 209、シリアル通信線、パラレル通信線などを介して接続される他の情報処理装置を入力装置205として機能させることとして、情報処理装置201自身には、キーボードやマウス、モニタなどを備えない態様も広く用いられている。   Typically, these correspond to a keyboard, a mouse, and a monitor directly connected to the information processing apparatus 201, but other information processing apparatuses connected via a NIC 209, a serial communication line, a parallel communication line, or the like. As an input device 205, the information processing apparatus 201 itself is widely used in a manner that does not include a keyboard, a mouse, a monitor, or the like.

外部記憶装置207は、上述したように、情報処理装置201がサーバ装置として機能するための各種のプログラムや設定ファイル、提供するサービスに関する各種のデータ、端末からのアクセス統計等を不揮発的かつ読み書き可能に記録するのに用いられる。   As described above, the external storage device 207 can nonvolatilely read and write various programs and setting files for the information processing device 201 to function as a server device, various data regarding services to be provided, access statistics from terminals, and the like. Used for recording.

媒体読取装置208は、当該情報処理装置201に対して種々のソフトウェアをインストールしたり、外部記憶装置207の記憶容量の空きを広くするため情報処理装置201が利用するデータを記憶させるのに利用される。利用可能な媒体は、典型的にはCD−ROMやDVD−ROMである。尚、このような媒体読取装置208を利用しなくとも、NIC 209を介したネットワークインストールの技術を利用して、他の情報処理装置からインターネットやLANを介して提供される各種のソフトウェアをインストールすることが可能である。   The medium reading device 208 is used to install various software for the information processing device 201 and to store data used by the information processing device 201 in order to widen the storage capacity of the external storage device 207. The An available medium is typically a CD-ROM or a DVD-ROM. Even if the medium reading device 208 is not used, various software provided from other information processing devices via the Internet or LAN is installed using the technology of network installation via the NIC 209. It is possible.

NIC 209は、情報処理装置201をインターネット等のコンピュータ通信網(図示せず)に接続するためのものであり、LAN(Local Area Network)を構成する際に用いられる10BASE−T/100BASE−T規格にしたがうものや、電話回線を用いてインターネットに接続するためのアナログモデム、ISDN(Integrated Services Digital Network)モデム、ADSL(Asymmetric Digital Subscriber Line)モデム、ケーブルテレビジョン回線を用いてインターネットに接続するためのケーブルモデム等と、これらとCPU 202との仲立ちを行う内部インターフェース(図示せず)により構成される。   The NIC 209 is used to connect the information processing apparatus 201 to a computer communication network (not shown) such as the Internet, and is used in configuring a LAN (Local Area Network). The 10BASE-T / 100BASE-T standard is used. To connect to the Internet using an analog modem, ISDN (Integrated Services Digital Network) modem, ADSL (Asymmetric Digital Subscriber Line) modem, cable television line A cable modem or the like and an internal interface (not shown) that mediates between these and the CPU 202 are configured.

図3は、本発明の実施形態の1つに係るサーバ装置の概要構成を示す説明図である。図4は、当該サーバ装置にて実行されるサービス方法の処理の流れを示す説明図である。以下、本図を参照して説明する。
サーバ装置101は、受付部102と、統計部103と、計算部104と、応答部105と、を備える。ここで、当該サーバ装置101が、上記の情報処理装置201上に実現される場合、NIC 209はCPU 202と共働して受付部102ならびに応答部105として機能し、外部記憶装置207はCPU 202と共働して統計部103として機能し、CPU 202は計算部104として機能する。以下、詳細に説明する。
FIG. 3 is an explanatory diagram showing a schematic configuration of a server apparatus according to one embodiment of the present invention. FIG. 4 is an explanatory diagram showing the flow of processing of the service method executed by the server device. Hereinafter, a description will be given with reference to FIG.
The server apparatus 101 includes a reception unit 102, a statistics unit 103, a calculation unit 104, and a response unit 105. Here, when the server apparatus 101 is realized on the information processing apparatus 201 described above, the NIC 209 functions as the reception unit 102 and the response unit 105 in cooperation with the CPU 202, and the external storage device 207 is the CPU 202. And the CPU 202 functions as the calculation unit 104. Details will be described below.

ここで、統計部103は、これまでに受け付けたサービスの要求と、当該サービスの要求をした要求元端末と、の統計を蓄積しており、これらの情報は、適宜更新される。   Here, the statistics unit 103 accumulates statistics on the service requests received so far and the requesting terminal that has requested the services, and these pieces of information are updated as appropriate.

まず、受付部102は、端末151からのサービスの要求を受け付ける(ステップS401)。本実施形態では、端末151と受付部102とは、インターネット171を介して接続され、端末151からの各種のサービスの要求があってから、実際のサービスが提供される。サーバ装置101がウェブサーバとして機能する場合には、受付部102は、HTTPプロトコルに基づく要求パケットを受信することとなる。   First, the receiving unit 102 receives a service request from the terminal 151 (step S401). In the present embodiment, the terminal 151 and the receiving unit 102 are connected via the Internet 171, and an actual service is provided after a request for various services is received from the terminal 151. When the server apparatus 101 functions as a web server, the reception unit 102 receives a request packet based on the HTTP protocol.

そこで、統計部103は、ステップS401において受け付けたサービスの要求と、当該サービスの要求をした端末151との統計を追加して、蓄積する(ステップS402)。ここで、本実施形態では、統計として蓄積される情報として、
(1)要求元の端末151のIPアドレス
(2)要求がされた日時
を採用するものとする。なお、蓄積する統計の情報量には制限を設け、追加によって当該制限を超えそうになった場合には、古い統計情報から順次消去していくこととするのが望ましい。
Therefore, the statistics unit 103 adds and accumulates the service request received in step S401 and the statistics of the terminal 151 that has requested the service (step S402). Here, in this embodiment, as information accumulated as statistics,
(1) The IP address of the requesting terminal 151 (2) The date and time when the request is made is adopted. It should be noted that it is desirable to set a limit on the amount of statistical information to be accumulated, and to delete the statistical information in order from the old statistical information when the limit is likely to be exceeded by addition.

ついで、計算部104は、当該端末151からの最近の所定の期間もしくは所定の回数のサービスの要求の統計と、統計部103に蓄積された当該端末151を要求元端末151とするサービスの要求の統計と、を比較して類似度を計算する(ステップS403)。類似度の計算には、種々の技術が適用できる。以下では時間帯によるアクセス数をベクトルとして考え、その内積を用いて類似度を求める手法について説明する。   Next, the calculation unit 104 calculates the service request statistics for the recent predetermined period or the predetermined number of times from the terminal 151 and the request for the service that uses the terminal 151 accumulated in the statistical unit 103 as the request source terminal 151. The degree of similarity is calculated by comparing the statistics (step S403). Various techniques can be applied to the similarity calculation. In the following, a method for obtaining the degree of similarity using the inner product of the number of accesses by time zone as a vector will be described.

たとえば、サービスの要求がされた時刻が21時(午後9時)45分であったものとする。この場合、以下のような24個の統計を取得する。
同日のi時〜i+1時のアクセス数ai(0≦i<21)
前日のi時〜i+1時のアクセス数ai(21≦i<24)
24個の数値からなるai(0≦i<24)は、最近のサービス要求の様子を示す統計である。
For example, it is assumed that the time at which the service is requested is 21 o'clock (9 pm) 45 minutes. In this case, the following 24 statistics are acquired.
Number of accesses a i (0≤i <21) from i o'clock to i + 1 o'clock on the same day
Number of accesses a i (21≤i <24) from i o'clock to i + 1 the day before
A i (0 ≦ i <24) composed of 24 numerical values is a statistic indicating a state of a recent service request.

一方、これまでの統計情報をすべて時間帯ごとに集積して、
i時〜i+1時の総アクセス数ti(0≦i<24)
という統計も取得する。
24個の数値からなるti(0≦i<24)は、これまでのサービス要求の(平均的な)様子に対応する統計である。
On the other hand, all the statistical information so far is accumulated by time zone,
Total number of accesses from i hour to i + 1 t i (0 ≦ i <24)
Also get the statistics.
T i (0 ≦ i <24) composed of 24 numerical values is a statistic corresponding to the (average) state of the service request so far.

そこで、ai,tiを、それぞれ、24次元のベクトルa,tと考え、それぞれのベクトルの長さ|a|,|t|および、ベクトルの内積a・tから、これらがなす角θを計算する。具体的には、
|a| = (Σi=0 23ai 2)1/2
|t| = (Σi=0 23ti 2)1/2
a・t = Σi=0 23ai ti
という計算により、ベクトルの長さおよび内積が求められる。
Therefore, a i and t i are considered to be 24-dimensional vectors a and t, respectively, and the angle θ formed by these vectors from the lengths | a | and | t | calculate. In particular,
| a | = (Σ i = 0 23 a i 2 ) 1/2 ;
| t | = (Σ i = 0 23 t i 2 ) 1/2 ;
a ・ t = Σ i = 0 23 a i t i
Thus, the vector length and inner product are obtained.

そこで、これらがなす角θは、
θ = arccos(a・t/(|a||t|))
のように得ることができる。
Therefore, the angle θ formed by these is
θ = arccos (a ・ t / (| a || t |))
You can get like that.

さて、ベクトルa,tのなす角が小さい、ということは、これらの方向がほとんど同じである、ということであり、各時間帯におけるアクセスの割合が類似している、ということに対応する。θは0度〜180度の範囲の値をとり、θの数値が小さければ類似するのであるから、θは「非類似度」に対応する。   Now, the fact that the angles formed by the vectors a and t are small corresponds to the fact that these directions are almost the same, and that the access ratio in each time zone is similar. θ takes a value in the range of 0 to 180 degrees, and is similar if the numerical value of θ is small. Therefore, θ corresponds to “dissimilarity”.

「類似度」とするためには、180度からθを減じた値を採用すれば良いが、このような減算演算を行わなくとも、θが小さければ優先度が上がり、θが大きければ優先度が下がるように、あらかじめθと優先度とを対応付けておけば、「類似度に対応付けた優先度を得る」機能が実現できる。
尚、この他の蓄積される統計情報の種類や類似度の計算手法については、後述する。
In order to obtain “similarity”, a value obtained by subtracting θ from 180 degrees may be used. However, even if such a subtraction operation is not performed, the priority increases when θ is small, and the priority when θ is large. If θ and priority are associated in advance so that the priority is reduced, the function of “obtaining priority associated with similarity” can be realized.
The other types of statistical information to be accumulated and the calculation method of the similarity will be described later.

そして、計算部104は、類似度(もしくは非類似度)を計算によって求めた後に、当該類似度(もしくは非類似度)にあらかじめ対応付けられた優先度を得る(ステップS404)。
本実施形態では、優先度として、当該端末151にサービスを提供する確率を採用する。すなわち、優先度が高ければ、サービスを提供する確率も高くなり、優先度が低ければ、サービスを提供する確率も低くなる。
当該確率の値としては、たとえば、(180°-θ)/180°などのような値を採用することができる。
Then, after calculating the similarity (or dissimilarity) by calculation, the calculation unit 104 obtains a priority associated with the similarity (or dissimilarity) in advance (step S404).
In this embodiment, the probability of providing a service to the terminal 151 is adopted as the priority. That is, the higher the priority, the higher the probability of providing a service, and the lower the priority, the lower the probability of providing a service.
As the probability value, for example, a value such as (180 ° −θ) / 180 ° can be adopted.

さて、優先度として、サービスを提供する確率が得られたら、CPU 202は、0〜1の範囲の一様乱数を発生させる(ステップS405)。乱数の発生技術については、M系列や線形合同法などを利用するもののほか、現在時刻から直接乱数を発生させる技術などを採用することができる。   When the probability of providing the service is obtained as the priority, the CPU 202 generates a uniform random number in the range of 0 to 1 (step S405). As a technique for generating a random number, a technique for generating a random number directly from the current time can be adopted in addition to a technique using an M-sequence or a linear congruential method.

そして、発生された一様乱数と、当該確率の値とを比較し、前者が後者以下であるか否かを判定する(ステップS406)。一様乱数が確率の値以下である場合(ステップS406;Yes)、当該サーバ装置101は、当該端末151に対して要求されたサービスを提供することとなる。   Then, the generated uniform random number is compared with the value of the probability, and it is determined whether or not the former is equal to or less than the latter (step S406). When the uniform random number is equal to or less than the probability value (step S406; Yes), the server apparatus 101 provides the requested service to the terminal 151.

そこで、CPU 202は、受付部102によって受け付けられたサービスの要求の内容を検討し、当該要求に対して、当該サービスを提供する応答のパケットを生成し(ステップS407)応答部105に対して、当該応答のパケットを当該端末151へ送信させて、応答する(ステップS408)。そして、ステップS401に戻る。   Therefore, the CPU 202 examines the content of the service request received by the receiving unit 102 and generates a response packet for providing the service in response to the request (step S407). The response packet is transmitted to the terminal 151 to respond (step S408). Then, the process returns to step S401.

一方、一様乱数が確率の値以下である場合(ステップS406;No)、CPU 202は、受付部102によって受け付けられたサービスの要求に対して、サーバ装置101に対するアクセスが多いため混雑が生じておりサービスを提供できない旨を報告する報告パケットを生成し(ステップS409)、NIC 209を介して、これを当該端末151に送信して(ステップS410)、ステップS401に戻る。   On the other hand, when the uniform random number is less than or equal to the probability value (step S406; No), the CPU 202 is congested because there are many accesses to the server apparatus 101 for the service request received by the receiving unit 102. A report packet reporting that the service cannot be provided is generated (step S409), and is transmitted to the terminal 151 via the NIC 209 (step S410), and the process returns to step S401.

このように、本実施形態では、サービスの要求をしてきた端末のIPアドレスによって統計を分類し、当該IPアドレスからサービスの要求がされた時間帯の統計を蓄積し、従来のサービス要求の時間帯変化と、最近のサービス要求の時間帯変化とを比較して、これが類似する程度に応じた確率で、サービスを提供することとしている。   As described above, in the present embodiment, statistics are classified according to the IP address of the terminal that has requested the service, the statistics of the time zone in which the service is requested from the IP address are accumulated, and the time zone of the conventional service request is stored. The change is compared with the time zone change of the recent service request, and the service is provided with a probability corresponding to the degree of similarity.

悪意のユーザが当該IPアドレスを利用して大量のサービス要求のパケットを当該サーバ装置101に送信した場合には、従来のサービス要求の時間帯変化と、最近のサービス要求の時間帯変化とが大きく異なる様相を呈することが一般的である。このような場合には、上記の非類似度θは大きくなり、類似度180°-θは小さくなるので、これに応じた確率を採用することにより、いたずらをしているユーザに対するサービス提供を減らすことができる。   When a malicious user transmits a large number of service request packets to the server apparatus 101 using the IP address, a change in the time zone of the conventional service request and a change in the time zone of the recent service request are large. It is common to have a different aspect. In such a case, the dissimilarity θ is increased and the similarity 180 ° −θ is decreased. Therefore, by adopting a probability corresponding to the dissimilarity, the provision of services to mischievous users is reduced. be able to.

一方、当該確率は殆どの場合は0とはならないので、同じIPアドレスを利用している他の善意のユーザがいる場合であっても、当該善意のユーザには、サーバ装置101が混みあっていてサービスが提供できない旨の通知がされるので、当該サーバ装置101に対してサービスを要求したいという欲求を減退させずに済む。また、確率が低いとはいえ、多くの場合は0とはならないのであるから、何回か繰り返してサービス要求を行うような熱意のある善意のユーザに対しては、いつかは当該サービスが提供されることとなる。   On the other hand, since the probability is not 0 in most cases, even if there are other bona fide users who use the same IP address, the bona fide user is crowded with the server apparatus 101. Therefore, it is not necessary to reduce the desire to request a service from the server apparatus 101. In addition, although the probability is low, in many cases it is not 0, so that the service is provided to a good-willed user who is enthusiastic and makes a service request several times. The Rukoto.

上記実施例1では、受信部102が要求パケットを受信した後に、当該端末151に対してサービスを提供するか否かをアクセスの類似度と乱数により決めていた。すなわち、サーバ装置101の出口側で、端末151に対するサービス提供の優先度を調整していた。
本実施形態は、サーバ装置101の入口側、すなわち、受付部102においてサービス提供の優先度を調整するものである。
In the first embodiment, after the receiving unit 102 receives the request packet, whether to provide a service to the terminal 151 is determined based on the similarity of access and a random number. That is, the priority of service provision to the terminal 151 is adjusted on the exit side of the server apparatus 101.
In the present embodiment, the priority of service provision is adjusted at the entrance side of the server apparatus 101, that is, at the receiving unit 102.

サーバ装置101に対するアクセス頻度が高いことが予想される場合には、複数の情報処理装置201を用意する手法が広く用いられている。この手法では、一台(以下「振分機」という。)をサービス要求のパケットを受信する専用の機械とし、残り(以下「処理機」という。)をサービス要求に応答するパケットを生成してこれを端末に送信する機械とする。   When it is expected that the access frequency to the server apparatus 101 is high, a method of preparing a plurality of information processing apparatuses 201 is widely used. In this method, one unit (hereinafter referred to as “distributor”) is a dedicated machine that receives service request packets, and the rest (hereinafter referred to as “processor”) generates packets that respond to service requests. Is a machine that transmits to the terminal.

そして、振分機は、複数の処理機のいずれか1台を、ランダムにもしくはあらかじめ定めた順序で選択して、選択された処理機に転送し、当該処理機にサービスを提供させる。   Then, the distributor selects any one of the plurality of processors at random or in a predetermined order, transfers the selected processor to the selected processor, and causes the processor to provide a service.

本実施形態では、上記のような振分機、処理機のほか、統計機という情報処理装置を設ける。図5は、本実施形態のサーバ装置の概要構成を示す模式図である。   In the present embodiment, an information processing device called a statistical machine is provided in addition to the above-described distributor and processor. FIG. 5 is a schematic diagram showing a schematic configuration of the server device of the present embodiment.

サーバ装置101は、振分機501、統計機502、複数の処理機503を備える。振分機501は、受付部102に相当し、処理機503は、応答部105に相当し、統計機502は、統計部103および計算部104に相当する。   The server apparatus 101 includes a distribution device 501, a statistical device 502, and a plurality of processing devices 503. The sorter 501 corresponds to the reception unit 102, the processing unit 503 corresponds to the response unit 105, and the statistical machine 502 corresponds to the statistical unit 103 and the calculation unit 104.

振分機501は、サービス要求のパケットを受信すると、これに指定されている端末151のIPアドレスを統計機502に通知して、統計機502から当該IPアドレスに対する優先度(当該IPアドレスからのパケットを単位時間に受け付ける量。以下「帯域制限値」という。)を取得する。   Upon receiving the service request packet, the allocator 501 notifies the statistic machine 502 of the IP address of the terminal 151 specified thereto, and the statistic machine 502 gives priority to the IP address (packets from the IP address). Is received per unit time (hereinafter referred to as “bandwidth limit value”).

そして、当該IPアドレスからのパケットを最近の単位時間でどれだけの量を受け付けたかを調べ、これが帯域制限値より大きい場合には、当該端末151に対して、サービスを提供することができない旨の通知を直ちに行う。   Then, the amount of packets received from the IP address in the most recent unit time is checked, and if this is larger than the bandwidth limit value, the service cannot be provided to the terminal 151. Notification immediately.

一方、帯域制限値以下である(帯域制限にかからない)場合は、公知の技術通り、いずれかの処理機503を選択して、当該パケットを転送し、当該処理機503にサービスの提供をさせる。   On the other hand, if it is equal to or less than the bandwidth limit value (the bandwidth is not limited), one of the processors 503 is selected, the packet is transferred, and the processor 503 is provided with a service, as is known in the art.

したがって、振分機501としては、上記のようなIPアドレスごとの帯域制限ができるような専用の機器(ルータやファイアウォール、ゲートウェイ専用機)を採用しても良い。   Therefore, as the distributor 501, a dedicated device (router, firewall, gateway dedicated device) that can limit the bandwidth for each IP address as described above may be employed.

一方、統計機502は、振分機501から端末151のIPアドレスが通知されるたびに、現在時刻と、当該IPアドレスと、を、上記実施形態と同様に、統計として蓄積する。また、振分機501に直ちに優先度を通知できるようにするため、上記の情報を蓄積した後に、次に通知する優先度をあらかじめ計算しておく。
すなわち、端末151のIPアドレスが振分機501から通知されると、当該IPアドレスに対してあらかじめ計算された優先度を端末151に通知してから、統計の蓄積を行い、次の優先度を求めるのである。
本実施形態は、複数の情報処理装置201によってサーバ装置101を実現する場合に特に好適であり、アクセス集中の際に混雑のためサービスが提供できない旨を通知するようなウェブサーバ装置に適用することができる。
On the other hand, every time the IP address of the terminal 151 is notified from the allocator 501, the statistic machine 502 accumulates the current time and the IP address as statistics as in the above embodiment. In addition, in order to be able to immediately notify the priority to the allocator 501, after the above information is accumulated, the priority to be notified next is calculated in advance.
That is, when the IP address of the terminal 151 is notified from the allocator 501, the priority calculated in advance for the IP address is notified to the terminal 151, and then statistics are accumulated to obtain the next priority. It is.
The present embodiment is particularly suitable when the server apparatus 101 is realized by a plurality of information processing apparatuses 201, and is applied to a web server apparatus that notifies that a service cannot be provided due to congestion during access concentration. Can do.

上記の実施形態では、統計情報として端末151のIPアドレス、および、サービス要求がされた時間帯を蓄積することとしていた。このため、実際にサービスを要求している端末151が、ダイヤルアップ接続・代理サーバ・ルータ・ファイアウォール・ゲートウェイ等を利用している場合には、当該統計情報は、端末151単体の統計情報ではなく、当該IPアドレスを利用する端末群の統計情報となる。   In the above embodiment, the IP address of the terminal 151 and the time zone when the service request is made are accumulated as statistical information. For this reason, when the terminal 151 that actually requests the service uses a dial-up connection, proxy server, router, firewall, gateway, or the like, the statistical information is not statistical information of the terminal 151 alone. The statistical information of the terminal group that uses the IP address.

しかしながら、このような場合であっても、これ以外の情報を統計情報として利用することによって、端末151の同定をさらに詳しく行うことができる。たとえば、以下のような情報をさらに利用することが可能である。
・利用しているWWWブラウザの種類。HTTPプロトコルを利用している場合には、HTTP_USER_AGENTパラメータを参照することによって、この情報を知ることができる。
・要求パケットのブロックサイズ等のパラメータ。これらのパラメータとしては、MRU値、MTU値、RWIN値などが考えられる。これらのパラメータは、インターネット接続の最適化を行うツールなどを利用した場合に設定が変わるほか、OSの種類やアプリケーションの種類によって既定値が異なることがあるため、端末が異なるとパラメータが異なることがある。
・要求するサービスの種類。いたずらを行うユーザは、同じサービスを頻繁に要求することによってサーバ装置101の動作を妨害することが多いためである。
However, even in such a case, the terminal 151 can be identified in more detail by using other information as statistical information. For example, the following information can be further used.
-The type of WWW browser being used. If the HTTP protocol is used, this information can be obtained by referring to the HTTP_USER_AGENT parameter.
Parameters such as request packet block size. As these parameters, an MRU value, an MTU value, an RWIN value, etc. can be considered. These parameters change when an Internet connection optimization tool is used, and the default values may differ depending on the OS type or application type. is there.
-The type of service requested. This is because a user who performs mischief often disturbs the operation of the server apparatus 101 by frequently requesting the same service.

このように、種々の統計情報を蓄積して、これらが同一であるものごとに分類を行うと、分類される端末群に含まれる端末の数は少なくなっていくことが期待される。いたずらを行うユーザは、同じ端末から同じいたずら用のアプリケーションを用いてサービス要求を行うことが多いため、これらの種々の統計情報が一致する。そして、いたずらを開始すると、特定の端末群のアクセス数のみが異常に多くなる傾向がある。   As described above, when various pieces of statistical information are accumulated and classified for each of the same, it is expected that the number of terminals included in the classified terminal group is reduced. Since a user who makes a mischief often makes a service request from the same terminal using the same mischief application, these various pieces of statistical information match. When mischief is started, only the number of accesses of a specific terminal group tends to be abnormally large.

上記実施形態では、「最近の所定の期間の時間帯ごとのアクセス数」のベクトルと、「これまでに蓄積されている時間帯ごとの総アクセス数」のベクトルと、から、類似度を求めていた。   In the above embodiment, the similarity is obtained from the vector of “the number of accesses for each time period in the recent predetermined period” and the vector of “the total number of accesses for each time period accumulated so far”. It was.

本実施形態では、たとえば、「最近の所定の期間のMRU値、MTU値、RWIN値ごとのアクセス数」の3次元ベクトルと、「これまでに蓄積されているMRU値、MTU値、RWIN値ごとの総アクセス数」の3次元ベクトルと、から、類似度を求めることができる。   In this embodiment, for example, a “three-dimensional vector of“ number of accesses for each MRU value, MTU value, and RWIN value in a recent predetermined period ”” and “every accumulated MRU value, MTU value, and RWIN value” The degree of similarity can be obtained from the three-dimensional vector of “total number of accesses”.

また、これらの区分の分け方(ベクトルの次元数)は、上記のように蓄積する統計情報の種類によって、適宜変更することが可能である。   Further, how to divide these categories (the number of vector dimensions) can be changed as appropriate according to the type of statistical information accumulated as described above.

本実施形態によれば、いたずらをしていると予想される端末をより精細に分別することができ、当該端末に対するアクセス制限を適切に行うことができると期待される。   According to the present embodiment, it is expected that terminals that are expected to be mischievous can be classified more precisely, and access restrictions on the terminals can be appropriately performed.

上記実施形態では、端末や端末群を弁別するために、IPアドレスを利用していたが、いわゆるクッキーの技術が利用できる場合には、これによって端末を同定して、端末ごとの統計をとることとしても良い。   In the above embodiment, an IP address is used to discriminate a terminal or a group of terminals. However, when so-called cookie technology can be used, a terminal is identified by this, and statistics for each terminal are taken. It is also good.

すなわち、サーバ装置は、ブラウザを用いた端末からサービスの要求を受け付けると、当該端末のブラウザに対してクッキーという識別情報を送信する。端末のブラウザは、受信したクッキーを端末のハードディスク等の記憶装置に記憶する。   That is, when receiving a service request from a terminal using a browser, the server device transmits identification information called a cookie to the browser of the terminal. The browser of the terminal stores the received cookie in a storage device such as a hard disk of the terminal.

当該端末からの次回のサービス要求の際には、クッキーに保存された識別情報がサーバ装置に送信される。これによって、サーバ装置は、いずれの端末からのサービス要求か、を弁別することができる。   In the next service request from the terminal, the identification information stored in the cookie is transmitted to the server device. As a result, the server device can discriminate which terminal is the service request.

本実施形態では、クッキーによって、ユーザ単位で端末の弁別ができるため、同じIPアドレスを利用する悪意のユーザと善意のユーザがいる場合であっても、悪意のユーザを排除し、善意のユーザに対しては、通常通りサービス提供がされるようにすることができる。   In this embodiment, since the terminal can be distinguished on a per-user basis using cookies, even if there is a malicious user and a bona fide user who use the same IP address, the malicious user is excluded and the bona fide user is made. On the other hand, services can be provided as usual.

本技術を適用する際は、クッキーが利用できるようにブラウザを設定しないと、サーバ装置からのサービスの提供が受けられないように、サービス提供の構成設定をすることが望ましい。   When applying this technology, it is desirable to configure the service provision so that the server apparatus cannot receive the service unless the browser is set so that cookies can be used.

上記実施形態では、類似度をベクトルのなす角から求めていた。すなわち、ベクトルのなす角θが小さければ小さいほど、すなわち、cosθが大きければ大きいほど、類似する、としていた。   In the above embodiment, the similarity is obtained from the angle formed by the vectors. That is, the smaller the angle θ formed by the vector, that is, the larger the cos θ, the more similar.

この場合、ベクトルのなす角が小さい、ということは、これらのベクトルが略相似関係にある、ということを意味する。上記実施形態では時間帯あたりのアクセス数分布からベクトルとしていたが、ベクトルのなす角が小さい、ということは、各時間帯あたりのアクセス数分布の「1日のアクセス総数に対するそれぞれの割合」が同じ傾向を示している、ということを意味する。   In this case, the fact that the angle formed by the vectors is small means that these vectors are substantially similar. In the above embodiment, the vector is based on the access number distribution per time zone, but the angle formed by the vector is small, which means that the “ratio to the total number of accesses per day” of the access number distribution per time zone is the same. It means that it shows a tendency.

しかし、各時間帯あたりのアクセス数分布の「1日のアクセス総数に対するそれぞれの割合」が同じ傾向であっても、「1日のアクセス総数」が増減することはありうる。この場合、「1日のアクセス総数」に応じて、これが多ければ(可能であれば)帯域制限を緩め、少なければ帯域制限をそのままにする、などの制御を行うことができる。   However, even if the “respective ratio to the total number of accesses per day” of the access number distribution for each time zone has the same tendency, the “total number of accesses per day” can increase or decrease. In this case, according to the “total number of accesses per day”, it is possible to perform control such as loosening the bandwidth limit if it is large (if possible) and leaving the bandwidth limit if it is small.

すなわち、統計として蓄積されたベクトルtiと、最近のアクセスの様子を表すベクトルaiと、の間で、まず非類似度θ(類似度180°-θ)を求め、これに応じて確率の閾値や帯域制限の値を求める。 That is, the dissimilarity θ (similarity 180 ° -θ) is first calculated between the vector t i accumulated as statistics and the vector a i representing the state of recent access, and the probability is determined accordingly. Find the threshold and bandwidth limit values.

次に、|ai|/|ti|から、どれだけベクトルの大きさが変化しているか、を調べる。そして、|ai|/|ti|が1より大きい場合は、確率の閾値や帯域制限の値を修正する。 Next, it is examined from | a i | / | t i | how much the vector has changed. If | a i | / | t i | is greater than 1, the probability threshold value and the bandwidth limit value are corrected.

すなわち、|ai|/|ti|が1より大きい場合は、アクセス数が全体として増加しているものと考えられるので、サーバ装置に対する現在のアクセス頻度やサービス提供の頻度とサーバ装置における負荷・回線の負荷とを対比する。そして、サーバ装置にさらにサービスを提供する余裕がある場合には、|ai|/|ti|が1より大きくなればなるほど、サービスを提供する確率が高くなるように、もしくは、帯域制限を緩くするように、これらの値を修正するのである。 That is, if | a i | / | t i | is greater than 1, the number of accesses is considered to increase as a whole, so the current access frequency to the server device, the frequency of service provision, and the load on the server device • Contrast with line load. If the server device has room to provide more services, the greater the | a i | / | t i | Modify these values to make them looser.

サービスを提供する確率の上限は1であり、帯域制限の上限は当該サーバ装置に可能な情報提供速度や回線の性能によって決まるから、まず、類似度から求めた確率の閾値や帯域制限の値と、この上限との差を調べる。   Since the upper limit of the probability of providing a service is 1 and the upper limit of the bandwidth limit is determined by the information provision speed possible to the server device and the performance of the line, first, the probability threshold obtained from the similarity and the bandwidth limit value Investigate the difference from this limit.

一方、arctanは単調増加する関数で、その上限はπ/2であるから、arctan(|ai|/|ti|-1)を求め、得られた差にこの値を乗じてからπ/2で割れば、修正量を求めることができる。そして、この修正量を加算して、確率の閾値や帯域制限の値を修正する。 On the other hand, arctan is a monotonically increasing function, and its upper limit is π / 2. Therefore, arctan (| a i | / | t i | -1) is obtained, and the obtained difference is multiplied by this value to obtain π / Divide by 2 to get the amount of correction. Then, the correction amount is added to correct the probability threshold and the band limit value.

この場合、arctan以外にも、上限が定まっており、単調増加するような関数を別途用意して、これを用いて上記のような修正量の計算をすることも可能である。また、|ai|/|ti|を段階的に分類し、各段階について修正量をあらかじめ定めておき、修正量を加算した結果が上限を超えていたら修正後の値を当該上限にする、としても良い。 In this case, in addition to arctan, an upper limit is determined, and it is also possible to separately prepare a function that monotonously increases and use this to calculate the correction amount as described above. Also, classify | a i | / | t i | step by step, determine the amount of correction for each step in advance, and if the result of adding the amount of correction exceeds the upper limit, the corrected value is used as the upper limit. , Or as good.

これによって、異常ではないと予想されるアクセスの総数が増加している場合には、サーバ負荷と帯域制限とを考慮して、サービスの提供がされる機会ができるだけ増えるようにすることができる。また、上記実施形態における善意のユーザに対するサービス提供の機会ができるだけ増えるようにすることができる。   As a result, when the total number of accesses that are expected not to be abnormal is increasing, it is possible to increase the number of opportunities for providing services in consideration of the server load and bandwidth limitation. In addition, it is possible to increase the service provision opportunities for the bona fide user in the embodiment as much as possible.

以上説明したように、本発明によれば、端末からのサービスの要求に適切な優先度で応答するサーバ装置、サービス方法、ならびに、これらをコンピュータにて実現するプログラムを提供することができ、ウェブサーバを用いた各種のサービス要求やユーザ登録などにおいて、繰返し要求を行ってこれを妨害するいたずらを防止したい場合などに適用することができる。   As described above, according to the present invention, it is possible to provide a server device that responds to a service request from a terminal with an appropriate priority, a service method, and a program that implements these on a computer, The present invention can be applied to various service requests using a server, user registration, and the like in which repeated requests are made to prevent mischief that interferes with the request.

本発明の実施形態の1つに係るサーバ装置が含まれるサービス提供システムの概要構成を示す説明図である。It is explanatory drawing which shows schematic structure of the service provision system with which the server apparatus which concerns on one of embodiment of this invention is included. 本発明の実施形態の1つに係るサーバ装置が実現される典型的な情報処理装置の概要構成を示す説明図である。It is explanatory drawing which shows schematic structure of the typical information processing apparatus with which the server apparatus which concerns on one of embodiment of this invention is implement | achieved. 実施形態の1つのサーバ装置の概要構成を示す模式図である。It is a mimetic diagram showing the outline composition of one server device of an embodiment. 実施形態の1つのサーバ装置にて実行されるサービス方法の制御の流れを示すフローチャートである。It is a flowchart which shows the flow of control of the service method performed with one server apparatus of embodiment. 他の実施形態のサーバ装置の概要構成を示す模式図である。It is a schematic diagram which shows schematic structure of the server apparatus of other embodiment.

符号の説明Explanation of symbols

101 サーバ装置
102 受付部
103 統計部
104 計算部
105 応答部
151 端末
171 インターネット
201 情報処理装置
202 CPU
203 ROM
204 RAM
205 入力装置
206 表示装置
207 外部記憶装置
208 媒体読取装置
209 NIC
501 振分機
502 統計機
503 処理機
DESCRIPTION OF SYMBOLS 101 Server apparatus 102 Reception part 103 Statistics part 104 Calculation part 105 Response part 151 Terminal 171 Internet 201 Information processing apparatus 202 CPU
203 ROM
204 RAM
205 Input Device 206 Display Device 207 External Storage Device 208 Medium Reading Device 209 NIC
501 Sorting machine 502 Statistical machine 503 Processing machine

Claims (9)

受付部と、統計部と、計算部と、応答部と、を備えるサーバ装置であって、
前記受付部は、端末からのサービスの要求を受け付け、
前記応答部は、当該端末に、当該要求されたサービスを提供して応答し、
前記統計部は、過去に受け付けたサービスの要求と、当該サービスの要求をした要求元端末と、の統計を蓄積し、
前記計算部は、当該端末からの最近の所定の期間もしくは所定の回数のサービスの要求の統計と、前記統計部に蓄積された当該端末を要求元端末とするサービスの要求の統計と、を比較して類似度を計算し、当該類似度にあらかじめ対応付けられた優先度を得て、
前記サーバ装置は、当該端末に対して、前記得られた優先度で、当該要求されたサービスを提供する
ことを特徴とするもの。
A server device comprising a reception unit, a statistics unit, a calculation unit, and a response unit,
The reception unit receives a request for service from a terminal,
The response unit responds to the terminal by providing the requested service,
The statistics unit accumulates statistics of service requests received in the past and request source terminals that have requested the services,
The calculation unit compares the statistics of the request for the service for the predetermined period or the predetermined number of times from the terminal with the statistics of the request for the service using the terminal as the requesting terminal accumulated in the statistics unit. And calculate the similarity, obtain the priority that is associated with the similarity in advance,
The server device provides the requested service to the terminal with the obtained priority.
請求項1に記載のサーバ装置であって、
前記得られる優先度は、当該要求されたサービスを提供する確率であり、前記応答部は、乱数を生成して当該要求されたサービスを提供するか否かを決定する
ことを特徴とするもの。
The server device according to claim 1,
The obtained priority is a probability of providing the requested service, and the response unit generates a random number to determine whether to provide the requested service.
請求項1に記載のサーバ装置であって、
前記受付部は、前記得られた優先度で、当該端末からのサービスの要求を受け付ける
ことを特徴とするもの。
The server device according to claim 1,
The reception unit receives a service request from the terminal with the obtained priority.
請求項3に記載のサーバ装置であって、
前記受付部は、端末との間の通信路の帯域制限を行って、当該端末からサービスの要求を受け付ける優先度を変更する
ことを特徴とするもの。
The server device according to claim 3,
The reception unit performs bandwidth limitation on a communication path with a terminal and changes a priority for receiving a service request from the terminal.
請求項1から4のいずれか1項に記載のサーバ装置であって、
前記統計部は、「当該サービスの要求をした要求元端末の統計」にかえて、「当該サービスの要求をした要求元端末を含む要求元端末群の統計」を蓄積し、
前記計算部は、「当該端末からの最近の所定の期間もしくは所定の回数のサービスの要求の統計と、前記統計部に蓄積された当該端末を要求元端末とするサービスの要求の統計と」を比較するのにかえて、「当該端末を含む端末群からの最近の所定の期間もしくは所定の回数のサービスの要求の統計と、前記統計部に蓄積された当該端末を要求元端末群に含むサービスの要求の統計と」を比較して類似度を計算する
ことを特徴とするもの。
The server device according to any one of claims 1 to 4, wherein:
The statistics unit accumulates “statistics of a request source terminal group including a request source terminal that has requested the service” instead of “statistics of the request source terminal that has requested the service”,
The calculation unit includes: “statistics of service requests for a recent predetermined period or a predetermined number of times from the terminal, and service requests statistics stored in the statistics unit with the terminal as a requesting terminal” Instead of the comparison, “a service including a request for a recent predetermined period or a predetermined number of service requests from a terminal group including the terminal and the terminal stored in the statistical unit in the request source terminal group. It is characterized by calculating the degree of similarity by comparing with the request statistics.
請求項5に記載のサーバ装置であって、
前記統計部および前記計算部は、同じグローバルIP(Internet Protocol)アドレスを利用してサービスの要求をする端末の群を、要求元端末群とする
ことを特徴とするもの。
The server device according to claim 5, wherein
The statistics unit and the calculation unit use a group of terminals that request services using the same global IP (Internet Protocol) address as a request source terminal group.
請求項5に記載のサーバ装置であって、
前記統計部および前記計算部は、同じ代理サーバを経由してサービスの要求をする端末の群を要求元端末群とする
ことを特徴とするもの。
The server device according to claim 5, wherein
The statistics unit and the calculation unit use a group of terminals that request a service via the same proxy server as a request source terminal group.
受付工程と、統計工程と、計算工程と、応答工程と、を備えるサービス方法であって、
前記受付工程では、端末からのサービスの要求を受け付け、
前記応答工程では、当該端末に、当該要求されたサービスを提供して応答し、
前記統計工程では、過去に受け付けたサービスの要求と、当該サービスの要求をした要求元端末と、の統計を蓄積し、
前記計算工程では、当該端末からの最近の所定の期間もしくは所定の回数のサービスの要求の統計と、前記統計工程により蓄積された当該端末を要求元端末とするサービスの要求の統計と、を比較して類似度を計算し、当該類似度にあらかじめ対応付けられた優先度を得て、
前記応答工程では、前記得られた優先度で、当該要求されたサービスを提供して応答する
ことを特徴とする方法。
A service method comprising a reception process, a statistical process, a calculation process, and a response process,
In the reception step, a request for service from a terminal is received,
In the response step, the terminal is responded by providing the requested service,
In the statistics step, statistics of service requests received in the past and request source terminals that have made requests for the services are accumulated,
In the calculation step, the service request statistics for the recent predetermined period or the predetermined number of times from the terminal are compared with the service request statistics stored in the statistical process using the terminal as the request source terminal. And calculate the similarity, obtain the priority that is associated with the similarity in advance,
In the response step, the requested service is provided and responded with the obtained priority.
コンピュータを、
受付部、統計部、計算部、および、応答部として機能させるプログラムであって、
前記プログラムは、前記コンピュータにおいて、
前記受付部が、端末からのサービスの要求を受け付け、
前記応答部が、当該端末に、当該要求されたサービスを提供して応答し、
前記統計部が、過去に受け付けたサービスの要求と、当該サービスの要求をした要求元端末と、の統計を蓄積し、
前記計算部が、当該端末からの最近の所定の期間もしくは所定の回数のサービスの要求の統計と、前記統計部に蓄積された当該端末を要求元端末とするサービスの要求の統計と、を比較して類似度を計算し、当該類似度にあらかじめ対応付けられた優先度を得て、
前記応答部が、前記得られた優先度で、当該要求されたサービスを提供して応答する
ように機能させることを特徴とするもの。
Computer
A program that functions as a reception unit, a statistics unit, a calculation unit, and a response unit,
In the computer, the program is
The reception unit receives a request for service from a terminal;
The response unit responds to the terminal by providing the requested service;
The statistics unit accumulates statistics of service requests received in the past and request source terminals that have requested the services,
The calculation unit compares the statistics of the request for the service for the predetermined period or the predetermined number of times from the terminal with the statistics of the request for the service using the terminal as the request source terminal accumulated in the statistics unit. And calculate the similarity, obtain the priority that is associated with the similarity in advance,
The response unit is configured to function so as to respond by providing the requested service with the obtained priority.
JP2003297331A 2003-08-21 2003-08-21 Server apparatus, service method, and program Expired - Fee Related JP3914907B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2003297331A JP3914907B2 (en) 2003-08-21 2003-08-21 Server apparatus, service method, and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2003297331A JP3914907B2 (en) 2003-08-21 2003-08-21 Server apparatus, service method, and program

Related Child Applications (1)

Application Number Title Priority Date Filing Date
JP2006276114A Division JP2007058872A (en) 2006-10-10 2006-10-10 Server device, service method, and program

Publications (2)

Publication Number Publication Date
JP2005070941A true JP2005070941A (en) 2005-03-17
JP3914907B2 JP3914907B2 (en) 2007-05-16

Family

ID=34403232

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2003297331A Expired - Fee Related JP3914907B2 (en) 2003-08-21 2003-08-21 Server apparatus, service method, and program

Country Status (1)

Country Link
JP (1) JP3914907B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012079190A (en) * 2010-10-05 2012-04-19 Nec Corp Priority setting device, priority setting method and program

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012079190A (en) * 2010-10-05 2012-04-19 Nec Corp Priority setting device, priority setting method and program

Also Published As

Publication number Publication date
JP3914907B2 (en) 2007-05-16

Similar Documents

Publication Publication Date Title
US11997111B1 (en) Attribute-controlled malware detection
US11863581B1 (en) Subscription-based malware detection
US7685286B2 (en) Network scoring system and method
JP5189974B2 (en) Load control device and method thereof
US11563750B2 (en) System, method and computer readable medium for determining users of an internet service
US20060222008A1 (en) Methods, systems, and computer program products for implementing bandwidth control services
WO2018094654A1 (en) Vpn transmission tunnel scheduling method and device, and vpn client-end server
US9350616B1 (en) Bandwidth prediction using a past available bandwidth value and a slope calculated from past available bandwidth values
US20170324585A1 (en) Methods and systems for prioritizing nameservers
WO2006026262A2 (en) Link analysis method and system
CN110830565B (en) Resource downloading method, device, system, electronic equipment and storage medium
CN108989420B (en) Method and system for registering service and method and system for calling service
CN111769997A (en) Method, server, device and computer readable medium for network monitoring
CN110771122A (en) Method and network node for enabling a content delivery network to handle unexpected traffic surges
US20050071443A1 (en) Software platform for the delivery of services and personalized content
CN117041233A (en) Distributed cloud computing method and system
CN107508840B (en) DNS Proxy-based method for monitoring DNS domain name attack
JP3914907B2 (en) Server apparatus, service method, and program
JP2007058872A (en) Server device, service method, and program
US20020161877A1 (en) Apparatus and method for processing data relating to events on a network
CN114745277B (en) Elastic expansion method and device for public cloud cross-domain private line, electronic equipment and medium
CN113810461B (en) Bandwidth control method, device and equipment and readable storage medium
CN114615073A (en) Access flow control method, device, equipment and medium
US20090106387A1 (en) Cidr based caching at application layer
US20230421503A1 (en) Controlling network throughput using application-level throttling

Legal Events

Date Code Title Description
A711 Notification of change in applicant

Free format text: JAPANESE INTERMEDIATE CODE: A712

Effective date: 20050428

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20060223

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20060307

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20060427

A711 Notification of change in applicant

Free format text: JAPANESE INTERMEDIATE CODE: A712

Effective date: 20060427

RD03 Notification of appointment of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7423

Effective date: 20060525

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20060822

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20061010

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20070205

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

Year of fee payment: 3

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

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

Free format text: PAYMENT UNTIL: 20100209

Year of fee payment: 3

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

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

Free format text: PAYMENT UNTIL: 20110209

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20110209

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20120209

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20130209

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20140209

Year of fee payment: 7

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

S802 Written request for registration of partial abandonment of right

Free format text: JAPANESE INTERMEDIATE CODE: R311802

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees