JP5735887B2 - Operation card initialization method - Google Patents

Operation card initialization method Download PDF

Info

Publication number
JP5735887B2
JP5735887B2 JP2011174043A JP2011174043A JP5735887B2 JP 5735887 B2 JP5735887 B2 JP 5735887B2 JP 2011174043 A JP2011174043 A JP 2011174043A JP 2011174043 A JP2011174043 A JP 2011174043A JP 5735887 B2 JP5735887 B2 JP 5735887B2
Authority
JP
Japan
Prior art keywords
data
recorder
card
management device
operation recorder
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
JP2011174043A
Other languages
Japanese (ja)
Other versions
JP2013037574A (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.)
Yazaki Energy System Corp
Original Assignee
Yazaki Energy System Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Yazaki Energy System Corp filed Critical Yazaki Energy System Corp
Priority to JP2011174043A priority Critical patent/JP5735887B2/en
Publication of JP2013037574A publication Critical patent/JP2013037574A/en
Application granted granted Critical
Publication of JP5735887B2 publication Critical patent/JP5735887B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本発明は、運行カード初期化方法に関し、特に、車両に搭載される運行記録計に装着される運行カードを初期化するための技術に関する。   The present invention relates to an operation card initialization method, and more particularly to a technique for initializing an operation card attached to an operation recorder mounted on a vehicle.

営業目的で使用される貨物輸送用トラックおよびタクシーなどの営業用車両においては、運行情報の記録を残すことが法令で義務づけられている。そのため、例えば車速、エンジン回転速度、走行距離などの運行情報を自動的に収集し記録することが可能な運行記録計(例えばデジタルタコグラフ)が車両に搭載される。このような運行記録計が収集した情報は、安全管理、経済管理、労務管理等に利用される。   For business vehicles such as freight trucks and taxis used for business purposes, it is required by law to keep a record of operation information. Therefore, an operation recorder (for example, a digital tachograph) capable of automatically collecting and recording operation information such as a vehicle speed, an engine rotation speed, and a travel distance is mounted on the vehicle. Information collected by such operation recorders is used for safety management, economic management, labor management, and the like.

一般的な運行記録計においては、不揮発性メモリを搭載した運行カードをデータ記録媒体として使用する。具体的には、フラッシュメモリ等を搭載したメモリカードが運行カードとして使用される。また、運行カードは運行記録計に対して着脱自在であり、通常は、乗務員が乗務を開始する時に各乗務員が所持している運行カードが運行記録計に装着される。   In a general operation recorder, an operation card equipped with a nonvolatile memory is used as a data recording medium. Specifically, a memory card equipped with a flash memory or the like is used as an operation card. The operation card is detachable from the operation recorder. Normally, when the crew member starts the crew, the operation card possessed by each crew member is attached to the operation recorder.

運行記録計は、例えば車両の営業運行中に短い周期で定期的に情報の収集を繰り返し、得られたデータを運行カード上に自動的に記録し保存する。また、近年の運行記録計は、車載カメラによって撮影された静止画の集合や動画のような大容量のデータを運行カードに記録する機能を有する場合が多い。   The operation recorder, for example, periodically collects information in a short cycle during the business operation of the vehicle, and automatically records and stores the obtained data on the operation card. In addition, recent operation recorders often have a function of recording a large amount of data such as a collection of still images or moving images taken by an in-vehicle camera on an operation card.

このような運行カードを使用する運行記録計に関する従来技術としては、例えば特許文献1および特許文献2に開示された技術が知られている。例えば、特許文献1においては、運行記録計に装着される運行カードは、事務所内に設置された管理装置(パーソナルコンピュータ)を用いて初期化することが開示されている。   As a conventional technique related to an operation recorder using such an operation card, for example, techniques disclosed in Patent Document 1 and Patent Document 2 are known. For example, Patent Document 1 discloses that an operation card attached to an operation recorder is initialized using a management device (personal computer) installed in an office.

特開2008−152609号公報JP 2008-152609 A 特開2004−234260号公報Japanese Patent Laid-Open No. 2004-234260

ところで、実際に運行記録計を使用している時には、動作不良が発生する場合がある。具体的には、運行記録計の本体から運行カードにデータを書き込む際に書き込みエラーが頻繁に発生し、一部分だけしかデータが記録されなくなったり、データが全く記録されなくなる場合がある。このような不具合は、車載カメラで撮影した画像データを収集し運行カードに書き込む際に生じやすい。   By the way, when the operation recorder is actually used, a malfunction may occur. Specifically, when data is written from the main body of the operation recorder to the operation card, a write error frequently occurs, so that only a part of the data may be recorded or the data may not be recorded at all. Such inconvenience is likely to occur when collecting image data captured by the in-vehicle camera and writing it to the operation card.

書き込みエラーの原因については、運行カードの劣化および処理上の書き込みタイミングの問題が考えられる。すなわち、運行カードに搭載されているフラッシュメモリはその原理上、消去や書き込みの際に絶縁体となる酸化膜を電子が貫通して酸化膜を劣化させるので、書き換え回数に制限があり、データ書き換えの繰り返しによって徐々に劣化する。   As a cause of the writing error, there may be a problem of deterioration of the operation card and a writing timing in processing. In other words, the flash memory mounted on the operation card has a limited number of rewrites because the electrons penetrate the oxide film that becomes an insulator when erasing or writing, and deteriorates the oxide film. It gradually deteriorates by repeating.

データ容量の大きい画像データを運行カードに記録する場合には、運行カードの記録容量の制約により、必要に応じて時間的に古いデータを消去して新しいデータを上書きするように制御する必要がある。つまり、フラッシュメモリ上の同じ記録領域に対してデータ書き換えを繰り返すことになる。その結果、運行カード上でデータ書き換え回数の多くなった領域では、部分的に劣化が生じ書き込みエラーが発生する。   When recording image data with a large data capacity on the operation card, it is necessary to control to delete the old data and overwrite the new data as necessary due to restrictions on the recording capacity of the operation card. . That is, data rewriting is repeated for the same recording area on the flash memory. As a result, in the area where the number of data rewrites is increased on the operation card, partial deterioration occurs and a write error occurs.

また、書き込みエラーが発生すると、正しく書き込まれるまで同じ動作を繰り返す可能性があり、書き込み動作にかかる所要時間が通常よりも長くなる。そのため、収集したデータの容量に対してデータ書き込み速度が不足する事態が生じ、書き込み動作に不具合が生じる。   Further, when a write error occurs, the same operation may be repeated until it is correctly written, and the time required for the write operation becomes longer than usual. For this reason, a situation occurs in which the data writing speed is insufficient with respect to the capacity of the collected data, causing a problem in the writing operation.

また、運行カードの記録領域上で、既にデータが存在する箇所と空いている箇所とが不連続で存在していたり、空き領域がなくて上書きすべき領域を探す必要がある時にも、書き込み動作にかかる所要時間が通常よりも長くなる。   In addition, when there is a discontinuous location where data already exists and an empty location on the operation card recording area, or when there is no empty area and it is necessary to search for an area to be overwritten, a write operation is performed. It takes longer time than usual.

また、運行データの書き込みと画像データの書き込みとが同時期に発生したような場合にも、処理上の時間的な余裕がなくなり、運行カードの書き込み動作に不具合が生じる可能性がある。   In addition, even when the operation data writing and the image data writing occur at the same time, there is a possibility that there is no time for processing and there is a problem in the operation card writing operation.

例えば、運行カードの記録内容を全て消去すれば、データ書き込みの所要時間を短縮できる可能性がある。また、運行カードの記録領域の初期化として所定のフォーマット処理を行えば、例えばカード自体の劣化により書き込みに時間がかかる一部の領域を書き込み禁止領域として割り当てることも可能であり、書き込みエラーの発生を抑制し、動作の不具合をなくすることができる。   For example, if the entire contents of the operation card are erased, there is a possibility that the time required for data writing can be shortened. In addition, if a predetermined format process is performed as initialization of the recording area of the operation card, it is possible to assign a part of the area that takes time to write due to deterioration of the card itself, for example, as a write-inhibited area, and a write error occurs. Can be suppressed, and malfunction of the operation can be eliminated.

しかしながら、運行記録計が収集し記録するデータについては、厳格に管理しなければならず、収集されたデータを乗務員が勝手に消去したり改ざんするような操作を可能とする機能を搭載することは許されない。つまり、運行記録計により収集されたデータは、改ざんや消去をすることなく、特許文献1および特許文献2に開示されているような事務所内の管理装置側、すなわち管理者に届ける必要がある。   However, the data collected and recorded by the operation recorder must be strictly managed, and it is not possible to install a function that allows the crew to delete or tamper with the collected data without permission. Unacceptable. In other words, the data collected by the operation recorder needs to be delivered to the management device side in the office as disclosed in Patent Document 1 and Patent Document 2, that is, the manager without being altered or deleted.

そのため、運行カードの記録内容を消去したりフォーマットするような機能は、車載器である運行記録計には搭載できなかった。従って、運行カードに劣化が生じ、車両の営業運行中に書き込み動作に不具合が生じた場合であっても、すぐに正常な動作に戻すことはできなかった。つまり、乗務員の当日の業務が終了した後、運行記録計から取り外した運行カードを事務所内の管理装置に装着し、カードのフォーマット処理をしない限り、書き込みエラーの発生を抑制できなかった。   For this reason, functions such as erasing or formatting the recorded contents of the operation card could not be installed in the operation recorder that is a vehicle-mounted device. Therefore, even if the operation card is deteriorated and the writing operation is defective during the business operation of the vehicle, it cannot be immediately restored to the normal operation. In other words, after the day-to-day duties of the crew were completed, the occurrence of a writing error could not be suppressed unless the operation card removed from the operation recorder was attached to the management device in the office and the card was formatted.

本発明は、上述した事情に鑑みてなされたものであり、その目的は、乗務員の操作によるデータの改ざんや消去を防止すると共に、乗務員が事務所に戻ることなく不具合の発生した運行カードの初期化を行うことが可能な運行カード初期化方法を提供することにある。   The present invention has been made in view of the above-described circumstances, and its purpose is to prevent data from being falsified or erased by the operation of the crew, and at the initial stage of the operation card in which a malfunction has occurred without the crew returning to the office. An object is to provide a method of initializing an operation card that can be converted into a card.

前述した目的を達成するために、本発明に係る運行カード初期化方法は、下記(1)〜(2)を特徴としている。
(1) 車両に搭載される運行記録計と、前記車両の外側に配置される所定の管理装置との間で無線通信が可能な状況において、前記運行記録計の動作を制御するための運行カード初期化方法であって、
前記運行記録計側で、前記運行記録計に装着された所定の運行カードに対するデータ書き込みエラー発生を監視し、
前記データ書き込みエラー発生の状況が所定の条件を満たす場合に、前記運行記録計側から前記管理装置に対して書き込み不良通知を送信し、
前記管理装置側では、前記書き込み不良通知を受信した場合に、送信元の前記運行記録計に対して、運行カードの初期化を許可するフォーマットコマンドを送信する
こと。
(2) 上記(1)に記載の運行カード初期化方法であって、
前記管理装置側では、前記運行記録計に装着された運行カードに記録されている運行データを取得するための運行データ転送要求を前記運行記録計に対して送信し、
前記運行記録計側では、前記運行データ転送要求を受信した場合に、前記運行データを送信元の前記管理装置に対して送信し、
前記管理装置側では、前記運行記録計から送信される前記運行データを受信した後で、前記フォーマットコマンドを前記運行記録計に対して送信する
こと。
In order to achieve the above-described object, the operation card initialization method according to the present invention is characterized by the following (1) to (2).
(1) An operation card for controlling the operation of the operation recorder in a situation where wireless communication is possible between an operation recorder mounted on the vehicle and a predetermined management device arranged outside the vehicle. An initialization method,
On the operation recorder side, monitor the occurrence of a data write error for a predetermined operation card attached to the operation recorder,
When the data write error occurrence condition satisfies a predetermined condition, a write failure notification is sent from the operation recorder side to the management device,
On the management device side, when the writing failure notification is received, a format command for permitting initialization of the operation card is transmitted to the operation recorder as a transmission source.
(2) The operation card initialization method described in (1) above,
On the management device side, an operation data transfer request for acquiring operation data recorded on an operation card attached to the operation recorder is transmitted to the operation recorder,
On the operation recorder side, when the operation data transfer request is received, the operation data is transmitted to the management device of the transmission source,
On the management device side, after receiving the operation data transmitted from the operation recorder, the format command is transmitted to the operation recorder.

上記(1)の構成の運行カード初期化方法によれば、運行カードが劣化して書き込みエラーが発生したときに、事務所に戻らなくてもすぐさま対応できる。このため、エラー発生以降に生じる収集データの欠落を最小限に抑制できる。
上記(2)の構成の運行カード初期化方法によれば、データ書き込みエラーが発生した場合であっても、それ以前に収集された運行カード上のデータを管理装置側に確実に届けることができる。従って、運行カードの初期化を実施した場合でも、既に収集され記録された運行データを管理者に対して隠蔽することは不可能であり、乗務員等の不正行為を予防できる。
According to the operation card initialization method having the configuration (1) above, when the operation card deteriorates and a writing error occurs, it can be dealt with immediately without returning to the office. For this reason, the omission of the collected data that occurs after the occurrence of the error can be minimized.
According to the operation card initialization method having the configuration (2) above, even if a data write error occurs, the data on the operation card collected before that can be reliably delivered to the management device side. . Therefore, even when the operation card is initialized, it is impossible to hide the operation data that has already been collected and recorded from the manager, and it is possible to prevent an illegal act such as a crew member.

本発明によれば、乗務員の操作によるデータの改ざんや消去を防止すると共に、乗務員が事務所に戻ることなく不具合の発生した運行カードの初期化を行うことが可能になる。   According to the present invention, it is possible to prevent data from being falsified or erased by the operation of the crew, and to initialize the operation card in which the malfunction occurred without returning to the office.

以上、本発明について簡潔に説明した。更に、以下に説明される発明を実施するための形態を添付の図面を参照して通読することにより、本発明の詳細は更に明確化されるであろう。   The present invention has been briefly described above. Further, details of the present invention will be further clarified by reading through the modes for carrying out the invention described below with reference to the accompanying drawings.

図1は、実施形態のシステムにおける動作例を示すシーケンス図である。FIG. 1 is a sequence diagram illustrating an operation example in the system of the embodiment. 図2は、実施形態のシステム全体の構成例を示すブロック図である。FIG. 2 is a block diagram illustrating a configuration example of the entire system according to the embodiment. 図3は、図2に示した運行記録計の電気回路の構成例を示すブロック図である。FIG. 3 is a block diagram showing a configuration example of an electric circuit of the operation recorder shown in FIG. 図4は、図2に示した運行記録計の動作の概要を示すフローチャートである。FIG. 4 is a flowchart showing an outline of the operation of the operation recorder shown in FIG.

本発明の運行カード初期化方法に関する具体的な実施の形態について、各図を参照しながら以下に説明する。   Specific embodiments relating to the operation card initialization method of the present invention will be described below with reference to the drawings.

<システム全体の構成>
本実施形態においては、図2に示すようなシステムを利用する場合を想定している。すなわち、トラック等の業務用車両10に運行記録計100が搭載される。この運行記録計100は、業務用車両10の運行に関する様々な情報を自動的に収集しそのデータを所定の記録媒体に記録し保存する。
<System configuration>
In the present embodiment, it is assumed that a system as shown in FIG. 2 is used. That is, the operation recorder 100 is mounted on the business vehicle 10 such as a truck. The operation recorder 100 automatically collects various information related to the operation of the business vehicle 10 and records and stores the data in a predetermined recording medium.

一方、業務用車両10およびそれを運行する乗務員を管理する必要のある会社の事務所20の中には、事務所側管理装置200が設置されている。この事務所側管理装置200は、例えばパーソナルコンピュータにより構成され、所定の業務管理を行うために利用される。具体的には、運行記録計100が収集したデータに基づいて、分析や表示等の処理を行う。事務所20の管理者は、事務所側管理装置200を利用して乗務員等の安全管理、経済管理、労務管理等を実施する。   On the other hand, an office-side management device 200 is installed in the office 20 of a company that needs to manage the business vehicle 10 and the crew that operates it. The office management apparatus 200 is configured by, for example, a personal computer and is used for performing predetermined business management. Specifically, processing such as analysis and display is performed based on data collected by the operation recorder 100. The manager of the office 20 uses the office management device 200 to perform safety management, economic management, labor management, etc. for crew members.

運行記録計100から事務所側管理装置200へのデータの受け渡しについては、通常は運行記録計100に装着される記録媒体の物理的な移動により行われる。具体的には、運行カードと称する着脱自在な不揮発性メモリカード(図3の121)を毎日の乗務終了時に乗務員が運行記録計100から取り外し、事務所20に戻ってから事務所側管理装置200のカードリーダにこのメモリカードを装着しデータを転送する。   The data transfer from the operation recorder 100 to the office management device 200 is normally performed by physical movement of a recording medium attached to the operation recorder 100. Specifically, the detachable non-volatile memory card (121 in FIG. 3) called an operation card is removed from the operation recorder 100 by the crew at the end of the daily crew, and after returning to the office 20, the office-side management device 200 The memory card is attached to the card reader and data is transferred.

また、運行記録計100には無線通信機能が搭載されており、事務所側管理装置200にも通信機能が搭載されている。事務所側管理装置200は、インターネット等の通信ネットワークを経由して図2に示すサーバ300と接続することができる。また、業務用車両10に搭載されている運行記録計100も、無線通信によりサーバ300と通信することができる。サーバ300は、運行記録計100と事務所側管理装置200との間でデータの中継を行うことができる。従って、事務所側管理装置200はサーバ300を経由して運行記録計100との間で通信を行うことが可能であり、遠隔制御により運行記録計100を管理することができる。   The operation recorder 100 is equipped with a wireless communication function, and the office management device 200 is also equipped with a communication function. The office management apparatus 200 can be connected to the server 300 shown in FIG. 2 via a communication network such as the Internet. The operation recorder 100 mounted on the business vehicle 10 can also communicate with the server 300 by wireless communication. The server 300 can relay data between the operation recorder 100 and the office management device 200. Therefore, the office-side management apparatus 200 can communicate with the operation recorder 100 via the server 300, and can manage the operation recorder 100 by remote control.

<運行記録計の構成例>
図2に示した運行記録計100の電気回路の構成例が図3に示されている。図3に示すように、運行記録計100の本体の中には、情報処理部101、メモリカードI/O部102、インタフェース103、プログラム格納部104、設定値データ格納部105、操作部106、表示部107、車両情報格納部108、および通信端末インタフェース109が備わっている。
<Configuration example of operation recorder>
An example of the configuration of the electric circuit of the operation recorder 100 shown in FIG. 2 is shown in FIG. As shown in FIG. 3, the main body of the operation recorder 100 includes an information processing unit 101, a memory card I / O unit 102, an interface 103, a program storage unit 104, a set value data storage unit 105, an operation unit 106, A display unit 107, a vehicle information storage unit 108, and a communication terminal interface 109 are provided.

情報処理部101は、マイクロコンピュータ(CPU)により構成されており、予め用意されたプログラムを実行することにより運行記録計100の動作に必要な機能を提供する。   The information processing unit 101 is configured by a microcomputer (CPU), and provides a function necessary for the operation of the operation recorder 100 by executing a program prepared in advance.

メモリカードI/O部102は、メモリカード121を装着可能なスロットを有しており、情報処理部101とメモリカード121との間のデータ入出力(I/O)を制御する。すなわち、情報処理部101はメモリカードI/O部102を経由してメモリカード121にアクセスし、メモリカード121からデータを読み出したりデータを書き込むことができる。また、情報処理部101はメモリカードI/O部102のスロットに対するカード挿入の有無も識別できる。   The memory card I / O unit 102 has a slot in which the memory card 121 can be inserted, and controls data input / output (I / O) between the information processing unit 101 and the memory card 121. That is, the information processing unit 101 can access the memory card 121 via the memory card I / O unit 102, read data from the memory card 121, and write data. The information processing unit 101 can also identify whether or not a card is inserted into the slot of the memory card I / O unit 102.

メモリカード121は、例えばフラッシュメモリのように不揮発性の記録領域を有する記録媒体であり、通常は事務所側管理装置200により初期化された後で使用される。各メモリカード121には、運行カードとして使用できるように、当該カードを識別するための固有の識別情報や、それを所持する乗務員を識別するための乗務員コードなどが事務所側管理装置200によって書き込まれる。   The memory card 121 is a recording medium having a non-volatile recording area such as a flash memory, and is normally used after being initialized by the office side management device 200. In each memory card 121, unique identification information for identifying the card and a crew member code for identifying a crew member possessing the card are written by the office-side management device 200 so that the card can be used as an operation card. It is.

インタフェース(I/F)103は、運行記録計100が取得すべき様々な運行情報を情報処理部101に入力するための信号処理を行う。具体的には、インタフェース103は車両側の各種センサや電子制御装置(ECU)と接続され、車速やエンジン回転速度を表す信号が入力される。   The interface (I / F) 103 performs signal processing for inputting various pieces of operation information to be acquired by the operation recorder 100 to the information processing unit 101. Specifically, the interface 103 is connected to various sensors and an electronic control unit (ECU) on the vehicle side, and signals representing vehicle speed and engine speed are input.

プログラム格納部104は、読み出し専用メモリ(ROM)により構成されており、情報処理部101が実行可能な各種プログラムの情報が予め保持されている。プログラム格納部104が保持するプログラムの中には、基本動作を制御するオペレーティングシステムのプログラムや、運行記録計の動作を制御するためのアプリケーションプログラムが含まれている。   The program storage unit 104 is configured by a read-only memory (ROM), and holds information on various programs that can be executed by the information processing unit 101 in advance. The programs stored in the program storage unit 104 include an operating system program for controlling basic operations and an application program for controlling operations of the operation recorder.

設定値データ格納部105は、読み出し専用メモリ(EEPROM)により構成されており、運行記録計100の動作に必要な各種の定数データを保持している。なお、設定値データ格納部105が保持するデータについては、特別な処理を行うことにより書き換えることが可能である。   The set value data storage unit 105 is configured by a read-only memory (EEPROM) and holds various constant data necessary for the operation of the operation recorder 100. Note that the data held by the set value data storage unit 105 can be rewritten by performing a special process.

操作部106は、情報処理部101が乗務員からの入力操作を受け付けるために必要な各種ボタンを備えている。表示部107は、液晶表示器(LCD)により構成されており、情報処理部101の制御に従い、文字列や数値などの情報を可視情報として乗務員に提示することができる。   The operation unit 106 includes various buttons necessary for the information processing unit 101 to accept an input operation from a crew member. The display unit 107 is configured by a liquid crystal display (LCD), and can display information such as character strings and numerical values to the crew as visible information under the control of the information processing unit 101.

車両情報格納部108は、データの読み書きが自在なメモリ(RAM)により構成されている。車両情報格納部108は、揮発性であり、情報処理部101が様々な情報を一時的に格納するために利用される。   The vehicle information storage unit 108 is configured by a memory (RAM) that can freely read and write data. The vehicle information storage unit 108 is volatile, and is used by the information processing unit 101 to temporarily store various information.

通信端末インタフェース109は、情報処理部101が通信端末123を利用するために必要な通信機能を提供する。通信端末123は、例えばテレマティクス端末のように、無線通信により車外の通信網と接続しデータ通信を行うことができる。本実施形態では、通信端末123は図2に示したサーバ300との間で無線通信することができる。   The communication terminal interface 109 provides a communication function necessary for the information processing unit 101 to use the communication terminal 123. The communication terminal 123 can perform data communication by connecting to a communication network outside the vehicle by wireless communication, such as a telematics terminal. In the present embodiment, the communication terminal 123 can perform wireless communication with the server 300 illustrated in FIG.

本実施形態の運行記録計100は、車載カメラ122により撮影された画像のデータを運行データと共に収集し記録する機能を有している。この車載カメラ122は、例えば車両の進行方向前方または後方の風景、あるいは車室内の状況を周期的に撮影する。
信号処理部110は、車載カメラ122が出力する映像等の信号に対してアナログ/デジタル変換等の処理を施して、情報処理部101の処理に適した画像データを生成する。
The operation recorder 100 according to the present embodiment has a function of collecting and recording image data taken by the in-vehicle camera 122 together with operation data. The in-vehicle camera 122 periodically photographs, for example, a landscape in front of or behind the vehicle in the traveling direction or a situation in the vehicle interior.
The signal processing unit 110 performs processing such as analog / digital conversion on a signal such as an image output from the in-vehicle camera 122 to generate image data suitable for the processing of the information processing unit 101.

<運行記録計の動作の概要>
図2に示した運行記録計100の動作の概要が図4に示されている。
運行記録計100に電源が投入された後、情報処理部101はイグニッションスイッチの状態を監視してエンジンがオンか否か識別する。エンジンがオンになると、図4のステップS11からS12に進む。
<Overview of operation of operation recorder>
An outline of the operation of the operation recorder 100 shown in FIG. 2 is shown in FIG.
After the operation recorder 100 is turned on, the information processing unit 101 monitors the state of the ignition switch to identify whether the engine is on. When the engine is turned on, the process proceeds from step S11 to S12 in FIG.

ステップS12では、情報処理部101はメモリカードI/O部102のスロットにメモリカード121が装着されているか否かを識別し、未装着の場合は装着されるまで待機する。また、メモリカード121が未装着の場合には適当なメッセージを表示部107で表示し、乗務員にメモリカードの挿入を促す。   In step S12, the information processing unit 101 identifies whether or not the memory card 121 is installed in the slot of the memory card I / O unit 102, and waits until it is installed if not installed. If the memory card 121 is not installed, an appropriate message is displayed on the display unit 107 to prompt the crew to insert the memory card.

ステップS13では、情報処理部101は運行記録計100におけるデータの収集および記録を開始する。これ以降、運行情報、すなわち車速、エンジン回転速度、走行距離、時刻などの情報が定期的に収集され、収集されたデータがメモリカード121に書き込まれる。   In step S <b> 13, the information processing unit 101 starts collecting and recording data in the operation recorder 100. Thereafter, operation information, that is, information such as vehicle speed, engine rotation speed, travel distance, and time is periodically collected, and the collected data is written to the memory card 121.

また、運行情報の他に、車載カメラ122により撮影された画像のデータもメモリカード121に記録される。図4に示すように、車載カメラ122が撮影時に出力する映像等の信号は信号処理部110に入力され、デジタル信号に変換される。信号処理部110が出力するデジタル信号、すなわち画像データは、情報処理部101が実行する所定のアプリケーションプログラム131に入力される。このアプリケーションプログラム131は、一定の周期(例えば1秒間隔)で各フレームの画像データを取り込み、所定の符号化処理を行う。例えば、MPEG(Moving Picture Experts Group)形式の画像データに変換する。生成するデータのビットレートは384kbps〜4096kbps程度である。   In addition to the operation information, image data taken by the in-vehicle camera 122 is also recorded in the memory card 121. As shown in FIG. 4, a signal such as a video output by the in-vehicle camera 122 at the time of shooting is input to the signal processing unit 110 and converted into a digital signal. A digital signal output from the signal processing unit 110, that is, image data, is input to a predetermined application program 131 executed by the information processing unit 101. The application program 131 takes in image data of each frame at a constant cycle (for example, at intervals of 1 second) and performs a predetermined encoding process. For example, the image data is converted into MPEG (Moving Picture Experts Group) format image data. The bit rate of data to be generated is about 384 kbps to 4096 kbps.

また、上述のアプリケーションプログラム131は、生成した画像データを一定のサイズ毎に区分して、車両情報格納部108上のバッファ領域に一時的に格納する。そして、一定量(例えば32kbyte)の画像データがバッファ上に溜まると、アプリケーションプログラムは、該当するデータを保存対象としてファイルシステム132に渡す。   Further, the above-described application program 131 divides the generated image data into predetermined sizes and temporarily stores them in a buffer area on the vehicle information storage unit 108. When a certain amount (for example, 32 kbytes) of image data accumulates on the buffer, the application program passes the corresponding data to the file system 132 as a storage target.

ファイルシステム132は、情報処理部101が実行可能な基本プログラムの中に含まれており、情報処理部101がメモリカード121にアクセスする際に必要な基本制御機能を備えている。例えば、保存対象の一定サイズのデータがアプリケーションプログラム131からファイルシステム132に入力されると、ファイルシステム132は受け取ったデータを1つのデータファイルとしてメモリカード121上に書き込む。   The file system 132 is included in a basic program that can be executed by the information processing unit 101, and has a basic control function necessary when the information processing unit 101 accesses the memory card 121. For example, when data of a certain size to be saved is input from the application program 131 to the file system 132, the file system 132 writes the received data on the memory card 121 as one data file.

ファイルシステム132がメモリカード121に対してデータファイルを書き込む際には、正しくデータが書き込まれたか否かを検証し、異常がある場合には同じデータを再び書き込むか、もしくは書き込み不良発生として処理する(図4のS21)。   When the file system 132 writes the data file to the memory card 121, it is verified whether or not the data has been correctly written. If there is an abnormality, the same data is written again or processed as a write failure. (S21 in FIG. 4).

1日の業務が終了すると、運行記録計100が搭載された車両の乗務員は、操作部106に含まれる「終了ボタン」を押下する。情報処理部101は「終了ボタン」の押下をステップS14で検出すると、動作を終了する。運行記録計100の動作が終了した後、乗務員はメモリカード121を運行記録計100から取り外すことができる。   When one day of work is completed, the crew member of the vehicle on which the operation recorder 100 is mounted presses an “end button” included in the operation unit 106. When the information processing unit 101 detects that the “end button” is pressed in step S14, the information processing unit 101 ends the operation. After the operation of the operation recorder 100 is completed, the crew can remove the memory card 121 from the operation recorder 100.

<異常が発生した場合のシステムの動作>
本実施形態のシステムにおける異常発生時の動作例が図1に示されている。図1に示す動作について以下に説明する。
<System operation when an error occurs>
FIG. 1 shows an operation example when an abnormality occurs in the system of the present embodiment. The operation shown in FIG. 1 will be described below.

運行記録計100の情報処理部101は、ステップS21でエラー発生の監視を実行する。すなわち、図4に示したように、ファイルシステム132がメモリカード121にデータを書き込む際に、正しく書き込まれたか否かを検証し、書き込みの失敗を検出した場合には、同じデータを再び書き込んだり、エラー発生として処理する。   The information processing unit 101 of the operation recorder 100 monitors the occurrence of an error in step S21. That is, as shown in FIG. 4, when the file system 132 writes data to the memory card 121, it is verified whether or not the data has been correctly written. If a write failure is detected, the same data is written again. Process as an error occurrence.

ステップS21において、書き込み不良として認識すべき特定の条件を満たした場合、例えば所定時間以内に書き込みが完了しない場合や、書き込みエラーの発生回数または発生頻度が所定以上になった場合には、図1のステップS22を実行する。すなわち、情報処理部101はステップS22で「運行カード書き込み不良通知」を事務所側管理装置200に通知する。   In step S21, when a specific condition that should be recognized as a writing failure is satisfied, for example, when writing is not completed within a predetermined time, or when the number of occurrences or the occurrence frequency of the writing error exceeds a predetermined value, FIG. Step S22 is executed. That is, the information processing unit 101 notifies the office-side management device 200 of “operation card writing failure notification” in step S22.

なお、図1においては省略されているが、運行記録計100が無線通信により送信する「運行カード書き込み不良通知」は図2に示すようにサーバ300で受信され、サーバ300の中継動作により事務所側管理装置200に「運行カード書き込み不良通知」が送信される。   Although omitted in FIG. 1, the “operation card writing failure notification” transmitted by the operation recorder 100 by wireless communication is received by the server 300 as shown in FIG. “Operation card writing failure notification” is transmitted to the side management device 200.

事務所側管理装置200においては、サーバ300からの信号の受信を常時監視している。そして、運行記録計100からの「運行カード書き込み不良通知」を受信した場合には、ステップS31で「運行データ転送要求」を、「運行カード書き込み不良通知」の送信元の運行記録計100に対して送信する。この「運行データ転送要求」も、サーバ300で中継されて無線通信により運行記録計100に届けられる。   The office management device 200 constantly monitors reception of signals from the server 300. When the “operation card writing failure notification” is received from the operation recorder 100, the “operation data transfer request” is sent to the operation recording meter 100 that is the transmission source of the “operation card writing failure notification” in step S31. To send. This “operation data transfer request” is also relayed by the server 300 and delivered to the operation recorder 100 by wireless communication.

運行記録計100の情報処理部101は、前記「運行カード書き込み不良通知」の送信の後で事務所側管理装置200からの「運行データ転送要求」を受信すると、ステップS23で運行データ転送を実行する。すなわち、運行記録計100に現在装着されているメモリカード121にそれまでに記録された全ての運行データ(画像も含む)を順番に読み出して、これらを事務所側管理装置200宛てに送信する。このデータもサーバ300で中継されて事務所側管理装置200に届く。   When the information processing unit 101 of the operation recorder 100 receives the “operation data transfer request” from the office-side management device 200 after the transmission of the “operation card writing failure notification”, the operation data transfer is executed in step S23. To do. That is, all the operation data (including images) recorded so far on the memory card 121 currently mounted on the operation recorder 100 is read in order and transmitted to the office management device 200. This data is also relayed by the server 300 and reaches the office management apparatus 200.

事務所側管理装置200は、前記「運行データ転送要求」の送信の後で運行記録計100からの運行データを受信すると、これらのデータを該当する運行記録計100およびメモリカード121の固有の識別情報と対応付けて所定の記憶装置上に保存する。   When the office-side management device 200 receives operation data from the operation recorder 100 after the transmission of the “operation data transfer request”, the office-side management device 200 uniquely identifies the corresponding operation recorder 100 and the memory card 121. The information is stored on a predetermined storage device in association with the information.

また、事務所側管理装置200は、運行記録計100からの全ての運行データを受け取った後、ステップS32で送信元の運行記録計100に対して所定の「フォーマットコマンド」を送信する。この「フォーマットコマンド」もサーバ300で中継されて運行記録計100に届く。   In addition, after receiving all the operation data from the operation record meter 100, the office-side management apparatus 200 transmits a predetermined “format command” to the operation record device 100 as a transmission source in step S32. This “format command” is also relayed by the server 300 and reaches the operation recorder 100.

運行記録計100の情報処理部101は、正規の事務所側管理装置200から送信された「フォーマットコマンド」を受信すると、ステップS24でメモリカード121に関するフォーマット処理、すなわち初期化を行う。   When the information processing unit 101 of the operation recorder 100 receives the “format command” transmitted from the regular office-side management device 200, the information processing unit 101 performs format processing relating to the memory card 121, i.e., initialization, in step S <b> 24.

このフォーマット処理に関しては、単にデータを消去するのではなく、メモリカード121にアクセスしやすいように、予め決められたファイルシステムのフォーマットに従って初期化を行う。具体的には、様々な領域の確保、領域毎のアドレスの割り当て、アドレスなどの管理情報の初期化などを行う。また、データ書き込みのテストを実施して、故障や劣化による不良箇所の有無を識別し、不良箇所が見つかった場合にはその箇所を書き込み禁止、つまり使用不可能な領域として割り当てる。   With respect to this format processing, initialization is performed according to a predetermined file system format so that the memory card 121 can be easily accessed, rather than simply erasing data. Specifically, various areas are secured, addresses are assigned to each area, management information such as addresses is initialized, and the like. Further, a data write test is performed to identify the presence or absence of a defective part due to a failure or deterioration, and when a defective part is found, the part is assigned as a write-prohibited, that is, unusable area.

従って、例えば同じ領域に対するデータ書き込みの繰り返しによってメモリカード121上に劣化が生じ、書き込みエラーの発生しやすい箇所が生じた場合には、フォーマット処理を実施することにより問題のある箇所にアクセスしなくなり、書き込みエラーの発生が抑制される。これにより、メモリカード121に対するデータ書き込み動作に遅延が生じたり、書き込み動作が停止したり、収集されたデータの一部が記録データから欠落するのを防止することが可能になる。   Therefore, for example, when the memory card 121 is deteriorated due to repeated data writing to the same area, and a portion where a write error is likely to occur occurs, the problematic portion is not accessed by performing the formatting process. Occurrence of write errors is suppressed. As a result, it is possible to prevent a delay in the data writing operation to the memory card 121, the writing operation from being stopped, and a part of the collected data from being lost from the recorded data.

また、運行記録計100の情報処理部101が実行可能なメモリカード121のフォーマット処理に関しては、図1に示すようにこれを管理している正規の事務所側管理装置200から「フォーマットコマンド」を受信した状況のみに限られる。従って、乗務員等が運行記録計100の操作部106に対して様々な操作を行った場合でも、フォーマット処理の指示を与えることはできない。つまり、事務所側管理装置200を使用しない限り、メモリカード121の記録データを消去したり改ざんすることは不可能であり、運行データ等を安全に管理することができる。   In addition, regarding the formatting process of the memory card 121 that can be executed by the information processing unit 101 of the operation recorder 100, as shown in FIG. 1, a “format command” is issued from a regular office management apparatus 200 that manages the memory card 121. Limited to received situations. Therefore, even when a crew member or the like performs various operations on the operation unit 106 of the operation recorder 100, it is not possible to give an instruction for formatting. In other words, unless the office management device 200 is used, it is impossible to delete or tamper with the recorded data in the memory card 121, and it is possible to safely manage the operation data and the like.

一方、メモリカード121の劣化により運行記録計100の書き込み動作に不具合が発生した場合には、書き込み動作が停止したり、収集されたデータの一部が記録データから欠落する可能性がある。しかし、図1に示す制御を実施することにより、事務所側管理装置200からの指示で運行記録計100はフォーマット処理を実行できるので、不具合の継続を回避することが可能になる。また、図1に示す制御においては、フォーマット処理を実行する前に、メモリカード121に保存した運行データを事務所側管理装置200に転送するので、フォーマット処理に伴ってそれまでに記録された重要な運行データの一部が消滅するのを防止できる。   On the other hand, when a failure occurs in the writing operation of the operation recorder 100 due to the deterioration of the memory card 121, the writing operation may be stopped or a part of the collected data may be lost from the recorded data. However, by performing the control shown in FIG. 1, the operation recorder 100 can execute the format process in accordance with an instruction from the office-side management device 200, so that it is possible to avoid continuation of the malfunction. In addition, in the control shown in FIG. 1, since the operation data stored in the memory card 121 is transferred to the office side management device 200 before the formatting process is executed, the important data recorded so far along with the formatting process is transferred. It is possible to prevent a part of the operation data from disappearing.

なお、例えば運行記録計100の車両情報格納部108等に十分な記憶容量の空き領域が存在する場合には、フォーマット処理の前にメモリカード121に記録された全ての運行データを前記空き領域に退避して、フォーマットの後でメモリカード121上に書き戻すように処理しても良い。その場合、運行記録計100から事務所側管理装置200に運行データを転送する処理(S23,S31)は省略できる。   For example, when there is a free area having a sufficient storage capacity in the vehicle information storage unit 108 of the operation recorder 100, all the operation data recorded on the memory card 121 before the formatting process is stored in the free area. It may be saved and processed so as to be written back on the memory card 121 after formatting. In that case, the process (S23, S31) which transfers operation data from the operation recorder 100 to the office side management apparatus 200 can be skipped.

10 業務用車両
20 事務所
100 運行記録計
101 情報処理部
102 メモリカードI/O部
103 インタフェース
104 プログラム格納部
105 設定値データ格納部
106 操作部
107 表示部
108 車両情報格納部
109 通信端末インタフェース
110 信号処理部
121 メモリカード
122 車載カメラ
123 通信端末
131 アプリケーションプログラム
132 ファイルシステム
200 事務所側管理装置
300 サーバ
DESCRIPTION OF SYMBOLS 10 Business vehicle 20 Office 100 Operation recorder 101 Information processing part 102 Memory card I / O part 103 Interface 104 Program storage part 105 Setting value data storage part 106 Operation part 107 Display part 108 Vehicle information storage part 109 Communication terminal interface 110 Signal processing unit 121 Memory card 122 In-vehicle camera 123 Communication terminal 131 Application program 132 File system 200 Office management device 300 Server

Claims (2)

車両に搭載される運行記録計と、前記車両の外側に配置される所定の管理装置との間で無線通信が可能な状況において、前記運行記録計の動作を制御するための運行カード初期化方法であって、
前記運行記録計側で、前記運行記録計に装着された所定の運行カードに対するデータ書き込みエラー発生を監視し、
前記データ書き込みエラー発生の状況が所定の条件を満たす場合に、前記運行記録計側から前記管理装置に対して書き込み不良通知を送信し、
前記管理装置側では、前記書き込み不良通知を受信した場合に、送信元の前記運行記録計に対して、運行カードの初期化を許可するフォーマットコマンドを送信する
ことを特徴とする運行カード初期化方法。
An operation card initialization method for controlling the operation of the operation recorder in a situation where wireless communication is possible between an operation recorder installed in the vehicle and a predetermined management device arranged outside the vehicle Because
On the operation recorder side, monitor the occurrence of a data write error for a predetermined operation card attached to the operation recorder,
When the data write error occurrence condition satisfies a predetermined condition, a write failure notification is sent from the operation recorder side to the management device,
When the management device side receives the write failure notification, the operation card initialization method transmits a format command for permitting initialization of the operation card to the operation recorder as a transmission source. .
前記管理装置側では、前記運行記録計に装着された運行カードに記録されている運行データを取得するための運行データ転送要求を前記運行記録計に対して送信し、
前記運行記録計側では、前記運行データ転送要求を受信した場合に、前記運行データを送信元の前記管理装置に対して送信し、
前記管理装置側では、前記運行記録計から送信される前記運行データを受信した後で、前記フォーマットコマンドを前記運行記録計に対して送信する
ことを特徴とする請求項1に記載の運行カード初期化方法。
On the management device side, an operation data transfer request for acquiring operation data recorded on an operation card attached to the operation recorder is transmitted to the operation recorder,
On the operation recorder side, when the operation data transfer request is received, the operation data is transmitted to the management device of the transmission source,
The operation card initial stage according to claim 1, wherein the management device transmits the format command to the operation recorder after receiving the operation data transmitted from the operation recorder. Method.
JP2011174043A 2011-08-09 2011-08-09 Operation card initialization method Active JP5735887B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2011174043A JP5735887B2 (en) 2011-08-09 2011-08-09 Operation card initialization method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2011174043A JP5735887B2 (en) 2011-08-09 2011-08-09 Operation card initialization method

Publications (2)

Publication Number Publication Date
JP2013037574A JP2013037574A (en) 2013-02-21
JP5735887B2 true JP5735887B2 (en) 2015-06-17

Family

ID=47887129

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2011174043A Active JP5735887B2 (en) 2011-08-09 2011-08-09 Operation card initialization method

Country Status (1)

Country Link
JP (1) JP5735887B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP7031374B2 (en) 2018-03-01 2022-03-08 株式会社デンソー Verification terminal, verification system
JP7211279B2 (en) 2019-06-26 2023-01-24 株式会社Jvcケンウッド Drive recorder, data recording method and program

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5984668U (en) * 1982-11-26 1984-06-07 日本電気株式会社 Vehicle operation recording device
JPS6368992A (en) * 1986-09-11 1988-03-28 三菱電機株式会社 Operation managing apparatus for taxi
JPS6448190A (en) * 1987-08-19 1989-02-22 Fujitsu Kiden Error data clearing system for memory in electronic time recorder
JPH0281144A (en) * 1988-09-16 1990-03-22 Nec Corp Control system for collection of fault information
JP3516248B2 (en) * 1996-08-28 2004-04-05 矢崎総業株式会社 Operation record data analysis device and operation record data analysis method
JPH1116083A (en) * 1997-06-23 1999-01-22 Yazaki Corp Operation management system
JP2001331831A (en) * 2000-05-19 2001-11-30 Yazaki Corp Device for analyzing vehicle operation information and computer readable storage medium with diagnostic program recorded therein
JP5160777B2 (en) * 2006-12-19 2013-03-13 矢崎エナジーシステム株式会社 Vehicle operation information analysis system

Also Published As

Publication number Publication date
JP2013037574A (en) 2013-02-21

Similar Documents

Publication Publication Date Title
JP4467448B2 (en) Mobile recording device
JP5530146B2 (en) Data management apparatus, data reading method and program
US7555602B2 (en) Data processing apparatus and method for restoring a file system
JP5769437B2 (en) Information recording apparatus for moving body
JP2009116576A (en) Vehicle information recording device, vehicle information collecting device, and vehicle information recording and collection system
JP5756658B2 (en) Vehicle information recording device
JP2006245836A (en) Mobile terminal with drive recorder function
US7123295B2 (en) Memory management in an image capturing device
JP5735887B2 (en) Operation card initialization method
US9170945B2 (en) Communication management apparatus, communication management method, and computer program product
JP5856849B2 (en) In-vehicle information recording apparatus and data writing management method
EP1191426A2 (en) Power failure managing method and power failure managing device
US11144239B2 (en) Storage controller, storage device, and write control method
JP3191596B2 (en) Image data storage method and device
JP2020149518A (en) Specific video collection system, and specific video collection method
JP2020053995A (en) Electronic apparatus and program
KR100675646B1 (en) Apparatus and method for updating program, data and setup value of vehicle dvr
JP5221272B2 (en) Information collection device
KR102588947B1 (en) Blackbox system for vehicle
WO2009122677A1 (en) Image recording device
JP6152012B2 (en) Operation recording device
US20240053933A1 (en) Printing apparatus, control method of printing apparatus, and storage medium
JP6936011B2 (en) On-board unit and operation management system
JP2008090349A (en) Driving information collection device for vehicle
KR101041333B1 (en) traffic movement image Program Record device possible settlement of memory error.

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20140718

RD02 Notification of acceptance of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7422

Effective date: 20150123

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20150317

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20150417

R150 Certificate of patent or registration of utility model

Ref document number: 5735887

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

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