JP6760899B2 - Network service management device, network service management method, and network service management program - Google Patents
Network service management device, network service management method, and network service management program Download PDFInfo
- Publication number
- JP6760899B2 JP6760899B2 JP2017151716A JP2017151716A JP6760899B2 JP 6760899 B2 JP6760899 B2 JP 6760899B2 JP 2017151716 A JP2017151716 A JP 2017151716A JP 2017151716 A JP2017151716 A JP 2017151716A JP 6760899 B2 JP6760899 B2 JP 6760899B2
- Authority
- JP
- Japan
- Prior art keywords
- network service
- service management
- access
- api
- management device
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
Landscapes
- Data Exchanges In Wide-Area Networks (AREA)
Description
本発明は、ネットワークサービス管理装置、ネットワークサービス管理方法、および、ネットワークサービス管理プログラムに関する。ネットワークサービス管理装置は、ネットワークサービス管理システム(NMS:Network Service Management System)と呼ぶ場合もある。 The present invention relates to a network service management device, a network service management method, and a network service management program. The network service management device may also be referred to as a network service management system (NMS).
NMSは、ネットワーク上のサービスを管理したり、ネットワーク機器を管理する装置である。NMSは、管理対象のネットワーク機器に所定の設定情報を投入することで、管理対象のサービスをアクティベートする。また、NMSは、管理対象となるサービスおよびネットワーク機器にアクセスし情報収集をすることで、サービスの健全性を監視している。 The NMS is a device that manages services on the network and manages network devices. The NMS activates the managed service by inputting predetermined setting information to the managed network device. In addition, NMS monitors the soundness of services by accessing managed services and network devices and collecting information.
NMSの従来技術として非特許文献1,2に開示されているものがある。非特許文献1には、NMSについて、タイムアウト等による管理対象へのアクセス失敗に備え、アクセス機能を持つサーバを0/1系(0系:現用系、1系:待機系)による2重化等多重構成とする技術が開示されている。非特許文献1によれば、通常は片系のみ動作させ、故障時に別系に切り替える方式(片系アクセス方式)と、両系とも常時動作させる方式(両系アクセス方式)とが使い分けられる(第1のアクセス形態)。 Some of the prior arts of NMS are disclosed in Non-Patent Documents 1 and 2. In Non-Patent Document 1, regarding NMS, in preparation for an access failure to a management target due to a timeout or the like, a server having an access function is duplicated by a 0/1 system (0 system: active system, 1 system: standby system), etc. A technique for forming a multiple configuration is disclosed. According to Non-Patent Document 1, a method of operating only one system and switching to another system in the event of a failure (single system access method) and a method of constantly operating both systems (both system access method) are used properly (No. 1). 1 access form).
また、非特許文献2にも、アクセス機能を持つサーバが0/1系の2重化等多重構成をとる技術が開示されている。非特許文献2によれば、管理対象側の、アクセスに伴う負荷増大に対する耐性が低い場合、管理プロトコルや業務の仕様上、単一系からのアクセスのみが許容され、複数系(2重化の場合は、両系)からの同時アクセスが許容されない場合などに鑑みて、サーバによる管理対象へのアクセス(片系アクセス方式)は0系または1系の片方に限られる(第2のアクセス形態)。 Further, Non-Patent Document 2 also discloses a technique in which a server having an access function has a multiple configuration such as a 0/1 system duplication. According to Non-Patent Document 2, when the management target side has low resistance to the load increase due to access, only access from a single system is permitted due to the management protocol and business specifications, and multiple systems (dual). In this case, in consideration of the case where simultaneous access from both systems is not allowed, access to the management target by the server (single system access method) is limited to either 0 system or 1 system (second access form). ..
所定のサービスを提供する事業者が自前で、管理対象となるネットワーク機器を保有する場合には、NMSは、SNMP(Simple Network Management Control)などでそのネットワーク機器にアクセスして情報を問い合わせたり、ネットワーク機器を制御するコントローラに情報を問い合わせたりする。 When a business operator that provides a predetermined service owns a network device to be managed, the NMS accesses the network device by Simple Network Management Control (SNMP) to inquire about information or network. Inquire information from the controller that controls the device.
一方、事業者が自前でネットワーク機器を保有しておらず、他社(当該事業者以外の者の例)のネットワークを借用する場合には、NMSは、他社が公開している、1または複数のAPI(Application Programmable Interface)にアクセスして、借用したネットワークで提供されるサービスの設定を行ったり、情報の問い合わせをしたりする。 On the other hand, if the business operator does not own the network equipment and borrows the network of another company (an example of a person other than the business operator), the NMS is one or more published by the other company. Access the API (Application Programmable Interface) to set the services provided by the borrowed network and inquire about information.
ここで、情報を問い合わせるためのAPIへのアクセスについて、問い合わせの都度費用が発生するケースや、所定時間あたりの問い合わせ数の上限が設定されているケースがある。これらのケースのために、NMSによるAPIへのアクセスに所定の制限がかかる。非特許文献1,2には、このような制限および対処について記載も示唆もされていない。その結果、非特許文献1による、第1のアクセス形態の両系アクセス方式が適用された場合、情報の問い合わせのアクセス数が増大し、費用が高騰したり、所定時間あたりのアクセス数の上限を超過してその後の問い合わせができなくなったりするという不都合がある。また、非特許文献1,2による第1、第2のアクセス形態の片系アクセス方式が適用された場合、各系(特に、現用系)からAPI宛のネットワーク障害が発生したことや、管理対象側からの応答が偶然無かったことなどに起因して、NMSによるAPIへのアクセスが失敗する確率が増大するという不都合がある。 Here, regarding access to the API for inquiring information, there are cases where a cost is incurred each time an inquiry is made, and there are cases where an upper limit on the number of inquiries per predetermined time is set. Due to these cases, access to the API by the NMS is subject to certain restrictions. Non-Patent Documents 1 and 2 do not describe or suggest such restrictions and countermeasures. As a result, when the dual access method of the first access form according to Non-Patent Document 1 is applied, the number of access for information inquiries increases, the cost rises, and the upper limit of the number of accesses per predetermined time is set. There is a disadvantage that it exceeds the limit and subsequent inquiries cannot be made. In addition, when the one-system access method of the first and second access forms according to Non-Patent Documents 1 and 2 is applied, a network failure to the API has occurred from each system (particularly the working system), and the management target. There is an inconvenience that the probability that the access to the API by the NMS fails increases due to the fact that there was no response from the side by chance.
このような背景に鑑みて、本発明は、ネットワークサービス管理装置によるAPIへのアクセスにおいて、アクセスの確度の向上と、アクセス数および費用の抑制とを両立させることを課題とする。 In view of such a background, it is an object of the present invention to improve the accuracy of access and suppress the number of accesses and the cost in accessing the API by the network service management device.
前記した課題を解決するため、請求項1に記載の発明は、ネットワーク上で公開されている1または複数のAPI(Application Programmable Interface)にアクセスするネットワークサービス管理装置であって、前記ネットワークサービス管理装置は複数存在し、現用系および待機系を含む多重構成をとっており、前記ネットワークサービス管理装置から前記APIへのアクセスに関する制限を示すAPI制限情報の入力を受け付けるAPI制限情報入力部と、前記API制限情報に基づいて、複数の前記ネットワークサービス管理装置のうち1つからアクセスする形態、または、複数の前記ネットワークサービス管理装置のすべてからアクセスする形態を選択するアクセス形態選択部と、を備え、前記API制限情報は、所定期間内の前記ネットワークサービス管理装置からのアクセスのアクセス数の上限を含み、前記ネットワークサービス管理装置は、前記ネットワークサービス管理装置が前記APIにアクセスするときのアクセス間隔を示す頻度情報の入力を受け付けるAPIアクセス頻度情報入力部、をさらに備え、前記アクセス形態選択部は、前記頻度情報から前記ネットワークサービス管理装置の単位時間当たりのアクセス回数を求め、前記ネットワークサービス管理装置のすべてからのアクセスによって、前記アクセス回数が、前記アクセス数の上限を超過する場合、複数の前記ネットワークサービス管理装置のうち1つからアクセスする形態を選択し、前記API制限情報は、前記ネットワークサービス管理装置から前記APIへの1回のアクセスにかかる費用を含み、前記ネットワークサービス管理装置は、前記ネットワークサービス管理装置から前記APIへのアクセスの費用について、所定期間内で許容される費用上限を示す費用上限情報の入力を受け付けるユーザアクセス費用上限情報入力部、をさらに備え、前記アクセス形態選択部は、前記ネットワークサービス管理装置のすべてからのアクセスによって、前記アクセス回数から算出される費用が、前記費用上限を超過する場合、複数の前記ネットワークサービス管理装置のうち1つからアクセスする形態を選択する、ことを特徴とする。 In order to solve the above-mentioned problems, the invention according to claim 1 is a network service management device that accesses one or a plurality of APIs (Application Programmable Interfaces) published on a network, and the network service management device. Exists in a plurality of systems, and has a multiple configuration including an active system and a standby system, and has an API restriction information input unit that accepts input of API restriction information indicating restrictions on access to the API from the network service management device, and the API. based on the restriction information, e Bei from one form to access among the plurality of network service management device, or an access mode selection unit that selects a mode of access from all of the plurality of network service management apparatus, a The API restriction information includes an upper limit of the number of accesses from the network service management device within a predetermined period, and the network service management device indicates an access interval when the network service management device accesses the API. An API access frequency information input unit that accepts input of frequency information is further provided, and the access form selection unit obtains the number of accesses per unit time of the network service management device from the frequency information, and all of the network service management devices. When the number of accesses exceeds the upper limit of the number of accesses due to the access from, the mode of accessing from one of the plurality of the network service management devices is selected, and the API restriction information is the network service management device. Including the cost of one access to the API from the network service management device, the network service management device indicates a cost upper limit that is allowed within a predetermined period for the cost of accessing the API from the network service management device. The user access cost upper limit information input unit that accepts the input of information is further provided, and the access form selection unit sets the cost upper limit as the cost calculated from the number of accesses by the access from all of the network service management devices. When the amount is exceeded, the form of access is selected from one of the plurality of network service management devices .
また、請求項2に記載の発明は、ネットワーク上で公開されている1または複数のAPIにアクセスするネットワークサービス管理装置におけるネットワークサービス管理方法であって、前記ネットワークサービス管理装置は複数存在し、現用系および待機系を含む多重構成をとっており、前記ネットワークサービス管理装置は、前記ネットワークサービス管理装置から前記APIへのアクセスに関する制限を示すAPI制限情報の入力を受け付ける第1ステップと、前記API制限情報に基づいて、複数の前記ネットワークサービス管理装置のうち1つからアクセスする形態、または、複数の前記ネットワークサービス管理装置のすべてからアクセスする形態を選択する第2ステップと、を実行し、前記API制限情報は、所定期間内の前記ネットワークサービス管理装置からのアクセスのアクセス数の上限を含み、前記ネットワークサービス管理装置は、前記ネットワークサービス管理装置が前記APIにアクセスするときのアクセス間隔を示す頻度情報の入力を受け付ける第3ステップ、をさらに実行し、前記第2ステップで、前記頻度情報から前記ネットワークサービス管理装置の単位時間当たりのアクセス回数を求め、前記ネットワークサービス管理装置のすべてからのアクセスによって、前記アクセス回数が、前記アクセス数の上限を超過する場合、複数の前記ネットワークサービス管理装置のうち1つからアクセスする形態を選択し、前記API制限情報は、前記ネットワークサービス管理装置から前記APIへの1回のアクセスにかかる費用を含み、前記ネットワークサービス管理装置は、前記ネットワークサービス管理装置から前記APIへのアクセスの費用について、所定期間内で許容される費用上限を示す費用上限情報の入力を受け付ける第4ステップ、をさらに実行し、前記第2ステップで、前記ネットワークサービス管理装置のすべてからのアクセスによって、前記アクセス回数から算出される費用が、前記費用上限を超過する場合、複数の前記ネットワークサービス管理装置のうち1つからアクセスする形態を選択する、ことを特徴とする。 Further, the invention according to claim 2 is a network service management method in a network service management device that accesses one or a plurality of APIs published on a network, and there are a plurality of the network service management devices in use. The network service management device has a multiplex configuration including a system and a standby system, and the network service management device has a first step of accepting input of API restriction information indicating restrictions on access to the API from the network service management device, and the API restriction. Based on the information, the second step of selecting a form of accessing from one of the plurality of network service management devices or a form of accessing from all of the plurality of network service management devices is executed, and the API is executed. The restriction information includes an upper limit of the number of accesses from the network service management device within a predetermined period, and the network service management device indicates frequency information indicating an access interval when the network service management device accesses the API. The third step of accepting the input of is further executed, and in the second step, the number of accesses per unit time of the network service management device is obtained from the frequency information, and the access from all of the network service management devices is performed. When the number of accesses exceeds the upper limit of the number of accesses, a mode of accessing from one of the plurality of network service management devices is selected, and the API restriction information is transmitted from the network service management device to the API. The network service management device accepts input of cost upper limit information indicating an allowable cost upper limit within a predetermined period for the cost of accessing the API from the network service management device, including the cost for one access. The fourth step is further executed, and in the second step, when the cost calculated from the number of accesses by the access from all of the network service management devices exceeds the cost upper limit, the plurality of the network services It is characterized in that the form of access is selected from one of the management devices .
また、請求項3に記載の発明は、ネットワーク上で公開されている1または複数のAPIにアクセスするネットワークサービス管理装置が複数存在し、現用系および待機系を含む多重構成をとる前記ネットワークサービス管理装置としてのコンピュータを、前記ネットワークサービス管理装置から前記APIへのアクセスに関する制限を示すAPI制限情報の入力を受け付けるAPI制限情報入力手段、前記API制限情報に基づいて、複数の前記ネットワークサービス管理装置のうち1つからアクセスする形態、または、複数の前記ネットワークサービス管理装置のすべてからアクセスする形態を選択するアクセス形態選択手段、として機能させ、前記API制限情報は、所定期間内の前記ネットワークサービス管理装置からのアクセスのアクセス数の上限を含み、前記コンピュータを、前記ネットワークサービス管理装置が前記APIにアクセスするときのアクセス間隔を示す頻度情報の入力を受け付けるAPIアクセス頻度情報入力手段、としてさらに機能させ、前記アクセス形態選択手段は、前記頻度情報から前記ネットワークサービス管理装置の単位時間当たりのアクセス回数を求め、前記ネットワークサービス管理装置のすべてからのアクセスによって、前記アクセス回数が、前記アクセス数の上限を超過する場合、複数の前記ネットワークサービス管理装置のうち1つからアクセスする形態を選択し、前記API制限情報は、前記ネットワークサービス管理装置から前記APIへの1回のアクセスにかかる費用を含み、前記コンピュータを、前記ネットワークサービス管理装置から前記APIへのアクセスの費用について、所定期間内で許容される費用上限を示す費用上限情報の入力を受け付けるユーザアクセス費用上限情報入力手段、としてさらに機能させ、前記アクセス形態選択手段は、前記ネットワークサービス管理装置のすべてからのアクセスによって、前記アクセス回数から算出される費用が、前記費用上限を超過する場合、複数の前記ネットワークサービス管理装置のうち1つからアクセスする形態を選択する、ネットワークサービス管理プログラムである。 Further, according to the third aspect of the present invention, there are a plurality of network service management devices that access one or a plurality of APIs published on the network, and the network service management having a multiple configuration including an active system and a standby system. A computer as a device is an API restriction information input means that accepts input of API restriction information indicating restrictions on access to the API from the network service management device, and a plurality of network service management devices based on the API restriction information. It functions as an access form selection means for selecting a form of accessing from one of them or a form of accessing from all of the plurality of network service management devices, and the API restriction information is used in the network service management device within a predetermined period. Further functioning of the computer as an API access frequency information input means that accepts input of frequency information indicating an access interval when the network service management device accesses the API, including an upper limit of the number of accesses from the computer. The access form selection means obtains the number of accesses per unit time of the network service management device from the frequency information, and the number of accesses exceeds the upper limit of the number of accesses due to access from all of the network service management devices. In this case, a mode of accessing from one of the plurality of network service management devices is selected, and the API restriction information includes a cost for one access from the network service management device to the API, and the computer. Further functions as a user access cost upper limit information input means that accepts input of cost upper limit information indicating an allowable cost upper limit within a predetermined period for the cost of accessing the API from the network service management device. When the cost calculated from the number of accesses by access from all of the network service management devices exceeds the cost upper limit, the form selection means accesses from one of the plurality of network service management devices. to select a, a Netw network service management program.
このようにすることで、APIへのアクセスに関する制限を満たす範囲内で、複数のネットワークサービス管理装置のすべてからのアクセスを許容するため、所定レベル以上のアクセスの確度を保証することができる。一方で、APIへのアクセスに関する制限を確実に満たすように複数のネットワークサービス管理装置の1つからのアクセスを許容する。
したがって、ネットワークサービス管理装置によるAPIへのアクセスにおいて、アクセスの確度の向上と、アクセス数および費用の抑制とを両立させることができる。
また、このようにすることで、APIへのアクセスに関する制限として、アクセス数の上限が設定されている場合には、アクセス数の上限を超過しないように複数のネットワークサービス管理装置のすべてからのアクセスを許容することができる。
また、このようにすることで、APIへのアクセスに関する制限として、アクセスの費用が設定されており、ネットワークサービス管理装置側で費用上限を用意した場合には、費用上限を超過しないように複数のネットワークサービス管理装置のすべてからのアクセスを許容することができる。
By doing so, since access from all of the plurality of network service management devices is permitted within a range that satisfies the restriction on access to the API, it is possible to guarantee the accuracy of access of a predetermined level or higher. On the other hand, it allows access from one of a plurality of network service management devices to ensure that the restrictions on access to the API are met.
Therefore, in accessing the API by the network service management device, it is possible to achieve both improvement of access accuracy and reduction of the number of accesses and cost.
In addition, by doing so, if an upper limit on the number of accesses is set as a restriction on access to the API, access from all of a plurality of network service management devices so as not to exceed the upper limit on the number of accesses. Can be tolerated.
In addition, by doing so, the access cost is set as a restriction on access to the API, and if the network service management device prepares the cost upper limit, a plurality of costs will not be exceeded so as not to exceed the cost upper limit. Access from all network service management devices can be allowed.
本発明によれば、ネットワークサービス管理装置によるAPIへのアクセスにおいて、アクセスの確度の向上と、アクセス数および費用の抑制とを両立させることができる。 According to the present invention, in accessing the API by the network service management device, it is possible to achieve both improvement of access accuracy and reduction of the number of accesses and cost.
以下、図面を参照して本発明を実施するための形態(以下、「本実施形態」という)について説明する。 Hereinafter, embodiments for carrying out the present invention (hereinafter, referred to as “the present embodiment”) will be described with reference to the drawings.
≪構成≫
本実施形態のネットワークサービス管理装置(NMS)は、ネットワーク上で事業者が提供するサービス、および、ネットワークに配置されるネットワーク機器を、管理対象として管理する装置である。図1に示すように、NMS100は、API費用・アクセス回数制限情報入力部10(API制限情報入力部:API制限情報入力手段)と、APIアクセス頻度情報入力部20と、ユーザアクセス費用上限情報入力部30と、API費用・アクセス回数制限情報保存部11と、APIアクセス頻度情報保存部21と、ユーザアクセス費用上限情報保存部31と、アクセス形態選択部40(アクセス形態選択手段)と、アクセス形態情報保存部41と、装置・APIアクセス部(0系)50と、装置・APIアクセス部(1系)60と、収集情報保存部51,61と、を備える。
≪Composition≫
The network service management device (NMS) of the present embodiment is a device that manages services provided by a business operator on a network and network devices arranged in the network as management targets. As shown in FIG. 1, the
図1中の符号200は、NMS100がアクセスする、ネットワーク機器等の装置や、他社が公開する、1または複数のAPIである。本実施形態のNMS100は、0/1系(0系:現用系、1系:待機系)による2重化構成をとっている。
API費用・アクセス回数制限情報入力部10は、NMS100がアクセスするAPIに設定されている、情報の1回の問い合わせにかかる費用の入力、および、所定期間内の問い合わせのアクセス数の上限を、API制限情報として入力を受け付ける。API制限情報は、NMS100からAPIへのアクセスに関する制限を示す。なお、情報の問い合わせにかかる費用が設定されていないAPIについては、入力される費用は、便宜上0とする。また、所定期間内の問い合わせのアクセス数の上限が設定されていないAPIについては、入力される上限は、便宜上無制限とする。
The API cost / access count limit
APIアクセス頻度情報入力部20は、NMS100がAPIにアクセスするときのアクセス間隔を、頻度情報として入力を受け付ける。
The API access frequency
ユーザアクセス費用上限情報入力部30は、NMS100がAPIにアクセスしたときに発生する費用について、NMS100のユーザ(オペレータ)が所定期間内で許容する費用上限を、費用上限情報として入力を受け付ける。
The user access cost upper limit
API費用・アクセス回数制限情報入力部10、APIアクセス頻度情報入力部20、ユーザアクセス費用上限情報入力部30による入力は、NMS100のユーザ(オペレータ)が行う。また、API費用・アクセス回数制限情報入力部10、APIアクセス頻度情報入力部20、ユーザアクセス費用上限情報入力部30による入力は、画面での入力であってもよいし、定型テキスト文書(例:REST(REpresentational State Transfer)、XML(ExtensibleMarkupLanguage))での入力でもよい。
The input by the API cost / access frequency limit
API費用・アクセス回数制限情報入力部10、APIアクセス頻度情報入力部20、ユーザアクセス費用上限情報入力部30によって入力される各種情報は、API単位で設定することもできるが、管理対象となる全API単位で設定することもできる。例えば、アクセス数の上限値を、各APIごとに設定してもよいし、全APIに対するアクセス数の合算値に対する上限値を設定してもよい。
Various information input by the API cost / access frequency limit
API費用・アクセス回数制限情報保存部11は、API費用・アクセス回数制限情報入力部10が入力したAPI制限情報を保存する。
APIアクセス頻度情報保存部21は、APIアクセス頻度情報入力部20が入力した頻度情報を保存する。
ユーザアクセス費用上限情報保存部31は、ユーザアクセス費用上限情報入力部30が入力した費用上限情報を保存する。
The API cost / access count limit
The API access frequency
The user access cost upper limit
アクセス形態選択部40は、API費用・アクセス回数制限情報入力部10と、APIアクセス頻度情報入力部20と、ユーザアクセス費用上限情報入力部30とから入力された各種情報に基づいて、アクセス対象の装置・API(200)へのアクセス形態を選択する。アクセス形態選択部40は、頻度情報のアクセス間隔を用いて、単位時間あたりのアクセス回数を求める。両系(0系かつ1系)からのアクセスによって、単位時間あたりのアクセス回数が、API制限情報のアクセス数の上限を超過する場合には、アクセス形態選択部40は、片系(0系または1系)からのアクセスの形態を選択する(第1の条件)。また、両系(0系かつ1系)からのアクセスによって、単位時間あたりのアクセス回数から算出される費用が、費用上限情報の費用上限を超過する場合には、アクセス形態選択部40は、片系からのアクセスの形態を選択する(第2の条件)。
The access
アクセス形態選択部40は、第1,第2の条件の少なくともいずれかが満たされた場合、片系からのアクセスを選択する(NMS100の1つからアクセスする形態を選択する)。アクセス形態選択部40は、第1,第2の条件のいずれの条件も満たさない場合、両系からのアクセスを選択する(NMS100のすべてからアクセスする形態を選択する)。なお、上記の第1,第2の条件の内容は例示であって、他のパラメータや計算方法を利用することもできる。
When at least one of the first and second conditions is satisfied, the access
装置・APIアクセス部50は、NMS100が0系として機能する場合に、管理対象のネットワーク機器、および、公開されている1または複数のAPIにアクセスする。装置・APIアクセス部50によるアクセスは、例えば、故障等のない通常時に行われる。装置・APIアクセス部50は、アクセス対象の装置・API(200)に問い合わせのアクセスをすると、アクセス対象の装置・API(200)から情報を取得する。
収集情報保存部51は、装置・APIアクセス部50がアクセス対象の装置・API(200)から収集した情報を保存する。
When the
The collection
装置・APIアクセス部60は、NMS100が1系として機能する場合に、管理対象のネットワーク機器、および、公開されている1または複数のAPIにアクセスする。装置・APIアクセス部60によるアクセスは、例えば、故障時に行われる。装置・APIアクセス部60は、アクセス対象の装置・API(200)に問い合わせのアクセスをすると、アクセス対象の装置・API(200)から情報を取得する。
収集情報保存部61は、装置・APIアクセス部60がアクセス対象の装置・API(200)から収集した情報を保存する。
When the
The collection
≪処理≫
次に、NMS100が実行するアクセス形態選択処理について説明する。NMS100は、0/1系による2重化構成をとっているとする。
まず、NMS100は、API費用・アクセス回数制限情報入力部10と、APIアクセス頻度情報入力部20と、ユーザアクセス費用上限情報入力部30とによって、API制限情報、頻度情報、費用上限情報を入力する(ステップS1)。
≪Processing≫
Next, the access form selection process executed by the
First, the
次に、NMS100は、アクセス形態選択部40によって、両系からのアクセスで、頻度情報から求められる単位時間あたりのアクセス回数が、アクセス数の上限を超過するか否かを判定する(ステップS2)。超過する場合(ステップS2でYes)、NMS100は、アクセス形態選択部40によって、片系からのアクセスを選択する(ステップS5)。選択した後、アクセス形態選択処理が終了する。
Next, the
一方、アクセス回数が超過しない場合(ステップS2でNo)、NMS100は、アクセス形態選択部40によって、両系からのアクセスで、頻度情報から求められる単位時間あたりのアクセス回数から算出される費用が、費用上限を超過するか否かを判定する(ステップS3)。超過する場合(ステップS3でYes)、NMS100は、アクセス形態選択部40によって、片系からのアクセスを選択する(ステップS5)。選択した後、アクセス形態選択処理が終了する。
On the other hand, when the number of accesses does not exceed (No in step S2), in the NMS100, the cost calculated from the number of accesses per unit time obtained from the frequency information for access from both systems by the access
一方、アクセス回数が超過しない場合(ステップS3でNo)、NMS100は、アクセス形態選択部40によって、両系からのアクセスを選択する(ステップS4)。選択した後、アクセス形態選択処理が終了する。
On the other hand, when the number of accesses does not exceed (No in step S3), the
本実施形態によれば、APIへのアクセスに関する制限を満たす範囲内で、NMS100の両系からのアクセスを許容するため、所定レベル以上のアクセスの確度を保証することができる。一方で、APIへのアクセスに関する制限を確実に満たすようにNMS100の片系からのアクセスを許容する。
したがって、ネットワークサービス管理装置によるAPIへのアクセスにおいて、アクセスの確度の向上と、アクセス数および費用の抑制とを両立させることができる。
According to this embodiment, since access from both systems of NMS100 is allowed within a range satisfying the restriction on access to API, it is possible to guarantee the accuracy of access of a predetermined level or higher. On the other hand, access from one system of NMS100 is allowed to ensure that the restrictions on access to API are satisfied.
Therefore, in accessing the API by the network service management device, it is possible to achieve both improvement of access accuracy and reduction of the number of accesses and cost.
また、APIへのアクセスに関する制限として、アクセス数の上限が設定されている場合には、アクセス数の上限を超過しないようにNMS100の両系からのアクセスを許容することができる。
また、APIへのアクセスに関する制限として、アクセスの費用が設定されており、NMS100側で費用上限を用意した場合には、費用上限を超過しないようにNMS100の両系からのアクセスを許容することができる。
Further, as a restriction on access to the API, when an upper limit of the number of accesses is set, it is possible to allow access from both systems of the
In addition, as a restriction on access to the API, the access cost is set, and if the NMS100 side prepares the cost upper limit, it is possible to allow access from both systems of the NMS100 so as not to exceed the cost upper limit. it can.
≪その他≫
以上、本発明の実施形態について説明したが、本発明は前記実施形態に限定されず、本発明の要旨を逸脱しない範囲で適宜変更可能である。
(a)例えば、本実施形態では、NMS100が、0/1系による2重構成を持つ両系をとる場合について説明したが、NMS100が、現用系および待機系を含む、3重化以上の多重構成を持つ複数系をとる場合についても本発明を適用することができる。多重構成を持つ複数のNMSに対して、アクセス形態選択部40は、API制限情報に基づいて、複数のNMS100のうち1つからアクセス(片系アクセス)する形態、または、複数のNMS100のすべてからアクセス(複数系アクセス)する形態を選択することができる。また、NMS100が、N重化構成(Nは自然数)を持つ場合には、アクセス形態選択部40は、API制限情報に基づいて、N台のNMS100のうち、2,3,・・・,N−1台からアクセスする形態を選択することもできる。
≪Others≫
Although the embodiments of the present invention have been described above, the present invention is not limited to the above embodiments and can be appropriately modified without departing from the gist of the present invention.
(A) For example, in the present embodiment, the case where the
(b)また、本実施形態では、同じAPIに対して片系アクセスか両系アクセスかを選択することについて説明したが、複数のAPI(例えば、API−1〜5)にアクセスする場合、API群全体で動作を制御する方法もある。例えば、NMS100がAPIにアクセスする際の費用上限は、API−1〜5の各々に対する費用上限の合算値として計算する。そして、費用上限の合算値を超えないようにして、例えば、API−1〜3に対しては常時両系(複数系)アクセスを行い、API−4,5に対しては、常時片系アクセスを行うというアクセス形態の選択が可能である。
(B) Further, in the present embodiment, it has been described that one-system access or two-system access is selected for the same API, but when accessing a plurality of APIs (for example, APIs 1 to 5), APIs are used. There is also a way to control the behavior of the entire group. For example, the upper limit of the cost when the
(c)また、(b)で示したAPI−1〜5に対して、NMS100のアクセスのタイミングを適宜変更することが可能である。例えば、あるアクセスタイミングでは、API−1,2のみに対しては片系アクセスを行い、次のタイミングでは、API−3,4のみに対しては片系アクセスを行い、さらに次のタイミングでは、API−5,1のみに対しては片系アクセスを行う。このように、片系アクセスの対象となるAPIをラウンドロビン的に変更することができる。
(C) Further, it is possible to appropriately change the access timing of the
また、上記各実施形態において説明した各処理のうち、自動的に行われるものとして説明した処理の全部または一部を手動的に行うこともでき、あるいは、手動的に行われるものとして説明した処理の全部または一部を公知の方法で自動的に行うこともできる。この他、上述文書中や図面中に示した処理手順、制御手順、具体的名称、各種のデータやパラメータを含む情報については、特記する場合を除いて任意に変更することができる。
また、図示した各装置の各構成要素は機能概念的なものであり、必ずしも物理的に図示の如く構成されていることを要しない。すなわち、各装置の分散・統合の具体的形態は図示のものに限られず、その全部または一部を、各種の負荷や使用状況などに応じて、任意の単位で機能的または物理的に分散・統合して構成することができる。
Further, among the processes described in each of the above embodiments, all or part of the processes described as being automatically performed can be manually performed, or the processes described as being manually performed. It is also possible to automatically perform all or part of the above by a known method. In addition, the processing procedure, control procedure, specific name, and information including various data and parameters shown in the above-mentioned document and drawings can be arbitrarily changed unless otherwise specified.
Further, each component of each of the illustrated devices is a functional concept, and does not necessarily have to be physically configured as shown in the figure. That is, the specific form of distribution / integration of each device is not limited to the one shown in the figure, and all or part of the device is functionally or physically distributed / physically in arbitrary units according to various loads and usage conditions. It can be integrated and configured.
また、上記の各構成、機能、処理部、処理手段等は、それらの一部または全部を、例えば集積回路で設計する等によりハードウェアで実現してもよい。また、上記の各構成、機能等は、プロセッサがそれぞれの機能を実現するプログラムを解釈し、実行するためのソフトウェアで実現してもよい。各機能を実現するプログラム、テーブル、ファイル等の情報は、メモリや、ハードディスク、SSD(Solid State Drive)等の記録装置、または、IC(Integrated Circuit)カード、SD(Secure Digital)カード、光ディスク等の記録媒体に保持することができる。また、本明細書において、時系列的な処理を記述する処理ステップは、記載された順序に沿って時系列的に行われる処理はもちろん、必ずしも時系列的に処理されなくとも、並列的あるいは個別に実行される処理(例えば、並列処理あるいはオブジェクトによる処理)をも含むものである。 Further, each of the above configurations, functions, processing units, processing means and the like may be realized by hardware by designing a part or all of them by, for example, an integrated circuit. In addition, each of the above configurations, functions, and the like may be realized by software for the processor to interpret and execute a program that realizes each function. Information such as programs, tables, and files that realize each function can be stored in memory, hard disks, recording devices such as SSDs (Solid State Drives), IC (Integrated Circuit) cards, SD (Secure Digital) cards, optical disks, etc. It can be held on a recording medium. Further, in the present specification, the processing steps for describing the time-series processing are not necessarily the processing performed in the time-series according to the described order, but are parallel or individual. It also includes processing executed in (for example, parallel processing or processing by an object).
本実施形態で説明した種々の技術を適宜組み合わせた技術を実現することもできる。
本実施形態で説明したソフトウェアをハードウェアとして実現することもでき、ハードウェアをソフトウェアとして実現することもできる。
その他、ハードウェア、ソフトウェア、フローチャートなどについて、本発明の趣旨を逸脱しない範囲で適宜変更が可能である。
It is also possible to realize a technique in which various techniques described in the present embodiment are appropriately combined.
The software described in this embodiment can be realized as hardware, and the hardware can also be realized as software.
In addition, the hardware, software, flowchart, and the like can be appropriately changed without departing from the spirit of the present invention.
100 ネットワークサービス管理装置(NMS)
10 API費用・アクセス回数制限情報入力部(API制限情報入力部:API制限情報入力手段)
11 API費用・アクセス回数制限情報保存部
20 APIアクセス頻度情報入力部
21 APIアクセス頻度情報保存部
30 ユーザアクセス費用上限情報入力部
31 ユーザアクセス費用上限情報保存部
40 アクセス形態選択部(アクセス形態選択手段)
41 アクセス形態情報保存部
50 装置・APIアクセス部(0系)
51 収集情報保存部
60 装置・APIアクセス部(1系)
61 収集情報保存部
200 アクセス対象の装置・API
100 Network Service Management Device (NMS)
10 API cost / access count limit information input unit (API limit information input unit: API limit information input means)
11 API cost / access count limit
41 Access type information storage unit 50 Device / API access unit (0 series)
51 Collected information storage unit 60 Device / API access unit (1 system)
61 Collected
Claims (3)
前記ネットワークサービス管理装置は複数存在し、現用系および待機系を含む多重構成をとっており、
前記ネットワークサービス管理装置から前記APIへのアクセスに関する制限を示すAPI制限情報の入力を受け付けるAPI制限情報入力部と、
前記API制限情報に基づいて、複数の前記ネットワークサービス管理装置のうち1つからアクセスする形態、または、複数の前記ネットワークサービス管理装置のすべてからアクセスする形態を選択するアクセス形態選択部と、を備え、
前記API制限情報は、所定期間内の前記ネットワークサービス管理装置からのアクセスのアクセス数の上限を含み、
前記ネットワークサービス管理装置は、前記ネットワークサービス管理装置が前記APIにアクセスするときのアクセス間隔を示す頻度情報の入力を受け付けるAPIアクセス頻度情報入力部、をさらに備え、
前記アクセス形態選択部は、前記頻度情報から前記ネットワークサービス管理装置の単位時間当たりのアクセス回数を求め、前記ネットワークサービス管理装置のすべてからのアクセスによって、前記アクセス回数が、前記アクセス数の上限を超過する場合、複数の前記ネットワークサービス管理装置のうち1つからアクセスする形態を選択し、
前記API制限情報は、前記ネットワークサービス管理装置から前記APIへの1回のアクセスにかかる費用を含み、
前記ネットワークサービス管理装置は、前記ネットワークサービス管理装置から前記APIへのアクセスの費用について、所定期間内で許容される費用上限を示す費用上限情報の入力を受け付けるユーザアクセス費用上限情報入力部、をさらに備え、
前記アクセス形態選択部は、前記ネットワークサービス管理装置のすべてからのアクセスによって、前記アクセス回数から算出される費用が、前記費用上限を超過する場合、複数の前記ネットワークサービス管理装置のうち1つからアクセスする形態を選択する、
ことを特徴とするネットワークサービス管理装置。 A network service management device that accesses one or more APIs (Application Programmable Interfaces) published on the network.
There are a plurality of the network service management devices, and they have a multiplex configuration including an active system and a standby system.
An API restriction information input unit that accepts input of API restriction information indicating restrictions on access to the API from the network service management device, and an API restriction information input unit.
Based on the API restriction information, an access form selection unit for selecting a form of accessing from one of the plurality of network service management devices or a form of accessing from all of the plurality of network service management devices is provided. e,
The API restriction information includes an upper limit of the number of accesses from the network service management device within a predetermined period.
The network service management device further includes an API access frequency information input unit that receives input of frequency information indicating an access interval when the network service management device accesses the API.
The access form selection unit obtains the number of accesses per unit time of the network service management device from the frequency information, and the number of accesses exceeds the upper limit of the number of accesses due to access from all of the network service management devices. When doing so, select a form of access from one of the plurality of network service management devices, and then select
The API restriction information includes the cost of one access to the API from the network service management device.
The network service management device further includes a user access cost upper limit information input unit that accepts input of cost upper limit information indicating an allowable cost upper limit within a predetermined period for the cost of accessing the API from the network service management device. Prepare,
When the cost calculated from the number of accesses exceeds the cost upper limit due to access from all of the network service management devices, the access form selection unit accesses from one of the plurality of network service management devices. Select the form to do,
A network service management device characterized by this.
前記ネットワークサービス管理装置は複数存在し、現用系および待機系を含む多重構成をとっており、
前記ネットワークサービス管理装置は、
前記ネットワークサービス管理装置から前記APIへのアクセスに関する制限を示すAPI制限情報の入力を受け付ける第1ステップと、
前記API制限情報に基づいて、複数の前記ネットワークサービス管理装置のうち1つからアクセスする形態、または、複数の前記ネットワークサービス管理装置のすべてからアクセスする形態を選択する第2ステップと、を実行し、
前記API制限情報は、所定期間内の前記ネットワークサービス管理装置からのアクセスのアクセス数の上限を含み、
前記ネットワークサービス管理装置は、前記ネットワークサービス管理装置が前記APIにアクセスするときのアクセス間隔を示す頻度情報の入力を受け付ける第3ステップ、をさらに実行し、
前記第2ステップで、前記頻度情報から前記ネットワークサービス管理装置の単位時間当たりのアクセス回数を求め、前記ネットワークサービス管理装置のすべてからのアクセスによって、前記アクセス回数が、前記アクセス数の上限を超過する場合、複数の前記ネットワークサービス管理装置のうち1つからアクセスする形態を選択し、
前記API制限情報は、前記ネットワークサービス管理装置から前記APIへの1回のアクセスにかかる費用を含み、
前記ネットワークサービス管理装置は、前記ネットワークサービス管理装置から前記APIへのアクセスの費用について、所定期間内で許容される費用上限を示す費用上限情報の入力を受け付ける第4ステップ、をさらに実行し、
前記第2ステップで、前記ネットワークサービス管理装置のすべてからのアクセスによって、前記アクセス回数から算出される費用が、前記費用上限を超過する場合、複数の前記ネットワークサービス管理装置のうち1つからアクセスする形態を選択する、
ことを特徴とするネットワークサービス管理方法。 A network service management method in a network service management device that accesses one or more APIs published on the network.
There are a plurality of the network service management devices, and they have a multiplex configuration including an active system and a standby system.
The network service management device is
The first step of accepting the input of API restriction information indicating the restriction on access to the API from the network service management device, and
Based on the API restriction information, and run mode is from one access of the plurality of the network service management device, or a second step of selecting a mode of access from all of the plurality of network service management apparatus, a ,
The API restriction information includes an upper limit of the number of accesses from the network service management device within a predetermined period.
The network service management device further executes a third step of accepting input of frequency information indicating an access interval when the network service management device accesses the API.
In the second step, the number of accesses per unit time of the network service management device is obtained from the frequency information, and the number of accesses exceeds the upper limit of the number of accesses due to the access from all of the network service management devices. In the case, select the form of accessing from one of the plurality of network service management devices, and select
The API restriction information includes the cost of one access to the API from the network service management device.
The network service management device further executes a fourth step of accepting input of cost upper limit information indicating an allowable cost upper limit within a predetermined period for the cost of accessing the API from the network service management device.
In the second step, when the cost calculated from the number of accesses due to access from all of the network service management devices exceeds the cost upper limit, access is performed from one of the plurality of network service management devices. Select a form,
A network service management method characterized by that.
前記ネットワークサービス管理装置から前記APIへのアクセスに関する制限を示すAPI制限情報の入力を受け付けるAPI制限情報入力手段、
前記API制限情報に基づいて、複数の前記ネットワークサービス管理装置のうち1つからアクセスする形態、または、複数の前記ネットワークサービス管理装置のすべてからアクセスする形態を選択するアクセス形態選択手段、として機能させ、
前記API制限情報は、所定期間内の前記ネットワークサービス管理装置からのアクセスのアクセス数の上限を含み、
前記コンピュータを、前記ネットワークサービス管理装置が前記APIにアクセスするときのアクセス間隔を示す頻度情報の入力を受け付けるAPIアクセス頻度情報入力手段、としてさらに機能させ、
前記アクセス形態選択手段は、前記頻度情報から前記ネットワークサービス管理装置の単位時間当たりのアクセス回数を求め、前記ネットワークサービス管理装置のすべてからのアクセスによって、前記アクセス回数が、前記アクセス数の上限を超過する場合、複数の前記ネットワークサービス管理装置のうち1つからアクセスする形態を選択し、
前記API制限情報は、前記ネットワークサービス管理装置から前記APIへの1回のアクセスにかかる費用を含み、
前記コンピュータを、前記ネットワークサービス管理装置から前記APIへのアクセスの費用について、所定期間内で許容される費用上限を示す費用上限情報の入力を受け付けるユーザアクセス費用上限情報入力手段、としてさらに機能させ、
前記アクセス形態選択手段は、前記ネットワークサービス管理装置のすべてからのアクセスによって、前記アクセス回数から算出される費用が、前記費用上限を超過する場合、複数の前記ネットワークサービス管理装置のうち1つからアクセスする形態を選択する、
ネットワークサービス管理プログラム。 A computer as the network service management device having a plurality of network service management devices that access one or more APIs published on the network and having a multiple configuration including an active system and a standby system.
An API restriction information input means that accepts input of API restriction information indicating restrictions on access to the API from the network service management device.
Based on the API restriction information, it functions as an access form selection means for selecting a form of accessing from one of the plurality of network service management devices or a form of accessing from all of the plurality of network service management devices. ,
The API restriction information includes an upper limit of the number of accesses from the network service management device within a predetermined period.
The computer is further made to function as an API access frequency information input means that accepts input of frequency information indicating an access interval when the network service management device accesses the API.
The access form selection means obtains the number of accesses per unit time of the network service management device from the frequency information, and the number of accesses exceeds the upper limit of the number of accesses due to access from all of the network service management devices. When doing so, select a form of access from one of the plurality of network service management devices, and then select
The API restriction information includes the cost of one access to the API from the network service management device.
The computer is further made to function as a user access cost upper limit information input means that accepts input of cost upper limit information indicating an allowable cost upper limit within a predetermined period for the cost of accessing the API from the network service management device.
When the cost calculated from the number of accesses exceeds the cost upper limit due to access from all of the network service management devices, the access form selection means accesses from one of the plurality of network service management devices. Select the form to do,
Netw network service management program.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2017151716A JP6760899B2 (en) | 2017-08-04 | 2017-08-04 | Network service management device, network service management method, and network service management program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2017151716A JP6760899B2 (en) | 2017-08-04 | 2017-08-04 | Network service management device, network service management method, and network service management program |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2019033316A JP2019033316A (en) | 2019-02-28 |
JP6760899B2 true JP6760899B2 (en) | 2020-09-23 |
Family
ID=65524435
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2017151716A Active JP6760899B2 (en) | 2017-08-04 | 2017-08-04 | Network service management device, network service management method, and network service management program |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP6760899B2 (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US11184454B1 (en) * | 2020-12-21 | 2021-11-23 | Coupang Corp. | Systems and methods for managing perpetual data requests to conserve resources |
Family Cites Families (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP3123944B2 (en) * | 1997-05-23 | 2001-01-15 | 日本電気テレコムシステム株式会社 | Duplication of monitoring data in network management system |
US6266694B1 (en) * | 1997-06-19 | 2001-07-24 | Nortel Networks Limited | Architecture for network manager |
JP3164147B2 (en) * | 1997-07-07 | 2001-05-08 | 日本電気株式会社 | Network management device configuration information management method and managed device |
JP2003099338A (en) * | 2001-09-20 | 2003-04-04 | Mitsubishi Electric Corp | Redundancy-constituting network management system |
JP2016116106A (en) * | 2014-12-16 | 2016-06-23 | 株式会社日立製作所 | Wide area management device |
-
2017
- 2017-08-04 JP JP2017151716A patent/JP6760899B2/en active Active
Also Published As
Publication number | Publication date |
---|---|
JP2019033316A (en) | 2019-02-28 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US7418489B2 (en) | Method and apparatus for applying policies | |
US7475108B2 (en) | Slow-dynamic load balancing method | |
US7085954B2 (en) | Storage system performing remote copying bypassing controller | |
US8261018B2 (en) | Managing data storage systems | |
DE112013006643B4 (en) | STORAGE SYSTEM AND CONTROL METHOD FOR STORAGE SYSTEM | |
US20100299447A1 (en) | Data Replication | |
US8589538B2 (en) | Storage workload balancing | |
CN105025053A (en) | Distributed file upload method based on cloud storage technology and system | |
US11436113B2 (en) | Method and system for maintaining storage device failure tolerance in a composable infrastructure | |
US7886053B1 (en) | Self-management of access control policy | |
JP2005275829A (en) | Storage system | |
US10068058B2 (en) | Method and apparatus for improved clinical system performance | |
DE202016009110U1 (en) | System, adapter, device, and server for balancing storage traffic in converged networks | |
US8205014B2 (en) | Information apparatus and method of generating tuning plan for resource configuration of storage system | |
CN110198346A (en) | Method for reading data, device, electronic equipment and readable storage medium storing program for executing | |
Honnutagi | The Hadoop distributed file system | |
EP2107479A1 (en) | File system and method for controlling file system | |
CN108924203B (en) | Data copy self-adaptive distribution method, distributed computing system and related equipment | |
JP6760899B2 (en) | Network service management device, network service management method, and network service management program | |
KR102227061B1 (en) | Service system and control method of the same, and computer readable storage medium | |
WO2016121879A1 (en) | Virtualization control apparatus, arrangement destination selecting method and program | |
JP2014229088A (en) | Data processing system, data processing device, and storage medium | |
US10365950B2 (en) | Resource throttling and automated policy management in a virtual machine environment | |
TWI619031B (en) | Metadata server, network device and automatic resource management method | |
US20170034258A1 (en) | Methods for centralized management api service across disparate storage platforms and devices thereof |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20190826 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20200619 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20200630 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20200818 |
|
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: 20200901 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20200903 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 6760899 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |