JP2005332068A - Program failure analysis system and program failure analysis method - Google Patents
Program failure analysis system and program failure analysis method Download PDFInfo
- Publication number
- JP2005332068A JP2005332068A JP2004147965A JP2004147965A JP2005332068A JP 2005332068 A JP2005332068 A JP 2005332068A JP 2004147965 A JP2004147965 A JP 2004147965A JP 2004147965 A JP2004147965 A JP 2004147965A JP 2005332068 A JP2005332068 A JP 2005332068A
- Authority
- JP
- Japan
- Prior art keywords
- program
- information terminal
- execution history
- server
- terminal device
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Landscapes
- Debugging And Monitoring (AREA)
Abstract
【課題】 プログラム実行履歴情報量が増えた場合にも容易に対応でき、しかも迅速にプログラム実行履歴の解析結果を知ることができるプログラム障害解析システムおよびその解析方法を得る。
【解決手段】 少なくともプログラムを実行するプログラム実行手段8およびこのプログラム実行手段で実行されたプログラムの実行履歴を記録するプログラム実行履歴記録手段12を有する情報端末装置1と、少なくとも情報端末装置から無線通信を介して受信したプログラム実行履歴を解析するプログラム実行履歴解析手段23を有するサーバ20とを備え、プログラムバグによる障害が発生した場合は、サーバは解析情報を情報端末装置側に送信し、情報端末装置側はこれを画面表示や音声にて報知する。
【選択図】 図1
PROBLEM TO BE SOLVED: To obtain a program failure analysis system and an analysis method thereof that can easily cope with an increase in the amount of program execution history information and can quickly know the analysis result of the program execution history.
An information terminal apparatus having at least a program execution means for executing a program and a program execution history recording means for recording an execution history of the program executed by the program execution means, and at least wireless communication from the information terminal apparatus. And a server 20 having a program execution history analysis means 23 for analyzing the program execution history received via the server, and when a failure due to a program bug occurs, the server transmits the analysis information to the information terminal device side, and the information terminal The device side notifies this by screen display or voice.
[Selection] Figure 1
Description
この発明は、例えばカーナビゲーションシステム用のプログラムに障害が発生した場合に、これを自動的に解析するプログラム障害解析システムおよびプログラム障害解析方法に関するものである。 The present invention relates to a program failure analysis system and a program failure analysis method for automatically analyzing, for example, when a failure occurs in a program for a car navigation system.
従来、プログラムバグによる障害発生時に、情報端末に記録されたプログラム実行履歴に基づいて音声により不具合情報を報知するプログラム実行制御装置が提案されている(例えば、特許文献1参照)。 2. Description of the Related Art Conventionally, a program execution control device has been proposed in which failure information is notified by voice based on a program execution history recorded in an information terminal when a failure due to a program bug occurs (see, for example, Patent Document 1).
しかしながら、最近では、パーソナル・データ・アシスタント(PDA)やカーナビゲーションシステムのように情報端末のプログラム規模が大きくなり、CPU性能の向上とあいまって、プログラム実行履歴情報量が増える傾向にあり、従って、上記の特許文献1等に記載されているような従来装置の場合には、プログラムバグによる障害の解析に必要となる十分な情報を情報端末内の不揮発性メモリ上に記録することは困難となってきている。
また、一旦市場に出回った情報端末において発生したプログラムバグによる障害を解析する場合、情報端末からその解析に必要な情報を取得する方法が確立されておらず、プログラムバグによる障害の解析を困難なものとしている。
However, recently, the program scale of information terminals, such as personal data assistants (PDA) and car navigation systems, has increased, and along with improved CPU performance, the amount of program execution history information tends to increase. In the case of the conventional apparatus described in the above-mentioned
In addition, when analyzing failures due to program bugs that have occurred in information terminals that have been on the market, it has been difficult to analyze failures due to program bugs because a method for acquiring information necessary for the analysis from information terminals has not been established. It is supposed to be.
この発明は、前記のような課題を解決するためになされたもので、プログラム実行履歴情報量が増えた場合にも容易に対応でき、しかも迅速にプログラム実行履歴の解析結果を知ることができるプログラム障害解析システムおよびその解析方法を得ることを目的とする。 The present invention has been made to solve the above-described problems, and can easily cope with an increase in the amount of program execution history information, and can quickly know the analysis result of the program execution history. An object is to obtain a failure analysis system and an analysis method thereof.
この発明に係るプログラム障害解析システムは、少なくともプログラムを実行するプログラム実行手段およびこのプログラム実行手段で実行されたプログラムの実行履歴を記録するプログラム実行履歴記録手段を有する情報端末装置と、少なくとも情報端末装置から無線通信を介して受信したプログラム実行履歴を解析するプログラム実行履歴解析手段を有するサーバとを備え、プログラムバグによる障害が発生した場合は、サーバは解析情報を情報端末装置側に送信し、情報端末装置側はこれを画面表示や音声にて報知するものである。
また、この発明に係るプログラム障害解析方法は、情報端末装置からプログラム実行履歴を無線通信でセンタのサーバへ送信する第1のステップと、サーバで送信されてきたプログラム実行履歴を解析する第2のステップと、この解析の結果、プログラムバグによる障害が発生した場合は、その解析情報を情報端末装置側に送信する第3のステップと、この送信されてきた解析情報を情報端末装置側で画面表示または音声により報知する第4のステップとを備えたものである。
The program failure analysis system according to the present invention includes at least an information terminal device having a program execution means for executing a program, a program execution history recording means for recording an execution history of a program executed by the program execution means, and at least an information terminal device And a server having program execution history analysis means for analyzing the program execution history received via wireless communication, and when a failure due to a program bug occurs, the server sends analysis information to the information terminal device side, The terminal device side notifies this by screen display or voice.
The program failure analysis method according to the present invention includes a first step of transmitting a program execution history from an information terminal device to a center server by wireless communication, and a second step of analyzing the program execution history transmitted from the server. Step, and if a failure due to a program bug occurs as a result of this analysis, a third step of transmitting the analysis information to the information terminal device side, and displaying the transmitted analysis information on the information terminal device side Or a fourth step of notifying by voice.
この発明は、プログラム実行履歴情報量が増えた場合にも容易に対応し、プログラムバグ解析手段を持たない情報端末においても即座にプログラム実行履歴の解析結果を知ることができ、以って、プログラムバグによる障害解析を容易に且つ迅速に行うことが可能となり、プログラム開発の効率の向上に寄与できるという効果がある。 The present invention can easily cope with an increase in the amount of program execution history information, and can immediately know the analysis result of the program execution history even in an information terminal having no program bug analysis means. It is possible to easily and quickly analyze a failure due to a bug, and it is possible to contribute to an improvement in program development efficiency.
以下、この発明の実施の一形態を説明する。
実施の形態1.
図1は、この発明の実施の形態1によるプログラム障害解析システムの構成を示すブロック図である。
図1において、プログラム障害解析システムは、情報端末装置1およびこの情報端末装置1と無線通信で接続可能なセンターのサーバ20から構成されている。
情報端末装置1は、モニタ等の画面表示手段2と、リモコン等の入力手段3を備えており、また、車両を制御する車内LAN4と接続されている。また、情報端末装置1は、サーバ20と無線通信を行うための無線通信手段5と、この無線通信手段5を用いてデータの送受信を行う送受信手段6と、この送受信手段6の送信タイミングを制御する送信タイミング制御手段7と、情報端末装置用のプログラム(ナビ等)を実行するためのプログラム実行手段8と、画面表示手段2を制御するための画面表示制御手段9と、入力手段3を制御するための入力制御手段10と、車内LAN4からの車両情報(例えば、車種、車速、オーディオ等の他機器の状態等)を取得するための車両情報取得手段11と、プログラム実行手段8で実行されたプログラムの実行履歴や、車両情報取得手段11からの車両情報をログとして記録するためのプログラム実行履歴記録手段12とを備える。
An embodiment of the present invention will be described below.
FIG. 1 is a block diagram showing a configuration of a program failure analysis system according to
In FIG. 1, the program failure analysis system includes an
The
また、サーバ20は、情報端末装置1と無線通信を行うための無線通信手段21と、無線通信手段21を用いてデータを送受信するための送受信手段22と、情報端末装置1から受信したプログラム実行履歴を解析するためのプログラム実行履歴解析手段23と、端末の修正プログラムを生成するための修正プログラム生成手段24と、データベースを記録しておくためのデータベース記録手段25と、サーバ側の処理負荷が高いかどうかを判断し、処理負荷が高いと判断したのであれば、送受信手段22を用いて情報端末装置1へプログラム実行履歴の送信を抑制するよう指示する、つまり、情報端末装置からサーバ20へプログラム実行履歴を送信するタイミングをサーバ20の処理負荷に応じて変更可能とする処理負荷制御手段26とを備える。
The
次に、動作について、図2〜図4のフローチャートを参照して説明する。
図2は、情報端末装置の通常動作を示すフローチャート、図3は情報端末装置の、障害が発生したときの動作を示すフローチャート、図4は、サーバの動作を示すフローチャートである。
先ず、図2を参照して、情報端末装置における通常の処理動作について説明する。
情報端末装置1においてナビ等のプログラムを開始すると、プログラム実行手段8においてプログラムのタスクが実行され(ステップST1)、タスクが実行される毎にプログラム実行手段8がプログラムのログ(実行タスク内容や、プログラム内の設定情報や、位置情報等)をプログラム実行履歴記録手段12を用いて記録すると共に、車両情報取得手段11が取得した車両情報をプログラム実行履歴記録手段12によって記録する(ステップST2)。
Next, the operation will be described with reference to the flowcharts of FIGS.
FIG. 2 is a flowchart showing the normal operation of the information terminal device, FIG. 3 is a flowchart showing the operation of the information terminal device when a failure occurs, and FIG. 4 is a flowchart showing the operation of the server.
First, a normal processing operation in the information terminal device will be described with reference to FIG.
When a program such as navigation is started in the
次に、サーバ20からプログラム実行履歴の送信抑制の要求を受信したか否かを判別し(ステップST3)、受信していれば、そのままステップST1に戻ってプログラム実行を続け、受信してなければ、一定時間が経過したかをタイマ監視し(ステップST4)、一定時間が経過してなければ、そのままステップST1に戻ってプログラム実行を続ける。
サーバ20からプログラム実行履歴の送信抑制の要求を受信しておらず、一定時間が経過していれば、送受信手段6がプログラム実行履歴記録手段12から前回サーバ20に送信した以降の部分のデータを取得し、無線通信手段5を用いてサーバ20に送信し(ステップST5)、ステップST1に戻ってプログラム実行を続ける。なお、ここで、送受信手段6によるサーバ20へのデータ送信タイミングについては送信タイミング制御手段7により制御可能となっている。
Next, it is determined whether or not a request to suppress transmission of the program execution history is received from the server 20 (step ST3). If received, the program returns to step ST1 and continues to execute the program. Then, a timer is monitored to determine whether a certain time has elapsed (step ST4). If the certain time has not elapsed, the program returns to step ST1 and continues to execute the program.
If a request for suppressing transmission of the program execution history has not been received from the
次に、図3を参照して、情報端末装置における障害が発生したときの処理動作について説明する。
サーバ20に送信した実行履歴情報をサーバ20が解析してプログラムバグによる障害があると判断すると、サーバ20から障害解析結果が送信されてくるので、無線通信手段5を用いて送受信手段6が障害解析結果を受信する(ステップST11)。受信した解析結果を画面表示制御手段9が画面表示手段2に表示してユーザに通知する(ステップST12)。なお、ここでは画面表示としているが、音声を使って報知してもよい。さらに、サーバ20から修正プログラムが送信されてくるため、それを無線通信手段5を用いて送受信手段6で受信し(ステップST13)、修正プログラムを実行して情報端末装置1の障害プログラムを修正する(ステップST14)。なお、サーバ20から障害解析結果を受信した場合に、プログラムを修正するか、しないかの信号を入力手段3から入力するようにしてもよい。
Next, with reference to FIG. 3, the processing operation when a failure occurs in the information terminal device will be described.
When the
次に、図4を参照して、サーバにおける処理動作について説明する。
サーバ20は動作を開始すると、まず、情報端末装置1からの受信待ち状態となる(ステップST21)。情報端末装置1からプログラム実行履歴が送信されてきたら、それを無線通信手段21を用いて送受信手段22で受信する(ステップST22)。処理負荷制御手段26において、サーバ20の処理負荷をチェックし(ステップST23)、さらに、処理負荷が高いか否かを判別し(ステップST24)、処理負荷が高いと判断したのであれば、情報端末装置1へプログラム実行履歴送信抑制の要求を送信し(ステップST25)、再びサーバ20の処理負荷のチェックに戻る。
Next, the processing operation in the server will be described with reference to FIG.
When the
一方、ステップST24で、処理負荷制御手段26において、サーバ20の処理負荷が低いと判断したのであれば、受信したプログラム実行履歴のデータをプログラム実行履歴解析手段23において解析する(ステップST26)。解析した結果がプログラムバグによる障害であるかどうかを判定し(ステップST27)、プログラムバグによる障害でなければステップST21の受信待ち状態に戻る。解析した結果がプログラムバグによる障害であれば、送受信手段22において無線通信手段21を用いて情報端末装置1へ解析結果を送信する(ステップST28)。
On the other hand, if the processing load control means 26 determines in step ST24 that the processing load on the
さらに、プログラムバグによる障害に対する修正プログラムを生成して取得し(ステップST29)、その修正プログラムを情報端末装置1側に送信する(ステップST30)。次いで、プログラムバグによる障害内容をデータベース(DB)に登録し(ステップST31)、ステップST21の受信待ち状態に戻る。ステップST31では、端末毎のデータが入力されており、従って、データを修正したときには、その修正データを更新する。
なお、DBに登録した障害内容は、統計情報を算出するのに用いたり、或いは、プログラム実行履歴解析手段23において過去に同様の障害があったかどうかを参照し、障害であるかどうかの判定材料に用いる。
Furthermore, a correction program for a failure caused by a program bug is generated and acquired (step ST29), and the correction program is transmitted to the
The failure contents registered in the DB are used to calculate statistical information, or refer to whether there has been a similar failure in the past in the program execution history analysis means 23, and can be used as a material for determining whether or not it is a failure. Use.
以上のように、実施の形態1によれば、情報端末装置において、プログラム実行履歴を無線通信でサーバへ送信し、サーバでこのプログラム実行履歴を解析し、プログラムバグによる障害が発生した場合は、解析情報を情報端末側に送信し、情報端末側はこれを画面表示や音声にて報知することで、プログラム実行履歴情報量が増えた場合にも容易に対応し、プログラムバグ解析手段を持たない情報端末においても即座にプログラム実行履歴の解析結果を知ることができ、以って、プログラムバグによる障害解析を容易に且つ迅速に行うことができ、プログラム開発の効率を向上できる。 As described above, according to the first embodiment, in the information terminal device, when the program execution history is transmitted to the server by wireless communication, the program execution history is analyzed by the server, and a failure due to a program bug occurs, Analytical information is sent to the information terminal side, and the information terminal side notifies it by screen display or voice, so that it can easily cope with an increase in the amount of program execution history information and has no program bug analysis means Even in the information terminal, it is possible to immediately know the analysis result of the program execution history, so that the failure analysis due to the program bug can be easily and quickly performed, and the efficiency of program development can be improved.
また、サーバでのプログラム実行履歴の解析の結果、プログラムバグによる障害であると判断した場合、サーバは自動的に修正プログラムを生成し、情報端末側へ送信して情報端末側のプログラムを更新するので、プログラムバグによる障害に対するより精度の高い解析が可能になる。
また、情報端末からサーバへ送信する情報として、プログラム実行履歴の他に実行中のバージョンを知らせるプログラムバージョン情報、端末ID情報、それに情報端末がカーナビゲーションシステムであれば位置情報、車速、車両情報、端末側画面ダンプ情報等の車両情報を付加して送信することにより、サーバでのプログラムバグ解析をより正確なものとすることができる。
さらに、サーバは情報端末からプログラム実行履歴を送信するタイミングを該サーバの処理負荷に応じて変更することができるので、より正確で、汎用性のあるプログラム障害解析が可能になる。
Also, if it is determined that the failure is caused by a program bug as a result of analyzing the program execution history on the server, the server automatically generates a correction program and sends it to the information terminal side to update the program on the information terminal side. Therefore, it becomes possible to analyze the failure due to the program bug with higher accuracy.
Further, as information to be transmitted from the information terminal to the server, program version information that informs the version being executed in addition to the program execution history, terminal ID information, and if the information terminal is a car navigation system, position information, vehicle speed, vehicle information, By adding and transmitting vehicle information such as terminal-side screen dump information, program bug analysis at the server can be made more accurate.
Further, since the server can change the timing of transmitting the program execution history from the information terminal according to the processing load of the server, it is possible to perform more accurate and versatile program failure analysis.
1 情報端末装置、2 画面表示手段、3 入力手段、4 車内LAN、5 無線通信手段、6 送受信手段、7 送信タイミング制御手段、8 プログラム実行手段、9 画面表示制御手段、10 入力制御手段、11 車両情報取得手段、12 プログラム実行履歴記録手段、20 サーバ、21 無線通信手段、22 送受信手段、23 プログラム実行履歴解析手段、24 修正プログラム生成手段、25 データベース記録手段、26 処理負荷制御手段。
DESCRIPTION OF
Claims (7)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2004147965A JP2005332068A (en) | 2004-05-18 | 2004-05-18 | Program failure analysis system and program failure analysis method |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2004147965A JP2005332068A (en) | 2004-05-18 | 2004-05-18 | Program failure analysis system and program failure analysis method |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JP2005332068A true JP2005332068A (en) | 2005-12-02 |
Family
ID=35486711
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2004147965A Pending JP2005332068A (en) | 2004-05-18 | 2004-05-18 | Program failure analysis system and program failure analysis method |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP2005332068A (en) |
Cited By (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2008176404A (en) * | 2007-01-16 | 2008-07-31 | Toshiba Corp | Remote monitoring / diagnosis system |
| JP2008176403A (en) * | 2007-01-16 | 2008-07-31 | Toshiba Corp | Remote monitoring / diagnosis system |
| WO2009104268A1 (en) * | 2008-02-21 | 2009-08-27 | 富士通株式会社 | Patch candidate selector, program for selecting patch candidate, and method for selecting patch candidate |
| US20200050532A1 (en) | 2017-04-24 | 2020-02-13 | Microsoft Technology Licensing, Llc | Machine Learned Decision Guidance for Alerts Originating from Monitoring Systems |
| JPWO2021261113A1 (en) * | 2020-06-25 | 2021-12-30 |
-
2004
- 2004-05-18 JP JP2004147965A patent/JP2005332068A/en active Pending
Cited By (12)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2008176404A (en) * | 2007-01-16 | 2008-07-31 | Toshiba Corp | Remote monitoring / diagnosis system |
| JP2008176403A (en) * | 2007-01-16 | 2008-07-31 | Toshiba Corp | Remote monitoring / diagnosis system |
| US8255187B2 (en) | 2007-01-16 | 2012-08-28 | Kabushiki Kaisha Toshiba | Remote monitoring diagnostic system |
| WO2009104268A1 (en) * | 2008-02-21 | 2009-08-27 | 富士通株式会社 | Patch candidate selector, program for selecting patch candidate, and method for selecting patch candidate |
| US8327190B2 (en) | 2008-02-21 | 2012-12-04 | Fujitsu Limited | Candidate-patch selecting apparatus, computer product, and method |
| JP5152206B2 (en) * | 2008-02-21 | 2013-02-27 | 富士通株式会社 | Patch candidate selection device, patch candidate selection program, and patch candidate selection method |
| US20200050532A1 (en) | 2017-04-24 | 2020-02-13 | Microsoft Technology Licensing, Llc | Machine Learned Decision Guidance for Alerts Originating from Monitoring Systems |
| JP2020518064A (en) * | 2017-04-24 | 2020-06-18 | マイクロソフト テクノロジー ライセンシング,エルエルシー | Machine learning decision guidelines for warnings issued by monitoring systems |
| US11809304B2 (en) | 2017-04-24 | 2023-11-07 | Microsoft Technology Licensing, Llc | Machine learned decision guidance for alerts originating from monitoring systems |
| JPWO2021261113A1 (en) * | 2020-06-25 | 2021-12-30 | ||
| WO2021261113A1 (en) * | 2020-06-25 | 2021-12-30 | 住友電気工業株式会社 | Vehicle monitoring program, on-board device, and vehicle monitoring method |
| JP7574848B2 (en) | 2020-06-25 | 2024-10-29 | 住友電気工業株式会社 | VEHICLE MONITORING PROGRAM, ON-VEHICLE DEVICE, AND VEHICLE MONITORING METHOD |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US8588767B2 (en) | Mobile terminal device, self-diagnosis method and non-transitory, computer readable storage medium | |
| CN110308471B (en) | Device positioning method, device, storage medium and electronic device | |
| JP2005208040A (en) | Predicted traffic congestion information display method and navigation device | |
| EP2234101B1 (en) | Client apparatus, computer system, computer readable program storage medium and display method, each for detecting change of display contents in status bar area to display the change | |
| JP2005332068A (en) | Program failure analysis system and program failure analysis method | |
| EP3327638A1 (en) | Information processing apparatus, system, method, and program for notifying a malfunctioning apparatus | |
| CN112752235B (en) | OBU detection method, OBU, ETC system, vehicle and storage medium | |
| JP2003063327A (en) | Vehicle electronic control unit | |
| CN107609114B (en) | Log information reporting method, device and storage medium, ADSP and terminal | |
| US20080281520A1 (en) | Positioning system and receiving terminal used therein | |
| JP4930010B2 (en) | How to migrate to a thin client system | |
| JP2022153363A (en) | Server device, information processing method, and server program | |
| JP6249874B2 (en) | Wireless communication device | |
| KR102785444B1 (en) | Method, apparatus and recording medium storing instructions for determining map to be loaded in delivery management application | |
| JP2018042142A (en) | Communication apparatus and communication system | |
| JP2002024052A (en) | Error reproduction test method for computer peripherals | |
| CN107590241B (en) | Log information reporting method, device and storage medium, ADSP and terminal | |
| CN116700226B (en) | A time parameter testing method, device, equipment and medium for diagnostic fault codes | |
| JP7694533B2 (en) | Information processing device, method, and program | |
| JP2020117058A (en) | On-vehicle system | |
| CN121441782A (en) | Network detection method and related device | |
| KR20070006134A (en) | High Availability Telematics Terminal | |
| CN119829379A (en) | Reset behavior detection method and device, electronic equipment and storage medium | |
| JP2004341817A (en) | Information processing method and program, and navigation device | |
| CN117435827A (en) | Page switching method, device, electronic equipment and storage medium |