[go: up one dir, main page]

JP2014211758A - Cache server device, cache control method, and cache control program - Google Patents

Cache server device, cache control method, and cache control program Download PDF

Info

Publication number
JP2014211758A
JP2014211758A JP2013087723A JP2013087723A JP2014211758A JP 2014211758 A JP2014211758 A JP 2014211758A JP 2013087723 A JP2013087723 A JP 2013087723A JP 2013087723 A JP2013087723 A JP 2013087723A JP 2014211758 A JP2014211758 A JP 2014211758A
Authority
JP
Japan
Prior art keywords
record
enum
storage unit
query 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.)
Pending
Application number
JP2013087723A
Other languages
Japanese (ja)
Inventor
英成 大和田
Hidenari Owada
英成 大和田
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.)
NTT Inc
Original Assignee
Nippon Telegraph and Telephone 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 Nippon Telegraph and Telephone Corp filed Critical Nippon Telegraph and Telephone Corp
Priority to JP2013087723A priority Critical patent/JP2014211758A/en
Publication of JP2014211758A publication Critical patent/JP2014211758A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F12/00Accessing, addressing or allocating within memory systems or architectures
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M3/00Automatic or semi-automatic exchanges

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Telephonic Communication Services (AREA)

Abstract

【課題】権威サーバへのアクセスを低減することを課題とする。【解決手段】ENUMキャッシュサーバ10は、クエリ要求を受信した場合に、ENUMデータ記憶部13aに記憶された電話番号ごとに、各レコードに対応するクエリ要求を受信した回数を計数する。そして、ENUMキャッシュサーバ10は、計数された回数が所定の回数を超えたレコードが存在する場合には、該レコードを記憶する期間を延長して、ENUMデータ記憶部13aに記憶させる。【選択図】図3An object is to reduce access to an authoritative server. When an ENUM cache server receives a query request, the ENUM cache server counts the number of times the query request corresponding to each record has been received for each telephone number stored in an ENUM data storage unit. When there is a record whose counted number exceeds the predetermined number, the ENUM cache server 10 extends the period for storing the record and stores it in the ENUM data storage unit 13a. [Selection] Figure 3

Description

本発明は、キャッシュサーバ装置、キャッシュ制御方法及びキャッシュ制御プログラムに関する。   The present invention relates to a cache server device, a cache control method, and a cache control program.

近年、DNSの運用形態を利用しつつIP電話などの電話番号をドメイン名として名前解決をおこなうENUM(イーナム:Telephone Number Mapping)の標準化作業が進められている。ENUMは、公衆交換電話網の電話番号体系をインターネットのIPアドレス体系と統合する電話番号マッピングの代表的な規格である。   In recent years, standardization work of ENUM (Enum: Telephone Number Mapping), which performs name resolution using a telephone number of an IP phone or the like as a domain name while utilizing a DNS operation mode, has been promoted. ENUM is a typical telephone number mapping standard that integrates the telephone number system of the public switched telephone network with the IP address system of the Internet.

このようなENUMの分野において、通信制御装置(例えば、呼制御サーバ)からの名前解決要求(以下、「ENUMクエリ」と記載する)に対し、過去におこなったENUM権威サーバに対する問合わせの回答(以下、「ENUMアンサ」と記載する)を蓄積したキャッシュデータを用いて応答するENUMキャッシュサーバが知られている。例えば、ENUMキャッシュサーバは、キャッシュデータとして、電話番号と対応する収容網とが対応付けられた変換表を記憶する。   In such an ENUM field, in response to a name resolution request (hereinafter referred to as an “ENUM query”) from a communication control device (for example, a call control server), an inquiry response to an ENUM authority server made in the past ( Hereinafter, an ENUM cache server that responds using cache data in which "ENUM answer" is stored is known. For example, the ENUM cache server stores a conversion table in which a telephone number and a corresponding accommodating network are associated as cache data.

このENUMキャッシュサーバは、呼制御サーバからENUMクエリを受信すると、受信したENUMクエリに対応する回答データがキャッシュデータとしてキャッシュに存在するか判定する。この結果、ENUMキャッシュサーバは、回答データがキャッシュに存在する場合には、かかるキャッシュデータを用いて名前解決処理を行う。   When receiving the ENUM query from the call control server, the ENUM cache server determines whether answer data corresponding to the received ENUM query exists in the cache as cache data. As a result, when the answer data exists in the cache, the ENUM cache server performs name resolution processing using the cache data.

また、ENUMキャッシュサーバは、回答データがキャッシュに存在しないと判定した場合には、権威サーバにENUMクエリを送信し、その後、権威サーバからENUMアンサを受信する。そして、ENUMキャッシュサーバは、権威サーバから受信したENUMアンサに含まれる回答データをキャッシュするとともに、同じくENUMアンサに含まれるTTL(Time To Live)を回答データに設定する。例えば、ENUMキャッシュサーバは、ENUMデータのTTLとして、60秒を設定すると、ENUMデータをキャッシュしてから60秒後に、該ENUMデータを削除する。   When the ENUM cache server determines that the answer data does not exist in the cache, the ENUM cache server transmits an ENUM query to the authoritative server, and then receives an ENUM answer from the authoritative server. Then, the ENUM cache server caches the response data included in the ENUM answer received from the authority server, and also sets TTL (Time To Live) included in the ENUM answer as response data. For example, if the ENUM cache server sets 60 seconds as the TTL of the ENUM data, the ENUM data is deleted 60 seconds after the ENUM data is cached.

RFC 6116(7.2章): ENUM Protocol Specification(obsoletes RFC 3761)RFC 6116 (Chapter 7.2): ENUM Protocol Specification (obsoletes RFC 3761) RFC 2915(2章): The Naming Authority Pointer (NAPTR) DNS Resource RecordRFC 2915 (Chapter 2): The Naming Authority Pointer (NAPTR) DNS Resource Record 民田雅人、森下泰宏、坂口智哉著、「実践DNS」、株式会社日本レジストリサービス(JPRS)、P177−178,P181−184,P260Masato Tamita, Yasuhiro Morishita, Tomoya Sakaguchi, “Practical DNS”, Japan Registry Service (JPRS), P177-178, P181-184, P260

しかしながら、従来のキャッシュサーバでは、設定されるTTLが変わらないため、権威サーバへのアクセスが集中し、権威サーバの処理負荷が高くなってしまう場合があるという課題があった。つまり、例えば、同一電話番号への呼が集中している状況であっても、キャッシュサーバは、TTLに従って、該電話番号に対応するENUMデータを削除してしまうので、その後、該電話番号の問い合わせを受信した場合には、再度ENUM権威サーバへアクセスするため、権威サーバへ頻繁にアクセスすることとなり、権威サーバの処理負荷が高くなってしまう。   However, in the conventional cache server, since the set TTL does not change, there is a problem that access to the authority server is concentrated and the processing load of the authority server may increase. That is, for example, even in a situation where calls to the same telephone number are concentrated, the cache server deletes ENUM data corresponding to the telephone number according to the TTL. Is received again, the ENUM authority server is accessed again, so the authority server is frequently accessed, and the processing load on the authority server increases.

そこで、この発明は、権威サーバへのアクセスの集中を防止し、権威サーバへのアクセスを低減することを目的とする。   Therefore, an object of the present invention is to prevent concentration of access to the authoritative server and reduce access to the authoritative server.

上述した課題を解決し、目的を達成するため、キャッシュサーバ装置は、通信制御装置からのクエリ要求に対応するレコードをキャッシュデータとして記憶するとともに、レコードごとに該レコードを記憶する期間を記憶する記憶部と、前記通信制御装置からクエリ要求を受信する受信部と、前記受信部によって受信したクエリ要求に対応するレコードが前記記憶部に記憶されているか判定する判定部と、前記判定部によって前記レコードが前記記憶部に記憶されていると判定された場合には、該レコードを用いて、前記通信制御装置にクエリ要求に対する回答を返信する返信部と、前記判定部によって前記レコードが前記記憶部に記憶されていないと判定された場合には、該クエリ要求を権威サーバに転送し、転送したクエリ要求に対する回答を前記権威サーバから受信した際には、該回答を前記通信制御装置に転送する転送部と、前記受信部によってクエリ要求を受信した場合に、前記記憶部に記憶されたレコードごとに、各レコードに対応するクエリ要求を受信した回数を計数する計数部と、前記記憶部に、前記計数部によって計数された回数が所定の回数を超えたレコードが存在する場合には、該レコードを記憶する期間を延長して、前記記憶部に記憶させる制御部と、を備えることを特徴とする。   In order to solve the above-described problems and achieve the object, the cache server device stores a record corresponding to the query request from the communication control device as cache data, and stores a period for storing the record for each record. A reception unit that receives a query request from the communication control device, a determination unit that determines whether a record corresponding to the query request received by the reception unit is stored in the storage unit, and the record by the determination unit Is determined to be stored in the storage unit, the record is used to return a response to the query request to the communication control device using the record, and the record is stored in the storage unit by the determination unit. If it is determined that the query request is not stored, the query request is transferred to the authoritative server, and the transferred query request is When an answer is received from the authoritative server, each transfer record that forwards the answer to the communication control device and each record stored in the storage unit when receiving a query request by the receiving unit, A counting unit that counts the number of times a query request corresponding to a record has been received, and if there is a record that exceeds the predetermined number in the storage unit, the record is stored. And a control unit that extends the period and stores it in the storage unit.

また、キャッシュ制御方法は、キャッシュサーバ装置によって実行されるキャッシュ制御方法であって、前記キャッシュサーバ装置は、通信制御装置からのクエリ要求に対応するレコードをキャッシュデータとして記憶するとともに、レコードごとに該レコードを記憶する期間を記憶する記憶部を備え、前記通信制御装置からクエリ要求を受信する受信工程と、前記受信工程によって受信したクエリ要求に対応するレコードが前記記憶部に記憶されているか判定する判定工程と、前記判定工程によって前記レコードが前記記憶部に記憶されていると判定した場合には、該レコードを用いて、前記通信制御装置にクエリ要求に対する回答を返信する返信工程と、前記判定工程によって前記レコードが前記記憶部に記憶されていないと判定した場合には、該クエリ要求を権威サーバに転送し、転送したクエリ要求に対する回答を前記権威サーバから受信した際には、該回答を前記通信制御装置に転送する転送工程と、前記受信工程によってクエリ要求を受信した場合に、前記記憶部に記憶されたレコードごとに、各レコードに対応するクエリ要求を受信した回数を計数する計数工程と、前記記憶部に、前記計数工程によって計数された回数が所定の回数を超えたレコードが存在する場合には、該レコードを記憶する期間を延長して、前記記憶部に記憶させる制御工程と、を含んだことを特徴とする。   The cache control method is a cache control method executed by a cache server device, and the cache server device stores a record corresponding to a query request from a communication control device as cache data, and A storage step for storing a period for storing records; a reception step for receiving a query request from the communication control device; and determining whether a record corresponding to the query request received by the reception step is stored in the storage unit A determination step; and a return step for returning a response to a query request to the communication control device using the record when the determination step determines that the record is stored in the storage unit; and the determination If it is determined by the process that the record is not stored in the storage unit The query request is forwarded to the authoritative server, and when a reply to the forwarded query request is received from the authoritative server, the reply request is forwarded to the communication control device, and the query request is sent by the receiving step. For each record stored in the storage unit, a counting step for counting the number of times the query request corresponding to each record has been received, and the number of times counted by the counting step in the storage unit are predetermined. A control step of extending the period for storing the record and storing it in the storage unit when there is a record exceeding the number of times.

また、キャッシュ制御プログラムは、通信制御装置からクエリ要求を受信する受信ステップと、前記受信ステップによって受信したクエリ要求に対応するレコードが、クエリ要求に対応するレコードをキャッシュデータとして記憶するとともにレコードごとに該レコードを記憶する期間を記憶する記憶部に記憶されているか判定する判定ステップと、前記判定ステップによって前記レコードが前記記憶部に記憶されていると判定した場合には、該レコードを用いて、前記通信制御装置にクエリ要求に対する回答を返信する返信ステップと、前記判定ステップによって前記レコードが前記記憶部に記憶されていないと判定した場合には、該クエリ要求を権威サーバに転送し、転送したクエリ要求に対する回答を前記権威サーバから受信した際には、該回答を前記通信制御装置に転送する転送ステップと、前記受信ステップによってクエリ要求を受信した場合に、前記記憶部に記憶されたレコードごとに、各レコードに対応するクエリ要求を受信した回数を計数する計数ステップと、前記記憶部に、前記計数ステップによって計数された回数が所定の回数を超えたレコードが存在する場合には、該レコードを記憶する期間を延長して、前記記憶部に記憶させる制御ステップと、をコンピュータに実行させる。   In addition, the cache control program receives a query request from the communication control device, and a record corresponding to the query request received by the receiving step stores a record corresponding to the query request as cache data and for each record. If it is determined that the record is stored in the storage unit storing the period for storing the record, and the determination step determines that the record is stored in the storage unit, the record is used, A reply step of returning a response to the query request to the communication control device, and when the determination step determines that the record is not stored in the storage unit, the query request is transferred to the authoritative server and transferred. When an answer to a query request is received from the authoritative server , A transfer step of transferring the answer to the communication control device, and a number of times of receiving a query request corresponding to each record for each record stored in the storage unit when a query request is received by the receiving step. When there is a counting step for counting and a record in which the number of times counted in the counting step exceeds a predetermined number in the storage unit, the period for storing the record is extended and stored in the storage unit And causing the computer to execute control steps.

本願に開示するキャッシュサーバ装置、キャッシュ制御方法及びキャッシュ制御プログラムは、権威サーバへのアクセスの集中を防止し、権威サーバへのアクセスを低減することが可能である。   The cache server device, the cache control method, and the cache control program disclosed in the present application can prevent concentration of access to the authoritative server and reduce access to the authoritative server.

図1は、第一の実施形態に係るシステムの構成の一例を示す図である。FIG. 1 is a diagram illustrating an example of a configuration of a system according to the first embodiment. 図2は、第一の実施形態に係るシステムにおける負荷分散処理について説明する図である。FIG. 2 is a diagram for explaining load distribution processing in the system according to the first embodiment. 図3は、第一の実施形態に係るENUMキャッシュサーバの構成を説明するブロック図である。FIG. 3 is a block diagram illustrating the configuration of the ENUM cache server according to the first embodiment. 図4は、ENUMデータ記憶部に記憶される情報の一例を示す図である。FIG. 4 is a diagram illustrating an example of information stored in the ENUM data storage unit. 図5は、ENUMクエリデータ記憶部に記憶される情報の一例を示す図である。FIG. 5 is a diagram illustrating an example of information stored in the ENUM query data storage unit. 図6は、ENUMクエリの状況に応じて、電話番号ごとにTTLを変更する処理を説明する図である。FIG. 6 is a diagram for explaining processing for changing the TTL for each telephone number in accordance with the status of the ENUM query. 図7は、ENUMキャッシュサーバにおけるTTLの遷移例を説明する図である。FIG. 7 is a diagram for explaining an example of TTL transition in the ENUM cache server. 図8は、第一の実施形態に係るENUMキャッシュサーバによるキャッシュ制御処理の流れを説明するためのフローチャートである。FIG. 8 is a flowchart for explaining the flow of cache control processing by the ENUM cache server according to the first embodiment. 図9は、第一の実施形態に係るシステムにおいて、特定の局番にアクセスが集中する場合を説明する図である。FIG. 9 is a diagram for explaining a case where accesses are concentrated on a specific station number in the system according to the first embodiment. 図10は、ENUMクエリデータ記憶部に記憶される情報の一例を示す図である。FIG. 10 is a diagram illustrating an example of information stored in the ENUM query data storage unit. 図11は、ENUMクエリの状況に応じて、市外局番ごとにTTLを変更する処理を説明する図である。FIG. 11 is a diagram illustrating a process of changing the TTL for each area code according to the status of the ENUM query. 図12は、第二の実施形態に係るENUMキャッシュサーバによるキャッシュ制御処理の流れを説明するためのフローチャートである。FIG. 12 is a flowchart for explaining the flow of cache control processing by the ENUM cache server according to the second embodiment. 図13は、ENUMクエリデータ記憶部に記憶される情報の一例を示す図である。FIG. 13 is a diagram illustrating an example of information stored in the ENUM query data storage unit. 図14は、ENUMクエリの状況に応じて、市外局番および市内局番ごとにTTLを変更する処理を説明する図である。FIG. 14 is a diagram for explaining processing for changing the TTL for each area code and city code according to the status of the ENUM query. 図15は、キャッシュ制御プログラムを実行するコンピュータを示す図である。FIG. 15 is a diagram illustrating a computer that executes a cache control program.

以下に添付図面を参照して、この発明に係るキャッシュサーバ装置、キャッシュ制御方法及びキャッシュ制御プログラムの実施形態を詳細に説明する。なお、この実施形態によりこの発明が限定されるものではない。   Exemplary embodiments of a cache server device, a cache control method, and a cache control program according to the present invention will be explained below in detail with reference to the accompanying drawings. In addition, this invention is not limited by this embodiment.

[第一の実施形態]
以下の実施形態では、第一の実施形態に係るシステムの構成、ENUMキャッシュサーバの構成、ENUMキャッシュサーバによる処理の流れを順に説明し、最後に第一の実施形態による効果を説明する。
[First embodiment]
In the following embodiments, the configuration of the system according to the first embodiment, the configuration of the ENUM cache server, and the flow of processing by the ENUM cache server will be described in order, and finally the effects of the first embodiment will be described.

[システムの構成]
まず、第一の実施形態に係るENUMキャッシュサーバ10が適用されるシステム100の構成の一例を説明する。図1は、第一の実施形態に係るシステム100の構成の一例を示す図である。図1に示すように、第一の実施形態に係るENUMキャッシュサーバ10が適用されるシステム100には、ENUMキャッシュサーバ10、ENUM権威サーバ20、呼制御サーバ30、および、クライアント装置40が含まれ、ENUM権威サーバ20とクライアント装置40との間に、ENUMキャッシュサーバ10および呼制御サーバ30を介して構成される。なお、図1のシステムの例では、各装置10、20、30、40について1台ずつ設けているが、これに限定されるものではなく、各装置10、20、30、40について複数台を設けてもよい。
[System configuration]
First, an example of the configuration of a system 100 to which the ENUM cache server 10 according to the first embodiment is applied will be described. FIG. 1 is a diagram illustrating an example of a configuration of a system 100 according to the first embodiment. As shown in FIG. 1, a system 100 to which the ENUM cache server 10 according to the first embodiment is applied includes an ENUM cache server 10, an ENUM authority server 20, a call control server 30, and a client device 40. The ENUM authority server 20 and the client device 40 are configured via the ENUM cache server 10 and the call control server 30. In the example of the system of FIG. 1, one device is provided for each device 10, 20, 30, 40, but this is not a limitation, and a plurality of devices are provided for each device 10, 20, 30, 40. It may be provided.

ENUMキャッシュサーバ10は、電話番号と収容網とを対応付けた変換表(以下、ENUMデータという)がキャッシュされたキャッシュメモリを有する。そして、ENUMキャッシュサーバ10は、呼制御サーバ30からクエリ要求を受信すると、クエリ要求に対応するENUMデータがキャッシュされているか否かを判定する。この結果、ENUMキャッシュサーバ10は、クエリ要求に対応するENUMデータがキャッシュされている場合には、キャッシュされているENUMデータをクエリ応答として、呼制御サーバ30に返信する。また、ENUMキャッシュサーバ10は、クエリ要求に対応するENUMデータがキャッシュされていない場合には、ENUM権威サーバ20に対してクエリ要求を送信する。   The ENUM cache server 10 has a cache memory in which a conversion table (hereinafter referred to as ENUM data) in which telephone numbers and accommodation networks are associated is cached. When receiving the query request from the call control server 30, the ENUM cache server 10 determines whether or not ENUM data corresponding to the query request is cached. As a result, when the ENUM data corresponding to the query request is cached, the ENUM cache server 10 returns the cached ENUM data to the call control server 30 as a query response. Further, the ENUM cache server 10 transmits a query request to the ENUM authority server 20 when the ENUM data corresponding to the query request is not cached.

ENUM権威サーバ20は、電話番号と収容網とを対応付けた全てのENUMデータを管理するサーバである。また、ENUM権威サーバ20は、キャッシュサーバ10からクエリ要求を受信すると、ENUMデータから対応するリソースレコードを検索し、検索結果としてのリソースレコードをクエリ応答として、ENUMキャッシュサーバ10を介して、呼制御サーバ30に返信する。   The ENUM authority server 20 is a server that manages all ENUM data in which telephone numbers and accommodation networks are associated with each other. When the ENUM authority server 20 receives a query request from the cache server 10, the ENUM authority server 20 retrieves a corresponding resource record from the ENUM data, and uses the resource record as a search result as a query response to perform call control via the ENUM cache server 10. It returns to the server 30.

呼制御サーバ30は、クライアント装置間の通信を制御する通信制御装置である。例えば、クライアント装置40から「REGISTER」や「INVITE」などのSIP信号を受信した場合に、ENUMキャッシュサーバ10に対して、電話番号に対応する収容網の情報を要求するENUMクエリを送信する。そして、呼制御サーバ30は、送信したENUMクエリに対する回答として、ENUMアンサをENUMキャッシュサーバ10から受信する。なお、呼制御サーバ30は、複数のENUMキャッシュサーバと接続されている場合には、ENUMクエリの振り分け先となるENUMキャッシュサーバを、複数のENUMキャッシュサーバから決定し、決定したENUMキャッシュサーバに対してENUMクエリを送信する。また、クライアント装置40は、呼制御サーバ30に対してSIP信号を送信する。   The call control server 30 is a communication control device that controls communication between client devices. For example, when a SIP signal such as “REGISTER” or “INVITE” is received from the client device 40, an ENUM query requesting information on the accommodation network corresponding to the telephone number is transmitted to the ENUM cache server 10. Then, the call control server 30 receives an ENUM answer from the ENUM cache server 10 as an answer to the transmitted ENUM query. When the call control server 30 is connected to a plurality of ENUM cache servers, the call control server 30 determines an ENUM cache server to which an ENUM query is distributed from the plurality of ENUM cache servers, and determines the determined ENUM cache server. To send an ENUM query. Further, the client device 40 transmits a SIP signal to the call control server 30.

ここで、図2を用いて、第一の実施形態に係るシステムにおける負荷分散処理について説明する。図2は、第一の実施形態に係るシステムにおける負荷分散処理について説明する図である。図2の例では、電話番号「0422−59−6981」への呼が発生し、電話番号「0422−59−6981」に対応する収容網の問い合わせとして、ENUMクエリが呼制御サーバ30からENUMキャッシュサーバ10に送信されたものとする。   Here, the load distribution processing in the system according to the first embodiment will be described with reference to FIG. FIG. 2 is a diagram for explaining load distribution processing in the system according to the first embodiment. In the example of FIG. 2, a call to the telephone number “0422-59-6981” occurs, and an ENUM query is sent from the call control server 30 to the ENUM cache as an inquiry of the accommodation network corresponding to the telephone number “0422-59-6981”. It is assumed that it has been transmitted to the server 10.

図2に示すように、ENUMキャッシュサーバ10は、ENUMクエリを呼制御サーバ30から受信すると、ENUMクエリに対応するENUMデータがキャッシュされているか否かを判定する。この例では、ENUMキャッシュサーバ10は、ENUMクエリに対応するENUMデータがキャッシュされていないものとし、ENUM権威サーバ20に対してENUMクエリを転送する。   As shown in FIG. 2, when receiving the ENUM query from the call control server 30, the ENUM cache server 10 determines whether or not ENUM data corresponding to the ENUM query is cached. In this example, the ENUM cache server 10 assumes that ENUM data corresponding to the ENUM query is not cached, and transfers the ENUM query to the ENUM authority server 20.

そして、ENUM権威サーバ20は、ENUMクエリをENUMキャッシュサーバ10から受信すると、ENUMデータから対応するレコードを検索し、検索結果としてのレコードをENUMアンサとしてENUMキャッシュサーバ10に返信する。図2の例では、ENUM権威サーバ20は、電話番号「0422−59−6981」に対応するレコードを検索し、電話番号「0422−59−6981」に対応する収容網「east.example.jp」およびTTL「60」を含むENUMアンサをENUMキャッシュサーバ10に返信する。ここで、TTL「60」とは、レコードを記憶する期間が60秒であることを示している。なお、ここでENUM権威サーバ20が指定するTTLは、一律「60」秒であるものとして、以下の説明を行う。   When the ENUM authority server 20 receives the ENUM query from the ENUM cache server 10, the ENUM authority server 20 searches for a corresponding record from the ENUM data, and returns a record as a search result to the ENUM cache server 10 as an ENUM answer. In the example of FIG. 2, the ENUM authority server 20 searches for a record corresponding to the telephone number “0422-59-6981”, and the accommodation network “east.example.jp” corresponding to the telephone number “0422-59-6981”. And an ENUM answer including TTL “60” is returned to the ENUM cache server 10. Here, TTL “60” indicates that the record is stored for 60 seconds. Here, the following description will be made on the assumption that the TTL designated by the ENUM authority server 20 is uniformly “60” seconds.

そして、ENUMキャッシュサーバ10は、ENUM権威サーバ20から受信したENUMアンサを呼制御サーバ30に転送する。また、ENUMキャッシュサーバ10は、ENUMアンサに含まれる情報を抽出し、レコードをキャッシュメモリに記憶する。例えば、図2に例示するように、ENUMキャッシュサーバ10は、電話番号「0422−59−6981」と、収容網「east.example.jp」と、TTL「60」とを対応付けたレコードをキャッシュする。   Then, the ENUM cache server 10 transfers the ENUM answer received from the ENUM authority server 20 to the call control server 30. Further, the ENUM cache server 10 extracts information included in the ENUM answer and stores the record in the cache memory. For example, as illustrated in FIG. 2, the ENUM cache server 10 caches a record in which the telephone number “0422-59-6981”, the accommodation network “east.example.jp”, and the TTL “60” are associated with each other. To do.

[ENUMキャッシュサーバの構成]
次に、図3を用いて、ENUMキャッシュサーバ10の構成を説明する。図3は、第一の実施形態に係るENUMキャッシュサーバ10の構成を説明するための図である。図3に示すように、ENUMキャッシュサーバ10は、通信処理部11、制御部12および記憶部13を有する。
[Configuration of ENUM cache server]
Next, the configuration of the ENUM cache server 10 will be described with reference to FIG. FIG. 3 is a diagram for explaining the configuration of the ENUM cache server 10 according to the first embodiment. As illustrated in FIG. 3, the ENUM cache server 10 includes a communication processing unit 11, a control unit 12, and a storage unit 13.

通信処理部11は、接続されるENUM権威サーバ20および呼制御サーバ30との間でやり取りする各種情報に関する通信を制御する。例えば、通信処理部11は、ENUM権威サーバ20および呼制御サーバ30との間で、ENUMクエリまたはENUMアンサを送受信する。   The communication processing unit 11 controls communication related to various information exchanged between the ENUM authority server 20 and the call control server 30 to be connected. For example, the communication processing unit 11 transmits and receives an ENUM query or an ENUM answer between the ENUM authority server 20 and the call control server 30.

記憶部13は、図3に示すように、ENUMデータ記憶部13a、ENUMクエリデータ記憶部13bを有する。記憶部13は、例えば、RAM(Random Access Memory)、フラッシュメモリ(Flash Memory)等の半導体メモリ素子、又は、ハードディスク、光ディスク等の記憶装置などである。   As shown in FIG. 3, the storage unit 13 includes an ENUM data storage unit 13a and an ENUM query data storage unit 13b. The storage unit 13 is, for example, a semiconductor memory device such as a RAM (Random Access Memory) or a flash memory, or a storage device such as a hard disk or an optical disk.

ENUMデータ記憶部13aは、キャッシュメモリに相当し、呼制御サーバ30からのクエリ要求に対応するレコードをキャッシュデータとして記憶するとともに、レコードごとに該レコードを記憶する。   The ENUM data storage unit 13a corresponds to a cache memory, stores a record corresponding to a query request from the call control server 30 as cache data, and stores the record for each record.

ここで、図4を用いて、ENUMデータ記憶部13aに記憶されるデータ例について説明する。例えば、ENUMデータ記憶部13aは、図4に例示するように、「電話番号」と、該電話番号を収容する収容網の情報である「収容網」と、レコードを記憶しておく期間を示す「TTL」とが対応付けられて記憶されている。図4の具体例を挙げて説明すると、例えば、ENUMデータ記憶部13aは、電話番号「03−aaaa−2345」と、収容網「east.example.jp」と、TTL「60」とを対応付けて記憶する。   Here, an example of data stored in the ENUM data storage unit 13a will be described with reference to FIG. For example, as illustrated in FIG. 4, the ENUM data storage unit 13 a indicates “telephone number”, “accommodating network” that is information on the accommodating network that accommodates the telephone number, and a period for storing records. “TTL” is stored in association with each other. 4, for example, the ENUM data storage unit 13a associates the telephone number “03-aaa-2345”, the accommodation network “east.example.jp”, and the TTL “60”. Remember.

ENUMクエリデータ記憶部13bは、後述する計数部12bによって計数された電話番号ごとのENUMクエリ受信回数を記憶する。例えば、図5に例示するように、ENUMクエリデータ記憶部13bは、ENUMデータ記憶部13aに記憶されるレコードに含まれる「電話番号」と、計数部12eによって計数されたENUMクエリ受信回数である「クエリ回数」とを対応付けて記憶する。図5の具体例を挙げて説明すると、例えば、ENUMクエリデータ記憶部13bは、電話番号「03−aaaa−2345」と、クエリ回数「55」とを対応付けて記憶する。   The ENUM query data storage unit 13b stores the ENUM query reception count for each telephone number counted by the counting unit 12b described later. For example, as illustrated in FIG. 5, the ENUM query data storage unit 13 b includes the “telephone number” included in the record stored in the ENUM data storage unit 13 a and the number of ENUM query receptions counted by the counting unit 12 e. The “number of queries” is stored in association with each other. Referring to the specific example of FIG. 5, for example, the ENUM query data storage unit 13b stores the telephone number “03-aaa-2345” and the query count “55” in association with each other.

図1の説明に戻って、制御部12は、受信部12aと、判定部12bと、返信部12cと、転送部12dと、計数部12eと、制御部12fと、削除部12gとを有する。ここで、制御部12は、CPU(Central Processing Unit)やMPU(Micro Processing Unit)などの電子回路やASIC(Application Specific Integrated Circuit)やFPGA(Field Programmable Gate Array)などの集積回路である。   Returning to the description of FIG. 1, the control unit 12 includes a reception unit 12a, a determination unit 12b, a reply unit 12c, a transfer unit 12d, a counting unit 12e, a control unit 12f, and a deletion unit 12g. Here, the control unit 12 is an electronic circuit such as a CPU (Central Processing Unit) or MPU (Micro Processing Unit), or an integrated circuit such as an ASIC (Application Specific Integrated Circuit) or an FPGA (Field Programmable Gate Array).

受信部12aは、呼制御サーバ30からENUMクエリを受信する。具体的には、受信部12aは、ENUMクエリを受信すると、該ENUMクエリを判定部12cに通知するとともに、ENUMクエリを受信した旨を計数部12eに通知する。   The receiving unit 12a receives the ENUM query from the call control server 30. Specifically, when receiving the ENUM query, the receiving unit 12a notifies the determining unit 12c of the ENUM query and notifies the counting unit 12e that the ENUM query has been received.

判定部12bは、受信部12aによって受信したENUMクエリに対応するレコードがENUMデータ記憶部13aに記憶されているか判定する。例えば、判定部12bは、受信部12aからENUMクエリを受け付けると、該ENUMクエリに含まれる電話番号に該当するレコードがENUMデータ記憶部13aに記憶されているか判定する。そして、判定部12bは、判定結果を返信部12cまたは転送部12dに通知する。   The determination unit 12b determines whether a record corresponding to the ENUM query received by the reception unit 12a is stored in the ENUM data storage unit 13a. For example, when receiving the ENUM query from the receiving unit 12a, the determining unit 12b determines whether a record corresponding to the telephone number included in the ENUM query is stored in the ENUM data storage unit 13a. Then, the determination unit 12b notifies the determination result to the reply unit 12c or the transfer unit 12d.

返信部12cは、判定部12bによってレコードがENUMデータ記憶部13aに記憶されていると判定した場合には、該レコードを用いて、呼制御サーバ30にクエリ要求に対する回答を返信する。例えば、返信部12cは、判定部12bから受信した判定結果が、受信したENUMクエリに対応するレコードがENUMデータ記憶部13aに記憶されているという判定結果である場合には、ENUMデータ記憶部13aからレコードを読み出し、電話番号に対応する収納網、すなわち、電話番号を収納する収納網のアドレス情報をENUMアンサとして、呼制御サーバ30に送信する。   When the determination unit 12b determines that the record is stored in the ENUM data storage unit 13a, the reply unit 12c returns a response to the query request to the call control server 30 using the record. For example, when the determination result received from the determination unit 12b is the determination result that the record corresponding to the received ENUM query is stored in the ENUM data storage unit 13a, the reply unit 12c returns to the ENUM data storage unit 13a. The record is read out from the telephone number, and the address information of the storage network corresponding to the telephone number, that is, the storage network storing the telephone number is transmitted to the call control server 30 as an ENUM answer.

転送部12dは、判定部12bによってレコードがENUMデータ記憶部13aに記憶されていないと判定した場合には、該クエリ要求をENUM権威サーバ20に転送し、転送したクエリ要求に対する回答をENUM権威サーバ20から受信した際には、該回答を呼制御サーバ30に転送する。   When the determination unit 12b determines that the record is not stored in the ENUM data storage unit 13a, the transfer unit 12d transfers the query request to the ENUM authority server 20, and sends an answer to the transferred query request to the ENUM authority server. When received from 20, the response is transferred to the call control server 30.

計数部12eは、受信部12aによってENUMクエリを受信した場合に、ENUMデータ記憶部13aに記憶されたレコードごとに、各レコードに対応するENUMクエリを受信した回数を計数する。具体的には、計測部12eは、ENUMデータ記憶部13aに記憶されたレコードの電話番号ごとに、所定時間内におけるクエリ要求を受信した回数を計数する。   When the receiving unit 12a receives the ENUM query, the counting unit 12e counts the number of times the ENUM query corresponding to each record is received for each record stored in the ENUM data storage unit 13a. Specifically, the measuring unit 12e counts the number of times the query request is received within a predetermined time for each telephone number of the record stored in the ENUM data storage unit 13a.

例えば、計数部12eは、受信部12aによってENUMクエリを受信するたびに、ENUMクエリデータ記憶部13bにおけるENUMクエリに含まれる電話番号に対応するクエリ回数に1を加算する。また、計数部12eは、1秒経過するごとに、ENUMクエリデータ記憶部13bに記憶されたクエリ回数を「0」に更新する。なお、上記した「1秒間」あたりのENUMクエリの受信回数を計数する場合に限定されるものではなく、任意に設定した期間のENUMクエリの受信回数を計数してもよい。   For example, every time the receiving unit 12a receives an ENUM query, the counting unit 12e adds 1 to the number of queries corresponding to the telephone number included in the ENUM query in the ENUM query data storage unit 13b. The counting unit 12e updates the number of queries stored in the ENUM query data storage unit 13b to “0” every time 1 second elapses. Note that the present invention is not limited to the case where the number of ENUM query receptions per “second” is counted, and the number of ENUM query receptions during an arbitrarily set period may be counted.

制御部12fは、計数部によって計数された回数が所定の回数を超えたレコードがある場合には、該レコードを記憶する期間を延長するように制御する。具体的には、制御部12fは、計数部12eによって計数された所定時間内における回数が所定の回数を超えたレコードがある場合には、該レコードを記憶する期間を延長する。例えば、制御部12fは、ENUMクエリデータ記憶部13bを参照し、1秒間あたりのENUMクエリの受信回数が100回を超えた電話番号が存在する場合には、ENUMデータ記憶部13aにおける該当する電話番号のTTLに「3600」秒を加算する。   When there is a record in which the number of times counted by the counting unit exceeds a predetermined number, the control unit 12f controls to extend the period for storing the record. Specifically, when there is a record in which the number of times within a predetermined time counted by the counter 12e exceeds a predetermined number, the control unit 12f extends the period for storing the record. For example, the control unit 12f refers to the ENUM query data storage unit 13b, and if there is a telephone number in which the number of receptions of the ENUM query per second exceeds 100, the corresponding phone in the ENUM data storage unit 13a Add “3600” seconds to the TTL of the number.

また、制御部12fは、該当する電話番号のTTLに「3600」秒を加算する処理を行うのは一度のみであり、一度加算処理を行った後に、再度1秒間あたりのENUMクエリの受信回数が100回を超えた場合であっても、該当する電話番号のTTLに「3600」秒を加算する処理を行わない。なお、上記では、「1秒間」あたりのENUMクエリの受信回数が「100回」を超えた電話番号が存在する場合に、TTLに「3600秒」を加算する場合を説明したが、「1秒間」、「100回」、「3600秒」などの各値は任意に事前設定することが可能である。   In addition, the control unit 12f performs the process of adding “3600” seconds to the TTL of the corresponding telephone number only once. After the addition process is performed once, the number of times of receiving the ENUM query per second is again determined. Even when the number of times exceeds 100, the process of adding “3600” seconds to the TTL of the corresponding telephone number is not performed. In the above description, a case has been described in which “3600 seconds” is added to TTL when there is a phone number in which the number of ENUM query receptions per “one second” exceeds “100 times”. Each value such as “,” “100 times”, “3600 seconds” can be arbitrarily set in advance.

ここで図6を用いて、ENUMクエリの状況に応じて、電話番号ごとにTTLを変更する処理について説明する。図6は、ENUMクエリの状況に応じて、電話番号ごとにTTLを変更する処理を説明する図である。図6に示すように、ENUMキャッシュサーバ10は、通常時には、ENUM権威サーバ20に指定されているTTLとして「60」秒を設定する。   Here, a process for changing the TTL for each telephone number according to the status of the ENUM query will be described with reference to FIG. FIG. 6 is a diagram for explaining processing for changing the TTL for each telephone number in accordance with the status of the ENUM query. As shown in FIG. 6, the ENUM cache server 10 normally sets “60” seconds as the TTL designated by the ENUM authority server 20.

その後、ENUMキャッシュサーバ10は、変動状態時、つまり、特定の電話番号への呼が集中している状態においては、TTL「60」に「3600」を加算した、TTL「3660」を設定する。   Thereafter, the ENUM cache server 10 sets TTL “3660”, which is obtained by adding “3600” to TTL “60” in a changing state, that is, in a state where calls to a specific telephone number are concentrated.

このように、ENUMキャッシュサーバ10は、ENUMクエリ数の状況、つまり、呼の集中度合いに応じて、ENUM権威サーバ20から受信したTTLをENUMキャッシュサーバ10側で変更することで、ENUM権威サーバ20へのアクセス数を低減させることができる。   In this way, the ENUM cache server 10 changes the TTL received from the ENUM authority server 20 on the ENUM cache server 10 side according to the status of the number of ENUM queries, that is, the call concentration level, so that the ENUM authority server 20 The number of accesses to can be reduced.

例えば、特に、チケット販売先の電話番号や義援金宛先の電話番号などの、特定の電話番号への呼が集中して発生した場合において、従来の場合では、60秒ごとに、ENUMクエリがENUM権威サーバ20に届いてしまうため、ENUM権威サーバ20に対する負荷が継続してかかってしまうことになる。これに対して、第一の実施形態に係るシステムでは、ENUMキャッシュサーバ10への1秒間におけるENUMクエリの回数が所定の閾値を超えた場合には、ENUMキャッシュサーバ10において、ENUM権威サーバ20から取得したTTLを無視し、TTLを変動させる。例えば、ENUMキャッシュサーバ10のENUMデータのTTL時間を3600秒の間延長することで、ENUM権威サーバ20へのENUMクエリ数を抑え、ENUM権威サーバ20への負荷を軽減することができる。   For example, in particular, when calls to a specific telephone number such as a telephone number of a ticket sales destination or a telephone number of a donation are concentrated, in the conventional case, an ENUM query is issued every 60 seconds. Since it reaches the server 20, the load on the ENUM authority server 20 is continuously applied. On the other hand, in the system according to the first embodiment, when the number of ENUM queries per second for the ENUM cache server 10 exceeds a predetermined threshold, the ENUM cache server 10 uses the ENUM authority server 20 to The acquired TTL is ignored and the TTL is changed. For example, by extending the TTL time of the ENUM data of the ENUM cache server 10 for 3600 seconds, the number of ENUM queries to the ENUM authority server 20 can be suppressed, and the load on the ENUM authority server 20 can be reduced.

また、制御部12fは、期間が延長となったレコードについて、計数部12eによって計数された回数が所定の回数以下となった場合には、TTLを短縮するように制御する。例えば、制御部12fは、ENUMクエリデータ記憶部13bを参照し、期間が延長となったレコードについて、1秒間あたりのENUMクエリの受信回数が100回以下となった電話番号が存在するか、1秒間ごとに判定する。そして、制御部12fは、1秒間あたりのENUMクエリの受信回数が100回以下となった電話番号が存在する場合には、
ENUMデータ記憶部13aにおける該当する電話番号のTTLに「3600」秒を減算する。
Further, the control unit 12f controls the TTL to be shortened when the number of times counted by the counting unit 12e is equal to or less than a predetermined number for the record whose period is extended. For example, the control unit 12f refers to the ENUM query data storage unit 13b, and for a record with an extended period, whether there is a telephone number in which the number of receptions of the ENUM query per second is 100 times or less, 1 Judge every second. Then, when there is a telephone number in which the number of receptions of the ENUM query per second is 100 times or less, the control unit 12f
“3600” seconds are subtracted from the TTL of the corresponding telephone number in the ENUM data storage unit 13a.

ここで、図7を用いて、ENUMキャッシュサーバ10におけるTTLの遷移の一例について説明する。図7は、ENUMキャッシュサーバにおけるTTLの遷移例を説明する図である。まず、図7の(1)に示すように、ENUMキャッシュサーバ10は、ENUM権威サーバ20からENUMデータを取得した直後は、ENUM権威サーバ20により設定されているTTL(図7の例では、「権威TTL」と記載)を、ENUMキャッシュサーバ10にキャッシュされたENUMデータのTTL(図7の例では、「キャッシュTTL」と記載)として設定する。   Here, an example of TTL transition in the ENUM cache server 10 will be described with reference to FIG. FIG. 7 is a diagram for explaining an example of TTL transition in the ENUM cache server. First, as shown in (1) of FIG. 7, the ENUM cache server 10 immediately after acquiring the ENUM data from the ENUM authority server 20, the TTL set by the ENUM authority server 20 (in the example of FIG. Is set as the TTL of the ENUM data cached in the ENUM cache server 10 (denoted as “cache TTL” in the example of FIG. 7).

続いて、ENUMキャッシュサーバ10は、図7の(2)に示すように、時間の経過とともに、TTLの値を順次減少させる。このように、キャッシュTTLが「権威TTLのみ」で構成される場合(通常状態時)は、権威TTLから減少を開始する。なお、図7の(2)の例では、減少しているTTLについて、「減少権威TTL」、「減少キャッシュTTL」と記載している。   Subsequently, as shown in (2) of FIG. 7, the ENUM cache server 10 sequentially decreases the TTL value as time passes. In this way, when the cache TTL is configured with “only authoritative TTL” (in the normal state), the decrease starts from the authoritative TTL. In the example of (2) in FIG. 7, the decreasing TTL is described as “decreasing authority TTL” and “decreasing cache TTL”.

そして、ENUMキャッシュサーバ10は、図7の(3)に示すように、ENUMキャッシュサーバ10への1秒間におけるENUMクエリの回数が所定の閾値を超えた場合には、減少権威TTLに調整TTLを加算する。なお、図7の(3)では、加算された調整TTLであって、減少しているTTLを「減少調整TTL」と記載している。   Then, as shown in (3) of FIG. 7, when the number of ENUM queries per second to the ENUM cache server 10 exceeds a predetermined threshold, the ENUM cache server 10 sets the adjustment TTL to the decreasing authority TTL. to add. In FIG. 7 (3), the TTL that has been added and is decreasing is described as “decreasing adjustment TTL”.

そして、ENUMキャッシュサーバ10は、図7の(4)に示すように、時間の経過とともに、減少キャッシュTTLの値を順次減少させる。このように、キャッシュTTLが「権威TTLと調整TTL」で構成される場合(変動状態時)は、権威TTLの減少は停止させ(減少権威TTLの値を保持し)、調整TTLから減少を開始する(減少調整TTLの発生)。さらに、減少調整TTLが0となった場合は、減少権威TTLの値から減少を再開始する。   Then, as shown in (4) of FIG. 7, the ENUM cache server 10 sequentially decreases the value of the decrease cache TTL as time elapses. In this way, when the cache TTL is composed of “authoritative TTL and adjustment TTL” (during the change state), the decrease of the authority TTL is stopped (the value of the decrease authority TTL is held), and the decrease starts from the adjustment TTL. (Generation of decrease adjustment TTL). Further, when the decrease adjustment TTL becomes 0, the decrease is restarted from the value of the decrease authority TTL.

続いて、ENUMキャッシュサーバ10は、ENUMキャッシュサーバ10への1秒間におけるENUMクエリの回数が所定の閾値以下となった場合には、図7の(5)に示すように、減少キャッシュTTLから調整TTL分を減算する。その後、減算された減少キャッシュTTLの値から時間の経過とともに、TTLの値を順次減少させる。なお、減少キャッシュTTLが0となった場合には、減少権威TTLが0となったとみなして動作する。つまり、減少権威TTLが0となったので、該当するレコードを後述する削除部12gが削除する。   Subsequently, when the number of ENUM queries per second to the ENUM cache server 10 is equal to or less than a predetermined threshold, the ENUM cache server 10 adjusts from the reduced cache TTL as shown in (5) of FIG. Subtract TTL. Thereafter, the TTL value is sequentially decreased with the passage of time from the reduced cache TTL value. When the reduced cache TTL becomes 0, the operation is performed assuming that the reduced authority TTL becomes 0. That is, since the decreasing authority TTL has become 0, the deletion unit 12g described later deletes the corresponding record.

削除部12gは、ENUMデータ記憶部13aに記憶されたレコードの期間を過ぎた場合には、該レコードをENUMデータ記憶部13aから削除する。例えば、削除部12gは、ENUMデータ記憶部13aを参照し、TTLの値が0になっているレコードがある場合には、該レコードをENUMデータ記憶部13aから削除する。   When the period of the record stored in the ENUM data storage unit 13a has passed, the deletion unit 12g deletes the record from the ENUM data storage unit 13a. For example, the deletion unit 12g refers to the ENUM data storage unit 13a, and when there is a record whose TTL value is 0, deletes the record from the ENUM data storage unit 13a.

[ENUMキャッシュサーバによる処理]
次に、図8を用いて、第一の実施形態に係るENUMキャッシュサーバ10の処理を説明する。図8は、第一の実施形態に係るENUMキャッシュサーバ10における処理の流れを説明するためのフローチャートである。
[Process by ENUM cache server]
Next, processing of the ENUM cache server 10 according to the first embodiment will be described using FIG. FIG. 8 is a flowchart for explaining the flow of processing in the ENUM cache server 10 according to the first embodiment.

図8に示すように、ENUMキャッシュサーバ10の受信部12aが呼制御サーバ30からクエリ要求であるENUMクエリを受信すると(ステップS101肯定)、計数部12eは、電話番号ごとにクエリ要求の受信回数を計数する(ステップS102)。例えば、計数部12eは、ENUMクエリを受信するたびに、ENUMクエリデータ記憶部13bにおけるENUMクエリに含まれる電話番号に対応するクエリ回数に1を加算する。   As shown in FIG. 8, when the receiving unit 12a of the ENUM cache server 10 receives an ENUM query that is a query request from the call control server 30 (Yes in step S101), the counting unit 12e counts the number of times the query request is received for each telephone number. Are counted (step S102). For example, every time the ENUM query is received, the counting unit 12e adds 1 to the number of queries corresponding to the telephone number included in the ENUM query in the ENUM query data storage unit 13b.

そして、制御部12fは、ENUMクエリの受信回数が所定の閾値を超えたか否かを判定する(ステップS103)。例えば、制御部12fは、ENUMクエリデータ記憶部13bを参照し、1秒間あたりのENUMクエリの受信回数が100回を超えた電話番号のレコードが存在するか判定する。   Then, the control unit 12f determines whether or not the number of receptions of the ENUM query exceeds a predetermined threshold (Step S103). For example, the control unit 12f refers to the ENUM query data storage unit 13b and determines whether there is a record of a telephone number that has received 100 times of ENUM queries per second.

この結果、制御部12fは、ENUMクエリの受信回数が所定の閾値を超えなかったと判定した場合には(ステップS103否定)、ステップS101に戻る。また、制御部12fは、ENUMクエリの受信回数が所定の閾値を超えたと判定した場合には(ステップS103肯定)、すでに調整TTL(例えば、3600秒)が加算済みであるか否かを判定する(ステップS104)。この結果、すでに調整TTLが加算済みであると判定した場合には(ステップS104肯定)、ステップS101に戻る。つまり、一度調整TTLを加算したレコードについては、もう一度調整TTLを加算する処理を行わない。   As a result, when it is determined that the number of receptions of the ENUM query has not exceeded the predetermined threshold (No at Step S103), the control unit 12f returns to Step S101. Further, when the control unit 12f determines that the number of receptions of the ENUM query exceeds a predetermined threshold (Yes at Step S103), the control unit 12f determines whether or not the adjustment TTL (for example, 3600 seconds) has already been added. (Step S104). As a result, when it is determined that the adjustment TTL has already been added (Yes at Step S104), the process returns to Step S101. That is, for the record once the adjustment TTL is added, the process of adding the adjustment TTL again is not performed.

また、制御部12fは、調整TTLが加算済みでないと判定した場合には(ステップS104否定)、電話番号に対応するENUMデータの減少権威TTLに調整TTLを加算する(ステップS105)。   Further, when it is determined that the adjustment TTL has not been added (No at Step S104), the control unit 12f adds the adjustment TTL to the decrease authority TTL of the ENUM data corresponding to the telephone number (Step S105).

このように、ENUMキャッシュサーバ10が、ENUMクエリ数の状況に応じて、ENUM権威サーバ20から指定されたTTLを変更するので、例えば、チケット販売や義援金の特定の宛先に対するENUM権威サーバ20へのENUMクエリ負荷を軽減することができる。   In this way, the ENUM cache server 10 changes the TTL designated by the ENUM authority server 20 in accordance with the number of ENUM queries, so that, for example, the ENUM authority server 20 for a specific destination of ticket sales or donations is sent to the ENUM cache server 10. The ENUM query load can be reduced.

[第一の実施形態の効果]
上述してきたように、第一の実施形態にかかるENUMキャッシュサーバ10は、呼制御サーバ30からのクエリ要求に対応するレコードをキャッシュデータとして記憶するとともに、レコードごとに該レコードを記憶する期間を記憶するENUMデータ記憶部13aを有する。そして、ENUMキャッシュサーバ10では、呼制御サーバ30からクエリ要求を受信し、受信したクエリ要求に対応するレコードがENUMデータ記憶部13aに記憶されているか判定する。そして、ENUMキャッシュサーバ10は、判定の結果、レコードがENUMデータ記憶部13aに記憶されていると判定された場合には、該レコードを用いて、呼制御サーバ30にクエリ要求に対する回答を返信する。また、ENUMキャッシュサーバ10は、レコードがENUMデータ記憶部13aに記憶されていないと判定された場合には、該クエリ要求をENUM権威サーバ20に転送し、転送したクエリ要求に対する回答をENUM権威サーバ20から受信した際には、該回答を呼制御サーバ30に転送する。また、ENUMキャッシュサーバ10は、クエリ要求を受信した場合に、ENUMデータ記憶部13aに記憶されたレコードごとに、各レコードに対応するクエリ要求を受信した回数を計数する。そして、ENUMキャッシュサーバ10は、計数された回数が所定の回数を超えたレコードが存在する場合には、該レコードを記憶する期間を延長して、ENUMデータ記憶部13aに記憶させる。
[Effect of the first embodiment]
As described above, the ENUM cache server 10 according to the first embodiment stores a record corresponding to a query request from the call control server 30 as cache data, and stores a period for storing the record for each record. An ENUM data storage unit 13a. The ENUM cache server 10 receives the query request from the call control server 30 and determines whether a record corresponding to the received query request is stored in the ENUM data storage unit 13a. When it is determined that the record is stored in the ENUM data storage unit 13a as a result of the determination, the ENUM cache server 10 returns a response to the query request to the call control server 30 using the record. . When it is determined that the record is not stored in the ENUM data storage unit 13a, the ENUM cache server 10 transfers the query request to the ENUM authority server 20, and sends an answer to the transferred query request to the ENUM authority server. When received from 20, the response is transferred to the call control server 30. Further, when receiving the query request, the ENUM cache server 10 counts the number of times the query request corresponding to each record is received for each record stored in the ENUM data storage unit 13a. When there is a record whose counted number exceeds the predetermined number, the ENUM cache server 10 extends the period for storing the record and stores it in the ENUM data storage unit 13a.

このように、ENUMキャッシュサーバ10では、ENUMクエリ数の状況に応じて、ENUM権威サーバ20から指定されたTTLを変更することで、権威サーバへのアクセスの集中を防止し、権威サーバへのアクセスを低減することが可能である。   In this way, the ENUM cache server 10 prevents concentration of access to the authority server by changing the TTL designated from the ENUM authority server 20 according to the status of the number of ENUM queries, thereby preventing access to the authority server. Can be reduced.

また、第一の実施形態にかかるENUMキャッシュサーバ10では、期間が延長となったレコードについて、計数された回数が所定の回数以下となった場合には、該レコードを記憶する期間を短縮して、ENUMデータ記憶部13aに記憶させる。このため、権威サーバへのアクセスが集中する状況が終わった場合には、延長したTTLを短縮し、通常の時のTTLに戻すことが可能である。   Also, in the ENUM cache server 10 according to the first embodiment, when the number of counted times is less than or equal to a predetermined number for a record with an extended period, the period for storing the record is shortened. And stored in the ENUM data storage unit 13a. For this reason, when the situation where the access to the authority server is concentrated, the extended TTL can be shortened and returned to the normal TTL.

また、第一の実施形態にかかるENUMキャッシュサーバ10では、レコードごとに、所定時間内におけるクエリ要求を受信した回数を計数し、所定時間内における回数が所定の回数を超えたレコードが前記記憶部に存在する場合には、該レコードを記憶する期間を延長して、ENUMデータ記憶部13aに記憶させる。このため、例えば、1秒間におけるクエリ要求を監視することで、ENUM権威サーバ20へのアクセスが集中する状況であるか否かを適切に判断することが可能である。   In the ENUM cache server 10 according to the first embodiment, the number of times that a query request is received within a predetermined time is counted for each record, and a record in which the number of times within a predetermined time exceeds the predetermined number is stored in the storage unit. Is stored in the ENUM data storage unit 13a, the period for storing the record is extended. Therefore, for example, it is possible to appropriately determine whether or not the access to the ENUM authority server 20 is concentrated by monitoring query requests for one second.

また、第一の実施形態にかかるENUMキャッシュサーバ10では、ENUMデータ記憶部13aに記憶させたレコードの電話番号ごとに、各電話番号に対応するクエリ要求を受信した回数を計数し、計数された回数が所定の回数を超えた電話番号に対応するレコードがある場合には、該レコードを記憶する期間を延長して、ENUMデータ記憶部13aに記憶させる。このため、例えば、チケット販売先の電話番号や義援金宛先の電話番号などの、特定の電話番号への呼が集中して発生する場合に、権威サーバへのアクセスの集中を防止し、権威サーバへのアクセスを低減することが可能である。   The ENUM cache server 10 according to the first embodiment counts the number of times the query request corresponding to each telephone number is received for each telephone number of the record stored in the ENUM data storage unit 13a. When there is a record corresponding to a telephone number whose number of times exceeds a predetermined number, the period for storing the record is extended and stored in the ENUM data storage unit 13a. For this reason, for example, when calls to a specific telephone number such as a telephone number of a ticket sales destination or a telephone number of a donation are concentrated, access concentration to the authority server is prevented, and It is possible to reduce access.

また、第一の実施形態にかかるENUMキャッシュサーバ10では、ENUMデータ記憶部13aに記憶されたレコードの期間を過ぎた場合には、該レコードをENUMデータ記憶部13aから削除する。このため、TTLが0となったレコードを適切に削除することが可能である。   In the ENUM cache server 10 according to the first embodiment, when the period of the record stored in the ENUM data storage unit 13a has expired, the record is deleted from the ENUM data storage unit 13a. For this reason, it is possible to appropriately delete a record whose TTL is 0.

[第二の実施形態]
上記の第一の実施形態においては、電話番号ごとに、各電話番号に対応するクエリ要求を受信した回数を計数し、回数に応じてTTLを延長する場合を説明したが、これに限定されるものではなく、局番(市外局番、市内局番)ごとに、各電話番号に対応するクエリ要求を受信した回数を計数し、回数に応じてTTLを延長するようにしてもよい。
[Second Embodiment]
In the first embodiment described above, a case has been described in which the number of times that a query request corresponding to each telephone number is received is counted for each telephone number, and the TTL is extended according to the number of times. However, the present invention is limited to this. For example, the number of times a query request corresponding to each telephone number is received may be counted for each station number (city code, city code), and the TTL may be extended according to the number.

つまり、図9に例示するように、特定の局番の地域において、その地域に激甚等が発生した場合には、他の地域から激甚等が発生した地域への安否確認の呼が集中する。例えば、図9の例では、市外局番「053」に呼が集中している。このような場合に、システムにおいて、ENUMクエリが特定の局番に集中する結果、ENUM権威サーバ20に対してENUMクエリが集中し、ENUM権威サーバ20の処理負荷が増大する。   That is, as illustrated in FIG. 9, in the area of a specific station number, when a violence or the like occurs in that area, calls for confirmation of safety from other areas to the area where the violence or the like has occurred are concentrated. For example, in the example of FIG. 9, calls are concentrated on the area code “053”. In such a case, as a result of the ENUM query being concentrated on a specific station number in the system, the ENUM query is concentrated on the ENUM authority server 20, and the processing load on the ENUM authority server 20 is increased.

そこで、第二の実施形態に係るENUMキャッシュサーバでは、局番(市外局番、市内局番)ごとに、各電話番号に対応するクエリ要求を受信した回数を計数し、回数に応じてTTLを延長する。これにより、特定の地域における局番への呼が集中した場合であっても、権威サーバへのアクセスの集中を防止し、権威サーバへのアクセスを低減することを可能とする。   Therefore, the ENUM cache server according to the second embodiment counts the number of times a query request corresponding to each telephone number is received for each station number (city code, city code), and extends TTL according to the number. To do. As a result, even when calls to station numbers in a specific area are concentrated, it is possible to prevent concentration of access to the authority server and to reduce access to the authority server.

そこで、以下の第二の実施形態では、局番(市外局番、市内局番)ごとに、各局番に対応するクエリ要求を受信した回数を計数し、回数に応じてTTLを延長する場合として、図10〜図14を用いて、第二の実施形態における情報収集配信サーバの処理について説明する。なお、第二の実施形態に係るENUMキャッシュサーバの構成は、図3に示した第一の実施形態に係るENUMキャッシュサーバと同様であるため、説明を省略する。   Therefore, in the following second embodiment, for each station number (city code, local station number), the number of times the query request corresponding to each station number is received is counted, and the TTL is extended according to the number of times. The processing of the information collection / delivery server in the second embodiment will be described with reference to FIGS. The configuration of the ENUM cache server according to the second embodiment is the same as that of the ENUM cache server according to the first embodiment shown in FIG.

まず、第二の実施形態に係るENUMキャッシュサーバのENUMクエリデータ記憶部13bについて図10を用いて説明する。図10に示すように、ENUMクエリデータ記憶部13bは、計数部12eによって計数された市外局番ごとのENUMクエリ受信回数を記憶する。例えば、図10の例では、ENUMクエリデータ記憶部13bは、ENUMデータ記憶部13aに記憶されるレコードに含まれる「市外局番」と、計数部12eによって計数されたENUMクエリ受信回数である「クエリ回数」とを対応付けて記憶する。なお、計測対象の局番は、任意に事前設定が可能である。   First, the ENUM query data storage unit 13b of the ENUM cache server according to the second embodiment will be described with reference to FIG. As shown in FIG. 10, the ENUM query data storage unit 13b stores the ENUM query reception count for each area code counted by the counting unit 12e. For example, in the example of FIG. 10, the ENUM query data storage unit 13 b includes the “area code” included in the record stored in the ENUM data storage unit 13 a and the number of ENUM query receptions counted by the counting unit 12 e. “Number of queries” is stored in association with each other. The station number to be measured can be arbitrarily set in advance.

第二の実施形態に係るENUMキャッシュサーバの計数部12eは、ENUMクエリデータ記憶部13bに記憶されたレコードにおける同一の市外局番ごとに、各市外局番に対応するクエリ要求を受信した回数を計数する。   The counting unit 12e of the ENUM cache server according to the second embodiment counts the number of times the query request corresponding to each area code is received for each same area code in the record stored in the ENUM query data storage unit 13b. To do.

また、第二の実施形態に係るENUMキャッシュサーバの制御部12fは、計数部12eによって計数された回数が所定の回数を超えた市外局番に対応するレコードがある場合には、該レコードを記憶する期間を延長して、ENUMデータ記憶部13aに記憶させる。   In addition, the control unit 12f of the ENUM cache server according to the second embodiment stores the record when there is a record corresponding to the area code where the number of times counted by the counting unit 12e exceeds a predetermined number. This period is extended and stored in the ENUM data storage unit 13a.

例えば、図11に例示するように、第二の実施形態に係るENUMキャッシュサーバは、市外局番「0053」に対するENUMクエリの回数が1秒間に100回以上であると判定した場合には、市外局番0053に属する全てのENUMデータのTTLを自律的に延長する。例えば、図11の例では、特定の市外局番0053に属する全てのENUMデータのTTLに「3600」を加算した、TTL「3660」を設定している。   For example, as illustrated in FIG. 11, when the ENUM cache server according to the second embodiment determines that the number of ENUM queries for the area code “0053” is 100 or more per second, The TTL of all ENUM data belonging to the external station number 0053 is autonomously extended. For example, in the example of FIG. 11, TTL “3660” is set by adding “3600” to the TTL of all ENUM data belonging to a specific area code 0053.

このように、第二の実施形態に係るENUMキャッシュサーバは、市外局番単位に、ENUMクエリ数を測定し、ENUMクエリ数が閾値を超えた場合には、ENUMキャッシュサーバが保持している当該局番に属する全てのENUMデータのTTL値を自律的に延伸する。また、ENUMクエリ数が閾値以下になった場合、延伸したTTLを通常に戻す。これにより、激甚等発生時のENUM権威サーバ20に対するENUMクエリ数を削減し、ENUM権威サーバ20の負荷を軽減することが可能である。   In this way, the ENUM cache server according to the second embodiment measures the number of ENUM queries for each area code, and when the number of ENUM queries exceeds a threshold, the ENUM cache server holds TTL values of all ENUM data belonging to station numbers are autonomously extended. Further, when the number of ENUM queries becomes equal to or less than the threshold, the extended TTL is returned to normal. Thereby, it is possible to reduce the number of ENUM queries to the ENUM authoritative server 20 at the time of occurrence of a fierce disaster and to reduce the load on the ENUM authoritative server 20.

次に、図12を用いて、第二の実施形態に係るENUMキャッシュサーバの処理を説明する。図12は、第二の実施形態に係るENUMキャッシュサーバにおける処理の流れを説明するためのフローチャートである。   Next, processing of the ENUM cache server according to the second embodiment will be described with reference to FIG. FIG. 12 is a flowchart for explaining the flow of processing in the ENUM cache server according to the second embodiment.

図12に示すように、第二の実施形態に係るENUMキャッシュサーバの受信部12aが呼制御サーバ30からクエリ要求であるENUMクエリを受信すると(ステップS201肯定)、計数部12eは、局番ごとにクエリ要求の受信回数を計数する(ステップS202)。例えば、計数部12eは、ENUMクエリを受信するたびに、ENUMクエリデータ記憶部13bにおけるENUMクエリに含まれる局番に対応するクエリ回数に1を加算する。   As shown in FIG. 12, when the receiving unit 12a of the ENUM cache server according to the second embodiment receives an ENUM query that is a query request from the call control server 30 (Yes in step S201), the counting unit 12e The number of times the query request is received is counted (step S202). For example, each time the ENUM query is received, the counting unit 12e adds 1 to the number of queries corresponding to the station number included in the ENUM query in the ENUM query data storage unit 13b.

そして、制御部12fは、ENUMクエリの受信回数が所定の閾値を超えたか否かを判定する(ステップS203)。例えば、制御部12fは、ENUMクエリデータ記憶部13bを参照し、1秒間あたりのENUMクエリの受信回数が100回を超えた局番のレコードが存在するか判定する。   Then, the control unit 12f determines whether or not the number of receptions of the ENUM query exceeds a predetermined threshold (Step S203). For example, the control unit 12f refers to the ENUM query data storage unit 13b and determines whether there is a record with a station number in which the number of receptions of the ENUM query per second exceeds 100 times.

この結果、制御部12fは、ENUMクエリの受信回数が所定の閾値を超えなかったと判定した場合には(ステップS203否定)、ステップS201に戻る。また、制御部12fは、ENUMクエリの受信回数が所定の閾値を超えたと判定した場合には(ステップS203肯定)、すでに調整TTL(例えば、3600秒)が加算済みであるか否かを判定する(ステップS204)。この結果、すでに調整TTLが加算済みであると判定した場合には(ステップS204肯定)、ステップS201に戻る。   As a result, when it is determined that the number of receptions of the ENUM query has not exceeded the predetermined threshold (No at Step S203), the control unit 12f returns to Step S201. If the control unit 12f determines that the number of ENUM query receptions exceeds a predetermined threshold (Yes in step S203), the control unit 12f determines whether or not an adjustment TTL (eg, 3600 seconds) has already been added. (Step S204). As a result, when it is determined that the adjustment TTL has already been added (Yes at step S204), the process returns to step S201.

また、制御部12fは、調整TTLが加算済みでないと判定した場合には(ステップS204否定)、局番に属する全てのENUMデータの減少権威TTLに調整TTLを加算する(ステップS205)。   If it is determined that the adjustment TTL has not been added (No at Step S204), the control unit 12f adds the adjustment TTL to the decrease authority TTL of all ENUM data belonging to the station number (Step S205).

また、市外局番単位にENUMクエリ数を測定する場合に限らず、市外局番および市内局番の組み合わせで定まる単位でENUMクエリ数を測定してもよい。このような場合、例えば、図13に例示するように、ENUMクエリデータ記憶部13bは、計数部12eによって計数された市外局番および市内局番の組み合わせで定まる単位ごとのENUMクエリ受信回数を記憶する。例えば、図13の例では、ENUMクエリデータ記憶部13bは、ENUMデータ記憶部13aに記憶されるレコードに含まれる「市外局番」および「市内局番」と、計数部12eによって計数されたENUMクエリ受信回数である「クエリ回数」とを対応付けて記憶する。   In addition, the number of ENUM queries may be measured in a unit determined by a combination of the area code and the city code, not only when the number of ENUM queries is measured in the area code unit. In such a case, for example, as illustrated in FIG. 13, the ENUM query data storage unit 13b stores the number of ENUM query receptions for each unit determined by the combination of the area code and the city code counted by the counting unit 12e. To do. For example, in the example of FIG. 13, the ENUM query data storage unit 13b includes the “area code” and “city code” included in the record stored in the ENUM data storage unit 13a, and the ENUM counted by the counting unit 12e. The “number of queries” that is the number of query receptions is stored in association with each other.

次に、図14を用いて、ENUMクエリの状況に応じて、市外局番および市内局番ごとにTTLを変更する処理について説明する。図14は、ENUMクエリの状況に応じて、市外局番および市内局番ごとにTTLを変更する処理を説明する図である。図14に例示するように、第二の実施形態に係るENUMキャッシュサーバは、市外局番が「0053」であって、かつ、市内局番が「bbbb」に対するENUMクエリの回数が1秒間に100回以上であると判定した場合には、市外局番が「0053」であって、かつ、市内局番が「bbbb」である全てのENUMデータのTTLを自律的に延長する。例えば、図13の例では、該当する全てのENUMデータのTTLに「3600」を加算した、TTL「3660」を設定している。   Next, a process of changing the TTL for each area code and city code according to the status of the ENUM query will be described with reference to FIG. FIG. 14 is a diagram for explaining processing for changing the TTL for each area code and city code according to the status of the ENUM query. As illustrated in FIG. 14, the ENUM cache server according to the second embodiment is configured such that the number of ENUM queries for the area code “0053” and the city code “bbbb” is 100 per second. If it is determined that the number is equal to or greater than the number of times, the TTL of all ENUM data whose area code is “0053” and whose city code is “bbbb” is autonomously extended. For example, in the example of FIG. 13, TTL “3660” is set by adding “3600” to the TTL of all corresponding ENUM data.

このように、第二の実施形態に係るENUMキャッシュサーバは、市外局番および市内局番の組み合わせで定まる単位に、ENUMクエリ数を測定し、ENUMクエリ数が閾値を超えた場合には、ENUMキャッシュサーバが保持している当該局番に属する全てのENUMデータのTTL値を自律的に延伸することで、激甚等発生時のENUM権威サーバ20に対するENUMクエリ数を削減し、ENUM権威サーバ20の負荷を軽減することが可能である。   As described above, the ENUM cache server according to the second embodiment measures the number of ENUM queries in a unit determined by the combination of the area code and the city code, and if the number of ENUM queries exceeds the threshold, the ENUM By automatically extending the TTL values of all ENUM data belonging to the relevant station number held by the cache server, the number of ENUM queries to the ENUM authority server 20 in the event of a catastrophe or the like is reduced, and the load on the ENUM authority server 20 Can be reduced.

[システム構成等]
また、図示した各装置の各構成要素は機能概念的なものであり、必ずしも物理的に図示の如く構成されていることを要しない。すなわち、各装置の分散・統合の具体的形態は図示のものに限られず、その全部または一部を、各種の負荷や使用状況などに応じて、任意の単位で機能的または物理的に分散・統合して構成することができる。例えば、制御部12fと削除部12gを統合してもよい。さらに、各装置にて行なわれる各処理機能は、その全部または任意の一部が、CPUおよび当該CPUにて解析実行されるプログラムにて実現され、あるいは、ワイヤードロジックによるハードウェアとして実現され得る。
[System configuration, etc.]
Further, each component of each illustrated apparatus is functionally conceptual, and does not necessarily need to be physically configured as illustrated. In other words, the specific form of distribution / integration of each device is not limited to that shown in the figure, and all or a part thereof may be functionally or physically distributed or arbitrarily distributed in arbitrary units according to various loads or usage conditions. Can be integrated and configured. For example, the control unit 12f and the deletion unit 12g may be integrated. Further, all or any part of each processing function performed in each device may be realized by a CPU and a program analyzed and executed by the CPU, or may be realized as hardware by wired logic.

また、本実施例において説明した各処理のうち、自動的におこなわれるものとして説明した処理の全部または一部を手動的に行うこともでき、あるいは、手動的におこなわれるものとして説明した処理の全部または一部を公知の方法で自動的におこなうこともできる。この他、上記文書中や図面中で示した処理手順、制御手順、具体的名称、各種のデータやパラメータを含む情報については、特記する場合を除いて任意に変更することができる。   Also, among the processes described in the present embodiment, all or part of the processes described as being performed automatically can be performed manually, or the processes described as being performed manually can be performed. All or a part can be automatically performed by a known method. In addition, the processing procedure, control procedure, specific name, and information including various data and parameters shown in the above-described document and drawings can be arbitrarily changed unless otherwise specified.

[プログラム]
また、上記実施形態において説明したENUMキャッシュサーバ10が実行する処理をコンピュータが実行可能な言語で記述したプログラムを作成することもできる。例えば、第一の実施形態に係るENUMキャッシュサーバ10が実行する処理をコンピュータが実行可能な言語で記述したキャッシュ制御プログラムを作成することもできる。この場合、コンピュータがキャッシュ制御プログラムを実行することにより、上記実施形態と同様の効果を得ることができる。さらに、かかるキャッシュ制御プログラムをコンピュータ読み取り可能な記録媒体に記録して、この記録媒体に記録されキャッシュ制御プログラムをコンピュータに読み込ませて実行することにより上記第一の実施形態と同様の処理を実現してもよい。以下に、図3に示したENUMキャッシュサーバ10と同様の機能を実現するキャッシュ制御プログラムを実行するコンピュータの一例を説明する。
[program]
It is also possible to create a program in which the processing executed by the ENUM cache server 10 described in the above embodiment is described in a language that can be executed by a computer. For example, it is possible to create a cache control program in which processing executed by the ENUM cache server 10 according to the first embodiment is described in a language that can be executed by a computer. In this case, when the computer executes the cache control program, the same effect as in the above embodiment can be obtained. Further, the cache control program is recorded on a computer-readable recording medium, and the processing similar to that of the first embodiment is realized by recording the cache control program on the recording medium and causing the computer to read and execute the cache control program. May be. Hereinafter, an example of a computer that executes a cache control program that realizes the same function as the ENUM cache server 10 illustrated in FIG. 3 will be described.

図15は、キャッシュ制御プログラムを実行するコンピュータ1000を示す図である。図15に例示するように、コンピュータ1000は、例えば、メモリ1010と、CPU1020と、ハードディスクドライブインタフェース1030と、ディスクドライブインタフェース1040と、シリアルポートインタフェース1050と、ビデオアダプタ1060と、ネットワークインタフェース1070とを有し、これらの各部はバス1080によって接続される。   FIG. 15 is a diagram illustrating a computer 1000 that executes a cache control program. As illustrated in FIG. 15, the computer 1000 includes, for example, a memory 1010, a CPU 1020, a hard disk drive interface 1030, a disk drive interface 1040, a serial port interface 1050, a video adapter 1060, and a network interface 1070. These units are connected by a bus 1080.

メモリ1010は、図15に例示するように、ROM(Read Only Memory)1011及びRAM1012を含む。ROM1011は、例えば、BIOS(Basic Input Output System)等のブートプログラムを記憶する。ハードディスクドライブインタフェース1030は、図15に例示するように、ハードディスクドライブ1031に接続される。ディスクドライブインタフェース1040は、図15に例示するように、ディスクドライブ1041に接続される。例えば磁気ディスクや光ディスク等の着脱可能な記憶媒体が、ディスクドライブ1041に挿入される。シリアルポートインタフェース1050は、図15に例示するように、例えばマウス1051、キーボード1052に接続される。ビデオアダプタ1060は、図15に例示するように、例えばディスプレイ1061に接続される。   The memory 1010 includes a ROM (Read Only Memory) 1011 and a RAM 1012 as illustrated in FIG. The ROM 1011 stores a boot program such as BIOS (Basic Input Output System). The hard disk drive interface 1030 is connected to the hard disk drive 1031 as illustrated in FIG. The disk drive interface 1040 is connected to the disk drive 1041 as illustrated in FIG. For example, a removable storage medium such as a magnetic disk or an optical disk is inserted into the disk drive 1041. The serial port interface 1050 is connected to, for example, a mouse 1051 and a keyboard 1052 as illustrated in FIG. The video adapter 1060 is connected to a display 1061, for example, as illustrated in FIG.

ここで、図15に例示するように、ハードディスクドライブ1031は、例えば、OS1091、アプリケーションプログラム1092、プログラムモジュール1093、プログラムデータ1094を記憶する。すなわち、上記のキャッシュ制御プログラムは、コンピュータ1000によって実行される指令が記述されたプログラムモジュールとして、例えばハードディスクドライブ1031に記憶される。   Here, as illustrated in FIG. 15, the hard disk drive 1031 stores, for example, an OS 1091, an application program 1092, a program module 1093, and program data 1094. That is, the cache control program is stored in, for example, the hard disk drive 1031 as a program module in which a command to be executed by the computer 1000 is described.

また、上記実施形態で説明した各種データは、プログラムデータとして、例えばメモリ1010やハードディスクドライブ1031に記憶される。そして、CPU1020が、メモリ1010やハードディスクドライブ1031に記憶されたプログラムモジュール1093やプログラムデータ1094を必要に応じてRAM1012に読み出し、各種処理手順を実行する。   The various data described in the above embodiment is stored as program data, for example, in the memory 1010 or the hard disk drive 1031. Then, the CPU 1020 reads the program module 1093 and the program data 1094 stored in the memory 1010 and the hard disk drive 1031 to the RAM 1012 as necessary, and executes various processing procedures.

なお、キャッシュ制御プログラムに係るプログラムモジュール1093やプログラムデータ1094は、ハードディスクドライブ1031に記憶される場合に限られず、例えば着脱可能な記憶媒体に記憶され、ディスクドライブ等を介してCPU1020によって読み出されてもよい。あるいは、キャッシュ制御プログラムに係るプログラムモジュール1093やプログラムデータ1094は、ネットワーク(LAN(Local Area Network)、WAN(Wide Area Network)等)を介して接続された他のコンピュータに記憶され、ネットワークインタフェース1070を介してCPU1020によって読み出されてもよい。   Note that the program module 1093 and the program data 1094 related to the cache control program are not limited to being stored in the hard disk drive 1031, but are stored in, for example, a removable storage medium and read out by the CPU 1020 via the disk drive or the like. Also good. Alternatively, the program module 1093 and the program data 1094 related to the cache control program are stored in another computer connected via a network (LAN (Local Area Network), WAN (Wide Area Network), etc.), and the network interface 1070 is stored. Via the CPU 1020.

10 ENUMキャッシュサーバ
11 通信処理部
12 制御部
12a 受信部
12b 判定部
12c 返信部
12d 転送部
12e 計数部
12f 制御部
12g 削除部
13 記憶部
13a ENUMデータ記憶部
13b ENUMクエリデータ記憶部
20 ENUM権威サーバ
30 呼制御サーバ
40 クライアント装置
DESCRIPTION OF SYMBOLS 10 ENUM cache server 11 Communication processing part 12 Control part 12a Reception part 12b Determination part 12c Reply part 12d Transfer part 12e Count part 12f Control part 12g Deletion part 13 Storage part 13a ENUM data storage part 13b ENUM query data storage part 20 ENUM authority server 30 Call control server 40 Client device

Claims (8)

通信制御装置からのクエリ要求に対応するレコードをキャッシュデータとして記憶するとともに、レコードごとに該レコードを記憶する期間を記憶する記憶部と、
前記通信制御装置からクエリ要求を受信する受信部と、
前記受信部によって受信したクエリ要求に対応するレコードが前記記憶部に記憶されているか判定する判定部と、
前記判定部によって前記レコードが前記記憶部に記憶されていると判定された場合には、該レコードを用いて、前記通信制御装置にクエリ要求に対する回答を返信する返信部と、
前記判定部によって前記レコードが前記記憶部に記憶されていないと判定された場合には、該クエリ要求を権威サーバに転送し、転送したクエリ要求に対する回答を前記権威サーバから受信した際には、該回答を前記通信制御装置に転送する転送部と、
前記受信部によってクエリ要求を受信した場合に、前記記憶部に記憶されたレコードごとに、各レコードに対応するクエリ要求を受信した回数を計数する計数部と、
前記記憶部に、前記計数部によって計数された回数が所定の回数を超えたレコードが存在する場合には、該レコードを記憶する期間を延長して、前記記憶部に記憶させる制御部と、
を備えることを特徴とするキャッシュサーバ装置。
A storage unit that stores a record corresponding to a query request from the communication control device as cache data, and stores a period for storing the record for each record;
A receiving unit for receiving a query request from the communication control device;
A determination unit that determines whether a record corresponding to the query request received by the reception unit is stored in the storage unit;
If the determination unit determines that the record is stored in the storage unit, using the record, a reply unit that returns a response to the query request to the communication control device;
When it is determined by the determination unit that the record is not stored in the storage unit, the query request is transferred to the authority server, and when an answer to the transferred query request is received from the authority server, A transfer unit for transferring the answer to the communication control device;
When receiving a query request by the receiving unit, for each record stored in the storage unit, a counting unit that counts the number of times a query request corresponding to each record is received;
When there is a record in which the number of times counted by the counting unit exceeds a predetermined number in the storage unit, a control unit that extends the period for storing the record and stores the record in the storage unit;
A cache server device comprising:
前記制御部は、期間が延長となったレコードについて、前記計数部によって計数された回数が所定の回数以下となった場合には、該レコードを記憶する期間を短縮して、前記記憶部に記憶させることを特徴とする請求項1に記載のキャッシュサーバ装置。   When the number of times counted by the counting unit is less than or equal to a predetermined number of records with an extended period, the control unit shortens the period for storing the record and stores it in the storage unit The cache server device according to claim 1, wherein: 前記計測部は、前記レコードごとに、所定時間内におけるクエリ要求を受信した回数を計数し、
前記制御部は、前記計数部によって計数された所定時間内における回数が所定の回数を超えたレコード前記記憶部に存在する場合には、該レコードを記憶する期間を延長して、前記記憶部に記憶させることを特徴とする請求項1または2に記載のキャッシュサーバ装置。
The measurement unit counts the number of times a query request is received within a predetermined time for each record,
When the number of times counted within the predetermined time counted by the counting unit exceeds the predetermined number, the control unit extends the period for storing the record to the storage unit. The cache server device according to claim 1, wherein the cache server device is stored.
前記記憶部は、通信制御装置からのクエリ要求に対応するレコードとして、電話番号と、該電話番号に対応する収容網とを対応付けて記憶し、
前記計数部は、前記記憶部に記憶されたレコードの電話番号ごとに、各電話番号に対応するクエリ要求を受信した回数を計数し、
前記制御部は、前記計数部によって計数された回数が所定の回数を超えた電話番号に対応するレコードがある場合には、該レコードを記憶する期間を延長して、前記記憶部に記憶させることを特徴とする請求項1〜3のいずれか一つに記載のキャッシュサーバ装置。
The storage unit stores a telephone number and a storage network corresponding to the telephone number in association with each other as a record corresponding to the query request from the communication control device,
The counting unit counts the number of times the query request corresponding to each telephone number is received for each telephone number of the record stored in the storage unit,
When there is a record corresponding to a telephone number for which the number counted by the counting unit exceeds a predetermined number, the control unit extends the period for storing the record and stores the record in the storage unit The cache server device according to any one of claims 1 to 3.
前記記憶部は、通信制御装置からのクエリ要求に対応するレコードとして、電話番号と、該電話番号に対応する収容網とを対応付けて記憶し、
前記計数部は、前記記憶部に記憶されたレコードにおける同一の局番ごとに、各局番に対応するクエリ要求を受信した回数を計数し、
前記制御部は、前記計数部によって計数された回数が所定の回数を超えた局番に対応するレコードがある場合には、該レコードを記憶する期間を延長して、前記記憶部に記憶させることを特徴とする請求項1〜3のいずれか一つに記載のキャッシュサーバ装置。
The storage unit stores a telephone number and a storage network corresponding to the telephone number in association with each other as a record corresponding to the query request from the communication control device,
The counting unit counts the number of times a query request corresponding to each station number is received for each identical station number in the record stored in the storage unit,
When there is a record corresponding to a station number in which the number of times counted by the counting unit exceeds a predetermined number, the control unit extends a period for storing the record and stores the record in the storage unit. The cache server device according to any one of claims 1 to 3, wherein
前記記憶部に記憶されたレコードの期間を過ぎた場合には、該レコードを前記記憶部から削除する削除部をさらに備えることを特徴とする請求項1〜5のいずれか一つに記載のキャッシュサーバ装置。   The cache according to claim 1, further comprising a deletion unit that deletes the record from the storage unit when a period of the record stored in the storage unit has passed. Server device. キャッシュサーバ装置によって実行されるキャッシュ制御方法であって、
前記キャッシュサーバ装置は、
通信制御装置からのクエリ要求に対応するレコードをキャッシュデータとして記憶するとともに、レコードごとに該レコードを記憶する期間を記憶する記憶部を備え、
前記通信制御装置からクエリ要求を受信する受信工程と、
前記受信工程によって受信したクエリ要求に対応するレコードが前記記憶部に記憶されているか判定する判定工程と、
前記判定工程によって前記レコードが前記記憶部に記憶されていると判定した場合には、該レコードを用いて、前記通信制御装置にクエリ要求に対する回答を返信する返信工程と、
前記判定工程によって前記レコードが前記記憶部に記憶されていないと判定した場合には、該クエリ要求を権威サーバに転送し、転送したクエリ要求に対する回答を前記権威サーバから受信した際には、該回答を前記通信制御装置に転送する転送工程と、
前記受信工程によってクエリ要求を受信した場合に、前記記憶部に記憶されたレコードごとに、各レコードに対応するクエリ要求を受信した回数を計数する計数工程と、
前記記憶部に、前記計数工程によって計数された回数が所定の回数を超えたレコードが存在する場合には、該レコードを記憶する期間を延長して、前記記憶部に記憶させる制御工程と、
を含んだことを特徴とするキャッシュ制御方法。
A cache control method executed by a cache server device,
The cache server device
A record corresponding to the query request from the communication control device is stored as cache data, and a storage unit that stores a period for storing the record for each record is provided.
Receiving a query request from the communication control device;
A determination step of determining whether a record corresponding to the query request received by the reception step is stored in the storage unit;
If it is determined by the determination step that the record is stored in the storage unit, using the record, a reply step of returning a response to the query request to the communication control device;
If it is determined in the determination step that the record is not stored in the storage unit, the query request is transferred to an authority server, and when an answer to the transferred query request is received from the authority server, A transfer step of transferring an answer to the communication control device;
When receiving a query request by the receiving step, for each record stored in the storage unit, a counting step for counting the number of times a query request corresponding to each record is received;
In the storage unit, when there is a record in which the number of times counted by the counting step exceeds a predetermined number, a control step of extending the period for storing the record and storing the record in the storage unit;
A cache control method comprising:
通信制御装置からクエリ要求を受信する受信ステップと、
前記受信ステップによって受信したクエリ要求に対応するレコードが、クエリ要求に対応するレコードをキャッシュデータとして記憶するとともにレコードごとに該レコードを記憶する期間を記憶する記憶部に記憶されているか判定する判定ステップと、
前記判定ステップによって前記レコードが前記記憶部に記憶されていると判定した場合には、該レコードを用いて、前記通信制御装置にクエリ要求に対する回答を返信する返信ステップと、
前記判定ステップによって前記レコードが前記記憶部に記憶されていないと判定した場合には、該クエリ要求を権威サーバに転送し、転送したクエリ要求に対する回答を前記権威サーバから受信した際には、該回答を前記通信制御装置に転送する転送ステップと、
前記受信ステップによってクエリ要求を受信した場合に、前記記憶部に記憶されたレコードごとに、各レコードに対応するクエリ要求を受信した回数を計数する計数ステップと、
前記記憶部に、前記計数ステップによって計数された回数が所定の回数を超えたレコードが存在する場合には、該レコードを記憶する期間を延長して、前記記憶部に記憶させる制御ステップと、
をコンピュータに実行させるためのキャッシュ制御プログラム。
A receiving step of receiving a query request from the communication control device;
Determination step of determining whether the record corresponding to the query request received by the reception step is stored in a storage unit that stores a record corresponding to the query request as cache data and stores a period for storing the record for each record When,
If the determination step determines that the record is stored in the storage unit, using the record, a reply step of returning a response to the query request to the communication control device;
If it is determined in the determination step that the record is not stored in the storage unit, the query request is transferred to an authority server, and when an answer to the transferred query request is received from the authority server, A transfer step of transferring an answer to the communication control device;
When receiving a query request by the receiving step, for each record stored in the storage unit, a counting step for counting the number of times the query request corresponding to each record is received;
In the storage unit, when there is a record in which the number of times counted by the counting step exceeds a predetermined number, a control step of extending the period for storing the record and storing the record in the storage unit;
Control program for causing a computer to execute.
JP2013087723A 2013-04-18 2013-04-18 Cache server device, cache control method, and cache control program Pending JP2014211758A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2013087723A JP2014211758A (en) 2013-04-18 2013-04-18 Cache server device, cache control method, and cache control program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2013087723A JP2014211758A (en) 2013-04-18 2013-04-18 Cache server device, cache control method, and cache control program

Publications (1)

Publication Number Publication Date
JP2014211758A true JP2014211758A (en) 2014-11-13

Family

ID=51931473

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2013087723A Pending JP2014211758A (en) 2013-04-18 2013-04-18 Cache server device, cache control method, and cache control program

Country Status (1)

Country Link
JP (1) JP2014211758A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2016111448A (en) * 2014-12-03 2016-06-20 日本電信電話株式会社 Enum cache server, enum cache method, and enum system
JP2016163225A (en) * 2015-03-03 2016-09-05 日本電信電話株式会社 Communication system and congestion avoidance method
JP2017034399A (en) * 2015-07-30 2017-02-09 日本電信電話株式会社 Enum system and load distribution method for enum system
JP2017143421A (en) * 2016-02-10 2017-08-17 日本電信電話株式会社 ENUM cache setting system, ENUM authority server, and ENUM cache setting method
CN114691725A (en) * 2020-12-28 2022-07-01 京东数字科技控股股份有限公司 Data query method, device, equipment, storage medium and program product
CN115858873A (en) * 2022-12-26 2023-03-28 达梦数据技术(江苏)有限公司 Multi-layer adjacency query optimization implementation method and system based on graph storage model

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001344145A (en) * 2000-06-01 2001-12-14 Fujitsu Ltd INFORMATION PROVIDING DEVICE AND STORAGE MEDIUM CONTAINING PROGRAM FOR CAUSING COMPUTER TO PROCESS PROCESS IN THE INFORMATION PROVIDING DEVICE

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001344145A (en) * 2000-06-01 2001-12-14 Fujitsu Ltd INFORMATION PROVIDING DEVICE AND STORAGE MEDIUM CONTAINING PROGRAM FOR CAUSING COMPUTER TO PROCESS PROCESS IN THE INFORMATION PROVIDING DEVICE

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2016111448A (en) * 2014-12-03 2016-06-20 日本電信電話株式会社 Enum cache server, enum cache method, and enum system
JP2016163225A (en) * 2015-03-03 2016-09-05 日本電信電話株式会社 Communication system and congestion avoidance method
JP2017034399A (en) * 2015-07-30 2017-02-09 日本電信電話株式会社 Enum system and load distribution method for enum system
JP2017143421A (en) * 2016-02-10 2017-08-17 日本電信電話株式会社 ENUM cache setting system, ENUM authority server, and ENUM cache setting method
CN114691725A (en) * 2020-12-28 2022-07-01 京东数字科技控股股份有限公司 Data query method, device, equipment, storage medium and program product
CN115858873A (en) * 2022-12-26 2023-03-28 达梦数据技术(江苏)有限公司 Multi-layer adjacency query optimization implementation method and system based on graph storage model

Similar Documents

Publication Publication Date Title
US8103915B2 (en) Failure system for domain name system client
JP2014211758A (en) Cache server device, cache control method, and cache control program
US20090245265A1 (en) Communication gateway device and relay method of the same
US10182033B1 (en) Integration of service scaling and service discovery systems
WO2018113594A1 (en) Method and device for defending dns attack and storage medium
US20100281146A1 (en) Dynamic domain name service system and automatic registration method
WO2018090677A1 (en) Processing method, device and system for nf component abnormality
WO2021098407A1 (en) Mec-based service node allocation method and apparatus, and related server
CN112104640B (en) Data processing method, device and equipment of gateway and readable storage medium
JP2016510542A (en) A method for obtaining a mapping between a mobile subscriber identity and a dynamically assigned Internet Protocol (IP) address using a Diameter routing agent (DRA) and making the mapping accessible to an application; System and computer-readable medium
US20160080262A1 (en) Domain name collaboration service using domain name dependency server
US20150249636A1 (en) Resource download method, service server and cellular phone client
US10135916B1 (en) Integration of service scaling and external health checking systems
WO2018214853A1 (en) Method, apparatus, medium and device for reducing length of dns message
CN114745413A (en) Access control method and device for server, computer equipment and storage medium
US20160197989A1 (en) Managing traffic-overload on a server
CN118368270A (en) Domain name resolution method, device, computer equipment and computer readable storage medium
EP3151520B1 (en) Quarantining an internet protocol address
CN106790469A (en) A kind of buffer control method, device and system
JP6734804B2 (en) Cache server and cache method
JP6368127B2 (en) Communication device, control method, and program
JP6484166B2 (en) Name resolution device, name resolution method, and name resolution program
CN106412257B (en) Positioning service control method and system
JP6329479B2 (en) ENUM cache server, ENUM cache method, and ENUM system
CN113545020B (en) Data processing method and device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20150715

RD02 Notification of acceptance of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7422

Effective date: 20151001

RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20151005

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20160513

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20160524

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20161122