JP2007068135A - Diagnostic technique applied to real-time property of wireless device - Google Patents

Diagnostic technique applied to real-time property of wireless device Download PDF

Info

Publication number
JP2007068135A
JP2007068135A JP2005282951A JP2005282951A JP2007068135A JP 2007068135 A JP2007068135 A JP 2007068135A JP 2005282951 A JP2005282951 A JP 2005282951A JP 2005282951 A JP2005282951 A JP 2005282951A JP 2007068135 A JP2007068135 A JP 2007068135A
Authority
JP
Japan
Prior art keywords
diagnostic
wireless device
engine
real
diagnostic engine
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2005282951A
Other languages
Japanese (ja)
Inventor
Shiyousei Ou
昌正 王
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.)
MOVELL SOFTWARE KK
Original Assignee
MOVELL SOFTWARE KK
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 MOVELL SOFTWARE KK filed Critical MOVELL SOFTWARE KK
Priority to JP2005282951A priority Critical patent/JP2007068135A/en
Publication of JP2007068135A publication Critical patent/JP2007068135A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Mobile Radio Communication Systems (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide diagnostic techniques applied to real-time property of a wireless device. <P>SOLUTION: A diagnostic engine is permanently resident in a real-time environment and put into standby state when a system is normal. When there is any event in the system, such as a key entry, process start/end, voice communication or data communication connection/disconnection, a part of the diagnostic engine in the standby state is started, and the system is monitored by recording information such as the generated event, resource utilization state and process history and operating state. If any trouble occurs in the system, the diagnostic engine is partially started, the incurred trouble is diagnosed using diagnostic data collected, a diagnosis result is sent to a diagnostic server and registered on a diagnostic database, and information for analyzing the incurred trouble is provided to a mobile phone enterpriser and a mobile phone manufacturer. <P>COPYRIGHT: (C)2007,JPO&INPIT

Description

本発明は、ワイヤレスデバイス上でリアルタイム環境においてシステムに起きる不具合を診断する方法と、システムの正常時に寝かせて不具合が発生した時に喚起させる診断エンジンと、診断エンジンを用いて不具合の回避と診断を行う機能を持つワイヤレスデバイスおよびワイヤレスデバイスの診断と復旧を実施するシステムに関するものである。  The present invention relates to a method for diagnosing a problem that occurs in a system in a real-time environment on a wireless device, a diagnosis engine that is woken up when the system is normal and a problem occurs, and a problem avoidance and diagnosis using the diagnosis engine. The present invention relates to a wireless device having a function and a system for performing diagnosis and recovery of the wireless device.

近年、携帯電話上で例えば音声、テレビ電話、チャットメール、チャットメッセンジャー、メディアプレイヤー、ゲームなどのさまざまなリアルタイム性の強いアプリケーションを実装して、数多くのアプリケーションが高負荷の状態で動作し、例えばCPUやメモリなどの多くのシステムリソースを用いてシステムの状態を監視する時又はシステムに発生した不具合を診断する時に、システムのリアルタイム性に影響しない有効的手法がないため、走っているリアルタイム性の強いアプリケーションが止まったり、反応が遅くなることと、止まったアプリケーション又は反応が遅くなったアプリケーションに対して発生するイベントが届かなくなることと、システムの不具合を診断するソフトウェアによってシステムに新たな問題を起こすことなどの問題がある。  In recent years, various real-time applications such as voice, videophone, chat mail, chat messenger, media player, game, etc. have been implemented on mobile phones, and many applications operate under high load. Since there is no effective method that does not affect the real-time nature of the system when monitoring the system status using many system resources such as memory and memory, or diagnosing problems that occur in the system, the real-time nature of running is strong The application stops or slows down, the event that occurs for the stopped or slow responding application is not received, and the software that diagnoses system failures causes new problems to the system There is a problem, such as the.

ワイヤレスデバイス上で発生する不具合を特定するために利用する従来のデバッグ手法例えば開発段階で利用しているデバッグ手法は、ソースコードの中にチェックしたいポイントにログメッセージを出力するスタブを入れてログメッセージを出力し、出力したログメッセージをチェックして不具合を特定していく。不具合を特定することができない場合には繰り返してソースコードの中に更なる多くのスタブを入れて、もっとたくさんのログメッセージを出力する。この手法では、システムのリアルタイム性に影響するためにスタブを入れたままで製品版のワイヤレスデバイスを出荷することができないので、開発用のデバッグが終った後に入れたスタブを外して再び同じシステム結合試験を行う必要がある。  Conventional debugging methods used to identify problems that occur on wireless devices. For example, the debugging method used in the development stage is to insert a stub that outputs a log message at the point to be checked in the source code. And check the output log message to identify the problem. If you can't identify the bug, repeat the process by putting more stubs in the source code and outputting more log messages. In this method, since it is not possible to ship a commercial wireless device with a stub inserted because it affects the real-time nature of the system, the stub that was put in after development debugging was finished and the same system integration test was performed again Need to do.

ワイヤレスデバイス上で複雑な実行環境において発生した不具合を特定するために単なるログメッセージを用いることでは不十分である。発生した不具合は、システムの利用状況、走っているアプリケーションの状態、利用者の操作手順、各種のシステム設定情報、ネットワークの通信状態等に関わるため、これらの情報を利用しなければ、診断が困難である。  It is not sufficient to simply use log messages to identify failures that have occurred in a complex execution environment on a wireless device. Problems that occur are related to system usage, running application status, user operation procedures, various system setting information, network communication status, etc., and diagnosis is difficult without using this information. It is.

また、システムがパニックになった時にパニックの場所と原因を特定するにログメッセージは役に立たない。システムパニックとは、システムリセットとシステムフリーズがある。システムパニックが発生した時にログメッセージを出力することができなくなり、パニックが発生するまでの軌跡をたどることが困難である。  Also, log messages are not helpful in identifying the location and cause of a panic when the system panics. System panic includes system reset and system freeze. When a system panic occurs, it becomes impossible to output a log message, and it is difficult to follow the trajectory until the panic occurs.

上述のように、現状では、ワイヤレスデバイス上でシステムのリアルタイム性に影響しないシステム監視手法と、診断データ収集手法と不具合診断手法がないために、不具合の発生場所と原因を特定することが困難であり、回避できる不具合が繰り返して発生し、携帯電話事業者と携帯電話メーカは発生した不具合に対して迅速な対応ができないので携帯電話利用者に十分に満足できるサービスを提供することができない。  As mentioned above, at present, there is no system monitoring method, diagnostic data collection method, and failure diagnosis method that do not affect the real-time nature of the system on the wireless device, so it is difficult to identify the location and cause of the failure. In other words, troubles that can be avoided occur repeatedly, and mobile phone operators and mobile phone manufacturers cannot respond quickly to the troubles that occur, so it is not possible to provide a service that is sufficiently satisfactory for mobile phone users.

そこで、本発明は、ワイヤレスデバイス上でシステムのリアルタイム性に影響しないためにシステムの正常時に診断エンジンを寝かせる手法と、システムに不具合が発生する時に寝ている診断エンジンを喚起する手法と、不具合を診断するために必要となる各種の診断データを収集する手法と、収集した診断データを用いて不具合を診断する手法、これらの手法を実現したワイヤレスデバイスを提供することを目的とする。  Therefore, the present invention provides a method for laying down the diagnostic engine when the system is normal so as not to affect the real-time property of the system on the wireless device, a method for calling up the diagnostic engine when the system malfunctions, It is an object of the present invention to provide a technique for collecting various diagnostic data necessary for diagnosis, a technique for diagnosing a defect using the collected diagnostic data, and a wireless device that implements these techniques.

本発明によるワイヤレスデバイスは、リアルタイム環境においてシステム不具合の診断エンジンを備えた携帯電話機であって、システムの正常時にシステムの状態を監視することができる診断エンジンを寝かせる手段と、システムに異常又は不具合が発生した時に寝かせている診断エンジンを喚起する手段と、起こした診断エンジンによってシステムの不具合を診断するために必要なデータを収集する手段と、収集したデータを分類・解析して必要な診断データを提供する手段を有することを特徴とする。  The wireless device according to the present invention is a mobile phone equipped with a diagnosis engine for system failure in a real-time environment, means for putting the diagnosis engine capable of monitoring the state of the system when the system is normal, and abnormality or failure in the system. A means for awakening the diagnostic engine that is laid down when it occurs, a means for collecting data necessary for diagnosing a system malfunction by the diagnostic engine that has occurred, and classifying and analyzing the collected data to obtain the necessary diagnostic data It has the means to provide, It is characterized by the above-mentioned.

システムの正常時にシステムの状態を監視することができる診断エンジンを寝かせる手段は、診断エンジンをシステム部とユーザ部の二つに分けて、システム部をオペレーティングシステムが走るカーネルスペースに常駐させ、ユーザ部をアプリケーションが走るユーザスペースに常駐させる。診断エンジンのシステム部は、システムの状態やプロセスの状態を監視し、診断エンジンのユーザ部は、診断データを収集し、収集したデータを用いて発生した不具合を診断する。診断エンジンのシステム部とユーザ部は、ワイヤレスデバイス上でシステムに常に動作することではなく、システムのリソース例えばCPUを利用しない待ち状態(スリープ)にある。診断エンジンのシステム部は、イベント例えばプロセスの起動や終了が発生した時に喚起し、システムの状態に関わる情報例えばシステムリソースやプロセスの状態を収集し、システムの状態を監視する。  The diagnostic engine that can monitor the state of the system when the system is normal divides the diagnostic engine into two parts, a system part and a user part, and makes the system part resident in the kernel space where the operating system runs, and the user part Resident in the user space where the application runs. The system unit of the diagnosis engine monitors the system state and the process state, and the user unit of the diagnosis engine collects diagnostic data and diagnoses a problem that has occurred using the collected data. The system part and the user part of the diagnostic engine are not always operating on the system on the wireless device, but are in a waiting state (sleep) that does not use system resources such as the CPU. The system unit of the diagnosis engine alerts when an event, for example, a process starts or ends, collects information related to the state of the system, for example, the state of a system resource or process, and monitors the state of the system.

システムに異常又は不具合が発生した時に寝かせている診断エンジンを喚起する手段は、まず、アプリケーションからシステムコール又はソケットによってシグナルを待ち状態にある診断エンジンのシステム部に送り、まず寝かせている診断エンジンのシステム部を喚起させ、カーネルスペース上の作業を済ませた後に、診断エンジンのシステム部からシステムコール又はソケットによってシグナルを待ち状態にある診断エンジンのユーザ部に送り、寝かせている診断エンジンを喚起させる。  In order to wake up the diagnostic engine that is laid down when an abnormality or malfunction occurs in the system, first, a signal is sent from the application to the system part of the waiting diagnostic engine by a system call or socket. After the system unit is awakened and the work on the kernel space is completed, a signal is sent from the system unit of the diagnostic engine to a user unit of the waiting diagnostic engine by a system call or a socket to wake up the diagnostic engine that is laid down.

起こした診断エンジンによってシステムの不具合を診断するために必要なデータを収集する手段は、起こされた診断エンジンのシステム部によってレジスタやスタック等のメモリをダンプしてワイヤレスデバイス上のシステムに保存し、ワイヤレスデバイス上でシステムに発生するすべてのイベントと発生したイベントに対応する動作や状態と、プロセスの状態例えば起動や終了と、システムリソースの利用状態を記録する。  The means for collecting data necessary for diagnosing a system failure by the woken diagnostic engine is to dump the memory such as registers and stacks by the system part of the woken up diagnostic engine and save it in the system on the wireless device, All events that occur in the system on the wireless device, operations and states corresponding to the generated events, process states such as activation and termination, and utilization state of system resources are recorded.

収集したデータを分類・解析して必要な診断データを提供する手段は、診断エンジンのシステム部より起こされた診断エンジンのユーザ部が診断エンジンのシステム部によってダンプしたレジスタやメモリデータ、収集したほかのデータ例えばシステムリソース、イベント情報、プロセス情報と一緒に分類・解析し、発生した不具合を診断するに必要な診断データを診断レポートに添付して提供する。  The means to provide the necessary diagnostic data by classifying and analyzing the collected data includes the registers and memory data collected by the diagnostic engine system unit dumped by the diagnostic engine system unit, collected by the diagnostic engine system unit, etc. Data such as system resources, event information, and process information are classified and analyzed, and diagnostic data necessary for diagnosing a failure that has occurred is attached to a diagnostic report.

以上のように、本発明によれば、ワイヤレスデバイス上でリアルタイムシステムにおいて不具合の診断、不具合発生の回避を実施するためのシステムとして、ワイヤレスデバイスに診断エンジンを常駐させ、システムの正常時に診断エンジンを寝かせて待ち状態に置くためにシステムのリアルタイム性にまったく影響せず、システムにキー操作やプロセスの起動・終了時に診断エンジンの一部を喚起し、不具合の診断に必要な診断データを収集して、収集したデータの分類・解析を行って管理し、不具合が発生する場合に不具合を診断するときに必要な診断データを提供することができ、システムに不具合が発生した時に収集したデータを用いてリアルタイムで発生した不具合を診断することができるので、ほとんどの場合に事業者のカスタマサポートに連絡する必要がなく、修理受付窓口に持ち込まれる必要もない。たとえ、事業者のカスタマサポートに連絡されたときでも、サポートに必要な診断情報が既に分かりやすく解析して診断サーバに報告されており、すぐにカスタマへ対応ができる。また、ソフトウェア上でバグが見つかった場合に、バグに関する詳細なリアルタイムシステムの診断情報が収集されて分類して分かりやすい形に解析されており、メーカが即座に的確にバグを判断することができ、バグを直ちに直すことができる。事業者とメーカにとって、カスタマとプロダクトのサポートコストを著しく削減することができる。  As described above, according to the present invention, as a system for diagnosing problems in a real-time system on a wireless device and avoiding the occurrence of problems, the diagnostic engine is resident in the wireless device, and the diagnosis engine is operated when the system is normal. Since the system is laid down and placed in a waiting state, the system does not affect the real-time nature of the system at all, and a part of the diagnostic engine is invoked at the time of key operation and process start / end to collect diagnostic data necessary for fault diagnosis , Classify and analyze the collected data, manage it, and provide diagnostic data necessary when diagnosing a problem when a problem occurs, using the data collected when the problem occurs in the system It is possible to diagnose defects that occur in real time, so in most cases the operator's custom Support it is not necessary to contact, there is no need to be brought to the repair reception desk. Even when contacted by the customer support of the operator, the diagnostic information necessary for the support has already been analyzed in an easy-to-understand manner and reported to the diagnostic server, so that the customer can be dealt with immediately. In addition, when a bug is found on the software, detailed diagnostic information of the real-time system related to the bug is collected and categorized and analyzed in an easy-to-understand format so that the manufacturer can immediately and accurately determine the bug. , Bugs can be fixed immediately. For businesses and manufacturers, support costs for customers and products can be significantly reduced.

以下、本発明の実施の形態を図面を参照して説明する。図1は、本発明によるワイヤレスデバイスのリアルタイム性に適用する診断手法を実現することができるシステムの構成を示すブロック図である。  Hereinafter, embodiments of the present invention will be described with reference to the drawings. FIG. 1 is a block diagram showing the configuration of a system capable of realizing a diagnostic technique applied to the real-time property of a wireless device according to the present invention.

図1に示す診断システムにおいて、ワイヤレスデバイス01に診断エンジン−1(診断エンジンのユーザ部)02、診断エンジン−2(診断エンジンのシステム部)03を実装して、システムリソースの利用状況、発生するイベントとプロセスの動作状態を観察し、診断データ04を収集し、発生した不具合に対して収集した診断データを利用して診断を行い、診断の結果を診断サーバ05と診断データベース06に対してワイヤレスネットワーク07経由で報告する。  In the diagnostic system shown in FIG. 1, a diagnostic engine-1 (diagnostic engine user part) 02 and a diagnostic engine-2 (diagnostic engine system part) 03 are mounted on the wireless device 01 to generate a system resource usage situation. Observe the operating status of events and processes, collect diagnostic data 04, perform diagnostics using the collected diagnostic data for faults that have occurred, and wirelessly send diagnostic results to diagnostic server 05 and diagnostic database 06 Report via network 07.

図2は、ワイヤレスデバイスのリアルタイム環境において診断する手順を示す説明図である。診断エンジン−1と診断エンジン−2はシステムが正常時に待ち状態にあり、プロセスの起動・終了やキー入力等のイベントがあるときに診断エンジン−2(診断エンジンのシステム部)03が起きてシステムの状態をチェックして監視し、不具合が発生したときにアプリケーション10からシステムコールを呼んで診断エンジン−2(診断エンジンのシステム部)03を起こして、レジスタやスタックのメモリをダンプして、シグナルを診断エンジン−1(診断エンジンのユーザ部)02に送り、診断エンジンのユーザ部を起こして収集した診断データを分類・解析し、発生した不具合を診断する。  FIG. 2 is an explanatory diagram illustrating a procedure for diagnosing a wireless device in a real-time environment. The diagnosis engine-1 and the diagnosis engine-2 are in a waiting state when the system is normal, and the diagnosis engine-2 (diagnostic engine system unit) 03 occurs when there is an event such as process start / end or key input. Checking and monitoring the status of the system, when a failure occurs, call a system call from the application 10 to wake up the diagnostic engine-2 (diagnostic engine system part) 03, dump the register and stack memory, signal Is sent to diagnostic engine-1 (diagnostic engine user part) 02, and the diagnostic data collected by raising the diagnostic engine user part is categorized and analyzed, and the fault that occurred is diagnosed.

図3は、ワイヤレスデバイスの診断における必要な診断データを収集する一例を示す説明図である。不具合を診断するに必要となる診断データ04は、関数軌跡20、プロセス履歴21、イベント22とシステムリソース23がある。関数軌跡20は、ダンプしたメモリデータから解析して呼ばれた関数の履歴である。プロセス履歴21は、不具合が発生したところまでプロセス遷移の軌跡とプロセス軌跡上の各プロセスに関する詳細な状態(例えばPCB(Process control block)にある情報)であり、プロセス間のデッドロックやシステムフリーズに関わる情報であり、不具合が発生した原因を調査するために必要となる情報である。イベント22は、プロセス軌跡上にある各プロセスが遷移したときに発生したイベント例えばプロセスの起動・終了やシステムに発生するあらゆるイベント例えばデータ通信のソケットオープン・クロスであり、ユーザ(携帯電話利用者)の操作履歴でもあり、発生した不具合を診断するときに不具合が発生する軌跡をたどるために重要な情報である。  FIG. 3 is an explanatory diagram showing an example of collecting necessary diagnostic data in the diagnosis of the wireless device. The diagnosis data 04 necessary for diagnosing a defect includes a function locus 20, a process history 21, an event 22, and a system resource 23. The function locus 20 is a history of functions called by analyzing from the dumped memory data. The process history 21 is a process transition locus and a detailed state (for example, information in a process control block (PCB)) regarding each process on the process locus until a failure occurs. It is related information and is necessary for investigating the cause of the failure. The event 22 is an event that occurs when each process on the process trajectory transitions, for example, the start / end of a process or any event that occurs in the system, for example, a data communication socket open cross, and is a user (mobile phone user) It is also important information for tracing the locus of occurrence of a failure when diagnosing the failure that has occurred.

図4は、ワイヤレスデバイス上でシステムに不具合が発生した時の診断機能を実装する一例を示すブロック図である。図4に示している例では、アプリケーション(ワイヤレスデバイス上で走るアプリケーション)が開始30した後に不具合例えばある関数からエラーを返したとき31にシステムコール32を呼んで診断エンジン−2(診断エンジンのシステム部)03を起こしてカーネルスペースでレジスタやスタックのメモリをダンプし、診断エンジン−1(診断エンジンのユーザ部)02にシグナルを送り、ユーザスペースで診断エンジン−2(診断エンジンのシステム部)03によってダンプしたメモリデータとこれまで診断エンジン−1(診断エンジンのユーザ部)02によって収集した診断データを分類・解析し、診断アプリ(診断アプリケーション)33に渡し、この診断アプリ33によって発生した不具合を診断する。診断が終った後にアプリケーションによってポップアップ34を表示し、診断結果を報告35するかどうかについて携帯電話利用者に確認する。利用者から報告を確認した場合は、診断エンジン−1(診断エンジンのユーザ部)02によって診断レポートを作成して、分類・解析した診断データを診断レポートに添付して診断サーバ05に診断レポート送信36を行う。診断が終ったら、診断エンジン(診断エンジン−1と診断エンジン−2)が再び待ち状態に戻る。アプリケーションの終了37までほかに不具合が発生した場合は、以上のプロセスを繰り返して発生した不具合を診断する。  FIG. 4 is a block diagram illustrating an example of implementing a diagnostic function when a problem occurs in a system on a wireless device. In the example shown in FIG. 4, when an application (an application running on a wireless device) starts 30 and a failure, for example, when an error is returned from a certain function, a system call 32 is called 31 and a diagnosis engine-2 (diagnostic engine system) Part) 03, dump registers and stack memory in kernel space, send a signal to diagnostic engine-1 (diagnostic engine user part) 02, and diagnose user-2 (diagnostic engine system part) 03 in user space The memory data dumped by the above and the diagnostic data collected by the diagnostic engine-1 (diagnostic engine user part) 02 so far are classified and analyzed, and passed to the diagnostic application (diagnostic application) 33. Diagnose. After the diagnosis is completed, a pop-up 34 is displayed by the application, and the mobile phone user is confirmed as to whether or not to report the diagnosis result 35. When the report is confirmed by the user, a diagnostic report is created by the diagnostic engine-1 (diagnostic engine user part) 02, and the classified / analyzed diagnostic data is attached to the diagnostic report and transmitted to the diagnostic server 05 36 is performed. When the diagnosis is completed, the diagnosis engines (diagnosis engine-1 and diagnosis engine-2) return to the waiting state again. If another problem occurs until the end 37 of the application, the above process is repeated to diagnose the problem.

図5は、ワイヤレスデバイス上でシステムがクラッシュしたときの診断を実施する一例を示す説明図である。図5に示している例では、ワイヤレスデバイス01上でアプリケーションが開始40した後にシステムがクラッシュ41したとき(例えばリブートやフリーズ)に割込が発生し、割込処理42に組み込まれている診断エンジン−2(診断エンジンのシステム部)03の一部であるメモリダンプ機能によってメモリダンプ43を行い、診断エンジン−1(ユーザ部)02によってこれまで収集したほかの診断データを保存してシステムをリブートし、システムが立ち上がった後にユーザスペースで診断エンジン−2(診断エンジンのシステム部)03によって保存している診断データを分類・解析し、診断アプリ(診断アプリケーション)33に渡し、この診断アプリ33によって発生した不具合を診断する。診断が終った後にアプリケーションによってポップアップ34を表示し、診断結果を報告35するかどうかについて携帯電話利用者に確認する。利用者から報告を確認した場合は、診断エンジン−1(診断エンジンのユーザ部)02によって診断レポートを作成して、分類・解析した診断データを診断レポートに添付して診断サーバ05に診断レポート送信36を行う。診断が終ったら、診断エンジン(診断エンジン−1と診断エンジン−2)が再び待ち状態に戻る。アプリケーションの終了45までほかにシステムのクラッシュ41が発生した場合は、以上のプロセスを繰り返して発生した不具合を診断する。  FIG. 5 is an explanatory diagram illustrating an example of performing diagnosis when the system crashes on the wireless device. In the example shown in FIG. 5, an interrupt occurs when the system crashes 41 after the application starts 40 on the wireless device 01 (for example, reboot or freeze), and the diagnostic engine incorporated in the interrupt processing 42 -2 (diagnostic engine system part) 03 performs memory dump 43 by the memory dump function, saves other diagnostic data collected by diagnostic engine-1 (user part) 02 and reboots the system After the system is started up, the diagnosis data stored in the user space by the diagnosis engine-2 (diagnosis engine system unit) 03 is classified and analyzed in the user space, and passed to the diagnosis application (diagnostic application) 33. Diagnose the problem that occurred. After the diagnosis is completed, a pop-up 34 is displayed by the application, and the mobile phone user is confirmed as to whether or not to report the diagnosis result 35. When the report is confirmed by the user, a diagnostic report is created by the diagnostic engine-1 (diagnostic engine user part) 02, and the classified / analyzed diagnostic data is attached to the diagnostic report and transmitted to the diagnostic server 05 36 is performed. When the diagnosis is completed, the diagnosis engines (diagnosis engine-1 and diagnosis engine-2) return to the waiting state again. If another system crash 41 occurs until the application is terminated 45, the above process is repeated to diagnose the problem.

図6は、ネットワークを通した診断結果報告実施の一例を示す説明図である。図6に示す例では、診断エンジン−1(診断エンジンのユーザ部)02が診断レポートを作成し、診断データ04を診断レポートに添付してリクエスト50に載せてOTA(ワイヤレスネットワーク)を通して診断サーバ05に送り、診断サーバ05がその診断レポートを受信した後に診断レポートを処理し、診断データベース06に登録して、診断エンジン02にその処理結果をレスポンス51として送る。  FIG. 6 is an explanatory diagram showing an example of diagnosis result report execution through the network. In the example shown in FIG. 6, diagnostic engine-1 (diagnostic engine user part) 02 creates a diagnostic report, attaches diagnostic data 04 to the diagnostic report and places it in request 50, and through diagnostic server 05 through OTA (wireless network). , The diagnostic server 05 processes the diagnostic report after receiving the diagnostic report, registers it in the diagnostic database 06, and sends the processing result as a response 51 to the diagnostic engine 02.

本発明によるワイヤレスデバイスのリアルタイム性に適用する診断手法を実現することができる診断システムの構成を示すブロック図である。  It is a block diagram which shows the structure of the diagnostic system which can implement | achieve the diagnostic technique applied to the real-time property of the wireless device by this invention. ワイヤレスデバイスのリアルタイム環境における診断を実施する手順の一例を示す説明図である。It is explanatory drawing which shows an example of the procedure which implements the diagnosis in the real-time environment of a wireless device. ワイヤレスデバイス上で監視・収集する診断データの一例を示す説明図である。It is explanatory drawing which shows an example of the diagnostic data monitored and collected on a wireless device. ワイヤレスデバイス上でシステムに不具合が発生した時の診断機能を実装する一例を示すブロック図である。It is a block diagram which shows an example which implements the diagnostic function when a malfunction occurs in a system on a wireless device. ワイヤレスデバイス上でシステムにクラッシュが発生した時の診断機能を実装する一例を示すブロック図である。It is a block diagram which shows an example which implements the diagnostic function when a crash occurs in a system on a wireless device. 診断結果を診断サーバに報告して診断データベースに登録する機能を実施する一例を示す説明図である。It is explanatory drawing which shows an example which implements the function which reports a diagnostic result to a diagnostic server and registers it in a diagnostic database.

符号の説明Explanation of symbols

01 ワイヤレスデバイス(携帯電話、携帯端末)
02 診断エンジン−1
03 診断エンジン−2
04 診断データ
05 診断サーバ
06 診断データベース
07 ワイヤレスネットワーク
10 アプリケーション
20 関数軌跡
21 プロセス履歴
22 イベント
23 システムリソース
50 リクエスト・メッセージ
51 レスポンス・メッセージ
01 Wireless devices (cell phones, portable terminals)
02 Diagnostic engine-1
03 Diagnostic engine-2
04 diagnostic data 05 diagnostic server 06 diagnostic database 07 wireless network 10 application 20 function locus 21 process history 22 event 23 system resource 50 request message 51 response message

Claims (5)

少なくともひとつのプロセッサとひとつのソフトウェア・アプリケーションをもち、中に搭載するプロセッサとリアルタイム・オペレーティングシステムによってワイヤレスデバイスを診断するワイヤレスデバイスと、リアルタイムの環境においてワイヤレスデバイスを診断するエンジンと、診断結果を通知するためにワイヤレスネットワークを通してワイヤレスデバイスと接続できる遠隔地に置かれる診断データベースから構成するワイヤレスデバイス診断システム。  A wireless device that has at least one processor and one software application, diagnoses the wireless device with the processor and real-time operating system installed in it, an engine that diagnoses the wireless device in a real-time environment, and reports the diagnosis result A wireless device diagnostic system that consists of a diagnostic database located at a remote location that can be connected to a wireless device through a wireless network. 請求項1に記載するワイヤレスデバイス上で起きる不具合をワイヤレスデバイスのリアルタイム性に影響せずに診断するメソッド。本メソッドは、診断エンジンをワイヤレスデバイス上でシステムの正常時にスリープ状態にさせ、システムに不具合が発生した時にスリープしている診断エンジンを喚起してた直ちに発生した不具合を診断する。  A method for diagnosing a failure occurring on the wireless device according to claim 1 without affecting the real-time property of the wireless device. This method causes the diagnostic engine to sleep on the wireless device when the system is normal, and diagnoses a fault that occurred immediately after awakening the sleeping diagnostic engine when the system malfunctions. 請求項1に記載するワイヤレスデバイス上でリアルタイムの環境においてシステムの正常時に診断エンジンをスリープさせるメソッド。本メソッドは、システムが正常である時に診断エンジンを常に動かしてシステムの状態を監視するのでなく、マルチタスクの中に診断エンジンを寝かせ、システムに不具合が発生した時に寝かせている診断エンジンを喚起して不具合を診断し、診断が終ったら再び診断エンジンを寝かせる。  A method for causing a diagnostic engine to sleep when the system is normal in a real-time environment on the wireless device of claim 1. This method does not always run the diagnostic engine when the system is normal, but monitors the system status. Instead, the diagnostic engine is put to sleep during multitasking, and the diagnostic engine is put to sleep when a problem occurs in the system. Diagnose the problem and put the diagnostic engine to sleep again after the diagnosis. 請求項1に記載するワイヤレスデバイス上でシステムに不具合が発生した時に寝かせている診断エンジンを喚起するメソッド。本メソッドは、ワイヤレスデバイス上でシステムに不具合が発生した時又は発生しようとする時に不具合が発生する際のイベント又はシグナルによって寝ている診断エンジンを起こして発生した不具合を診断し、発生しようとする不具合である場合に不具合の発生を回避する。  A method for invoking a diagnostic engine that is laid down when a problem occurs in the system on the wireless device according to claim 1. This method diagnoses a problem that occurred by causing a diagnostic engine that is sleeping by an event or signal when the problem occurs or is about to occur on the wireless device. If it is a malfunction, avoid the occurrence of the malfunction. 請求項1に記載するワイヤレスデバイス上でシステムに発生した不具合を診断するために必要となるあらゆる診断データをシステムのリアルタイム性に影響せずに収集するメソッド。本メソッドは、ワイヤレスデバイス上で発生する不具合に関わるシステムの環境において不具合の診断に必要となるシステムリソースの利用状態、発生したすべてのイベント、起動したすべてのプロセス、呼び出した関数の軌跡、システムの設定パラメータ等の診断データをシステムのリアルタイム性に影響せずに収集する。  The method which collects all the diagnostic data required in order to diagnose the malfunction which a system occurred on the wireless device of Claim 1 without affecting the real-time property of a system. This method is used in the system environment related to the failure that occurs on the wireless device, the usage status of system resources, all the events that occurred, all the processes that were started, the trajectory of the function that was called, Collect diagnostic data such as setting parameters without affecting the real-time nature of the system.
JP2005282951A 2005-08-29 2005-08-29 Diagnostic technique applied to real-time property of wireless device Pending JP2007068135A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2005282951A JP2007068135A (en) 2005-08-29 2005-08-29 Diagnostic technique applied to real-time property of wireless device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2005282951A JP2007068135A (en) 2005-08-29 2005-08-29 Diagnostic technique applied to real-time property of wireless device

Publications (1)

Publication Number Publication Date
JP2007068135A true JP2007068135A (en) 2007-03-15

Family

ID=37929739

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2005282951A Pending JP2007068135A (en) 2005-08-29 2005-08-29 Diagnostic technique applied to real-time property of wireless device

Country Status (1)

Country Link
JP (1) JP2007068135A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101333183B1 (en) * 2008-10-31 2013-11-26 에스케이텔레콤 주식회사 A terminal log controller apparatus and method for processing error

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101333183B1 (en) * 2008-10-31 2013-11-26 에스케이텔레콤 주식회사 A terminal log controller apparatus and method for processing error

Similar Documents

Publication Publication Date Title
US8588767B2 (en) Mobile terminal device, self-diagnosis method and non-transitory, computer readable storage medium
CN109726072B (en) WebLogic server monitoring and alarming method, device and system and computer storage medium
US7149928B2 (en) User transparent software malfunction detection and reporting
US7281040B1 (en) Diagnostic/remote monitoring by email
US7849364B2 (en) Kernel-mode in-flight recorder tracing mechanism
US10545807B2 (en) Method and system for acquiring parameter sets at a preset time interval and matching parameters to obtain a fault scenario type
KR20160044484A (en) Cloud deployment infrastructure validation engine
CN104769554A (en) System, method, apparatus, and computer program product for providing mobile device support services
JP2007042082A (en) Diagnostic system
CN111858176A (en) Remote monitoring fault self-healing system and method
CN101398781B (en) System and method for rapidly diagnosing system software defect
JP2007207213A (en) Diagnostic information collecting method applied to real-time diagnosis of wireless device
CN106021024A (en) Method for reminding response stopping of user terminal, and user terminal
JP2007068135A (en) Diagnostic technique applied to real-time property of wireless device
JP2001005692A (en) Computer system, its maintenance and management system, and method for informing of fault
JP4558376B2 (en) controller
JP2004013714A (en) Communication terminal, debugging information notification system, and computer program
JP2007052756A (en) Learning type diagnostic database applied to trouble diagnosis in wireless device
JP2007141193A (en) Method for detecting memory leak applicable to real time property for wireless device
JP2004192293A (en) Software verification support tool
CN114257534A (en) Test result processing method, device and system and storage medium
JP2007048247A (en) System freeze diagnostics and restoration technique applied to wireless device
CN112925714A (en) Application program monitoring method and system, electronic device and storage medium
TW424178B (en) Device and method for control power arbitration of data process system
JP4901403B2 (en) Software component management system