JP4870192B2 - Log management system, mobile device, and log management method - Google Patents

Log management system, mobile device, and log management method Download PDF

Info

Publication number
JP4870192B2
JP4870192B2 JP2009109564A JP2009109564A JP4870192B2 JP 4870192 B2 JP4870192 B2 JP 4870192B2 JP 2009109564 A JP2009109564 A JP 2009109564A JP 2009109564 A JP2009109564 A JP 2009109564A JP 4870192 B2 JP4870192 B2 JP 4870192B2
Authority
JP
Japan
Prior art keywords
log
time stamp
plane
timer
processor
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP2009109564A
Other languages
Japanese (ja)
Other versions
JP2010257397A (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.)
NTT Docomo Inc
Original Assignee
NTT Docomo Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by NTT Docomo Inc filed Critical NTT Docomo Inc
Priority to JP2009109564A priority Critical patent/JP4870192B2/en
Publication of JP2010257397A publication Critical patent/JP2010257397A/en
Application granted granted Critical
Publication of JP4870192B2 publication Critical patent/JP4870192B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本発明は、互いに独立したタイマによりタイムスタンプが付された複数のログを管理するログ管理システム、移動機及びログ管理方法に関する。   The present invention relates to a log management system, a mobile device, and a log management method for managing a plurality of logs time-stamped by mutually independent timers.

携帯電話機などの移動機には、通信速度の高速化やサービス機能の拡張などのために、通信機能を実行する通信用CPU(Communication CPU:CCPU)と、各種アプリケーションプログラムを実行するアプリケーション用CPU(Application CPU:ACPU)という二種類のプロセッサを実装するものが多い(例えば下記特許文献1参照)。このうち、CCPUでは、呼やパケット接続の確立、維持、切断などを実行する制御プレーン(C−plane)に関する処理や、ユーザ間のデータ(パケット)通信を実行するユーザプレーン(U−plane)に関する処理を実行する。   Mobile devices such as mobile phones include communication CPUs (Communication CPUs: CCPUs) that execute communication functions and application CPUs that execute various application programs (for example, in order to increase communication speed and expand service functions). In many cases, two types of processors called Application CPU (ACPU) are mounted (for example, see Patent Document 1 below). Among these, the CCPU relates to processing related to a control plane (C-plane) for executing establishment, maintenance, and disconnection of calls and packet connections, and user plane (U-plane) for executing data (packet) communication between users. Execute the process.

高速なデータ通信を実現するためにCCPUには高い処理能力が要求されるが、その一方でCCPUはログ出力も行う必要があるので、CCPUには大きな負荷が掛かってしまう。その結果、通信速度の高速化とログ出力との両立が困難になる。そこで、ユーザプレーンに関するログ出力をACPUに実行させることで、CCPUの負荷を軽減する手法が開発された。   In order to realize high-speed data communication, the CCPU is required to have a high processing capability, but on the other hand, the CCPU also needs to perform log output, which places a heavy load on the CCPU. As a result, it is difficult to achieve both high communication speed and log output. Therefore, a method has been developed to reduce the load on the CCPU by causing the ACPU to execute log output related to the user plane.

特開2005−142981号公報JP 2005-142981 A

しかし、CCPU内のタイマとACPUのタイマとは常に同時刻を示すわけではないので、上記のようにログ出力機能を二つのプロセッサに分散させると、ユーザプレーンに関するログと制御プレーンに関するログとの間で時間的整合性が取れなくなる可能性がある。その結果、ログ解析などに支障をきたすおそれがある。   However, since the timer in the CCPU and the timer in the ACPU do not always indicate the same time, if the log output function is distributed to two processors as described above, the log between the user plane and the control plane It is possible that time consistency cannot be achieved. As a result, log analysis and the like may be hindered.

本発明は上記課題を解決するためになされたものであり、互いに独立したタイマによりタイムスタンプが付された複数のログ間の時間的整合性を取ることが可能なログ管理システム、移動機及びログ管理方法を提供することを目的とする。   The present invention has been made to solve the above-described problem, and is a log management system, a mobile device, and a log that can take time consistency between a plurality of logs time-stamped by independent timers. The purpose is to provide a management method.

本発明のログ管理システムは、第1のプロセッサと、第1のプロセッサとは独立した第2のプロセッサと、第1のタイマにより計時された第1のタイムスタンプを含む第1のログを生成する第1生成手段と、第1生成手段により生成された第1のログを記憶する第1記憶手段と、第1のタイマとは独立した第2のタイマにより計時された第2のタイムスタンプを含む第2のログを生成する第2生成手段と、第2生成手段により生成された第2のログを記憶する第2記憶手段と、第1生成手段及び第2生成手段に同じタイミングでログを生成させるためのダミーデータを、第1生成手段及び第2生成手段に出力する出力手段と、出力手段により出力されたダミーデータに応じて生成された第1のログを第1記憶手段から読み出すと共に、該ダミーデータに応じて生成された第2のログを第2記憶手段から読み出し、該第1のログに含まれる第1のタイムスタンプと該第2のログに含まれる第2のタイムスタンプとの差分を算出する算出手段と、第1記憶手段に記憶されている第1のログの第1のタイムスタンプ、又は第2記憶手段に記憶されている第2のログの第2のタイムスタンプに対して差分を加算又は減算することで、該第1のタイムスタンプ及び該第2のタイムスタンプのどちらか一方を他方に合わせて補正する補正手段と、を備え、第1のタイマ及び第1生成手段が第1のプロセッサの下で動作し、第2のタイマ及び第2生成手段が第2のプロセッサの下で動作するThe log management system according to the present invention generates a first log including a first processor, a second processor independent of the first processor, and a first time stamp measured by a first timer. First generation means, first storage means for storing the first log generated by the first generation means, and a second time stamp timed by a second timer independent of the first timer Second generation means for generating the second log, second storage means for storing the second log generated by the second generation means, and log generation at the same timing in the first generation means and the second generation means Output the dummy data to be output to the first generation unit and the second generation unit, the first log generated according to the dummy data output by the output unit from the first storage unit, The dami A second log generated according to the data is read from the second storage means, and a difference between the first time stamp included in the first log and the second time stamp included in the second log is calculated. The difference between the calculating means for calculating and the first time stamp of the first log stored in the first storage means or the second time stamp of the second log stored in the second storage means Correction means for correcting either one of the first time stamp and the second time stamp in accordance with the other by adding or subtracting the first time stamp and the first time generating means. The second timer and the second generation means operate under the second processor .

また、本発明のログ管理方法は、第1のプロセッサと、該第1のプロセッサとは独立した第2のプロセッサと、第1のタイマにより計時された第1のタイムスタンプを含む第1のログを生成する第1生成手段と、第1生成手段により生成された第1のログを記憶する第1記憶手段と、第1のタイマとは独立した第2のタイマにより計時された第2のタイムスタンプを含む第2のログを生成する第2生成手段と、第2生成手段により生成された第2のログを記憶する第2記憶手段と、を備えるログ管理システムにより実行されるログ管理方法であって、第1生成手段及び第2生成手段に同じタイミングでログを生成させるためのダミーデータを、第1生成手段及び第2生成手段に出力する出力ステップと、出力ステップにおいて出力されたダミーデータに応じて生成された第1のログを第1記憶手段から読み出すと共に、該ダミーデータに応じて生成された第2のログを第2記憶手段から読み出し、該第1のログに含まれる第1のタイムスタンプと該第2のログに含まれる第2のタイムスタンプとの差分を算出する算出ステップと、第1記憶手段に記憶されている第1のログの第1のタイムスタンプ、又は第2記憶手段に記憶されている第2のログの第2のタイムスタンプに対して差分を加算又は減算することで、該第1のタイムスタンプ及び該第2のタイムスタンプのどちらか一方を他方に合わせて補正する補正ステップと、を含み、第1のタイマ及び第1生成手段が第1のプロセッサの下で動作し、第2のタイマ及び第2生成手段が第2のプロセッサの下で動作する、ことを特徴とする。 The log management method of the present invention also includes a first log including a first processor, a second processor independent of the first processor, and a first time stamp measured by a first timer. The first generation means for generating the first time, the first storage means for storing the first log generated by the first generation means, and the second time measured by the second timer independent of the first timer A log management method executed by a log management system comprising: a second generation unit that generates a second log including a stamp; and a second storage unit that stores a second log generated by the second generation unit. An output step for outputting dummy data for causing the first generation unit and the second generation unit to generate a log at the same timing to the first generation unit and the second generation unit, and a dummy output in the output step The first log generated according to the data is read from the first storage means, and the second log generated according to the dummy data is read from the second storage means, and the first log included in the first log is included. A calculating step for calculating a difference between the first time stamp and the second time stamp included in the second log, and the first time stamp of the first log stored in the first storage means, or 2 By adding or subtracting the difference from the second time stamp of the second log stored in the storage means, one of the first time stamp and the second time stamp is changed to the other. combined look including the correction step, the correcting, the first timer and the first generating unit is operated under a first processor, a second timer and a second generating means operates under the second processor to, characterized in that To.

このようなログ管理システム及びログ管理方法によれば、互いに独立したタイマを用いる第1生成手段及び第2生成手段に向けてダミーデータが出力され、このダミーデータに応じて同じタイミングで第1のログ及び第2のログが記録される。続いて、同時に記録された二つのログのタイムスタンプの差分が算出され、その差分を用いて、どちらか一方のログのタイムスタンプが他方のログのタイムスタンプに合わせて補正される。これにより、これらのログの間の時間的整合性を取ることができる。   According to such a log management system and log management method, dummy data is output toward the first generation means and the second generation means that use timers independent of each other, and the first data is output at the same timing according to the dummy data. A log and a second log are recorded. Subsequently, the difference between the time stamps of the two logs recorded at the same time is calculated, and using the difference, the time stamp of one of the logs is corrected in accordance with the time stamp of the other log. Thereby, the time consistency between these logs can be taken.

本発明の移動機は、上記ログ管理システムを備え第1のプロセッサが通信機能を実行し、第1のプロセッサ制御プレーンに関する処理とユーザプレーンに関する処理とを実行し第1のログ制御プレーン及びユーザプレーンのどちらか一方に関するログを含み、第2のログ他方のプレーンに関するログを含む。 Moving machine of the present invention includes the log management system, the first processor performs the communication function, the first processor performs the process relating to the processing and user plane related to the control plane, the first log control The log relating to one of the plane and the user plane is included, and the second log includes the log relating to the other plane.

このような移動機では、第1のプロセッサにおいて制御プレーンに関する処理とユーザプレーンに関する処理の双方が実行されるが、一方のプレーンに関するログの出力は第2のプロセッサで実行される。すなわち、第1のプロセッサに掛かる処理の負荷を軽減するためにログ出力機能が二つのプロセッサに分散される。このような場合でも、互いに独立したタイマを用いる第1生成手段及び第2生成手段に向けてダミーデータが出力され、このダミーデータに応じて同じタイミングで第1のログ及び第2のログが記録される。そして、同時に記録された二つのログのタイムスタンプの差分が算出され、その差分を用いて、どちらか一方のログのタイムスタンプが他方のログのタイムスタンプに合わせて補正される。これにより、第1のプロセッサに掛かる処理の負荷を軽減しつつ、二つのログの間の時間的整合性を取ることができる。   In such a mobile device, both the processing related to the control plane and the processing related to the user plane are executed in the first processor, but the log output related to one plane is executed in the second processor. In other words, the log output function is distributed to the two processors in order to reduce the processing load on the first processor. Even in such a case, dummy data is output to the first generation unit and the second generation unit that use timers independent from each other, and the first log and the second log are recorded at the same timing according to the dummy data. Is done. Then, the difference between the time stamps of the two logs recorded at the same time is calculated, and using the difference, the time stamp of one of the logs is corrected in accordance with the time stamp of the other log. As a result, it is possible to achieve temporal consistency between the two logs while reducing the processing load on the first processor.

このようなログ管理システム、移動機及びログ管理方法によれば、互いに独立したタイマを備える二つのログ生成手段において同じタイミングでログが生成され、それら二つのログのタイムスタンプの差分を用いて、いずれか一方のログのタイムスタンプが補正されるので、ログ間の時間的整合性を取ることができる。   According to such a log management system, mobile device, and log management method, logs are generated at the same timing in two log generation means having timers independent from each other, and using the difference between the time stamps of the two logs, Since the time stamp of one of the logs is corrected, temporal consistency between logs can be achieved.

実施形態に係る移動機の機能構成を示す図である。It is a figure which shows the function structure of the moving apparatus which concerns on embodiment. 図1に示す移動機のハードウェア構成を示す図である。It is a figure which shows the hardware constitutions of the moving apparatus shown in FIG. タイムスタンプ補正前のC−planeログ及びU−planeログを示す図である。It is a figure which shows the C-plane log and U-plane log before time stamp correction | amendment. タイムスタンプ補正後のC−planeログ及びU−planeログを示す図である。It is a figure which shows the C-plane log and U-plane log after time stamp correction | amendment. 図1に示す移動機の動作を示すフローチャートである。It is a flowchart which shows operation | movement of the moving apparatus shown in FIG.

以下、添付図面を参照しながら本発明の実施形態を詳細に説明する。本実施形態では、本発明に係るログ管理システムを移動機に適用する。なお、図面の説明において同一又は同等の要素には同一の符号を付し、重複する説明を省略する。   Hereinafter, embodiments of the present invention will be described in detail with reference to the accompanying drawings. In this embodiment, the log management system according to the present invention is applied to a mobile device. In the description of the drawings, the same or equivalent elements are denoted by the same reference numerals, and redundant description is omitted.

まず、図1〜4を用いて、実施形態に係る移動機1の機能及び構成を説明する。なお、移動機1としては、例えば携帯電話機や携帯情報端末(Personal Digital Assistant:PDA)などが挙げられるが、その他の種類の移動通信端末も含み得る。   First, the function and configuration of the mobile device 1 according to the embodiment will be described with reference to FIGS. Examples of the mobile device 1 include a mobile phone and a personal digital assistant (PDA), but may include other types of mobile communication terminals.

移動機1は、移動体通信網(図示せず。以下同様。)を介して他の情報処理装置(例えばサーバや他の移動機など)と接続して、通話機能やデータ送受信機能を実行する通信端末である。図1に示すように、移動機1は、通信機能を実行する通信用CPU(CCPU)2と、各種アプリケーションプログラムを実行するアプリケーション用CPU(ACPU)3という二種類のプロセッサを備えている。CCPU(第1のプロセッサ)2とACPU(第2のプロセッサ)3とは互いに独立しているが、相互に信号を送受信しながら協働することで移動機1の各種機能を実現する。   The mobile device 1 is connected to another information processing device (for example, a server or another mobile device) via a mobile communication network (not shown; the same applies hereinafter), and executes a call function and a data transmission / reception function. It is a communication terminal. As shown in FIG. 1, the mobile device 1 includes two types of processors: a communication CPU (CCPU) 2 that executes a communication function, and an application CPU (ACPU) 3 that executes various application programs. Although the CCPU (first processor) 2 and the ACPU (second processor) 3 are independent of each other, various functions of the mobile device 1 are realized by cooperating with each other while transmitting and receiving signals.

図2に示すように、移動機1は、オペレーティングシステムやアプリケーションプログラムなどを実行するCPU101と、ROM及びRAMで構成される主記憶部102と、メモリなどで構成される補助記憶部103と、データ通信を行う通信制御部104と、液晶モニタなどで構成される表示部105と、入力キーなどで構成される操作部106とで構成される。CPU101は上述したCCPU2及びACPU3を含んでいる。以下に示す移動機1の各機能は、CPU101及び主記憶部102の上に所定のソフトウェアを読み込ませ、CPU101の制御の下で通信制御部104を動作させたり、主記憶部102や補助記憶部103に対してデータを読み書きしたりすることで実現される。   As shown in FIG. 2, the mobile device 1 includes a CPU 101 that executes an operating system, an application program, and the like, a main storage unit 102 that includes a ROM and a RAM, an auxiliary storage unit 103 that includes a memory, and data. The communication control unit 104 performs communication, a display unit 105 including a liquid crystal monitor, and an operation unit 106 including input keys. The CPU 101 includes the CCPU 2 and ACPU 3 described above. Each function of the mobile device 1 shown below reads predetermined software on the CPU 101 and the main storage unit 102, operates the communication control unit 104 under the control of the CPU 101, and operates the main storage unit 102 and the auxiliary storage unit. This is realized by reading / writing data from / to 103.

図1に戻って、移動機1は機能的構成要素として通信部11、制御プレーン(C−plane)処理部12、C−planeログ生成部(第1生成手段)13、C−planeログ記憶部(第1記憶手段)15、パケット制御部16、ユーザプレーン(U−plane)処理部17、U−planeログ生成部(第2生成手段)18、U−planeログ記憶部(第2記憶手段)20、ダミーデータ出力部(出力手段)21、算出部(算出手段)22及び補正部(補正手段)23を備えている。   Returning to FIG. 1, the mobile device 1 includes a communication unit 11, a control plane (C-plane) processing unit 12, a C-plane log generation unit (first generation unit) 13, and a C-plane log storage unit as functional components. (First storage unit) 15, packet control unit 16, user plane (U-plane) processing unit 17, U-plane log generation unit (second generation unit) 18, U-plane log storage unit (second storage unit) 20, a dummy data output unit (output unit) 21, a calculation unit (calculation unit) 22, and a correction unit (correction unit) 23.

通信部11は、CCPU2の制御の下で、移動体通信網との間でデータを送受信する部分である。   The communication part 11 is a part which transmits / receives data between mobile communication networks under control of CCPU2.

C−plane処理部12は、CCPU2の制御の下で、制御プレーン(C−plane)に関する処理を実行する部分である。具体的にはC−plane処理部12は、通信部11を制御して、呼やパケット接続の確立、維持、切断などを実行する。なお、制御プレーンとは、呼やコネクションの設定、監視および解放に必要なシグナリングを取り扱う概念である。   The C-plane processing unit 12 is a part that executes processing related to the control plane (C-plane) under the control of the CCPU 2. Specifically, the C-plane processing unit 12 controls the communication unit 11 to execute establishment, maintenance, and disconnection of calls and packet connections. The control plane is a concept that handles signaling necessary for setting, monitoring and releasing a call or connection.

C−planeログ生成部13は、CCPU2の制御の下で、C−plane処理部12で実行された処理に関するログを生成する部分である。制御プレーンに関する所定の処理がC−plane処理部12で実行されると、C−planeログ生成部13は、CCPU2上で作動しているCCPUタイマ(第1のタイマ)14により計時された時刻をタイムスタンプ(第1のタイムスタンプ)として取得する。続いて、C−planeログ生成部13はそのタイムスタンプと実行された処理に関する所定のテキスト(メッセージ)とを含むC−planeログ(第1のログ)を生成し、C−planeログ記憶部15に出力する。   The C-plane log generation unit 13 is a part that generates a log related to processing executed by the C-plane processing unit 12 under the control of the CCPU 2. When a predetermined process related to the control plane is executed by the C-plane processing unit 12, the C-plane log generation unit 13 calculates the time counted by the CCPU timer (first timer) 14 operating on the CCPU 2. Acquired as a time stamp (first time stamp). Subsequently, the C-plane log generation unit 13 generates a C-plane log (first log) including the time stamp and a predetermined text (message) related to the executed process, and the C-plane log storage unit 15 Output to.

また、C−planeログ生成部13は、後述するダミーデータが入力されたことに応じて、そのデータに関するログ(第1のログ)を生成し、C−planeログ記憶部15に出力する。   Further, the C-plane log generation unit 13 generates a log (first log) related to the data in response to input of dummy data to be described later, and outputs the log to the C-plane log storage unit 15.

C−planeログ記憶部15は、C−planeログ生成部13から入力されたC−planeログを記憶する部分である。具体的には、C−planeログ記憶部15は入力されたログを所定のログファイルに書き込む。これにより、制御プレーンに関する処理の記録が移動機1内に蓄積される。   The C-plane log storage unit 15 is a part that stores the C-plane log input from the C-plane log generation unit 13. Specifically, the C-plane log storage unit 15 writes the input log to a predetermined log file. As a result, processing records relating to the control plane are accumulated in the mobile device 1.

パケット制御部16は、ACPU3の制御の下で、IP(インターネット・プロトコル)パケットを生成及び送信、又は受信する部分である。パケット制御部16は、生成したIPパケットをU−plane処理部17に出力したり、U−plane処理部17から入力されたIPパケットをプロトコルに基づいて処理したりする。   The packet control unit 16 is a part that generates and transmits or receives an IP (Internet Protocol) packet under the control of the ACPU 3. The packet control unit 16 outputs the generated IP packet to the U-plane processing unit 17 and processes the IP packet input from the U-plane processing unit 17 based on the protocol.

U−plane処理部17は、CCPU2の制御の下で、ユーザプレーン(U−plane)に関する処理を実行する部分である。具体的にはU−plane処理部17は、呼やパケット接続が確立された後に、通信部11を制御して、移動体通信網との間でIPパケットの送受信を実行する。なお、ユーザプレーンとは、通信網を介してユーザ情報を送受信するためのプロトコルを表す。   The U-plane processing unit 17 is a part that executes processing related to a user plane (U-plane) under the control of the CCPU 2. Specifically, after the call or packet connection is established, the U-plane processing unit 17 controls the communication unit 11 to execute transmission / reception of IP packets with the mobile communication network. The user plane represents a protocol for transmitting / receiving user information via a communication network.

U−planeログ生成部18は、ACPU3の制御の下で、U−plane処理部17で実行された処理に関するログを生成する部分である。ユーザプレーンに関する所定の処理がU−plane処理部17で実行されると、U−planeログ生成部18は、ACPU3上で作動しているACPUタイマ(第2のタイマ)19により計時された時刻をタイムスタンプ(第2のタイムスタンプ)として取得する。ここで、ACPUタイマ19はCCPUタイマ14とは独立した計時手段であり、したがって、ACPUタイマ19が示す時刻はCCPUタイマ14が示す時刻と必ずしも一致しない。続いて、U−planeログ生成部18は取得したタイムスタンプと実行された処理に関する所定のテキスト(メッセージ)とを含むU−planeログ(第2のログ)を生成し、U−planeログ記憶部20に出力する。   The U-plane log generation unit 18 is a part that generates a log related to processing executed by the U-plane processing unit 17 under the control of the ACPU 3. When a predetermined process related to the user plane is executed by the U-plane processing unit 17, the U-plane log generation unit 18 displays the time counted by the ACPU timer (second timer) 19 operating on the ACPU 3. Obtained as a time stamp (second time stamp). Here, the ACPU timer 19 is a time measuring means independent of the CCPU timer 14, and therefore the time indicated by the ACPU timer 19 does not necessarily coincide with the time indicated by the CCPU timer 14. Subsequently, the U-plane log generation unit 18 generates a U-plane log (second log) including the acquired time stamp and a predetermined text (message) regarding the executed process, and the U-plane log storage unit 20 is output.

また、U−planeログ生成部18は、後述するダミーデータが入力されたことに応じて、そのデータに関するログ(第2のログ)を生成し、U−planeログ記憶部20に出力する。   The U-plane log generation unit 18 generates a log (second log) related to the data in response to input of dummy data to be described later, and outputs the log to the U-plane log storage unit 20.

U−planeログ記憶部20は、U−planeログ生成部18から入力されたU−planeログを記憶する部分である。具体的には、U−planeログ記憶部20は入力されたログを所定のログファイルに書き込む。これにより、ユーザプレーンに関する処理の記録が移動機1内に蓄積される。   The U-plane log storage unit 20 is a part that stores the U-plane log input from the U-plane log generation unit 18. Specifically, the U-plane log storage unit 20 writes the input log to a predetermined log file. As a result, processing records relating to the user plane are accumulated in the mobile device 1.

ダミーデータ出力部21は、C−planeログ生成部13及びU−planeログ生成部18に同じタイミングでログを生成させるためのダミーデータを、C−planeログ生成部13及びU−planeログ生成部18に出力する部分である。   The dummy data output unit 21 generates dummy data for causing the C-plane log generation unit 13 and the U-plane log generation unit 18 to generate a log at the same timing, and the C-plane log generation unit 13 and the U-plane log generation unit. 18 is a portion to be output.

C−planeログ生成部13へのダミーデータは、図1の経路Raで示されるように、パケット制御部16、U−plane処理部17、C−plane処理部12を経由して流れる。このとき、U−plane処理部17では、ダミーデータと、通信部11を介して送信しようとするIPパケットとを区別する必要が生じるが、区別の手法は任意に決めてよい。例えば、ダミーデータについて、送信元アドレス/ポート番号と宛先アドレス/ポート番号との組み合わせを予め決めておき、U−plane処理部17内に設けたパケットフィルタが、その組み合わせと一致するデータについてはC−plane処理部12に流すようにしてもよい。   Dummy data to the C-plane log generation unit 13 flows via the packet control unit 16, the U-plane processing unit 17, and the C-plane processing unit 12, as indicated by the path Ra in FIG. At this time, it is necessary for the U-plane processing unit 17 to distinguish between the dummy data and the IP packet to be transmitted via the communication unit 11, but the distinction method may be arbitrarily determined. For example, for the dummy data, a combination of a source address / port number and a destination address / port number is determined in advance, and the packet filter provided in the U-plane processing unit 17 is C for data that matches the combination. -You may make it flow to the plane processing part 12.

一方、U−planeログ生成部18へのダミーデータは、図1の経路Rbで示されるように、パケット制御部16を経由して流れる。   On the other hand, the dummy data to the U-plane log generation unit 18 flows via the packet control unit 16 as indicated by a route Rb in FIG.

経路Ra,Rbの距離は同じとは限らない。しかし、ダミーパケットが各経路を流れる時間の差が許容範囲内、すなわち、各ログ生成部13,18において同時にログが生成されるとみなされる誤差の範囲内であれば、ダミーデータ出力部21はC−planeログ生成部13及びU−planeログ生成部18に向けて同時にダミーデータを出力してもよい。   The distance between the routes Ra and Rb is not always the same. However, if the difference in the time that the dummy packet flows through each path is within an allowable range, that is, within an error range in which the log generation units 13 and 18 are considered to generate logs simultaneously, the dummy data output unit 21 Dummy data may be output simultaneously toward the C-plane log generation unit 13 and the U-plane log generation unit 18.

ダミーデータ出力部21は所定のタイミング又は時間間隔でダミーデータを出力するが、具体的にいつ出力するかは任意に決定してよい。CCPUタイマ14とACPUタイマ19との間の時刻のずれ具合に応じて、例えば数分間隔で出力したり、それ以上の間隔で出力したりすることが考えられる。   Although the dummy data output unit 21 outputs dummy data at a predetermined timing or time interval, it may be arbitrarily determined when to output the dummy data. Depending on the time difference between the CCPU timer 14 and the ACPU timer 19, for example, it may be output at intervals of several minutes or at intervals of more than that.

算出部22は、C−planeログのタイムスタンプとU−planeログのタイムスタンプとの差分を算出する部分である。   The calculation unit 22 is a part that calculates the difference between the time stamp of the C-plane log and the time stamp of the U-plane log.

まず、算出部22は、C−planeログ記憶部15及びU−planeログ記憶部20のそれぞれから、同一のダミーパケットに応じて生成されたログを抽出し、それらのログに含まれているタイムスタンプの差分を算出する。そして、算出部22はその差分を補正部23に出力する。例えば図3に示すようなC−planeログファイルFc及びU−planeログファイルFuが存在する場合には、算出部22は、ダミーパケットD1に基づくU−planeログのタイムスタンプA´と、そのパケットD1に基づくC−planeログのタイムスタンプAとの差分Δを算出する。   First, the calculation unit 22 extracts logs generated according to the same dummy packet from each of the C-plane log storage unit 15 and the U-plane log storage unit 20, and includes the times included in those logs. The stamp difference is calculated. Then, the calculation unit 22 outputs the difference to the correction unit 23. For example, when the C-plane log file Fc and the U-plane log file Fu as shown in FIG. 3 exist, the calculation unit 22 calculates the time stamp A ′ of the U-plane log based on the dummy packet D1 and the packet. A difference Δ from the time stamp A of the C-plane log based on D1 is calculated.

算出部22によるこのような処理は、任意のタイミングで行われてよい。例えば算出部22は、ダミーパケットに対するログが生成されたことを契機として、前回のダミーパケットに対応するログを用いて差分を算出してもよい。また、算出部22はダミーパケットの出力タイミングとは無関係な任意の時点で差分を算出してもよい。   Such processing by the calculation unit 22 may be performed at an arbitrary timing. For example, the calculation unit 22 may calculate the difference using the log corresponding to the previous dummy packet when the log for the dummy packet is generated. Further, the calculation unit 22 may calculate the difference at an arbitrary time regardless of the output timing of the dummy packet.

補正部23は、算出部22から入力された差分に基づいて、C−planeログ及びU−planeログのどちらか一方のタイムスタンプを他方に合わせて補正する部分である。   The correction unit 23 is a part that corrects one of the time stamps of the C-plane log and the U-plane log according to the difference input from the calculation unit 22.

図3の例を用いて説明すると、まず、補正部23はC−planeログ記憶部15からログファイルFcを読み出すと共に、U−planeログ記憶部20からログファイルFuを読み出す。続いて、補正部23はログファイルFc,Fuのどちらか一方に記録されている各タイムスタンプに対して差分Δを加算又は減算することで、そのタイムスタンプを補正する。例えば補正部23は、図4に示すように、U−planeログの各タイムスタンプに対して差分Δを減算することで、図3におけるタイムスタンプC´,E´,G´をタイムスタンプC,E,Gにそれぞれ補正する。もちろん、補正部23はU−planeログではなくC−planeログの各タイムスタンプの方を補正してもよい。   3, first, the correction unit 23 reads the log file Fc from the C-plane log storage unit 15 and also reads the log file Fu from the U-plane log storage unit 20. Subsequently, the correction unit 23 corrects the time stamp by adding or subtracting the difference Δ to each time stamp recorded in one of the log files Fc and Fu. For example, as shown in FIG. 4, the correction unit 23 subtracts the difference Δ from each time stamp of the U-plane log, so that the time stamps C ′, E ′, and G ′ in FIG. Correct E and G respectively. Of course, the correction unit 23 may correct each time stamp of the C-plane log instead of the U-plane log.

補正部23はタイムスタンプを補正したログファイルを記憶部15,20のいずれかに記憶する。このとき、補正部23はログファイルを上書き保存してもよいし、補正前のログファイルとは別に補正後のログファイルを保存してもよい。   The correction unit 23 stores the log file with the time stamp corrected in either of the storage units 15 and 20. At this time, the correction unit 23 may store the log file by overwriting, or may store the log file after correction separately from the log file before correction.

次に、図5を用いて、図1に示す移動機1の動作を説明するとともに本実施形態に係るログ管理方法について説明する。ここでは、一定量以上のC−planeログ及びU−planeログが既に移動機1内に記憶されていることを前提に説明する。   Next, the operation of the mobile device 1 shown in FIG. 1 will be described with reference to FIG. 5, and the log management method according to the present embodiment will be described. Here, a description will be made on the assumption that a certain amount or more of C-plane logs and U-plane logs are already stored in the mobile device 1.

まず、ダミーデータ出力部21がC−planeログ生成部13及びU−planeログ生成部18にダミーデータを出力する(ステップS1、出力ステップ)。各ログ生成部13,18は、このダミーデータに応じてC−planeログ又はU−planeログを生成し、各ログ記憶部15,20がそのログを記憶する(ステップS2)。   First, the dummy data output unit 21 outputs dummy data to the C-plane log generation unit 13 and the U-plane log generation unit 18 (step S1, output step). Each log generation unit 13, 18 generates a C-plane log or U-plane log according to the dummy data, and each log storage unit 15, 20 stores the log (step S2).

その後、算出部22がダミーデータに対応する各ログのタイムスタンプの差分を算出する(ステップS3、算出ステップ)。そして、補正部23がその差分を用いてC−planeログ及びU−planeログのどちらか一方のタイムスタンプを補正し(ステップS4、補正ステップ)、補正したログファイルを記憶する(ステップS5)。   Thereafter, the calculation unit 22 calculates the time stamp difference of each log corresponding to the dummy data (step S3, calculation step). Then, the correction unit 23 corrects the time stamp of either the C-plane log or the U-plane log using the difference (step S4, correction step), and stores the corrected log file (step S5).

以上説明したように、本実施形態によれば、CCPUタイマ14を用いるC−planeログ生成部13と、そのタイマ14とは独立したACPUタイマ19を用いるU−planeログ生成部18に向けてダミーデータが出力され、このダミーデータに応じて同じタイミングでC−planeログ及びU−planeログが記録される。続いて、同時に記録されたそれら二つのログのタイムスタンプの差分が算出され、その差分を用いて、どちらか一方のログのタイムスタンプが他方のログのタイムスタンプに合わせて補正される。これにより、これらのログの間の時間的整合性を取ることができる。   As described above, according to the present embodiment, the C-plane log generation unit 13 using the CCPU timer 14 and the U-plane log generation unit 18 using the ACPU timer 19 independent of the timer 14 are dummy. Data is output, and a C-plane log and a U-plane log are recorded at the same timing according to the dummy data. Subsequently, the difference between the time stamps of the two logs recorded at the same time is calculated, and the time stamp of one of the logs is corrected according to the time stamp of the other log using the difference. Thereby, the time consistency between these logs can be taken.

例えば、図4に示すように、ログファイルFu内のU−planeログとログファイルFc内のC−planeログとの時間的順序関係が正確に得られるので、ユーザは双方のログファイルを解析して移動機1の動作状況を検証することができる。   For example, as shown in FIG. 4, since the temporal order relationship between the U-plane log in the log file Fu and the C-plane log in the log file Fc is accurately obtained, the user analyzes both log files. Thus, the operation status of the mobile device 1 can be verified.

更に付け加えるならば、移動機1のようにCCPU2とACPU3とでログ出力機能を分散させた場合にも、CCPU2に掛かる処理の負荷を抑制しつつ、C−planeログとU−planeログとの間の時間的整合性を取ることができる。   In addition, even when the log output function is distributed between the CCPU 2 and the ACPU 3 as in the mobile device 1, the load on the CCPU 2 and the U-plane log is suppressed while suppressing the processing load on the CCPU 2. Time consistency.

以上、本発明をその実施形態に基づいて詳細に説明した。しかし、本発明は上記実施形態に限定されるものではない。本発明は、その要旨を逸脱しない範囲で以下のような様々な変形が可能である。   The present invention has been described in detail based on the embodiments. However, the present invention is not limited to the above embodiment. The present invention can be modified in various ways as described below without departing from the scope of the invention.

上記実施形態では、本発明に係るログ管理システムを移動機1に適用したが、パーソナルコンピュータや据置型のサーバなどの各種情報処理端末に本発明を適用できる。ここで、情報処理端末に通信機能が搭載されているか否かは問わない。すなわち、互いに独立した複数のタイマを用いて生成された複数のログを生成し得る情報処理装置に対して本発明を適用し得る。   In the above embodiment, the log management system according to the present invention is applied to the mobile device 1, but the present invention can be applied to various information processing terminals such as a personal computer and a stationary server. Here, it does not matter whether the information processing terminal is equipped with a communication function. That is, the present invention can be applied to an information processing apparatus that can generate a plurality of logs generated by using a plurality of independent timers.

上記実施形態では、CCPU2にC−planeログ生成部13を設け、ACPU3にU−planeログ生成部18を設けたが、このようなログ生成部とCPUとの位置関係を逆にしてもよい。   In the above embodiment, the C-plane log generation unit 13 is provided in the CCPU 2 and the U-plane log generation unit 18 is provided in the ACPU 3. However, the positional relationship between such log generation unit and the CPU may be reversed.

1…移動機、2…CCPU(第1のプロセッサ)、3…ACPU(第2のプロセッサ)、11…通信部、12…C−plane処理部、13…C−planeログ生成部(第1生成手段)、14…CCPUタイマ(第1のタイマ)、15…C−planeログ記憶部(第1記憶手段)、16…パケット制御部、17…U−plane処理部、18…U−planeログ生成部(第2生成手段)、19…ACPUタイマ(第2のタイマ)、20…U−planeログ記憶部(第2記憶手段)、21…ダミーデータ出力部(出力手段)、22…算出部(算出手段)、23…補正部(補正手段)。   DESCRIPTION OF SYMBOLS 1 ... Mobile device, 2 ... CCPU (1st processor), 3 ... ACPU (2nd processor), 11 ... Communication part, 12 ... C-plane process part, 13 ... C-plane log production | generation part (1st production | generation) Means), 14... CCPU timer (first timer), 15... C-plane log storage section (first storage means), 16... Packet control section, 17... U-plane processing section, 18. Part (second generation means), 19 ... ACPU timer (second timer), 20 ... U-plane log storage part (second storage means), 21 ... dummy data output part (output means), 22 ... calculation part ( Calculation unit), 23... Correction unit (correction unit).

Claims (3)

第1のプロセッサと、
前記第1のプロセッサとは独立した第2のプロセッサと、
第1のタイマにより計時された第1のタイムスタンプを含む第1のログを生成する第1生成手段と、
前記第1生成手段により生成された第1のログを記憶する第1記憶手段と、
前記第1のタイマとは独立した第2のタイマにより計時された第2のタイムスタンプを含む第2のログを生成する第2生成手段と、
前記第2生成手段により生成された第2のログを記憶する第2記憶手段と、
前記第1生成手段及び前記第2生成手段に同じタイミングでログを生成させるためのダミーデータを、前記第1生成手段及び前記第2生成手段に出力する出力手段と、
前記出力手段により出力されたダミーデータに応じて生成された前記第1のログを前記第1記憶手段から読み出すと共に、該ダミーデータに応じて生成された前記第2のログを前記第2記憶手段から読み出し、該第1のログに含まれる第1のタイムスタンプと該第2のログに含まれる第2のタイムスタンプとの差分を算出する算出手段と、
前記第1記憶手段に記憶されている第1のログの第1のタイムスタンプ、又は前記第2記憶手段に記憶されている第2のログの第2のタイムスタンプに対して前記差分を加算又は減算することで、該第1のタイムスタンプ及び該第2のタイムスタンプのどちらか一方を他方に合わせて補正する補正手段と、
を備え
前記第1のタイマ及び前記第1生成手段が前記第1のプロセッサの下で動作し、
前記第2のタイマ及び前記第2生成手段が前記第2のプロセッサの下で動作する、
ログ管理システム。
A first processor;
A second processor independent of the first processor;
First generation means for generating a first log including a first time stamp timed by a first timer;
First storage means for storing a first log generated by the first generation means;
Second generation means for generating a second log including a second time stamp measured by a second timer independent of the first timer;
Second storage means for storing a second log generated by the second generation means;
Output means for outputting dummy data for causing the first generation means and the second generation means to generate a log at the same timing, to the first generation means and the second generation means;
The first log generated according to the dummy data output by the output means is read from the first storage means, and the second log generated according to the dummy data is read from the second storage means. Calculating means for calculating a difference between a first time stamp included in the first log and a second time stamp included in the second log;
The difference is added to the first time stamp of the first log stored in the first storage means or the second time stamp of the second log stored in the second storage means, or Correction means for correcting one of the first time stamp and the second time stamp according to the other by subtracting;
Equipped with a,
The first timer and the first generating means operate under the first processor;
The second timer and the second generating means operate under the second processor;
Log management system.
請求項1に記載のログ管理システムを備え
前記第1のプロセッサが通信機能を実行し、
前記第1のプロセッサ制御プレーンに関する処理とユーザプレーンに関する処理とを実行し
前記第1のログ前記制御プレーン及び前記ユーザプレーンのどちらか一方に関するログを含み、前記第2のログ他方のプレーンに関するログを含む、
移動機。
A log management system according to claim 1,
The first processor performs a communication function;
The first processor performs processing related to the control plane and processing related to the user plane ,
Includes a log of either of said first log and the control plane and the user plane, the second log contains a log of the other plane,
Mobile machine.
第1のプロセッサと、該第1のプロセッサとは独立した第2のプロセッサと、第1のタイマにより計時された第1のタイムスタンプを含む第1のログを生成する第1生成手段と、前記第1生成手段により生成された第1のログを記憶する第1記憶手段と、前記第1のタイマとは独立した第2のタイマにより計時された第2のタイムスタンプを含む第2のログを生成する第2生成手段と、前記第2生成手段により生成された第2のログを記憶する第2記憶手段と、を備えるログ管理システムにより実行されるログ管理方法であって、
前記第1生成手段及び前記第2生成手段に同じタイミングでログを生成させるためのダミーデータを、前記第1生成手段及び前記第2生成手段に出力する出力ステップと、
前記出力ステップにおいて出力されたダミーデータに応じて生成された前記第1のログを前記第1記憶手段から読み出すと共に、該ダミーデータに応じて生成された前記第2のログを前記第2記憶手段から読み出し、該第1のログに含まれる第1のタイムスタンプと該第2のログに含まれる第2のタイムスタンプとの差分を算出する算出ステップと、
前記第1記憶手段に記憶されている第1のログの第1のタイムスタンプ、又は前記第2記憶手段に記憶されている第2のログの第2のタイムスタンプに対して前記差分を加算又は減算することで、該第1のタイムスタンプ及び該第2のタイムスタンプのどちらか一方を他方に合わせて補正する補正ステップと、
を含み、
前記第1のタイマ及び前記第1生成手段が前記第1のプロセッサの下で動作し、
前記第2のタイマ及び前記第2生成手段が前記第2のプロセッサの下で動作する、
ことを特徴とするログ管理方法。
A first processor, a second processor independent of the first processor, first generation means for generating a first log including a first time stamp timed by a first timer, and A first storage means for storing a first log generated by the first generation means; and a second log including a second time stamp measured by a second timer independent of the first timer. A log management method executed by a log management system comprising: a second generation means for generating; and a second storage means for storing a second log generated by the second generation means,
Outputting dummy data for causing the first generation unit and the second generation unit to generate a log at the same timing, to the first generation unit and the second generation unit;
The first log generated according to the dummy data output in the output step is read from the first storage means, and the second log generated according to the dummy data is read from the second storage means. And calculating a difference between a first time stamp included in the first log and a second time stamp included in the second log;
The difference is added to the first time stamp of the first log stored in the first storage means or the second time stamp of the second log stored in the second storage means, or A correction step of correcting one of the first time stamp and the second time stamp according to the other by subtracting;
Only including,
The first timer and the first generating means operate under the first processor;
The second timer and the second generating means operate under the second processor;
A log management method.
JP2009109564A 2009-04-28 2009-04-28 Log management system, mobile device, and log management method Expired - Fee Related JP4870192B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2009109564A JP4870192B2 (en) 2009-04-28 2009-04-28 Log management system, mobile device, and log management method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2009109564A JP4870192B2 (en) 2009-04-28 2009-04-28 Log management system, mobile device, and log management method

Publications (2)

Publication Number Publication Date
JP2010257397A JP2010257397A (en) 2010-11-11
JP4870192B2 true JP4870192B2 (en) 2012-02-08

Family

ID=43318199

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2009109564A Expired - Fee Related JP4870192B2 (en) 2009-04-28 2009-04-28 Log management system, mobile device, and log management method

Country Status (1)

Country Link
JP (1) JP4870192B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6501622B2 (en) * 2015-05-29 2019-04-17 キヤノン株式会社 INFORMATION PROCESSING APPARATUS, METHOD, AND PROGRAM THEREOF

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05113958A (en) * 1991-10-21 1993-05-07 Nec Corp File re-read judging system
JP4940757B2 (en) * 2006-05-25 2012-05-30 日本電気株式会社 Mobile radio communication terminal, information collecting method and program when abnormality occurs
JP2009069892A (en) * 2007-09-10 2009-04-02 Ricoh Co Ltd Log time adjustment method, server and information processing system

Also Published As

Publication number Publication date
JP2010257397A (en) 2010-11-11

Similar Documents

Publication Publication Date Title
JP6929497B2 (en) Cross-blockchain interaction methods, devices, systems, and electronic devices
US8605598B2 (en) Frame loss measurement method, system, and apparatus
CN108718347B (en) Domain name resolution method, system, device and storage medium
CN107508719A (en) Measure the method, apparatus and network node of network delay
CN109656574A (en) Transaction time delay measure, device, computer equipment and storage medium
CN110838071A (en) Policy data processing method and device and server
JP5767144B2 (en) Congestion degree prediction device and congestion degree prediction program using route search system
CN112615753A (en) Link abnormity tracking method, first node, second node and link
JP5675703B2 (en) Communication device, control device, and program
JP5768448B2 (en) Log management system, log analysis device, log analysis method, and log analysis program
CN111694582A (en) Application program resource package processing method, device, equipment and readable storage medium
JP4870192B2 (en) Log management system, mobile device, and log management method
JP2009278297A (en) Gateway device, communication system including the same, and communication method
JP2008060785A (en) Ip telephone communication recording system
CN115617611A (en) Generation method and device of signaling flow chart, electronic equipment and storage medium
JP5624954B2 (en) Fault detection device, fault detection method, and fault detection program
US20240039805A1 (en) Information processing device, information processing system, information processing method, and program
JP4947160B2 (en) Codec converter
JP2010218344A (en) Service linkage device, program, service linkage method, and service provision system
EA200901089A1 (en) METHOD AND SYSTEM FOR PROCESSING CREDITS FOR THEIR USE OF THE COMMUNICATION NETWORK SUBSCRIBERS
JP4887129B2 (en) Update information generation apparatus, identification information update system, identification information update method and program
JP2015064636A (en) Information processing system, distribution processing method, and program
EP3412047A1 (en) Method and network entity for control of charging for value added service (vas)
JP5940990B2 (en) APL-SCM-FE and application linkage method
JP2014523582A (en) Transparent cache for mobile users

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20110217

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20110830

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20111011

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

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20111116

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20141125

Year of fee payment: 3

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees