JP6488600B2 - Information processing system, program, and information processing apparatus - Google Patents

Information processing system, program, and information processing apparatus Download PDF

Info

Publication number
JP6488600B2
JP6488600B2 JP2014185341A JP2014185341A JP6488600B2 JP 6488600 B2 JP6488600 B2 JP 6488600B2 JP 2014185341 A JP2014185341 A JP 2014185341A JP 2014185341 A JP2014185341 A JP 2014185341A JP 6488600 B2 JP6488600 B2 JP 6488600B2
Authority
JP
Japan
Prior art keywords
information processing
log level
log
processing apparatus
change instruction
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
JP2014185341A
Other languages
Japanese (ja)
Other versions
JP2016057971A (en
Inventor
貴啓 澤田
貴啓 澤田
鍵和田 創一
創一 鍵和田
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Fujifilm Business Innovation Corp
Original Assignee
Fuji Xerox Co Ltd
Fujifilm Business Innovation 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 Fuji Xerox Co Ltd, Fujifilm Business Innovation Corp filed Critical Fuji Xerox Co Ltd
Priority to JP2014185341A priority Critical patent/JP6488600B2/en
Publication of JP2016057971A publication Critical patent/JP2016057971A/en
Application granted granted Critical
Publication of JP6488600B2 publication Critical patent/JP6488600B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本発明は、情報処理システム、プログラム及び情報処理装置に関する。   The present invention relates to an information processing system, a program, and an information processing apparatus.

情報処理装置は、障害が発生した場合の原因究明に備えるために、処理の実行状況をログに記録する機能を有する。ログに記録される実行状況には、重大な障害の発生からデバッグ等のための詳細なプログラム実行状況まで、重要度の異なる何段階かのレベルがある。このレベルはログレベルと呼ばれる。すべてのログレベルの情報を記録すると、ログのデータ量が膨大なものとなるため、設定されたログレベル以上の情報のみを記録することが一般的である。また、情報処理装置に異常が発生している際には、ログレベルの設定を自動的に下げることで、より詳細な情報がログに記録されるようにすることも行われている。   The information processing apparatus has a function of recording the execution status of the process in a log in order to prepare for the cause investigation when a failure occurs. The execution status recorded in the log has several levels of different importance from the occurrence of a serious failure to a detailed program execution status for debugging or the like. This level is called the log level. If all the log level information is recorded, the amount of log data becomes enormous. Therefore, it is general to record only information of a set log level or higher. Further, when an abnormality occurs in the information processing apparatus, more detailed information is recorded in the log by automatically lowering the log level setting.

特許文献1に開示された装置は、メモリエリアの空き容量やCPUの稼働率、システムの温度等の状態値を監視し、監視している状態値からシステムが正常か異常かを判定する。そして、システムが異常と判定した場合は、ログレベルを下げることで、重要度が低い(すなわちより詳細な)ログが記録されるようにする。   The apparatus disclosed in Patent Document 1 monitors state values such as free space in a memory area, CPU operating rate, system temperature, and the like, and determines whether the system is normal or abnormal from the monitored state values. If the system determines that there is an abnormality, the log level is lowered so that a log with low importance (that is, more detailed) is recorded.

特許文献2に開示されたログ出力装置は、監視しているシステムの状態値からシステムが正常と判定される場合にエラーが発生した場合でも、そのエラーについて原因究明に必要なログが記録されるようにすることを目的としている。この装置は、監視対象のモジュールで生成されるログの発生頻度を検出し、検出した発生頻度が高くなるほど、ログレベルを下げることで、より詳細なログが出力されるようにしている。   The log output device disclosed in Patent Document 2 records a log necessary for investigating the cause of an error even when an error occurs when the system is determined to be normal from the status value of the monitored system. The purpose is to do so. This apparatus detects the frequency of occurrence of logs generated by modules to be monitored, and lowers the log level as the detected frequency increases, so that more detailed logs are output.

特許文献3には、複数のサーバによりクライアントにサービスを提供するシステムにおいて、それら複数のサーバのログレベルを一括して変更する仕組みが開示されている。この仕組みでは、ログレベルを管理するオペレータの端末からいずれかのサーバに対してログレベル変更コマンドを送ると、そのサーバは、そのコマンドに応じてログレベルを変更すると共に、他のサーバに対して同様にログレベルを変更すべきことを示したログ変更メッセージをブロードキャストする。このメッセージを受けた各サーバは、そのメッセージに従ってログレベルを変更する。   Patent Document 3 discloses a mechanism for collectively changing log levels of a plurality of servers in a system that provides services to clients by a plurality of servers. In this mechanism, when a log level change command is sent to one of the servers from the operator's terminal that manages the log level, the server changes the log level according to the command and Similarly, a log change message indicating that the log level should be changed is broadcast. Each server that receives this message changes the log level according to the message.

特開2009−110156号公報JP 2009-110156 A 特開2013−206117号公報JP 2013-206117 A 特開2009−282585号公報JP 2009-282585 A

2つの情報処理装置が互いに通信しながら処理を行う場合、一方の情報処理装置がその通信を伴う処理における異常等を検知してログレベルを下げ、より詳細なログ情報を記録したとしても、それだけでは原因究明に不十分な場合がある。その異常等の要因が、通信相手の情報処理装置にある可能性があるからである。相手装置も同様の異常等を検知してログレベルを下げていれば、原因究明に必要なログ情報が収集できている可能性があるが、一方の情報処理装置が異常等を検知したとしても相手装置が必ず対応する異常を検知しているとは限らない。   When two information processing devices perform processing while communicating with each other, even if one information processing device detects an abnormality or the like in the processing involving the communication and lowers the log level and records more detailed log information. Then, there are cases where the cause investigation is insufficient. This is because there is a possibility that there is a factor such as an abnormality in the information processing apparatus of the communication partner. If the other device detects the same abnormality, etc., and lowers the log level, the log information necessary for investigating the cause may be collected, but even if one information processing device detects the abnormality, etc. The partner device does not always detect the corresponding abnormality.

本発明は、互いの間での通信を伴う処理を実行している2つの情報処理装置のうちの一方においてログレベルの変更を要する事象が生じ、他方にはそのような事象が生じなかった場合でも、当該他方の情報処理装置においてもログレベルの変更がなされるようにすることを目的とする。   In the present invention, when an event that requires a log level change occurs in one of two information processing devices that are executing processing involving communication between them, and no such event occurs in the other However, it is an object to change the log level in the other information processing apparatus.

請求項1に係る発明は、第1種の情報処理装置と、前記第1種の情報処理装置と通信する第2種の情報処理装置と、を有し、前記第1種の情報処理装置は、前記第2種の情報処理装置との通信を伴う処理に関する、設定されたログレベル以上のレベルのログ情報を記録する第1のログ記録手段と、前記第2種の情報処理装置との通信を伴う処理においてログレベル変更条件を満たす事象が生じた場合に、当該事象に対応する変更先ログレベルを特定する特定情報を含むログレベル変更指示を前記第2種の情報処理装置に送信する変更指示送信手段と、を有し、前記第2種の情報処理装置は、前記第1種の情報処理装置との通信を伴う処理に関する、設定されたログレベル以上のレベルのログ情報を記録する第2のログ記録手段と、前記第1種の情報処理装置から前記ログレベル変更指示を受信した場合に、前記第2のログ記録手段の前記ログレベルを、当該ログレベル変更指示に含まれる前記特定情報に従って前記変更先ログレベルに変更するレベル変更手段と、複数の前記第1種の情報処理装置の各々について、当該第1種の情報処理装置の通信環境を表す通信環境情報を取得する取得手段と、いずれかの前記第1種の情報処理装置から前記ログレベル変更指示を受信した場合に、前記取得手段が取得した当該ログレベル変更指示の送信元の前記第1種の情報処理装置についての前記通信環境情報が表す通信環境に対応する通信環境の他の前記第1種の情報処理装置に対して、当該ログレベル変更指示に応じたログレベルへの変更を指示する第2のログレベル変更指示を送信する送信手段と、を有する、情報処理システムである。 The invention according to claim 1 includes: a first type information processing apparatus; and a second type information processing apparatus that communicates with the first type information processing apparatus. Communication between the first log recording means for recording log information at a level equal to or higher than a set log level and communication with the second type information processing apparatus regarding processing involving communication with the second type information processing apparatus Change in which a log level change instruction including specific information for specifying a change destination log level corresponding to the event is transmitted to the second type information processing apparatus when an event that satisfies the log level change condition occurs in the process involving The second type information processing apparatus records log information of a level equal to or higher than a set log level relating to processing involving communication with the first type information processing apparatus. 2 log recording means and the first type Level change for changing the log level of the second log recording means to the change destination log level according to the specific information included in the log level change instruction when the log level change instruction is received from the information processing apparatus Means for acquiring communication environment information representing the communication environment of the first type information processing apparatus, and any one of the first type information processing apparatuses. Communication corresponding to the communication environment represented by the communication environment information about the first type information processing apparatus that is the transmission source of the log level change instruction acquired by the acquisition unit when the log level change instruction is received from the apparatus A second log level change instruction for instructing a change to the log level corresponding to the log level change instruction is transmitted to the other information processing apparatus of the first type in the environment. And a signal unit, an information processing system.

請求項に係る発明は、前記第2種の情報処理装置の前記送信手段は、あらかじめ定めた閾値以上の数の、互いに対応する通信環境の前記第1種の情報処理装置から前記ログレベル変更指示を受信した場合に、当該通信環境に該当する他の前記第1種の情報処理装置に対して前記第2のログレベル変更指示を送信する、ことを特徴とする請求項に記載の情報処理システムである。 According to a second aspect of the present invention, the transmission means of the second type information processing apparatus changes the log level from the first type information processing apparatus in a communication environment corresponding to a predetermined threshold number or more. when receiving the instruction, information according to claim 1 for transmitting the second log level changing instruction to the other of said first type of information processing apparatus corresponding to the communication environment, characterized in that It is a processing system.

請求項に係る発明は、複数の前記第2種の情報処理装置と通信する第3種の情報処理装置を更に有し、前記第2種の情報処理装置は、いずれかの前記第1種の情報処理装置から前記ログレベル変更指示を受信した場合に、前記第3種の情報処理装置に対して、当該第1種の情報処理装置の通信環境情報と対応づけてログレベル変更伝播依頼を送信する手段と、前記第3種の情報処理装置から、通信環境情報に対応づけられたログレベル変更伝播依頼を受信した場合に、当該第2種の情報処理装置と通信する前記第1種の情報処理装置のうち、当該通信環境情報に対応する前記第1種の情報処理装置に対し、当該ログレベル変更伝播依頼に対応するログレベルへの変更指示を送信する手段と、を有し、前記第3種の情報処理装置は、いずれかの前記第2種の情報処理装置から前記ログレベル変更伝播依頼を受信した場合、当該ログレベル変更伝播依頼を他の前記第2種の情報処理装置に送信する手段、を有することを特徴とする請求項1又は2に記載の情報処理システムである。 The invention according to claim 3 further includes a third type information processing device that communicates with a plurality of the second type information processing devices, and the second type information processing device is one of the first type information processing devices. When the log level change instruction is received from the information processing apparatus, a log level change propagation request is made to the third type information processing apparatus in association with the communication environment information of the first type information processing apparatus. When the log level change propagation request associated with the communication environment information is received from the transmitting means and the third type information processing apparatus, the first type information processing apparatus communicates with the second type information processing apparatus. Means for transmitting a change instruction to a log level corresponding to the log level change propagation request to the first type information processing apparatus corresponding to the communication environment information among the information processing apparatuses, The third type of information processing device is either And a means for transmitting the log level change propagation request to the other second type information processing apparatus when the log level change propagation request is received from the second type information processing apparatus. Item 3. The information processing system according to Item 1 or 2 .

請求項に係る発明は、相手の情報処理装置と通信するコンピュータが実行するプログラムであって、前記相手の情報処理装置は、前記コンピュータとの通信を伴う処理に関する、設定されたログレベル以上のレベルのログ情報を記録すると共に、前記コンピュータとの通信を伴う処理においてログレベル変更条件を満たす事象が生じた場合に、当該事象に対応する変更先ログレベルを特定する特定情報を含むログレベル変更指示を前記コンピュータに送信するものであり、前記プログラムは、前記コンピュータを、前記相手の情報処理装置との通信を伴う処理に関する、設定されたログレベル以上のレベルのログ情報を記録するログ記録手段と、前記相手の情報処理装置から前記ログレベル変更指示を受信した場合に、前記ログ記録手段の前記ログレベルを、当該ログレベル変更指示に含まれる前記特定情報に従って前記変更先ログレベルに変更するレベル変更手段、複数の前記相手の情報処理装置の各々について、当該相手の情報処理装置の通信環境を表す通信環境情報を取得する取得手段、いずれかの前記相手の情報処理装置から前記ログレベル変更指示を受信した場合に、前記取得手段が取得した当該ログレベル変更指示の送信元の前記相手の情報処理装置についての前記通信環境情報が表す通信環境に対応する通信環境の他の前記相手の情報処理装置に対して、当該ログレベル変更指示に応じたログレベルへの変更を指示する第2のログレベル変更指示を送信する送信手段、として機能させるためのプログラムである。 The invention according to claim 4 is a program executed by a computer that communicates with a partner information processing apparatus, wherein the partner information processing apparatus has a log level equal to or higher than a set log level relating to processing involving communication with the computer. Log level change including specific information for specifying a change destination log level corresponding to the event when an event that satisfies the log level change condition occurs in a process involving communication with the computer, while recording log information of the level is intended to send instructions to the said computer, said program, said computer, to processing involving communication with the information processing apparatus of the other party, the log recording unit that records log information of the set log level or higher And when the log level change instruction is received from the information processing apparatus of the other party, The serial log level, the level changing means for changing the change destination logging level in accordance with said specific information contained in the log level changing instruction, for each of the information processing apparatus of the plurality of the counterpart, the communication environment of the information processing apparatus of the other party An acquisition means for acquiring communication environment information representing the communication level information, and when the log level change instruction is received from any one of the information processing devices of the other party, the transmission source of the log level change instruction acquired by the acquisition means A second instruction that instructs the other information processing apparatus in the communication environment corresponding to the communication environment represented by the communication environment information about the information processing apparatus to change to the log level according to the log level change instruction. This is a program for functioning as transmission means for transmitting a log level change instruction .

請求項に係る発明は、前記送信手段は、あらかじめ定めた閾値以上の数の、互いに対応する通信環境の前記相手の情報処理装置から前記ログレベル変更指示を受信した場合に、当該通信環境に該当する他の前記相手の情報処理装置に対して前記第2のログレベル変更指示を送信する、ことを特徴とする請求項に記載のプログラムである。 According to a fifth aspect of the present invention, when the transmission means receives the log level change instruction from the information processing apparatus of the counterpart of the communication environment corresponding to the number of predetermined thresholds or more, the transmission means enters the communication environment. The program according to claim 4 , wherein the second log level change instruction is transmitted to the other corresponding information processing apparatus.

請求項に係る発明は、相手情報処理装置と通信する情報処理装置であって、前記相手情報処理装置は、前記情報処理装置との通信を伴う処理に関する、設定されたログレベル以上のレベルのログ情報を記録すると共に、前記情報処理装置との通信を伴う処理においてログレベル変更条件を満たす事象が生じた場合に、当該事象に対応する変更先ログレベルを特定する特定情報を含むログレベル変更指示を前記情報処理装置に送信するものであり、前記情報処理装置は、前記手情報処理装置との通信を伴う処理に関する、設定されたログレベル以上のレベルのログ情報を記録するログ記録手段と、前記相手情報処理装置から前記ログレベル変更指示を受信した場合に、前記ログ記録手段の前記ログレベルを、当該ログレベル変更指示に含まれる前記特定情報に従って前記変更先ログレベルに変更するレベル変更手段と、複数の前記相手情報処理装置の各々について、当該相手情報処理装置の通信環境を表す通信環境情報を取得する取得手段と、いずれかの前記相手情報処理装置から前記ログレベル変更指示を受信した場合に、前記取得手段が取得した当該ログレベル変更指示の送信元の前記相手情報処理装置についての前記通信環境情報が表す通信環境に対応する通信環境の他の前記相手情報処理装置に対して、当該ログレベル変更指示に応じたログレベルへの変更を指示する第2のログレベル変更指示を送信する送信手段と、を有する情報処理装置である。 The invention according to claim 6 is an information processing apparatus that communicates with a partner information processing apparatus, wherein the partner information processing apparatus has a level that is equal to or higher than a set log level related to processing involving communication with the information processing apparatus. Log level change including specific information for specifying a change destination log level corresponding to the event when an event that satisfies the log level change condition occurs in the process involving communication with the information processing apparatus as well as recording log information is intended to send instructions to the information processing apparatus, logging for recording the phase Tejo paper processing apparatus and the processing relating to, log information set log level or higher level providing communication means, upon receiving the log level changing instruction from the phase Tejo paper processing apparatus, the log level of the log recording unit, included in the logging level change instruction A level changing means for changing the change destination logging level in accordance with the specific information that, for each of a plurality of the counterpart information processing apparatus, an acquisition unit configured to acquire communication environment information representing a communication environment of the partner information processing apparatus, any When the log level change instruction is received from the partner information processing apparatus, the communication environment represented by the communication environment information about the partner information processing apparatus that is the transmission source of the log level change instruction acquired by the acquisition unit An information processing unit comprising: a transmission unit configured to transmit a second log level change instruction to instruct the other information processing apparatus of the corresponding communication environment to change to the log level according to the log level change instruction. Device.

参考例の構成は、コンピュータを、相手の情報処理装置との通信を伴う処理に関する、設定されたログレベル以上のレベルのログ情報を記録するログ記録手段、前記相手の情報処理装置との通信を伴う処理においてログレベル変更条件を満たす事象が生じた場合に、当該事象に対応する変更先ログレベルを特定する特定情報を含むログレベル変更指示を前記相手の情報処理装置に送信する変更指示送信手段、として機能させるためのプログラムである。 In the configuration of the reference example , the computer is connected to a log recording unit that records log information of a level higher than a set log level, with respect to processing involving communication with the partner information processing apparatus, and communication with the partner information processing apparatus. Change instruction transmission means for transmitting a log level change instruction including specific information for specifying a change destination log level corresponding to the event to the other information processing apparatus when an event that satisfies the log level change condition occurs in the accompanying process It is a program to make it function as.

参考例の構成は、相手の情報処理装置との通信を伴う処理に関する、設定されたログレベル以上のレベルのログ情報を記録するログ記録手段と、前記相手の情報処理装置との通信を伴う処理においてログレベル変更条件を満たす事象が生じた場合に、当該事象に対応する変更先ログレベルを特定する特定情報を含むログレベル変更指示を前記相手の情報処理装置に送信する変更指示送信手段と、を有する情報処理装置である。 The configuration of the reference example includes a log recording unit that records log information at a level equal to or higher than a set log level, and a process involving communication between the partner information processing apparatus and a process involving communication with the partner information processing apparatus A change instruction transmission means for transmitting a log level change instruction including specific information for specifying a change destination log level corresponding to the event to the information processing apparatus of the other party when an event that satisfies the log level change condition occurs in Is an information processing apparatus.

請求項1、又は6に係る発明によれば、互いの間での通信を伴う処理を実行している第1種の情報処理装置と第2種の情報処理装置のうち第1種の情報処理装置においてログレベル変更条件を満たす事象が生じ、第2種の情報処理装置にはそのような事象が生じなかった場合でも、第2種の情報処理装置においてもログレベルの変更がなされるようにすることができる。 According to the invention according to claim 1, 4 , or 6 , the first type of information processing apparatus and the second type of information processing apparatus that execute processing involving communication between each other are the first type. Even if an event that satisfies the log level change condition occurs in the information processing apparatus and such an event does not occur in the second type information processing apparatus, the log level is also changed in the second type information processing apparatus. Can be.

更に、いずれかの第1種の情報処理装置でログレベル変更条件を満たす事象が生じた場合に、その第1種の情報処理装置の通信環境に対応する通信環境を有する他の第1種の情報処理装置のログレベルもその事象に応じて変更することができる。 Further , when an event that satisfies the log level change condition occurs in any of the first type information processing apparatuses, another first type having a communication environment corresponding to the communication environment of the first type information processing apparatus. The log level of the information processing apparatus can also be changed according to the event.

請求項2又は5に係る発明によれば、ログレベル変更指示を送信した第1種の情報処理装置だけでなく、この装置と対応する通信環境の第1種の情報処理装置でログレベル変更条件を満たす事象が生じる可能性が高いと考えられる場合に、対応する通信環境の他の第1種の情報処理装置においてもログレベルの変更がなされるようにすることができる。 According to the invention according to claim 2 or 5 , the log level change condition is not limited to the first type information processing apparatus that has transmitted the log level change instruction, but also the first type information processing apparatus of the communication environment corresponding to this apparatus. When it is considered that there is a high possibility that an event satisfying the above condition will occur, the log level can be changed also in the other first type information processing apparatus of the corresponding communication environment.

請求項に係る発明によれば、ある第1種の情報処理装置でログレベル変更条件を満たす事象が生じた場合に、その第1種の情報処理装置の通信先の第2種の情報処理装置と通信する、対応する通信環境の他の第1種の情報処理装置のログレベルだけでなく、他の第2種の情報処理装置と通信する、対応する通信環境の他の第1種の情報処理装置のログレベルも変更されるようにすることができる。 According to the invention of claim 3 , when an event that satisfies the log level change condition occurs in a certain first type information processing apparatus, the second type information processing of the communication destination of the first type information processing apparatus Not only the log level of the other first type information processing device in the corresponding communication environment that communicates with the device, but also the other first type of the corresponding communication environment that communicates with the other second type information processing device. The log level of the information processing apparatus can also be changed.

実施形態のシステム構成の例を示す図である。It is a figure which shows the example of the system configuration | structure of embodiment. 実施形態の方式が適用される具体的なシステムの例を示す図である。It is a figure which shows the example of the specific system with which the system of embodiment is applied. 実施形態における処理の流れの一例を説明する図である。It is a figure explaining an example of the flow of processing in an embodiment. 第2の実施形態のシステム構成の例を示す図である。It is a figure which shows the example of the system configuration | structure of 2nd Embodiment. 通信環境情報保持部が保持する情報の例を示す図である。It is a figure which shows the example of the information which a communication environment information holding part hold | maintains. 第2の実施形態における処理の流れの一例を説明する図である。It is a figure explaining an example of the flow of processing in a 2nd embodiment. 第2の実施形態の変形例におけるレベル変更伝播処理部の処理手順の例を示す図である。It is a figure which shows the example of the process sequence of the level change propagation process part in the modification of 2nd Embodiment. 第2の実施形態の変形例におけるレベル変更伝播処理部の処理手順の例を示す図である。It is a figure which shows the example of the process sequence of the level change propagation process part in the modification of 2nd Embodiment. 第2の実施形態の別の変形例におけるレベル変更伝播処理部の処理手順の一例を示す図である。It is a figure which shows an example of the process sequence of the level change propagation process part in another modification of 2nd Embodiment. 複数のクライアント装置に対してサービスを提供するサービス提供装置100が複数、1つの管理装置により管理されている大規模システムの例を示す図である。1 is a diagram illustrating an example of a large-scale system in which a plurality of service providing apparatuses 100 that provide services to a plurality of client apparatuses are managed by one management apparatus.

図1を参照して、本発明の実施形態のシステム構成の例を説明する。このシステムは、サービス提供装置100と、このサービス提供装置100からネットワーク300を介してサービスを受ける1以上のクライアント装置200とを含んでいる。   With reference to FIG. 1, an example of a system configuration according to an embodiment of the present invention will be described. This system includes a service providing apparatus 100 and one or more client apparatuses 200 that receive services from the service providing apparatus 100 via a network 300.

サービス提供装置100がクライアント装置200に提供するサービスに、特に限定されるものではない。一例を挙げるならば、図2に例示するVPN(Virtual Private Network:仮想プライベートネットワーク)接続サービスがある。ユーザがモバイル端末等のクライアント装置から、自社の社内LANにVPN接続する場合に、VPN接続サービスが利用される。図2に例示するVPNゲートウェイ150が、図1におけるサービス提供装置100の一例である。VPNゲートウェイ150は、インターネット310上の複数のクライアント装置200−1、200−2、200−3、・・・に対して、特定の会社の社内LAN(ローカルエリアネットワーク)400にVPN接続するサービスを提供する。各クライアント装置200には、VPNクライアント250(ソフトウエア)がインストールされている。クライアント装置200は、このVPNクライアント250とVPNゲートウェイ150との協働により、社内LAN400にVPN接続することができる。図1のクライアント装置200内の各要素(機能)は、VPNクライアント250に組み込まれる。   The service providing apparatus 100 is not particularly limited to the service provided to the client apparatus 200. As an example, there is a VPN (Virtual Private Network) connection service illustrated in FIG. A VPN connection service is used when a user makes a VPN connection from a client device such as a mobile terminal to an in-house LAN. The VPN gateway 150 illustrated in FIG. 2 is an example of the service providing apparatus 100 in FIG. The VPN gateway 150 provides a service for connecting a plurality of client devices 200-1, 200-2, 200-3,... On the Internet 310 to a company LAN (local area network) 400 of a specific company via VPN. provide. Each client device 200 has a VPN client 250 (software) installed. The client device 200 can make a VPN connection to the in-house LAN 400 in cooperation with the VPN client 250 and the VPN gateway 150. Each element (function) in the client apparatus 200 in FIG. 1 is incorporated in the VPN client 250.

図1の説明に戻る。サービス提供装置100は、ログ記録部102、ログレベル変更部104、変更指示送信部106及び変更指示受信部108を有する。   Returning to the description of FIG. The service providing apparatus 100 includes a log recording unit 102, a log level changing unit 104, a change instruction transmitting unit 106, and a change instruction receiving unit 108.

ログ記録部102は、サービス提供装置100が実行している処理(すなわち各クライアント装置200に対する通信を介したサービス提供の処理)についてのログ情報を記録する。ログ情報の記録は、サービス提供装置100内の記憶装置に書き込む形であってもよいし、ネットワーク上のログ集計装置に対して出力する形であってもよい。ログ記録部102は、通信相手のクライアント装置200毎に区別可能な形で、当該クライアント装置200に対するサービス提供のための処理についてのログ情報を記録する。また、ログ記録部102は、通信相手のクライアント装置200毎に個別にログレベルを保持しており、クライアント装置200へのサービス提供のための処理について、当該クライアント装置200についてのログレベル以上のレベルの(すなわちログレベルに対応する重要度以上の重要さの)ログ情報のみを記録する。周知のように、ログレベルは、記録するログ情報(言い換えればそのログ情報が表す、処理中で生じた事象)の粒度を規定する値であり、ログレベルの値が高いほど、記録するログ情報の粒度は粗く(すなわち、より重要な事象しか記録されなく)なる。   The log recording unit 102 records log information about processing executed by the service providing apparatus 100 (that is, service providing processing via communication with each client device 200). The log information may be recorded in a storage device in the service providing apparatus 100 or may be output to a log totaling apparatus on the network. The log recording unit 102 records log information about processing for providing a service to the client device 200 in a form that can be distinguished for each client device 200 of the communication partner. Further, the log recording unit 102 holds a log level individually for each client device 200 of the communication partner, and a level equal to or higher than the log level for the client device 200 in the process for providing a service to the client device 200 Only log information (that is, importance level or higher corresponding to the log level) is recorded. As is well known, the log level is a value that defines the granularity of the log information to be recorded (in other words, the event that occurred during processing represented by the log information), and the higher the log level value, the more the log information to be recorded. Becomes coarser (ie, only the more important events are recorded).

ログレベル変更部104は、ログ記録部102が参照するログレベルの値を変更する処理を行う。   The log level changing unit 104 performs processing for changing the log level value referred to by the log recording unit 102.

ログレベルの変更は、1つには、従来と同様、サービス提供装置100が実行しているクライアント装置200へのサービス提供のための処理の中で、ログレベルの変更の条件を満たす事象(例えばなんらかの異常)、を検知した場合に行う。このような事象のこと、以下では「トリガ」とも呼ぶ。   The log level change is, for example, an event that satisfies the condition for changing the log level in the process for providing a service to the client device 200 executed by the service providing apparatus 100 (for example, as in the past) (for example, This is done when something abnormal) is detected. Such an event is hereinafter also referred to as a “trigger”.

何をトリガとするかは、従来と同様でよい。例えば、クライアント装置200とサービス提供装置100との間の接続が頻繁に(例えばあらかじめ定めた長さの期間内にあらかじめ定めた閾値回数以上)切断されることは、1つのトリガである。また、クライアント装置200がサービス提供装置100からサービスを受けようとする際の認証が失敗したことは別のトリガとなり得る。また、認証処理が何段階かのステップに分かれている場合、認証が失敗したステップ毎にその失敗を別々のトリガとして取り扱ってもよい。また、一度の認証失敗で直ちにトリガと判断するのではなく、あらかじめ定めた閾値回数以上連続して失敗した場合に、トリガと判断するようにしてもよい。このように、再現性のある異常が検知された場合に、それをトリガと判断するようにしてもよい。   What is used as a trigger may be the same as in the past. For example, frequent disconnection of the connection between the client device 200 and the service providing device 100 (for example, a predetermined threshold number of times within a predetermined length of time) is one trigger. Further, the failure of authentication when the client device 200 tries to receive a service from the service providing device 100 can be another trigger. Further, when the authentication process is divided into several steps, the failure may be handled as a separate trigger for each step where the authentication fails. Further, instead of immediately determining a trigger with a single authentication failure, it may be determined as a trigger when a predetermined threshold number of times have failed. Thus, when a reproducible abnormality is detected, it may be determined as a trigger.

また、ログレベルの変更条件も従来と同様でよい。例えばあるトリガが検知された場合はログレベルをあるレベルまで下げ、別のトリガが検知された場合にはログレベルを別のあるレベルまで下げる、と言った条件である。ログレベル変更部104は、あるクライアント装置200との間の処理においてログレベルの変更条件を満たす事象(トリガ)が生じた場合、そのクライアント装置200についてのログレベルをその事象に応じたレベルに変更する。   Also, the log level changing condition may be the same as the conventional one. For example, the condition is that the log level is lowered to a certain level when a certain trigger is detected, and the log level is lowered to another certain level when another trigger is detected. When an event (trigger) that satisfies a log level change condition occurs in a process with a certain client device 200, the log level changing unit 104 changes the log level for the client device 200 to a level corresponding to the event. To do.

ログレベルを変更する別のケースとして、クライアント装置200からログレベル変更指示を受け取った場合がある。後述するとおり、ログレベル変更指示には変更先のログレベルを特定する特定情報が含まれているので、この場合、受信したログレベル変更指示が含む特定情報に従って、その変更指示の送信元のクライアント装置200についてのログレベルを変更する。特定情報が変更先のログレベルの値そのものを示している場合は、その値に変更すればよいし、特定情報が、そのログレベル変更指示の送信の契機となったトリガを示している場合は、そのトリガに対応するログレベルを求め、求めたログレベルに変更すればよい。   As another case of changing the log level, there is a case where a log level change instruction is received from the client device 200. As will be described later, since the log level change instruction includes specific information for specifying the log level of the change destination, in this case, according to the specific information included in the received log level change instruction, the client that has transmitted the change instruction Change the log level for the device 200. If the specific information indicates the log level value itself of the change destination, it can be changed to that value. If the specific information indicates a trigger that triggered the transmission of the log level change instruction, The log level corresponding to the trigger may be obtained and changed to the obtained log level.

変更指示送信部106は、クライアント装置200に対してログレベル変更指示を送信する。ログレベル変更部104があるクライアント装置200へのサービス提供のための処理の中でログレベルの変更条件を満たす事象(トリガ)を検知した場合に、変更指示送信部106は、そのクライアント装置200に対して、ログレベル変更指示を送信する。このログレベル変更指示には、そのトリガに応じた変更先ログレベルを特定する特定情報が含まれる。この特定情報は、変更先ログレベルの値を表すものであってもよいし、そのトリガの識別情報であってもよい。後者の場合、その特定情報を受け取ったクライアント装置200は、トリガとログレベルの対応関係から、変更先のログレベルを特定すればよい。   The change instruction transmission unit 106 transmits a log level change instruction to the client device 200. When the log level changing unit 104 detects an event (trigger) that satisfies the log level changing condition in the process for providing a service to the client device 200, the change instruction transmitting unit 106 sends the change to the client device 200. In response, a log level change instruction is transmitted. The log level change instruction includes specific information for specifying the change destination log level corresponding to the trigger. This specific information may represent the value of the change destination log level, or may be identification information of the trigger. In the latter case, the client device 200 that has received the specifying information may specify the log level of the change destination from the correspondence between the trigger and the log level.

変更指示受信部108は、クライアント装置200からのログレベル変更指示を受信する。受信したログレベル変更指示は、その変更指示のクライアント装置200の識別情報と共に、ログレベル変更部104に伝達される。ログレベル変更部104は、ログ記録部102が参照する、その識別情報が示すクライアント装置200についてのログレベルの値をそのログレベル変更指示に応じて変更する。   The change instruction receiving unit 108 receives a log level change instruction from the client device 200. The received log level change instruction is transmitted to the log level changing unit 104 together with the identification information of the client apparatus 200 of the change instruction. The log level changing unit 104 changes the log level value for the client device 200 indicated by the identification information referred to by the log recording unit 102 in accordance with the log level changing instruction.

このように、図1の例では、互いに通信しながら処理を進めているサービス提供装置100とクライアント装置200が、それぞれ、自装置におけるその処理の中でログレベルの変更条件を満たす事象(トリガ)が生じた場合に、互いにそのことを知らせ合うようにしている。   As described above, in the example of FIG. 1, the service providing apparatus 100 and the client apparatus 200 that are advancing the process while communicating with each other are events (triggers) that satisfy the log level change condition in the process of the own apparatus. When this happens, they are informed of each other.

ただし、互いに知らせ合う、すなわちログレベル変更指示を互いに送り合うのはあくまで一例に過ぎず、サービス提供装置100又はクライアント装置200の一方から他方にのみログレベル変更指示を送るようにしてもよい。   However, informing each other, that is, sending log level change instructions to each other is merely an example, and log level change instructions may be sent only from one of the service providing apparatus 100 or the client apparatus 200 to the other.

クライアント装置200は、ログ記録部202、ログレベル変更部204、変更指示送信部206及び変更指示受信部208を有する。   The client device 200 includes a log recording unit 202, a log level changing unit 204, a change instruction transmitting unit 206, and a change instruction receiving unit 208.

ログ記録部202は、クライアント装置200が通信を介してサービス提供装置100からサービス(例えばVPN接続)を受けるための処理についてのログ情報を記録する。ログ情報の記録は、クライアント装置200内の記憶装置に書き込む形であってもよいし、ネットワーク上のログ集計装置(例えばこれがサービス提供装置100であってもよい)に対して出力する形であってもよい。ログ記録部202は、ログレベルを保持しており、その処理の中で生じたそのログレベル以上のレベルの(すなわちログレベルに対応する重要度以上の重要さの)事象についてのログ情報のみを記録する。   The log recording unit 202 records log information about processing for the client device 200 to receive a service (for example, VPN connection) from the service providing device 100 via communication. The log information may be recorded in a storage device in the client device 200 or may be output to a log totaling device on the network (for example, this may be the service providing device 100). May be. The log recording unit 202 holds a log level, and only logs information about an event of a level higher than the log level (that is, an importance higher than the importance corresponding to the log level) generated in the processing. Record.

ログレベル変更部204は、ログ記録部202が参照するログレベルの値を変更する処理を行う。ログレベル変更部204は、従来と同様、サービス提供装置100からサービスを受けるための処理の中で、ログレベルの変更条件を満たすトリガ事象を検知した場合に行う。ログレベルの変更条件は、従来と同様でよい。また、ログレベル変更部204は、変更指示受信部208がサービス提供装置100からログレベル変更指示を受け取った場合に、その変更指示に従ってログレベルを変更してもよい。前述のとおり、ログレベル変更指示には変更先のログレベルを特定する特定情報が含まれているので、変更指示受信部208が受信したログレベル変更指示内の特定情報から変更先のログレベル値を特定し、特定した値へとログレベルを変更する。特定情報が変更先のログレベルの値そのものを示している場合は、その値に変更すればよいし、特定情報がそのログレベル変更指示の送信の契機となったトリガを示している場合は、そのトリガに対応するログレベルを求め、求めたログレベルに変更すればよい。   The log level changing unit 204 performs processing for changing the value of the log level referred to by the log recording unit 202. The log level changing unit 204 is performed when a trigger event satisfying the log level changing condition is detected in the process for receiving a service from the service providing apparatus 100 as in the conventional case. The condition for changing the log level may be the same as in the past. When the change instruction receiving unit 208 receives a log level change instruction from the service providing apparatus 100, the log level changing unit 204 may change the log level according to the change instruction. As described above, since the log level change instruction includes specific information for specifying the log level of the change destination, the log level value of the change destination is determined from the specific information in the log level change instruction received by the change instruction receiving unit 208. And change the log level to the specified value. If the specific information indicates the value of the log level of the change destination itself, it should be changed to that value. If the specific information indicates the trigger that triggered the transmission of the log level change instruction, A log level corresponding to the trigger may be obtained and changed to the obtained log level.

変更指示送信部206は、サービス提供装置100に対してログレベル変更指示を送信する。サービス提供装置100からサービスを受けるための処理の中でログレベル変更部204がトリガを検知した場合に、変更指示送信部206は、サービス提供装置100に対してログレベル変更指示を送信する。このログレベル変更指示には、そのトリガに応じた変更先ログレベルを特定する特定情報が含まれる。この特定情報は、変更先ログレベルの値を表すものであってもよいし、そのトリガの識別情報であってもよい。   The change instruction transmission unit 206 transmits a log level change instruction to the service providing apparatus 100. When the log level changing unit 204 detects a trigger in the process for receiving a service from the service providing apparatus 100, the change instruction transmitting unit 206 transmits a log level changing instruction to the service providing apparatus 100. The log level change instruction includes specific information for specifying the change destination log level corresponding to the trigger. This specific information may represent the value of the change destination log level, or may be identification information of the trigger.

変更指示受信部208は、サービス提供装置100からのログレベル変更指示を受信する。受信したログレベル変更指示はログレベル変更部204に伝達される。ログレベル変更部204は、ログ記録部202が参照するログレベルの値をそのログレベル変更指示に応じて変更する。   The change instruction receiving unit 208 receives a log level change instruction from the service providing apparatus 100. The received log level change instruction is transmitted to the log level change unit 204. The log level changing unit 204 changes the value of the log level referred to by the log recording unit 202 according to the log level changing instruction.

次に、図3を参照して、本実施形態における処理の流れの具体例を説明する。図3の例では、クライアント装置200が、サービス提供装置100からサービスを受けるための処理の中でログレベルの変更条件を満たす事象(トリガ)を検知すると(S202)、ログ記録部202が参照するログレベルをそのトリガに応じた値へと変更し(S204)、更に、そのトリガに対応するログレベルへの変更を指示するログレベル変更指示をサービス提供装置100に送信する(S206)。   Next, a specific example of the flow of processing in the present embodiment will be described with reference to FIG. In the example of FIG. 3, when the client device 200 detects an event (trigger) that satisfies a log level change condition in a process for receiving a service from the service providing device 100 (S202), the log recording unit 202 refers to the event. The log level is changed to a value corresponding to the trigger (S204), and a log level change instruction for instructing a change to the log level corresponding to the trigger is transmitted to the service providing apparatus 100 (S206).

サービス提供装置100は、クライアント装置200からログレベル変更指示を受信すると(S102)、そのログレベル変更指示内の情報(前述の特定情報)からログレベルの変更先の値を特定し、ログ記録部202が参照する当該クライアント装置200についてのログレベルの値を、その変更先の値へと変更する(S104)。   When the service providing apparatus 100 receives the log level change instruction from the client apparatus 200 (S102), the service providing apparatus 100 specifies the log level change destination value from the information (the aforementioned specific information) in the log level change instruction, and the log recording unit The log level value of the client device 200 referred to by 202 is changed to the change destination value (S104).

このように、この実施形態では、互いに通信するサービス提供装置100又はクライアント装置200は、自装置の処理の中でログレベルの変更条件を満たすトリガ事象を検知した場合、自装置内のログ記録部102又は202のログレベルを変更すると共に、通信相手のクライアント装置200又はサービス提供装置100にログレベル変更指示を送る。これにより、一方の装置でログレベルが変更されると、これに応じてその通信相手の装置でもログレベルが変更されることになる。   As described above, in this embodiment, when the service providing apparatus 100 or the client apparatus 200 communicating with each other detects a trigger event that satisfies the log level change condition in the process of the own apparatus, the log recording unit in the own apparatus While changing the log level of 102 or 202, a log level change instruction is sent to the client apparatus 200 or the service providing apparatus 100 of the communication partner. Thus, when the log level is changed in one device, the log level is also changed in the communication counterpart device accordingly.

このように、本実施形態では、サービス提供装置100とクライアント装置200は連動してログレベルを変更することとなるが、このことは、クライアント装置200のログレベルと、サービス提供装置100におけるそのクライアント装置200についてのログレベルとが連動して「同じ値」になることを必ずしも意味するものではない。サービス提供装置100とクライアント装置200とでログレベルのレベル分けの体系が異なっていてもよく、このような場合はそれら両装置でのログレベルが同じ値にならない場合がある。ただし、このような場合でも、ログレベル変更指示による連動により、クライアント装置200のログレベルと、サービス提供装置100におけるそのクライアント装置200についてのログレベルとは、互いに「対応した」値となる。また、クライアント装置200からログレベル変更指示を受け取った場合でも、サービス提供装置100における当該クライアント装置200についてのログレベルが、そのログレベル変更指示に応じた値である場合もあり、この場合にはログレベルの変更は不要である。   As described above, in this embodiment, the service providing apparatus 100 and the client apparatus 200 change the log level in conjunction with each other. This means that the log level of the client apparatus 200 and the client in the service providing apparatus 100 are changed. It does not necessarily mean that the log level of the device 200 is linked to “the same value”. The log level leveling system may be different between the service providing apparatus 100 and the client apparatus 200. In such a case, the log levels in both apparatuses may not be the same value. However, even in such a case, the log level of the client apparatus 200 and the log level of the client apparatus 200 in the service providing apparatus 100 become “corresponding” values due to the interlocking by the log level change instruction. Even when a log level change instruction is received from the client apparatus 200, the log level for the client apparatus 200 in the service providing apparatus 100 may be a value corresponding to the log level change instruction. It is not necessary to change the log level.

次に、図4〜図6を参照して、本発明の第2の実施形態を説明する。   Next, a second embodiment of the present invention will be described with reference to FIGS.

第2の実施形態では、サービス提供装置100は、いずれかのクライアント装置200からログレベル変更指示を受けた場合に、そのクライアント装置200の通信環境に「対応する通信環境」を用いてサービス提供装置100と通信する他のクライアント装置200に対し、そのログレベルの変更指示を送る。すなわち、ログレベルの変更を同種のクライアント装置200に伝播させるのである。   In the second embodiment, when the service providing apparatus 100 receives a log level change instruction from any of the client apparatuses 200, the service providing apparatus uses the “corresponding communication environment” as the communication environment of the client apparatus 200. An instruction to change the log level is sent to another client device 200 communicating with the client 100. That is, the log level change is propagated to the same type of client device 200.

ここでいうクライアント装置200の「通信環境」とは、そのクライアント装置200がサービス提供装置100と通信するために用いられている様々な資源のことである。通信環境には、例えば、クライアント装置200がインターネットに接続するのに用いている接続回線の種類やISP(インターネットサービスプロバイダ)、クライアント装置200が接続されているLANの種類(例えば接続されている無線LANの規格など)、クライアント装置200のIPアドレス等がある。IPアドレスが分かれば、インターネット接続回線やISPが特定できる場合もある。また、クライアント装置200がサービス提供装置100からサービスを受けるための処理のプログラム(図2の例ではVPNクライアント)を実行する基盤となるプラットフォーム、例えばOS(オペレーティングシステム)等のプログラムも通信環境の一例である。また、そのプログラムの実行やサービス提供装置100との通信に用いるハードウエアの情報、例えばハードウエアの機種も、通信環境の一例である。サービス提供装置100が通信する複数のクライアント装置200には、パーソナルコンピュータ、タブレット端末、スマートフォンなど様々な装置が考えられる。   The “communication environment” of the client device 200 here refers to various resources used for the client device 200 to communicate with the service providing device 100. The communication environment includes, for example, the type of connection line used by the client device 200 to connect to the Internet, the ISP (Internet service provider), and the type of LAN to which the client device 200 is connected (for example, connected wireless). LAN standards), the IP address of the client device 200, and the like. If the IP address is known, the Internet connection line or ISP may be identified. In addition, a platform serving as a basis for executing a processing program (a VPN client in the example of FIG. 2) for the client device 200 to receive a service from the service providing device 100, such as an OS (operating system) program, is an example of a communication environment. It is. Further, hardware information used for execution of the program and communication with the service providing apparatus 100, for example, a hardware model, is an example of a communication environment. Various devices such as a personal computer, a tablet terminal, and a smartphone can be considered as the plurality of client devices 200 with which the service providing device 100 communicates.

以上に例示した個々の資源がそれぞれ「通信環境」の例であり、1つのクライアント装置200は、それら1以上の通信環境からなる集合を用いて、サービス提供装置100からサービスを受けるための処理を実行する。   Each resource illustrated above is an example of a “communication environment”, and one client apparatus 200 performs processing for receiving a service from the service providing apparatus 100 using a set of one or more communication environments. Run.

ログレベル変更指示の送信元のクライアント装置200の通信環境に対応する通信環境を有する他のクライアント装置200には、今後その送信元のクライアント装置200と同様の異常(その変更指示を送信する契機となったトリガ事象)が起こる可能性が高いと考えられる。そこで、この第2の実施形態では、その送信元のクライアント装置200の通信環境に対応する通信環境の他のクライアント装置200のログレベルを、その送信元のログレベル変更に連動して変更することで、同様の異常の発生に備えて必要なログレベルのログ情報を事前に記録できるようにするのである。(必ず発生するとは限らないが)その異常が実際に発生した際には、ログレベル変更指示の伝播を受けたクライアント装置200は、その伝播を受けない場合よりもより詳細な、その異常の解析に必要と考えれるログレベル以上のログ情報を記録している。実際の異常の発生前から記録された詳細なログ情報があれば、その異常の解析が容易になる。従来は、クライアント装置200で実際に異常が発生した後、クライアント装置200を利用するユーザがサービス提供装置100のカスタマサポートに連絡し、これに応じてカスタマサポートがユーザに対してログレベルの設定変更を依頼し、これによりクライアント装置200でより詳細なログ情報を収集するという、事後的な、しかも人手を介した対応であった。これに対し、この第2の実施形態では、事前にかつ自動的に、ログレベルを変更し、より詳細なログ情報を収集することができる。   In the future, other client devices 200 having a communication environment corresponding to the communication environment of the client device 200 that is the transmission source of the log level change instruction will have the same abnormality as the transmission source client device 200 in the future (when the change instruction is transmitted) It is considered that there is a high possibility that the trigger event will occur. Therefore, in the second embodiment, the log level of another client device 200 in the communication environment corresponding to the communication environment of the client device 200 of the transmission source is changed in conjunction with the change of the log level of the transmission source. Thus, log information of a necessary log level can be recorded in advance in preparation for occurrence of a similar abnormality. When the abnormality actually occurs (although it does not necessarily occur), the client device 200 that has received the propagation of the log level change instruction analyzes the abnormality more in detail than the case where the abnormality has not been propagated. Log information that is higher than the log level that is considered necessary. If there is detailed log information recorded before the actual occurrence of the abnormality, the analysis of the abnormality becomes easy. Conventionally, after an abnormality has actually occurred in the client device 200, a user using the client device 200 contacts customer support of the service providing device 100, and the customer support changes the log level setting to the user accordingly. The client device 200 collects more detailed log information, and this is a post-mortem and manual response. In contrast, in the second embodiment, the log level can be changed in advance and automatically to collect more detailed log information.

ここで、あるクライアント装置Aの通信環境が別のクライアント装置Bの通信環境に「対応する」とは、1つの例では、それら両装置の通信環境の集合同士が完全一致する場合である。例えば、OS、インターネット接続回線、プロバイダ等の通信環境の各項目の値が両装置間ですべて一致する場合である。このような場合は両者の通信環境が「同じ」であると表現してもよい。ただし、これはあくまで一例に過ぎない。クライアント装置Bの通信環境の集合と、クライアント装置Aの通信環境の集合とが部分的に一致する場合も、それら両者の通信環境同士が「対応する」とみなしてよい。例えば、装置Aと装置Bとが同じOSを用いているが、インターネット接続回線やプロバイダが異なっている(あるいは不明である)場合でも、それら両者が「対応する通信環境」であるとしてもよい。両装置の「通信環境」が「対応する」ものであると判定するのに、通信環境の集合中のどの程度の割合の要素同士の一致を必要とするか、あるいはあらかじめ定めた重要度の順に何位までの要素の一致を必要とするかを、サービス提供装置100に対して設定可能としたり、その設定を変更可能としたりしてもよい。   Here, the communication environment of one client device A “corresponds” to the communication environment of another client device B is, in one example, a case where a set of communication environments of both devices completely match. For example, this is a case where the values of the items of the communication environment such as the OS, the Internet connection line, and the provider all match between the two devices. In such a case, both communication environments may be expressed as “same”. However, this is only an example. Even when the set of communication environments of the client device B and the set of communication environments of the client device A partially match, the communication environments of both may be regarded as “corresponding”. For example, although the devices A and B use the same OS, even when the Internet connection line and the provider are different (or unknown), both of them may be “corresponding communication environments”. To determine that the “communication environment” of both devices is “corresponding”, how much of the elements in the set of communication environments need to be matched or in the order of importance The number of elements that need to be matched may be set in the service providing apparatus 100, or the setting may be changed.

図4は、この第2の実施形態のシステム構成の例を示す。図4において、図1に示した要素と同様の要素には同一符号を付して重複説明を省略する。   FIG. 4 shows an example of the system configuration of the second embodiment. In FIG. 4, the same elements as those shown in FIG.

図4のシステムにおけるサービス提供装置100は、図1の実施形態におけるサービス提供装置100が有する要素群に加え、通信環境情報取得部110、通信環境情報保持部112及びレベル変更伝播処理部114を有する。また、クライアント装置200は、図1の実施形態のクライアント装置200が有する要素に加え、通信環境情報送信部210を有する。   The service providing apparatus 100 in the system of FIG. 4 includes a communication environment information acquisition unit 110, a communication environment information holding unit 112, and a level change propagation processing unit 114 in addition to the elements included in the service providing apparatus 100 in the embodiment of FIG. . The client device 200 includes a communication environment information transmission unit 210 in addition to the elements included in the client device 200 of the embodiment of FIG.

クライアント装置200の通信環境情報送信部210は、そのクライアント装置200がサービス提供装置100からサービスを受ける際に用いている通信環境(上で説明したもの)の情報をサービス提供装置100に送信する。サービス提供装置100の通信環境情報取得部110は、その通信環境情報送信部210が送信した通信環境情報を取得する。   The communication environment information transmitting unit 210 of the client device 200 transmits information on the communication environment (described above) used when the client device 200 receives a service from the service providing device 100 to the service providing device 100. The communication environment information acquisition unit 110 of the service providing apparatus 100 acquires the communication environment information transmitted by the communication environment information transmission unit 210.

上に例示した通信環境の情報は、通信開始時のハンドシェイクの際にやりとりされるか、あるいはハンドシェイクの際にやりとりされる情報から求めることができる。したがって、通信環境情報送信部210及び通信環境情報取得部110は、サービス提供装置100及びクライアント装置200に実装された通信プロトコルのハンドシェイク機能であってもよい。   The information on the communication environment exemplified above can be exchanged at the time of handshake at the start of communication or can be obtained from the information exchanged at the time of handshake. Therefore, the communication environment information transmission unit 210 and the communication environment information acquisition unit 110 may be a communication protocol handshake function implemented in the service providing apparatus 100 and the client apparatus 200.

サービス提供装置100の通信環境情報保持部112は、各クライアント装置200の通信環境の情報を保持する。通信環境情報保持部112が保持する情報の例を図5に示す。図5の例では、通信環境情報保持部112は、サービス提供装置100が付与した各クライアント装置200の識別情報である「クライアントID」に対応づけて、「OS」、「インターネット接続回線」、「プロバイダ」、「IPアドレス」、「ハードウエア情報」といった個々の通信環境の項目の値を保持している。図に示した項目はあくまで例に過ぎない。通信環境情報保持部112は、これら図示した項目のすべてを保持している必要はないし、図示した項目以外の項目を保持してもよい。また、通信環境情報が保持する各項目の中には、クライアント装置200(通信環境情報送信部210)から送られてきた情報の他に、クライアント装置200とサービス提供装置100との間の通信経路上のいずれかのノード(例えばISP)で付加された情報や、それらの情報から求められる情報が含まれていてもよい。例えば、クライアント装置200から取得したIPアドレスから、そのクライアント装置200が利用しているISPを特定し、そのISPの識別名を通信環境の1つとして通信環境情報保持部112に登録してもよい。   The communication environment information holding unit 112 of the service providing apparatus 100 holds information on the communication environment of each client apparatus 200. An example of information held by the communication environment information holding unit 112 is shown in FIG. In the example of FIG. 5, the communication environment information holding unit 112 is associated with “client ID” which is identification information of each client device 200 assigned by the service providing device 100, and “OS”, “Internet connection line”, “ Each communication environment item value such as “provider”, “IP address”, and “hardware information” is held. The items shown in the figure are merely examples. The communication environment information holding unit 112 need not hold all of the illustrated items, and may hold items other than the illustrated items. In addition, in each item held by the communication environment information, in addition to the information transmitted from the client device 200 (communication environment information transmission unit 210), a communication path between the client device 200 and the service providing device 100 Information added by any one of the above nodes (for example, ISP) or information obtained from the information may be included. For example, the ISP used by the client device 200 may be identified from the IP address acquired from the client device 200, and the identification name of the ISP may be registered in the communication environment information holding unit 112 as one of the communication environments. .

レベル変更伝播処理部114は、変更指示受信部108がいずれかのクライアント装置200からログレベル変更指示を受け取った場合、通信環境情報保持部112を参照して、そのクライアント装置200の通信環境に「対応する通信環境」を持つ他のクライアント装置200を特定する。そして、特定された「対応する通信環境」の他の各クライアント装置200に対して、そのログレベル変更指示により特定される変更先のログレベルに応じたログレベルへ変更すること指示する、伝播用のログレベル変更指示を送信する。   When the change instruction receiving unit 108 receives a log level change instruction from any of the client devices 200, the level change propagation processing unit 114 refers to the communication environment information holding unit 112 and sets the communication environment of the client device 200 to “ Another client device 200 having a “corresponding communication environment” is identified. Then, for each of the other client devices 200 of the specified “corresponding communication environment”, the instruction for changing to the log level corresponding to the log level of the change destination specified by the log level change instruction is given. Send log level change instruction.

送信された伝播用のログレベル変更指示は、宛先のクライアント装置200の変更指示受信部208により受信される。そして、ログレベル変更部204がその変更指示に応じてクライアント装置200のログレベルを変更する。   The transmitted propagation log level change instruction is received by the change instruction receiving unit 208 of the destination client device 200. Then, the log level changing unit 204 changes the log level of the client device 200 according to the change instruction.

この第2の実施形態における処理の流れの具体例を、図6を参照して説明する。図6に示したステップのうち、図3に示した手順のステップと同様のステップには、同一符号を付して重複説明を省略する。   A specific example of the processing flow in the second embodiment will be described with reference to FIG. Of the steps shown in FIG. 6, the same steps as those in the procedure shown in FIG.

図6の手順では、まずあるクライアント装置200−1がサービス提供装置100との通信を開始する際のハンドシェイク処理などの際に、クライアント装置200−1の通信環境情報送信部210が通信環境の情報を送信する(S200)。サービス提供装置100の通信環境情報取得部110は。それら送信された情報も含め、クライアント装置200−1の通信環境の情報を取得する(S100)。   In the procedure of FIG. 6, first, during a handshake process when a certain client device 200-1 starts communication with the service providing device 100, the communication environment information transmission unit 210 of the client device 200-1 Information is transmitted (S200). The communication environment information acquisition unit 110 of the service providing apparatus 100. The communication environment information of the client device 200-1 including the transmitted information is acquired (S100).

その後、クライアント装置200−1が、ログレベル変更条件を満たすトリガ事象を検知し(S202)、そのトリガに応じたログレベル変更指示を送信し(S206)、サービス提供装置100がその変更指示を受信する(S102)。これに応じ、サービス提供装置100は、自装置におけるクライアント装置200−1についてのログレベルをその変更指示に応じて変更(S104)すると共に、クライアント装置200−1の通信環境に「対応する通信環境」でサービス提供装置100と通信する他のクライアント装置(例えば図示のクライアント装置200−2)に対するログレベル変更指示の伝播処理(S106〜S110)を行う。   Thereafter, the client apparatus 200-1 detects a trigger event that satisfies the log level change condition (S202), transmits a log level change instruction corresponding to the trigger (S206), and the service providing apparatus 100 receives the change instruction. (S102). In response to this, the service providing apparatus 100 changes the log level of the client apparatus 200-1 in its own apparatus according to the change instruction (S104), and “corresponding communication environment to the communication environment of the client apparatus 200-1”. The log level change instruction propagation process (S106 to S110) to other client apparatuses (for example, the client apparatus 200-2 shown in the figure) communicating with the service providing apparatus 100 is performed.

すなわち、まずサービス提供装置100のレベル変更伝播処理部114は、通信環境情報保持部112を参照することで、そのクライアント装置200−1の通信環境を求め、その通信環境と対応する通信環境で通信を行っている他のクライアント装置200を抽出する(S106)。ここでは、例えば、通信環境情報保持部112に保持される各通信環境の項目のうち、サービス提供装置100の設定においてあらかじめ考慮対象として選択されている1以上の項目の値がクライアント装置200−1と一致する他のクライアント装置200を求める。例えば、クライアント装置200−2は、図示省略したハンドシェイク時等にサービス提供装置100の通信環境情報保持部112に登録されている通信環境が、クライアント装置200−1の通信環境と「対応する」と判定され、S106で抽出される。   That is, first, the level change propagation processing unit 114 of the service providing apparatus 100 obtains the communication environment of the client device 200-1 by referring to the communication environment information holding unit 112, and communicates in the communication environment corresponding to the communication environment. The other client device 200 performing the process is extracted (S106). Here, for example, among the items of each communication environment held in the communication environment information holding unit 112, the values of one or more items selected as considerations in advance in the setting of the service providing apparatus 100 are the client apparatus 200-1. Other client devices 200 that match are obtained. For example, in the client apparatus 200-2, the communication environment registered in the communication environment information holding unit 112 of the service providing apparatus 100 at the time of handshake (not shown) “corresponds” to the communication environment of the client apparatus 200-1. And is extracted in S106.

そして、ログレベル変更部104が、ログ記録部102が参照する各クライアント装置200についてのログレベルのうち、S106で抽出した各クライアント装置200についてのログレベルを、S102で取得したログレベル変更指示により特定される変更先のログレベルに変更する(S108)。また、レベル変更伝播処理部114が、その変更先ログレベルを特定する特定情報を含んだログレベル変更指示を、S106で抽出した各クライアント装置200に送信する(S110)。   Then, the log level changing unit 104 determines the log level for each client device 200 extracted in S106 among the log levels for each client device 200 referred to by the log recording unit 102 in accordance with the log level changing instruction acquired in S102. The log level is changed to the specified change destination log level (S108). Further, the level change propagation processing unit 114 transmits a log level change instruction including specific information for specifying the change destination log level to each client device 200 extracted in S106 (S110).

S110で送信されたログレベル変更指示を受信(S302)したクライアント装置200−2は、そのログレベル変更指示に含まれる特定情報から変更先のログレベルを特定し、自装置のログレベルをその変更先のログレベルへと変更する(S304)。   Upon receiving the log level change instruction transmitted in S110 (S302), the client apparatus 200-2 specifies the log level of the change destination from the specific information included in the log level change instruction, and changes the log level of the own apparatus. The log level is changed to the previous log level (S304).

以上の、図6を参照して説明した例では、ログレベル変更指示の送信元のクライアント装置200−1と「対応する通信環境」のクライアント装置200−2についてのログレベルを、そのログレベル変更指示により特定されるログレベルと同じレベルに変更した(S108、S110,S304)が、必ずしも同じレベルに変更する必要はない。「対応する通信環境」のクライアント装置200−2ではまだクライアント装置200−1と同じ異常が発生していないので、クライアント装置200−1が送信したログレベル変更指示に対応する変更先のログレベルよりも、変更の程度を少なくすることも考えられる。例えば、異常が生じたクライアント装置200−1では、ログレベルを例えば5段階のうちの通常値「5」(最重要の事象のみ記録)から「2」(比較的軽微な事象まで記録)に変更するのに対し、この変更が伝播される他のクライアント装置200−2では、ログレベルを「3」に変更するようにしてもよい。   In the example described above with reference to FIG. 6, the log level of the client device 200-1 that has transmitted the log level change instruction and the client device 200-2 of “corresponding communication environment” are changed. Although the log level specified by the instruction is changed to the same level (S108, S110, S304), it is not always necessary to change to the same level. Since the same abnormality as the client apparatus 200-1 has not yet occurred in the client apparatus 200-2 of “corresponding communication environment”, the log level of the change destination corresponding to the log level change instruction transmitted by the client apparatus 200-1 However, it is also possible to reduce the degree of change. For example, in the client device 200-1 in which an abnormality has occurred, the log level is changed from, for example, the normal value “5” (recording only the most important event) out of 5 levels to “2” (recording up to a relatively minor event). On the other hand, the log level may be changed to “3” in the other client device 200-2 to which this change is propagated.

図6に示した手順では、1つのクライアント装置200からログレベル変更指示を受けただけで、その変更指示を通信環境が対応する他のクライアント装置200に伝播した。しかし、これでは反応が過敏に過ぎる場合がある。そこで、その変形例として、いくつかの「対応する通信環境」のクライアント装置200からログレベル変更指示を受けて初めて、「対応する通信環境」の他のクライアント装置200にログレベル変更指示を伝播してもよい。   In the procedure shown in FIG. 6, only when a log level change instruction is received from one client apparatus 200, the change instruction is propagated to another client apparatus 200 corresponding to the communication environment. However, this may be too sensitive. Therefore, as a modification thereof, the log level change instruction is propagated to the other client devices 200 of the “corresponding communication environment” only after receiving the log level change instructions from the client devices 200 of several “corresponding communication environments”. May be.

図7A及び図7Bに、この変形例におけるレベル変更伝播処理部114の処理手順の例を示す。図7Aは、クライアント装置200群から到来するログレベル変更指示の情報を集計する処理を示し、図7Bは、その集計により得られた情報に基づいてログレベル変更指示を伝播する処理の例を示す。   7A and 7B show an example of the processing procedure of the level change propagation processing unit 114 in this modification. FIG. 7A shows a process of counting log level change instruction information coming from the client device 200 group, and FIG. 7B shows an example of a process of propagating a log level change instruction based on the information obtained by the calculation. .

この例では、クライアント装置200が発するログレベル変更指示には、その変更指示を発する契機となったトリガの識別情報を含める。また、レベル変更伝播処理部114は、トリガ毎に集計用のデータベースを用意する。1つのトリガについてのデータベースは、各通信環境の項目が取り得る値ごとにカウンタを有する。例えば、「インターネット接続回線」という通信環境項目が、「A社 光回線」、「B社 3G回線」、「C社 LTE回線」の3つの値を取り得る場合、それら3つの値の各々についてのカウンタを有する。   In this example, the log level change instruction issued by the client device 200 includes the identification information of the trigger that triggered the change instruction. Further, the level change propagation processing unit 114 prepares a database for aggregation for each trigger. The database for one trigger has a counter for each possible value of each communication environment item. For example, when the communication environment item “Internet connection line” can take three values of “Company A optical line”, “Company B 3G line”, and “C company LTE line”, each of the three values. Has a counter.

図7Aに示すように、レベル変更伝播処理部114は、クライアント装置200からログレベル変更指示を受け取ると(S402)、ログ記録部102が参照するそのクライアント装置200についてのログレベルをその変更指示に応じて変更する(S404)と共に、そのログレベル変更指示に含まれるトリガに対応するデータベースに、そのクライアント装置200の通信環境の情報を反映させる(S406)。すなわち、S406では、そのデータベース内の各通信環境が取り得る値ごとのカウンタのうち、そのクライアント装置200の各通信環境についてのカウンタの値を1だけインクリメントする。このように、どの通信環境でそのトリガ事象が生じたのか、その実績を集計する。   As shown in FIG. 7A, when the level change propagation processing unit 114 receives a log level change instruction from the client device 200 (S402), the log level for the client device 200 referred to by the log recording unit 102 is used as the change instruction. In response to the change (S404), the communication environment information of the client device 200 is reflected in the database corresponding to the trigger included in the log level change instruction (S406). That is, in S406, the counter value for each communication environment of the client device 200 out of the counters for each value that can be taken by each communication environment in the database is incremented by one. In this way, the results of the communication environment in which the trigger event has occurred are tabulated.

また、レベル変更伝播処理部114は、図7Aの集計処理と並行して、例えば定期的に図7Bの処理を実行する。図7Bの処理では、各トリガに対応するデータベースの中から、カウント値があらかじめ定めた閾値以上となった通信環境の項目値があるかどうかを調べる(S412)。そのような項目値が1以上見つかれば、それら項目値の組合せに該当する通信環境のクライアント装置200を、通信環境情報保持部112から求める(S414)。そして、ログ記録部102が参照するそれら各クライアント装置200についてのログレベルを、それら項目値の組合せに該当するトリガに対応するログレベルへと変更する(S416)。また、それら抽出した各クライアント装置200に対して、そのトリガに対応するログレベルに変更することを指示するログレベル変更指示を送信する(S418)。   Further, the level change propagation processing unit 114 executes the processing of FIG. 7B periodically, for example, in parallel with the aggregation processing of FIG. 7A. In the process of FIG. 7B, it is checked whether there is a communication environment item value whose count value is equal to or greater than a predetermined threshold value from the database corresponding to each trigger (S412). If one or more of such item values are found, the client device 200 having a communication environment corresponding to the combination of the item values is obtained from the communication environment information holding unit 112 (S414). Then, the log level for each of the client devices 200 referred to by the log recording unit 102 is changed to a log level corresponding to the trigger corresponding to the combination of the item values (S416). Further, a log level change instruction for instructing to change to the log level corresponding to the trigger is transmitted to each of the extracted client devices 200 (S418).

例えば、S412にて「認証の第2ステップが失敗」というトリガについてのデータベースにおいて、「インターネット接続回線」と言う項目の「C社 LTE回線」と言う値についてのカウント値と、「OS」という項目の「Android(商標) 4.2」と言う値についてのカウント値とが閾値以上となっていることが分かった場合、S414では、「C社 LTE回線」と「Android(商標) 4.2」の組合せを有するクライアント装置200を抽出する。そして、S416では、ログ記録部102が参照する、それら抽出した各クライアント装置200についてのログレベルを、「認証の第2ステップが失敗」というトリガに対応するレベルへと変更する。また、S418では、それら抽出した各クライアント装置200に対して、そのトリガに対応するレベルへの変更すべき旨のログレベル変更指示を送信する。   For example, in S412, in the database for the trigger “second step of authentication failed”, the count value for the value “C company LTE line” of the item “Internet connection line” and the item “OS” If it is found that the count value for the value of “Android (trademark) 4.2” is equal to or greater than the threshold value, in S414, “Company C LTE line” and “Android (trademark) 4.2” Are extracted. In step S <b> 416, the log level for each extracted client device 200 referred to by the log recording unit 102 is changed to a level corresponding to the trigger “second step of authentication failed”. In step S418, a log level change instruction indicating that the level should be changed to the level corresponding to the trigger is transmitted to each of the extracted client devices 200.

図7A及び図7Bの例はあくまで一例に過ぎない。この変形例は、個別のクライアント装置200の固有の事情ではなく、「対応する通信環境」(例えば通信環境の項目の値が一致する)のクライアント装置200一般で異常が発生しやすいと見なせる程度の数のログレベル変更指示が集まった場合に、ログレベル変更指示をその「対応する通信環境」(その通信環境項目値を持つ)の他のクライアント装置200に伝播するものであり、この考え方に沿った範囲内で様々な変形が可能である。   The examples in FIGS. 7A and 7B are merely examples. This modification is not unique to the individual client device 200, but to the extent that an abnormality is likely to occur in the client device 200 in general in the “corresponding communication environment” (for example, the values of the items of the communication environment match). When a number of log level change instructions are collected, the log level change instruction is propagated to other client devices 200 of the “corresponding communication environment” (having the communication environment item value). Various modifications are possible within the specified range.

第2の実施形態の更なる変形例を説明する。   A further modification of the second embodiment will be described.

ログレベルを下げると記録するログ情報の量が増える。したがって、S106(図6参照)又はS414で抽出したクライアント装置200の数がきわめて多くなった場合、サービス提供装置100のログ記録部102が記録すべきログ情報の量が膨大なものとなり、記録や、記録したログ情報の解析が困難になる場合が考えられる。この変形例では、そのような場合に対処する方法を提案する。   Lowering the log level increases the amount of log information to be recorded. Therefore, when the number of client devices 200 extracted in S106 (see FIG. 6) or S414 becomes extremely large, the amount of log information to be recorded by the log recording unit 102 of the service providing device 100 becomes enormous, It may be difficult to analyze the recorded log information. In this modification, a method for dealing with such a case is proposed.

この変形例におけるレベル変更伝播処理部114の処理手順の一例を図8に示す。図8の手順は、S414の後の処理が図7Bの手順と異なる。図8の手順では、S414でカウント値が閾値以上の項目値の組合せに該当するクライアント装置200を抽出すると、次に、抽出したクライアント装置200の数があらかじめ定めた閾値より多いかどうかを判定する(S420)。ログ記録部102は、その閾値以下の数のクライアントであれば、同時にログ情報を記録できるものとする。なお、その閾値は、トリガに対応する変更先のログレベルに応じて定める。ログレベルが変われば、記録すべきログ情報の詳細さ、ひいてはログ情報の量が変わってくるからである。   An example of the processing procedure of the level change propagation processing unit 114 in this modification is shown in FIG. The procedure in FIG. 8 is different from the procedure in FIG. 7B in the processing after S414. In the procedure of FIG. 8, when the client device 200 corresponding to the combination of item values whose count value is equal to or greater than the threshold value is extracted in S414, it is next determined whether or not the number of extracted client devices 200 is greater than a predetermined threshold value. (S420). The log recording unit 102 can record log information at the same time if the number of clients is equal to or less than the threshold. The threshold is determined according to the log level of the change destination corresponding to the trigger. This is because if the log level changes, the details of the log information to be recorded, and hence the amount of log information, will change.

S420で、抽出されたクライアント装置200の数が閾値より多いと判定した場合、それら抽出されたクライアント装置200を、各々の構成メンバの数が閾値以下である複数のグループにグループ分けする(S422)。そして、1グループずつ、ログレベルを変更して調査を行う(S424〜S436)。   If it is determined in S420 that the number of extracted client devices 200 is greater than the threshold value, the extracted client devices 200 are grouped into a plurality of groups in which the number of constituent members is equal to or less than the threshold value (S422). . Then, investigation is performed by changing the log level for each group (S424 to S436).

すなわち、まずそれらグループのうちの未だ処理していないものの中から、調査対象を1つ選ぶ(S424)。そして、ログ記録部102が参照する、その調査対象のグループ内の各クライアント装置200についてのログレベルを、そのトリガに対応する値に変更する(S428)と共に、そのグループ内の各クライアント装置200に対して、そのトリガに対応するログレベルへの変更指示を送信する(S430)。そして、あらかじめ定められた長さの時間(調査期間)が経過するのを待ち(S432)、その時間が経過すると、そのグループの各クライアント装置200から、その期間に記録したログ情報を取得する(S434)。取得したログ情報は解析のために用いられる。そして、S422でできた全グループについて調査が完了したかどうかを判定し(S436)、未だ調査をしていないグループがあれば、S424に戻る。なお、S414で抽出されたクライアント装置200の数が閾値以下であるとS420で判定した場合、それら抽出したクライアント装置200全部を1つのグループとし、S428以下の処理を行えばよい。   That is, first, one survey target is selected from those groups not yet processed (S424). Then, the log level of each client device 200 in the group to be investigated, which is referred to by the log recording unit 102, is changed to a value corresponding to the trigger (S428), and each client device 200 in the group is changed to a value corresponding to the trigger. On the other hand, an instruction to change to the log level corresponding to the trigger is transmitted (S430). Then, it waits for a predetermined length of time (investigation period) to elapse (S432), and when that time elapses, the log information recorded in that period is acquired from each client device 200 of that group ( S434). The acquired log information is used for analysis. Then, it is determined whether or not the survey has been completed for all the groups created in S422 (S436), and if there is a group that has not been investigated yet, the process returns to S424. If it is determined in S420 that the number of client devices 200 extracted in S414 is equal to or smaller than the threshold value, all the extracted client devices 200 may be set as one group, and the processing in S428 and subsequent steps may be performed.

以上に説明した第2の実施形態及びその変形例では、1つのサービス提供装置100が複数のクライアント装置200に対してサービスを提供するという1つのシステムを例に取り、そのシステム内の互いに「対応する通信環境」のクライアント装置200間でログレベルの変更を伝播させる仕組みを説明した。   In the second embodiment described above and the modification thereof, a single system in which one service providing apparatus 100 provides services to a plurality of client apparatuses 200 is taken as an example, and “corresponding to each other in the system” The mechanism for propagating the log level change between the client apparatuses 200 in the “communication environment” has been described.

ここで、図9に例示するように、第2の実施形態のシステムが複数存在し、それら各システムのサービス提供装置100を1つの管理装置500からネットワーク経由で管理するといった大きなシステムも考えられる。例えば、図2に例示したVPNゲートウェイ150を用いた社内LAN400へのVPN経由でのリモートアクセスシステムを多くの組織に個別に提供し、管理運営している管理会社が存在する場合などである。   Here, as illustrated in FIG. 9, there may be a large system in which a plurality of systems according to the second embodiment exist, and the service providing apparatus 100 of each system is managed from a single management apparatus 500 via a network. For example, there is a case where there is a management company that provides a remote access system via VPN to the in-house LAN 400 using the VPN gateway 150 illustrated in FIG.

このような場合に、その管理会社の管理装置からそれら各組織に設置したVPNゲートウェイ150の動作状況を監視し、必要に応じて遠隔操作で不具合の修正を行ったり、ソフトウエアの更新を行ったりすることが考えられる。   In such a case, the operation status of the VPN gateway 150 installed in each organization is monitored from the management device of the management company, and if necessary, the trouble can be corrected remotely or the software can be updated. It is possible to do.

このような大規模なシステムにおいて、ある組織のサービス提供装置100がその組織内のクライアント装置200からログレベル変更指示を受けた場合に、そのサービス提供装置100から上述の管理装置500にその旨を通知し、管理装置500を介して他のサービス提供装置に対してそのログレベルの変更を伝播することも考えられる。すなわち、ある組織のシステム内のあるクライアント装置200にログレベルの変更が生じた場合に、管理装置500を介することで、その変更に合わせて、他の組織(システム)内のそのクライアント装置200と「対応する通信環境」のクライアント装置200のログレベルを変更するのである。以下、このように管理装置500を介して別のサービス提供装置100、及びこのサービス提供装置100がサービスを提供するクライアント装置200群にログレベルの変更を伝播する変形例を説明する。   In such a large-scale system, when a service providing apparatus 100 of a certain organization receives a log level change instruction from the client apparatus 200 in the organization, the service providing apparatus 100 informs the management apparatus 500 described above. It is also conceivable that the log level change is propagated to other service providing apparatuses via the management apparatus 500. That is, when a log level change occurs in a certain client device 200 in a system of a certain organization, the client device 200 in another organization (system) can be connected to the client device 200 in another organization (system) via the management device 500. The log level of the client device 200 of “corresponding communication environment” is changed. Hereinafter, a modified example in which the log level change is propagated to another service providing apparatus 100 and the client apparatus 200 group provided with the service by the service providing apparatus 100 through the management apparatus 500 will be described.

この変形例では、サービス提供装置100は、クライアント装置200からログレベル変更指示を受け取ると、前述の第2の実施形態等の処理に加え、そのログレベル変更指示を管理装置500に転送する処理を行う。このとき、通信環境情報保持部112(図4参照)から求めたそのクライアント装置200の通信環境の情報を、その変更指示と対応づけて管理装置500に送信する。ここではログレベル変更指示を転送すると記載したが、これはその変更指示のデータをそのまま転送する場合に限らない。その変更指示が示すログレベルの変更内容を特定する情報を送信すればよい。管理装置500は、いずれかのサービス提供装置100からログレベル転送指示(又はそれと同様の内容を含む情報)、及びクライアント装置200の通信環境の情報を取得すると、それらの情報を他のサービス提供装置100に転送する。これらの情報の転送を受けた他のサービス提供装置100は、それらの情報に基づき、自分のサービス提供先のクライアント装置200からログレベル変更指示を受けた場合と同様の処理を実行する。すなわち、自分のサービス提供先のクライアント装置200のうち、転送された情報に含まれる通信環境と対応する通信環境の各クライアント装置200に対し、そのログレベル変更指示に対応するログレベルへの変更を指示する。   In this modification, when the service providing apparatus 100 receives a log level change instruction from the client apparatus 200, the service providing apparatus 100 performs a process of transferring the log level change instruction to the management apparatus 500 in addition to the processes of the second embodiment described above. Do. At this time, the communication environment information of the client device 200 obtained from the communication environment information holding unit 112 (see FIG. 4) is transmitted to the management device 500 in association with the change instruction. Here, it is described that the log level change instruction is transferred, but this is not limited to the case where the data of the change instruction is transferred as it is. Information specifying the change content of the log level indicated by the change instruction may be transmitted. When the management apparatus 500 acquires the log level transfer instruction (or information including the same contents) and the communication environment information of the client apparatus 200 from any of the service providing apparatuses 100, the management apparatus 500 uses the information as another service providing apparatus. Forward to 100. The other service providing apparatus 100 that has received the transfer of the information performs the same processing as when receiving a log level change instruction from the client apparatus 200 of the service providing destination based on the information. That is, among the client devices 200 of the service providing destination, each client device 200 in the communication environment corresponding to the communication environment included in the transferred information is changed to the log level corresponding to the log level change instruction. Instruct.

以上に例示したサービス提供装置100及びクライアント装置200は、例えば、汎用のコンピュータに当該装置の各機能モジュールの処理を表すプログラムを実行させることにより実現してもよい。ここで言うコンピュータは、例えば、ハードウエアとして、CPU等のマイクロプロセッサ、ランダムアクセスメモリ(RAM)およびリードオンリメモリ(ROM)等のメモリ(一次記憶)、HDD(ハードディスクドライブ)やSSD(ソリッドステートドライブ)、フラッシュメモリ等の二次記憶を制御する二次記憶コントローラ、各種I/O(入出力)インタフェース、無線又は有線のネットワークとの接続のための制御を行うネットワークインタフェース等が、たとえばバスを介して接続された回路構成を有する。また、そのバスに対し、例えばI/Oインタフェース経由で、CDやDVD、ブルーレイディスクなどの可搬型ディスク記録媒体に対する読み取り及び/又は書き込みのためのディスクドライブ、フラッシュメモリなどの各種規格の可搬型の不揮発性記録媒体に対する読み取り及び/又は書き込みのためのメモリリーダライタ、などが接続されてもよい。上に例示した各機能モジュールの処理内容が記述されたプログラムがCDやDVD等の記録媒体を経由して、又はネットワーク等の通信手段経由で、フラッシュメモリ等の二次記憶装置に保存され、コンピュータにインストールされる。二次記憶装置に記憶されたプログラムがRAMに読み出されCPU等のマイクロプロセッサにより実行されることにより、上に例示した機能モジュール群が実現される。   The service providing apparatus 100 and the client apparatus 200 exemplified above may be realized, for example, by causing a general-purpose computer to execute a program representing processing of each functional module of the apparatus. The computer referred to here includes, for example, a microprocessor such as a CPU, a memory (primary storage) such as a random access memory (RAM) and a read only memory (ROM), an HDD (hard disk drive), and an SSD (solid state drive). ), A secondary storage controller for controlling secondary storage such as a flash memory, various I / O (input / output) interfaces, a network interface for controlling connection to a wireless or wired network, etc. via, for example, a bus Connected to each other. In addition, various standards such as a disk drive and a flash memory for reading and / or writing to a portable disk recording medium such as a CD, a DVD, and a Blu-ray disk are connected to the bus via, for example, an I / O interface. A memory reader / writer for reading from and / or writing to the nonvolatile recording medium may be connected. A program in which the processing content of each functional module exemplified above is described is stored in a secondary storage device such as a flash memory via a recording medium such as a CD or DVD, or via a communication means such as a network, and the computer To be installed. The program stored in the secondary storage device is read into the RAM and executed by a microprocessor such as a CPU, thereby realizing the functional module group exemplified above.

100 サービス提供装置、102 ログ記録部、104 ログレベル変更部、106 変更指示送信部、108 変更指示受信部、110 通信環境情報取得部、112 通信環境情報保持部、114 レベル変更伝播処理部、150 ゲートウェイ、200 クライアント装置、202 ログ記録部、204 ログレベル変更部、206 変更指示送信部、208 変更指示受信部、210 通信環境情報送信部、300 ネットワーク。
DESCRIPTION OF SYMBOLS 100 Service provision apparatus, 102 Log recording part, 104 Log level change part, 106 Change instruction transmission part, 108 Change instruction reception part, 110 Communication environment information acquisition part, 112 Communication environment information holding part, 114 Level change propagation process part, 150 Gateway, 200 client device, 202 log recording unit, 204 log level changing unit, 206 change instruction transmitting unit, 208 change instruction receiving unit, 210 communication environment information transmitting unit, 300 network.

Claims (6)

第1種の情報処理装置と、前記第1種の情報処理装置と通信する第2種の情報処理装置と、を有し、
前記第1種の情報処理装置は、
前記第2種の情報処理装置との通信を伴う処理に関する、設定されたログレベル以上のレベルのログ情報を記録する第1のログ記録手段と、
前記第2種の情報処理装置との通信を伴う処理においてログレベル変更条件を満たす事象が生じた場合に、当該事象に対応する変更先ログレベルを特定する特定情報を含むログレベル変更指示を前記第2種の情報処理装置に送信する変更指示送信手段と、
を有し、
前記第2種の情報処理装置は、
前記第1種の情報処理装置との通信を伴う処理に関する、設定されたログレベル以上のレベルのログ情報を記録する第2のログ記録手段と、
前記第1種の情報処理装置から前記ログレベル変更指示を受信した場合に、前記第2のログ記録手段の前記ログレベルを、当該ログレベル変更指示に含まれる前記特定情報に従って前記変更先ログレベルに変更するレベル変更手段と、
複数の前記第1種の情報処理装置の各々について、当該第1種の情報処理装置の通信環境を表す通信環境情報を取得する取得手段と、
いずれかの前記第1種の情報処理装置から前記ログレベル変更指示を受信した場合に、前記取得手段が取得した当該ログレベル変更指示の送信元の前記第1種の情報処理装置についての前記通信環境情報が表す通信環境に対応する通信環境の他の前記第1種の情報処理装置に対して、当該ログレベル変更指示に応じたログレベルへの変更を指示する第2のログレベル変更指示を送信する送信手段と、
を有する、情報処理システム。
A first type information processing device and a second type information processing device communicating with the first type information processing device;
The information processing apparatus of the first type is
First log recording means for recording log information of a level equal to or higher than a set log level related to processing involving communication with the second type information processing apparatus;
When an event that satisfies a log level change condition occurs in a process involving communication with the second type of information processing apparatus, a log level change instruction including specific information that specifies a change destination log level corresponding to the event Change instruction transmission means for transmitting to the second type information processing apparatus;
Have
The information processing apparatus of the second type
Second log recording means for recording log information of a level equal to or higher than a set log level related to processing involving communication with the first type information processing apparatus;
When the log level change instruction is received from the first type information processing apparatus, the log level of the second log recording unit is changed to the change destination log level according to the specific information included in the log level change instruction. Level change means to change to,
For each of the plurality of first type information processing apparatuses, an acquisition unit that acquires communication environment information representing a communication environment of the first type information processing apparatus;
When the log level change instruction is received from any one of the first type information processing apparatuses, the communication about the first type information processing apparatus that is the transmission source of the log level change instruction acquired by the acquisition unit A second log level change instruction that instructs the other information processing apparatus of the first communication environment corresponding to the communication environment represented by the environment information to change to the log level according to the log level change instruction. A transmission means for transmitting;
An information processing system.
前記第2種の情報処理装置の前記送信手段は、あらかじめ定めた閾値以上の数の、互いに対応する通信環境の前記第1種の情報処理装置から前記ログレベル変更指示を受信した場合に、当該通信環境に該当する他の前記第1種の情報処理装置に対して前記第2のログレベル変更指示を送信する、ことを特徴とする請求項に記載の情報処理システム。 When the transmission means of the second type information processing apparatus receives the log level change instruction from the first type information processing apparatus of the communication environment corresponding to the number of predetermined thresholds or more, The information processing system according to claim 1 , wherein the second log level change instruction is transmitted to the other first type information processing apparatus corresponding to a communication environment. 複数の前記第2種の情報処理装置と通信する第3種の情報処理装置を更に有し、
前記第2種の情報処理装置は、
いずれかの前記第1種の情報処理装置から前記ログレベル変更指示を受信した場合に、前記第3種の情報処理装置に対して、当該第1種の情報処理装置の通信環境情報と対応づけてログレベル変更伝播依頼を送信する手段と、
前記第3種の情報処理装置から、通信環境情報に対応づけられたログレベル変更伝播依頼を受信した場合に、当該第2種の情報処理装置と通信する前記第1種の情報処理装置のうち、当該通信環境情報に対応する前記第1種の情報処理装置に対し、当該ログレベル変更伝播依頼に対応するログレベルへの変更指示を送信する手段と、
を有し、
前記第3種の情報処理装置は、いずれかの前記第2種の情報処理装置から前記ログレベル変更伝播依頼を受信した場合、当該ログレベル変更伝播依頼を他の前記第2種の情報処理装置に送信する手段、を有することを特徴とする請求項1又は2に記載の情報処理システム。
A third type information processing apparatus that communicates with the plurality of second type information processing apparatuses;
The information processing apparatus of the second type
When the log level change instruction is received from any one of the first type information processing devices, the third type information processing device is associated with the communication environment information of the first type information processing device. Means for sending a log level change propagation request,
Of the first type information processing devices that communicate with the second type information processing device when receiving a log level change propagation request associated with the communication environment information from the third type information processing device Means for transmitting a change instruction to the log level corresponding to the log level change propagation request to the first type information processing apparatus corresponding to the communication environment information;
Have
When the third type information processing apparatus receives the log level change propagation request from any of the second type information processing apparatuses, the third type information processing apparatus sends the log level change propagation request to the other second type information processing apparatus. the information processing system according to claim 1 or 2, characterized in that it comprises means, to be sent to.
相手の情報処理装置と通信するコンピュータが実行するプログラムであって、
前記相手の情報処理装置は、前記コンピュータとの通信を伴う処理に関する、設定されたログレベル以上のレベルのログ情報を記録すると共に、前記コンピュータとの通信を伴う処理においてログレベル変更条件を満たす事象が生じた場合に、当該事象に対応する変更先ログレベルを特定する特定情報を含むログレベル変更指示を前記コンピュータに送信するものであり、
前記プログラムは、前記コンピュータを、
前記相手の情報処理装置との通信を伴う処理に関する、設定されたログレベル以上のレベルのログ情報を記録するログ記録手段、
前記相手の情報処理装置から前記ログレベル変更指示を受信した場合に、前記ログ記録手段の前記ログレベルを、当該ログレベル変更指示に含まれる前記特定情報に従って前記変更先ログレベルに変更するレベル変更手段、
複数の前記相手の情報処理装置の各々について、当該相手の情報処理装置の通信環境を表す通信環境情報を取得する取得手段、
いずれかの前記相手の情報処理装置から前記ログレベル変更指示を受信した場合に、前記取得手段が取得した当該ログレベル変更指示の送信元の前記相手の情報処理装置についての前記通信環境情報が表す通信環境に対応する通信環境の他の前記相手の情報処理装置に対して、当該ログレベル変更指示に応じたログレベルへの変更を指示する第2のログレベル変更指示を送信する送信手段、
として機能させるためのものである、プログラム。
A program executed by a computer that communicates with a partner information processing apparatus,
The partner information processing apparatus records log information of a level higher than a set log level related to processing involving communication with the computer, and an event that satisfies a log level change condition in processing involving communication with the computer When the error occurs, a log level change instruction including specific information for specifying a change destination log level corresponding to the event is transmitted to the computer,
The program causes the computer to
To processing involving communication with the information processing apparatus of the other party, the log recording unit that records log information of the set log level or higher,
Level change for changing the log level of the log recording means to the change-destination log level according to the specific information included in the log level change instruction when the log level change instruction is received from the partner information processing apparatus means,
For each of the plurality of partner information processing devices, an acquisition unit that acquires communication environment information representing a communication environment of the partner information processing device;
When the log level change instruction is received from any one of the other information processing apparatuses, the communication environment information about the other information processing apparatus that is the transmission source of the log level change instruction acquired by the acquisition unit is represented. A transmission means for transmitting a second log level change instruction for instructing the other information processing apparatus in the communication environment corresponding to the communication environment to change to the log level according to the log level change instruction;
A program that is intended to function as
前記送信手段は、あらかじめ定めた閾値以上の数の、互いに対応する通信環境の前記相手の情報処理装置から前記ログレベル変更指示を受信した場合に、当該通信環境に該当する他の前記相手の情報処理装置に対して前記第2のログレベル変更指示を送信する、ことを特徴とする請求項に記載のプログラム。 When the transmission means receives the log level change instruction from the information processing apparatus of the counterpart communication environment corresponding to the predetermined number of thresholds or more, information of the other counterpart corresponding to the communication environment The program according to claim 4 , wherein the second log level change instruction is transmitted to a processing device. 相手情報処理装置と通信する情報処理装置であって、
前記相手情報処理装置は、前記情報処理装置との通信を伴う処理に関する、設定されたログレベル以上のレベルのログ情報を記録すると共に、前記情報処理装置との通信を伴う処理においてログレベル変更条件を満たす事象が生じた場合に、当該事象に対応する変更先ログレベルを特定する特定情報を含むログレベル変更指示を前記情報処理装置に送信するものであり、
前記情報処理装置は、
前記手情報処理装置との通信を伴う処理に関する、設定されたログレベル以上のレベルのログ情報を記録するログ記録手段と、
前記相手情報処理装置から前記ログレベル変更指示を受信した場合に、前記ログ記録手段の前記ログレベルを、当該ログレベル変更指示に含まれる前記特定情報に従って前記変更先ログレベルに変更するレベル変更手段と、
複数の前記相手情報処理装置の各々について、当該相手情報処理装置の通信環境を表す通信環境情報を取得する取得手段と、
いずれかの前記相手情報処理装置から前記ログレベル変更指示を受信した場合に、前記取得手段が取得した当該ログレベル変更指示の送信元の前記相手情報処理装置についての前記通信環境情報が表す通信環境に対応する通信環境の他の前記相手情報処理装置に対して、当該ログレベル変更指示に応じたログレベルへの変更を指示する第2のログレベル変更指示を送信する送信手段と、
を有する情報処理装置。
An information processing apparatus that communicates with a partner information processing apparatus,
The counterpart information processing apparatus records log information of a level equal to or higher than a set log level related to a process involving communication with the information processing apparatus, and a log level change condition in the process involving communication with the information processing apparatus. When an event satisfying the condition occurs, a log level change instruction including specific information for specifying a change destination log level corresponding to the event is transmitted to the information processing apparatus,
The information processing apparatus includes:
A log recording unit that records related to the processing involving communication between the phase Tejo paper processing apparatus, log information of the set log level or higher,
Upon receiving the log level changing instruction from the phase Tejo paper processing apparatus, the level of changing the log level of the log recording unit, the change destination logging level in accordance with the specific information included in the logging level change instruction Change means,
For each of the plurality of partner information processing devices, an acquisition unit that acquires communication environment information representing a communication environment of the partner information processing device;
When the log level change instruction is received from any of the partner information processing apparatuses, the communication environment represented by the communication environment information about the partner information processing apparatus that is the transmission source of the log level change instruction acquired by the acquisition unit Transmitting means for transmitting a second log level change instruction for instructing the other information processing apparatus of the communication environment corresponding to the change to the log level according to the log level change instruction;
An information processing apparatus.
JP2014185341A 2014-09-11 2014-09-11 Information processing system, program, and information processing apparatus Active JP6488600B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2014185341A JP6488600B2 (en) 2014-09-11 2014-09-11 Information processing system, program, and information processing apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2014185341A JP6488600B2 (en) 2014-09-11 2014-09-11 Information processing system, program, and information processing apparatus

Publications (2)

Publication Number Publication Date
JP2016057971A JP2016057971A (en) 2016-04-21
JP6488600B2 true JP6488600B2 (en) 2019-03-27

Family

ID=55758639

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2014185341A Active JP6488600B2 (en) 2014-09-11 2014-09-11 Information processing system, program, and information processing apparatus

Country Status (1)

Country Link
JP (1) JP6488600B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6913206B2 (en) * 2016-08-25 2021-08-04 フォルシアクラリオン・エレクトロニクス株式会社 Log analysis method and log priority table management method
JP6920800B2 (en) * 2016-09-23 2021-08-18 東芝テック株式会社 Payment device, program and logging method

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005157727A (en) * 2003-11-26 2005-06-16 Hitachi Ltd Log processing method, and processing program and execution system of the same
JP5377094B2 (en) * 2009-06-09 2013-12-25 キヤノン株式会社 Communication control device

Also Published As

Publication number Publication date
JP2016057971A (en) 2016-04-21

Similar Documents

Publication Publication Date Title
US20210176143A1 (en) Monitoring wireless access point events
US8799709B2 (en) Snapshot management method, snapshot management apparatus, and computer-readable, non-transitory medium
US20130275800A1 (en) Systems and Methods for Providing Fault Detection and Management
JP6279938B2 (en) Connection management apparatus, communication system, connection management method and program
JP5865277B2 (en) Authentication switch or network system
US20110099273A1 (en) Monitoring apparatus, monitoring method, and a computer-readable recording medium storing a monitoring program
US20150256649A1 (en) Identification apparatus and identification method
JP5617304B2 (en) Switching device, information processing device, and fault notification control program
US9654491B2 (en) Network filtering apparatus and filtering method
JP2013222313A (en) Failure contact efficiency system
JP6488600B2 (en) Information processing system, program, and information processing apparatus
JP6233414B2 (en) Information processing apparatus, filtering system, filtering method, and filtering program
JP7047621B2 (en) Operation device and operation method
JP6612151B2 (en) Network equipment monitoring device
JP5484376B2 (en) Log collection automation device, log collection automation test system, and log collection control method
EP3607767B1 (en) Network fault discovery
CN111258845A (en) Detection of event storms
JP6926646B2 (en) Inter-operator batch service management device and inter-operator batch service management method
JP6222759B2 (en) Failure notification device, failure notification method and program
JP7395961B2 (en) Network management device, network management method, and network management program
JP7167749B2 (en) Information processing device, information processing system, and information processing program
JP6546017B2 (en) Communication apparatus, transmission method, and program
JP2016100816A (en) Virtual network management device and method
JP5851870B2 (en) Network monitoring system and network monitoring method
JP5826122B2 (en) Communications system

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20170905

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20180523

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20180619

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20180816

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20190211

R150 Certificate of patent or registration of utility model

Ref document number: 6488600

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

S533 Written request for registration of change of name

Free format text: JAPANESE INTERMEDIATE CODE: R313533

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350