JP5221272B2 - Information collection device - Google Patents
Information collection device Download PDFInfo
- Publication number
- JP5221272B2 JP5221272B2 JP2008266073A JP2008266073A JP5221272B2 JP 5221272 B2 JP5221272 B2 JP 5221272B2 JP 2008266073 A JP2008266073 A JP 2008266073A JP 2008266073 A JP2008266073 A JP 2008266073A JP 5221272 B2 JP5221272 B2 JP 5221272B2
- Authority
- JP
- Japan
- Prior art keywords
- data
- compression
- collected data
- collection
- new
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Fee Related
Links
Images
Landscapes
- Mobile Radio Communication Systems (AREA)
- Traffic Control Systems (AREA)
Description
本発明は、情報収集装置に係り、特に、所定の収集データを収集する収集手段と、前記収集手段による新規の収集データの収集に応じて既に圧縮が完了された収集データに前記新規の収集データを加えた収集データを圧縮する第1圧縮処理を行う圧縮手段と、路側器の通信エリアへの進入に応じて前記路側器に対して前記圧縮手段により圧縮した収集データを無線送信する送信手段と、を備えた情報収集装置に関するものである。 The present invention relates to an information collection apparatus, and more particularly, to a collection unit that collects predetermined collection data, and the collection data that has already been compressed in accordance with collection of new collection data by the collection unit. Compression means for performing a first compression process for compressing the collected data to which the data is added, and transmission means for wirelessly transmitting the collected data compressed by the compression means to the roadside device in response to the roadside device entering the communication area; The present invention relates to an information collecting apparatus comprising:
貨物輸送トラックやタクシーなどの営業車両には、運行管理を行うための情報収集装置が搭載されている。情報収集装置は、車両の運行状況に応じて発生する営業日報データなどの所定の収集データを収集してメモリカードなどの記録媒体に記録するデータ収集を行う。従来、事務所のPCに対する上記収集データの受け渡しは下記に示す手順で行われていた。まず、運転手が情報収集装置に設けた終了ボタンを操作する。この操作に応じて情報収集装置が収集データの末尾に収集データを付加する。その後、運転手が情報収集装置からメモリカードを抜き取って、事務所内に持ち込みPCに接続する。 Business vehicles such as freight transport trucks and taxis are equipped with information collection devices for operation management. The information collection device collects predetermined collection data such as daily business report data generated according to the operation status of the vehicle and records it in a recording medium such as a memory card. Conventionally, delivery of the collected data to the office PC has been performed according to the following procedure. First, the driver operates an end button provided on the information collecting apparatus. In response to this operation, the information collection device adds the collected data to the end of the collected data. Thereafter, the driver removes the memory card from the information collecting device, brings it into the office, and connects it to the PC.
しかしながら、この方法では、毎回メモリカードの抜き差しが発生するため、メモリカードの接続部分の劣化が激しく、情報収集装置の寿命が短くなる原因となっていた。また、運転手の操作ミス、メモリカードの抜き忘れなどの問題もある。そこで、例えば情報収集装置と無線通信可能な路側器を事務所の入口に設けて、情報収集装置を搭載した車両が路側器の通信エリアを通信している間に無線通信によって収集データを路側器に転送することが考えられている。しかしながら、メモリカードのデータ量が多いとその分だけの通信時間が必要であり、その間、通信エリアに留まって通信が完了するのを待たなければならない。 However, in this method, since the memory card is inserted and removed every time, the connection portion of the memory card is severely deteriorated, which shortens the life of the information collecting apparatus. There are also problems such as driver error and forgetting to remove the memory card. Therefore, for example, a roadside device capable of wireless communication with the information collecting device is provided at the entrance of the office, and the collected data is collected by wireless communication while the vehicle equipped with the information collecting device is communicating in the communication area of the roadside device. It is considered to be transferred to. However, if the amount of data in the memory card is large, a corresponding communication time is required, and during that time, it is necessary to stay in the communication area and wait for the communication to be completed.
そこで、通信時間を短くするために、図8に示すような動作を行う情報収集装置が提案されている。この情報収集装置は、路側器との通信エリアに進入すると、今まで収集した収集データ1〜nを一括で圧縮した後に、圧縮した収集データを送信する。しかしながら、この情報収集装置は、収集データを圧縮している間、収集データの送信が行うことができないため、依然通信エリアに留まる時間が長く、効率が悪い。
Therefore, in order to shorten the communication time, an information collecting apparatus that performs an operation as shown in FIG. 8 has been proposed. When the information collection device enters the communication area with the roadside device, the information collection device compresses the collected
そこで、図9及び図10に示すような動作を行う情報収集装置が提案されている。図9に示す情報収集装置は、新規の収集データが収集される毎に圧縮と路側器への送信とを行う(特許文献1)。しかしながら、この情報収集装置は、定期的に路側器との通信が行えるシステムでしか採用できず、路側器が事務所の入口の1箇所にしか設けられていないシステムには採用できない。 Therefore, an information collecting apparatus that performs the operations as shown in FIGS. 9 and 10 has been proposed. The information collection device shown in FIG. 9 performs compression and transmission to a roadside device each time new collection data is collected (Patent Document 1). However, this information collection device can be used only in a system that can periodically communicate with a roadside device, and cannot be used in a system in which the roadside device is provided only at one location at the entrance of an office.
また、図10に示す情報収集装置は、新規の収集データが収集される毎に圧縮を行う。ところで、情報収集装置のようなシステムでは、定期的に収集データが発生する。そのため、収集データが発生してから情報収集装置と路側器との通信開始までの時間が短いと、収集データの圧縮が間に合わない場合がある。この場合、従来では、収集データの圧縮が完了するのを待ってから収集データを路側器に送信していた。しかしながら、データサイズが大きくなると、例えば3Mbyte程度の収集データでは、ハフマン符号のような高速な手法を利用し、処理速度3GHzの高速なプロセッサを用いても、圧縮にかかる時間が数秒も必要なため、従来のように圧縮が完了するのを待つ方法では、相当な待ち時間が必要となる、という問題があった。
そこで、本発明は、路側器との通信中における収集データの圧縮待ち時間がなくなり、路側器との通信時間を短くすることができる情報収集装置を提供することを課題とする。 Therefore, an object of the present invention is to provide an information collecting apparatus that can eliminate the compression waiting time of collected data during communication with a roadside device and can shorten the communication time with the roadside device.
上記課題を解決するためになされた請求項1記載の発明は、所定の収集データを収集する収集手段と、前記収集手段による新規の収集データの収集に応じて既に圧縮が完了された収集データに前記新規の収集データを加えた収集データを圧縮する第1圧縮処理を行う圧縮手段と、路側器の通信エリアへの進入に応じて前記路側器に対して前記圧縮手段により圧縮した収集データを無線送信する送信手段と、を備えた情報収集装置において、前記送信手段が、前記圧縮手段により前記第1圧縮処理が行われている間に前記路側器の通信エリアに進入すると、前記新規の収集データを加える前の前記既に圧縮が完了された収集データを無線送信した後に前記新規の収集データを無線送信することを特徴とする情報収集装置に存する。
In order to solve the above-mentioned problems, the invention according to
請求項2記載の発明は、前記圧縮手段が、前記第1圧縮処理中に前記路側器の通信エリアに進入すると、前記第1圧縮処理を終了して前記送信手段により前記既に圧縮が完了された収集データの無線送信を行っている間に、前記新規の収集データを圧縮する第2圧縮処理を行い、前記送信手段が、前記圧縮手段により前記第1圧縮処理が行われている間に前記路側器の通信エリアに進入すると、前記新規の収集データを加える前の前記既に圧縮が完了された収集データの無線送信を行った後に前記第2圧縮処理により圧縮された前記新規の収集データの無線送信を行うことを特徴とする請求項1に記載の情報収集装置に存する。
According to a second aspect of the present invention, when the compression means enters the communication area of the roadside device during the first compression process, the first compression process is terminated and the compression is already completed by the transmission means. During wireless transmission of the collected data, a second compression process is performed to compress the new collected data, and the transmission unit performs the first compression process while the first compression process is being performed by the compression unit. Wireless transmission of the new collected data compressed by the second compression processing after wireless transmission of the already compressed compressed data before adding the new collected data The information collecting apparatus according to
請求項3記載の発明は、前記収集手段が、前記新規の収集データを収集データメモリに格納し、前記圧縮手段が、前記収集データメモリに前記新規の収集データが格納されると前記新規の収集データを圧縮中データメモリにコピーした後に前記圧縮中データメモリに格納されている前記既に圧縮が完了された収集データに前記コピーした新規の収集データを加えた収集データを圧縮する前記第1圧縮処理を行い、その後前記第1圧縮処理が終了すると前記圧縮中データメモリに格納された圧縮が完了した収集データを圧縮データメモリにコピーし、前記送信手段が、前記圧縮手段により前記第1圧縮処理が行われている間に前記路側器の通信エリアに進入すると、前記圧縮データメモリに格納されている収集データを送信し後に、前記収集データメモリに格納された前記新規の収集データを送信することを特徴とする請求項1に記載の情報収集装置に存する。
According to a third aspect of the present invention, the collecting means stores the new collected data in a collected data memory, and the compressing means stores the new collected data when the new collected data is stored in the collected data memory. The first compression processing for compressing the collected data obtained by adding the copied new collected data to the collected data stored in the compressed data memory after the data is copied to the compressed data memory When the first compression process ends, the collected data stored in the data memory being compressed is copied to the compressed data memory, and the transmission means performs the first compression process by the compression means. If the vehicle enters the communication area of the roadside device while it is being performed, the collected data stored in the compressed data memory is transmitted and then the collected data It lies in the information collecting device according to
以上説明したように請求項1記載の発明によれば、送信手段が、圧縮手段により第1圧縮処理が行われている間に路側器の通信エリアに進入すると、新規の収集データを加える前の既に圧縮が完了された収集データを無線送信した後に新規の収集データを無線送信するので、路側器との通信中における収集データの圧縮待ち時間がなくなり、路側器との通信時間を短くすることができる。 As described above, according to the first aspect of the present invention, when the transmission unit enters the communication area of the roadside device while the first compression process is being performed by the compression unit, it is necessary to add new collected data. Since the collected data that has already been compressed is transmitted wirelessly and then the new collected data is wirelessly transmitted, there is no compression waiting time for the collected data during communication with the roadside device, and the communication time with the roadside device can be shortened. it can.
請求項2記載の発明によれば、送信手段が、圧縮手段により第1圧縮処理が行われている間に路側器の通信エリアに進入すると、新規の収集データを加える前の既に圧縮が完了された収集データの無線送信を行った後に第2圧縮処理により圧縮された新規の収集データの無線送信を行うので、さらに路側器との通信時間を短くすることができる。 According to the second aspect of the present invention, when the transmission unit enters the communication area of the roadside device while the first compression process is being performed by the compression unit, the compression before adding new collected data is already completed. Since the new collected data compressed by the second compression process is wirelessly transmitted after the collected data is wirelessly transmitted, the communication time with the roadside device can be further shortened.
請求項3記載の発明によれば、簡単な構成で圧縮手段により第1圧縮処理が行われている間に路側器の通信エリアに進入したときに、新規の収集データを加える前の既に圧縮が完了された収集データを無線送信することができる。 According to the third aspect of the present invention, when the first compression process is performed by the compression unit with a simple configuration, when the vehicle enters the communication area of the roadside device, the compression before adding new collected data is already performed. Completed collected data can be transmitted wirelessly.
第1実施形態
以下、本発明の実施の形態を図面に基づいて説明する。図1は、本発明の情報収集装置2を組み込んだ通信システムの一実施の形態を示す構成図である。図2は、図1に示す情報収集装置2の構成図である。図3は、図2に示す情報収集装置2内のCPU22Aの機能ブロック図である。図4は、図1に示す路側器4の構成図である。
First Embodiment Hereinafter, embodiments of the present invention will be described with reference to the drawings. FIG. 1 is a configuration diagram showing an embodiment of a communication system incorporating an
通信システムは、図1に示すように、タクシ車両1に搭載されている情報収集装置2と、タクシ車両1の管理を行う事務所3に設置されている路側器4と、を有している。まず、上記情報収集装置2の構成について図2を参照して説明する。情報収集装置2は、車載アンテナAT1と、無線器21と、マイクロコンピュータ(μCOM)22と、インタフェース(I/F)23と、を有している。
As shown in FIG. 1, the communication system includes an
車載アンテナAT1は、タクシ車両1に搭載されたアンテナである。無線器21は、車載アンテナAT1を用いて後述する路側器4とDSRC(Dedicated Shor Range Communication:専用狭域通信)を行い、データを受信したり、送信したりするための機器である。無線器21は、車載アンテナAT1が受信したデータを復調してμCOM22に出力したり、μCOM22から出力される送信データを変調して車載アンテナAT1に出力する変復調回路を有している。
The in-vehicle antenna AT1 is an antenna mounted on the
μCOM22は、処理プログラムに従って各種の処理を行う中央演算処理ユニット(CPU)22Aと、CPU22Aが行う処理のプログラムなどを格納した読出専用のメモリであるROM22Bと、CPU22Aでの各種の処理過程で利用するワークエリア、各種データを格納するデータ記憶エリアなどを有する読出書込自在のメモリであるRAM22Cと、を有している。I/F23は、μCOM22内のCPU22Aがタクシメータ5との通信を行うためのインタフェース回路である。
The
次に、上述した情報収集装置2のCPU22Aの機能構成について図3を参照して説明する。CPU22Aは、収集手段としての収集部22A1と、圧縮手段としての圧縮処理部22A2と、送信手段としての通信データ制御部22A3と、を有している。
Next, a functional configuration of the
収集部22A1は、タクシ車両1の賃走時間や料金などの営業日報データに応じた収集データをタクシメータ5から収集して、RAM22C内に設けた収集データメモリ22C1内に格納する。圧縮処理部22A2は、収集部22A1により収集データメモリ22C1内に新規の収集データが格納されるとその新規の収集データをRAM22C内に設けた圧縮中データメモリとしての圧縮中データバッファ22C2にコピーする。なお、圧縮中データバッファ22C2内には既に圧縮が完了された今まで収集された収集データが記録されている。よって、圧縮中データバッファ22C2には、既に圧縮が完了された収集データと、コピーされた新規の収集データと、が格納される。
The collection unit 22A1 collects collected data corresponding to daily report data such as the renting time and fee of the
また、圧縮処理部22A2は、圧縮中データバッファ22C2に格納された既に圧縮が完了された収集データにコピーした新規の収集データを加えた収集データを一括して動的圧縮を行う第1圧縮処理を実行する。 In addition, the compression processing unit 22A2 performs first dynamic compression on the collected data obtained by adding the new collected data copied to the collected data stored in the compressing data buffer 22C2 and already compressed. Execute.
上記動的圧縮とは、新規の収集データが発生すると、新規の収集データを構成するコードを読み込む毎に符号木を更新し、そのときの符号木を使って圧縮する方法である。例えば、営業時刻情報の、月、日、時間と分とをそれぞれ、1byteのデータで記録するものとし、料金は2桁ずつ1byteのデータで記録するフォーマットを規定する。このとき、10月10日10時10分に料金1000円であった場合、収集データは、10,10,10,10,10,00となる。動的圧縮は、この収集データを構成するコード「10」、「10」、「10」、「10」、「10」、「00」を順番に読み込み、コードを1つ読み込む毎に符号木を更新し、そのときの符号木を使って圧縮する。このように新規の収集データを構成するコードを読み込む毎に符号木を更新するため、収集データを読み込みながら圧縮処理を行うことができる。このような動的圧縮方法としては、動的ハフマン符号化(Dynamic Huffman Coding)または適応型ハフマン符号法(Adaptive Huffman Coding)などが考えられる。 The dynamic compression is a method in which, when new collected data is generated, the code tree is updated every time a code constituting the new collected data is read, and compression is performed using the code tree at that time. For example, the month, day, hour, and minute of the business time information are recorded as 1-byte data, and the fee is defined as a 2-byte data format. At this time, if the charge is 1000 yen at 10:10 on October 10, the collected data will be 10,10,10,10,10,00. In dynamic compression, codes “10”, “10”, “10”, “10”, “10”, “00” that make up this collected data are read in order, and a code tree is read each time one code is read. Update and compress using the current code tree. Since the code tree is updated every time a code constituting new collection data is read in this way, the compression process can be performed while reading the collection data. As such a dynamic compression method, dynamic Huffman coding or adaptive Huffman coding may be considered.
圧縮とは、データの冗長性や偏りを利用して情報量(エントロピー)を減らすことである。有名な圧縮方法として、ハフマン符号法がある。これは、もっとも出現頻度の高いデータには短い符号を与え、出現頻度の低いデータには長い符号を与えることで、全体の平均符号長を短くすることで圧縮を行うものである。つまり、圧縮の定義のとおり、圧縮対象データに偏りがあればより高い圧縮率が得られ、偏りがあまりない場合は圧縮率が低くなる。さらに、偏りがないと全く圧縮の効果が得られないことになる。 Compression is to reduce the amount of information (entropy) by utilizing data redundancy and bias. A famous compression method is the Huffman coding method. In this method, the data having the highest appearance frequency is given a short code, and the data having the lowest appearance frequency is given a long code, so that the overall average code length is shortened to perform compression. That is, as defined by compression, a higher compression rate can be obtained if there is a bias in the data to be compressed, and the compression rate is lower if there is not much bias. Furthermore, if there is no bias, no compression effect can be obtained.
単純な例として、ハフマン符号ではなく、データの連続性を示す圧縮方法を示す。上述したように、営業時刻情報の、月、日、時間と分とをそれぞれ、1byteのデータで記録するものとし、料金は2桁づつ1byteのデータで記録するフォーマットを規定する。このとき、10月10日10時10分に料金1000円であった場合、収集データは、10,10,10,10,10,00となる。この場合の圧縮後の収集データは、10,5,00,1の4byteで表現できる。次に、10月10日10時20分に2000円であった場合、収集データは、10,10,10,20,20,00となる。この場合の圧縮後の収集データは、10,3,20,2,00,1の6byteの表現となる。この2つの例のように、同じデータ系列でもその内容によって圧縮率が大きく変わるだけでなく、2つ目のデータのように圧縮できないこともある。 As a simple example, not a Huffman code, but a compression method that shows data continuity is shown. As described above, the month, day, hour, and minute of the business time information are recorded as 1-byte data, and the fee is defined as a 1-byte data format with two digits. At this time, if the charge is 1000 yen at 10:10 on October 10, the collected data will be 10,10,10,10,10,00. In this case, the collected data after compression can be expressed by 4 bytes of 10,5,00,1. Next, if it was 2000 yen at 10:20 on October 10, the collected data would be 10, 10, 10, 20, 20, 00. In this case, the collected data after compression is represented by 6 bytes of 10, 3, 20, 2, 00, 1. As in these two examples, even in the same data series, not only the compression rate greatly changes depending on the content but also the compression may not be possible like the second data.
圧縮中データバッファ22C2には、第1圧縮処理中の収集データが格納される。また、圧縮処理部22A2は、第1圧縮処理が終了すると収集データメモリ22C1に格納された圧縮が済んだ新規の収集データを消去すると共に圧縮中データバッファ22C2に格納された圧縮が完了した収集データを圧縮データメモリ22C3に上書きコピーする。以上のことから明らかなように、圧縮処理部22A2が第1圧縮処理を実行している間は、収集データメモリ22C1には圧縮が済んでいない新規の収集データが格納され、圧縮中データバッファ22c2には第1圧縮処理中の収集データが格納され、圧縮データメモリ22C3には新規の収集データを加える前の既に圧縮が完了された収集データが格納される。 The compressed data buffer 22C2 stores collected data during the first compression process. Further, when the first compression process is completed, the compression processing unit 22A2 deletes the new collected data that has been compressed and stored in the collected data memory 22C1, and the collected data that has been stored in the compressing data buffer 22C2 has been completed. Is overwritten and copied to the compressed data memory 22C3. As is apparent from the above, while the compression processing unit 22A2 is executing the first compression processing, new collection data that has not been compressed is stored in the collection data memory 22C1, and the data buffer 22c2 being compressed is stored. Is stored in the first compression process, and the compressed data memory 22C3 stores the collected data that has already been compressed before the new collection data is added.
上記通信データ制御部22A3は、圧縮処理部22A2により第1圧縮処理が行われていないときにタクシ車両1が路側器4の通信エリア7に進入して無線器21が路側器4との通信を開始すると、圧縮データメモリ22C3内に格納された既に圧縮が完了された収集データを無線器21に対して出力して無線送信する。また、通信データ制御部22A3は、圧縮処理部22A2により第1圧縮処理が行われている間にタクシ車両1が路側器4の通信エリア7に進入して無線器21が路側器4との通信を開始すると、圧縮データメモリ22C3内に格納された既に圧縮が完了された収集データを無線器21に対して出力して無線送信した後にさらに新規データメモリ22C1に格納された新規の収集データを無線器21に対して出力して無線送信する。
When the first compression processing is not performed by the compression processing unit 22A2, the communication data control unit 22A3 enters the communication area 7 of the
次に、上記路側器4の構成について図4を参照して説明する。路側器4は、路側アンテナAT2と、無線器41と、μCOM42と、I/F43と、を有している。路側アンテナAT2は、図1に示すように、事務所3の入口6に通信エリア7を形成するアンテナである。事務所3に入るタクシ車両1は、必ずこの通信エリア7を通過することとなる。無線器41は、路側アンテナAT2を用いて上記情報収集装置2とDSRCを行い、データを受信したり、送信したりするための機器である。無線器41は、路側アンテナAT2が受信したデータを復調してμCOM42に出力したり、μCOM42から出力される送信データを変調して路側アンテナAT2に出力する変復調回路を有している。
Next, the configuration of the
μCOM42は、処理プログラムに従って各種の処理を行うCPU42Aと、CPU42Aが行う処理のプログラムなどを格納した読出専用のメモリであるROM42Bと、CPU42Aでの各種の処理過程で利用するワークエリア、各種データを格納するデータ記憶エリアなどを有する読出書込自在のメモリであるRAM42Cと、を有している。I/F43は、μCOM42内のCPU42Aが事務所3側のPC(パーソナルコンピュータ)などから構成された管理装置8との通信を行うためのインタフェース回路である。管理装置8は、転送された収集データを例えばプリンタなどの出力端末9から出力する。
The
上述した構成の通信システムの動作について図5のフローチャート及び図6のタイムチャートを参照して以下説明する。まず、タクシ車両1のイグニッションがオンされると、CPU22Aが図5に示す処理を開始する。その後、タクシ車両1は事務所3の出口から事務所3を出て営業を開始する。CPU22Aは、営業時には路側器4から送信される電波を受信できないため通信エリア7に進入していないと判断して(ステップS1でN)、ステップS7〜S12が繰り返し行われる。
The operation of the communication system configured as described above will be described below with reference to the flowchart of FIG. 5 and the time chart of FIG. First, when the ignition of the
詳しくは、CPU22Aは、賃走時間や料金などの新規の収集データがタクシメータ5で発生すると(ステップS7でY)、その新規の収集データを収集データメモリ22C1内に格納する(ステップS8)。以上のことから明らかなように、ステップS7及びS8においてCPU22Aは収集手段として働く。その後、CPU22Aは、収集データメモリ22C1内に格納された新規の収集データを圧縮中データバッファ22C2内にコピーする(ステップS9)。次に、CPU22Aは、上述した第1圧縮処理を開始させた後(ステップS10)、ステップS11に進む。このステップS10の第1圧縮処理開始に応じて、CPU22Aは、図5に示す処理と並列して上述した第1圧縮処理を実行する。
Specifically, when new collected data such as renting time and fee is generated in the taximeter 5 (Y in step S7), the
これに対して、CPU22Aは、新規の収集データが発生していなければ(ステップS7でN)、直ちにステップS11に進む。ステップS11において、CPU22Aは、第1圧縮処理が実行中であるか否かを判断する。そして、第1圧縮処理が実行中でなければ(ステップS11でN)、CPU22Aは、第1圧縮処理が終了後に後述するステップS13の動作が実行された状態であるか否かを判断する(ステップS12)。
On the other hand, if no new collected data has been generated (N in step S7), the
第1圧縮処理が終了後に後述するステップS13の動作が実行されていない状態であれば(ステップS12でN)、CPU22Aは、収集データメモリ22C1内に格納された圧縮が完了した新規の収集データを消去すると共に圧縮中データバッファ22C2内に格納された圧縮済みの収集データを圧縮データメモリ22C3内に上書きした後(ステップS13)、ステップS11に戻る。これに対して、CPU22Aは、第1圧縮処理が終了後に後述するステップS13の動作が実行された状態であれば(ステップS12でY)、直ちにステップS1に戻る。以上のことから明らかなように、ステップ9〜S13において、CPU22Aは圧縮手段として働く。
If the operation of step S13, which will be described later, has not been executed after the completion of the first compression process (N in step S12), the
その後、タクシ車両1が営業を終えて、事務所3内の入口6に進入すると、情報処理装置2は、路側器4からの電波を受け取る。これに応じて、CPU22Aは、通信エリア7に進入して通信が開始されたと判断して(ステップS1でY)、上述した第1圧縮処理が実行中であるか否かを判断する(ステップS2)。第1圧縮処理が実行されていなければ(ステップS2でN)、CPU22Aは、無線器21に対して圧縮中データメモリ22C3内に格納された収集データを出力して送信した後(ステップS6)、処理を終了する。
Thereafter, when the
一方、第1圧縮処理が実行中であれば(ステップS2でY)、CPU22Aは、並列に行われている第1圧縮処理を直ちに中止させる(ステップS3)。この圧縮中止に応じてCPU22Aは第1圧縮処理を終了する。その後、CPU22Aは、無線器21に対して圧縮中データメモリ22C3内に格納された収集データを出力して送信した後(ステップS4)、収集データメモリ22C1内に格納された収集データを出力して送信した後(ステップS5)、処理を終了する。以上のことから明らかなように、ステップS1〜S6においてCPU22Aは送信手段として働く。
On the other hand, if the first compression process is being executed (Y in step S2), the
以上の動作により、情報収集装置2は、図6に示すように、新規の収集データが収集される毎に圧縮を行う。そして、圧縮中に路側器4との通信が開始されると、圧縮データメモリ22C3内に格納された新規の収集データを加える前の既に圧縮が完了された収集データを無線送信した後に収集データメモリ22C1に格納されている新規の収集データを送信する。これにより、路側器4との通信中における収集データの圧縮待ち時間がなくなり、路側器4との通信時間を短くすることができる。
With the above operation, the
また、上述した情報収集装置2によれば、CPU22Aが、新規の収集データを新規収集データメモリ22C1に格納する。また、CPU22Aが、新規収集データメモリ22C1に新規の収集データが格納されると新規の収集データを圧縮中データバッファ22C2にコピーした後に第1圧縮処理を行い、その後第1圧縮処理が終了すると圧縮中データバッファ22C2に格納された圧縮が完了した収集データを圧縮データメモリ22C3にコピーする。そして、第1圧縮処理が行われている間に路側器4の通信エリア7に進入すると、圧縮データメモリ22C3に格納されている収集データを送信した後に、収集データメモリ22C1に格納された新規の収集データを送信する。よって、簡単な構成で第1圧縮処理が行われている間に路側器4の通信エリア7に進入したときに、新規の収集データを加える前の既に圧縮が完了された収集データを無線送信することができる。
Further, according to the
第2実施形態
次に、第2実施形態について説明する。第1実施形態においては動的圧縮で収集データを収集していたが、第2実施形態では静的圧縮で収集データを圧縮する。第2実施形態の情報収集装置2の構成は、図1及び図4について第1実施形態で既に説明した情報収集装置2と同様の構成であるため、ここでは詳細な説明は省略する。
Second Embodiment Next, a second embodiment will be described. In the first embodiment, collected data is collected by dynamic compression, but in the second embodiment, collected data is compressed by static compression. The configuration of the
次に、上記静的圧縮について説明する。静的圧縮は、新規の収集データが発生すると新規の収集データを全て読み込んで符号木を作成し、その後作成した符号木を使って圧縮する方法である。例えば、営業時刻情報の、月、日、時間と分とをそれぞれ、1byteのデータで記録するものとし、料金は2桁ずつ1byteのデータで記録するフォーマットを規定する。このとき、10月10日10時10分に料金1000円であった場合、収集データは、10,10,10,10,10,00となる。動的圧縮は、この収集データ「10,10,10,10,10,00」を全て読み込んで、符号木を作成し、そのときの符号木を使って圧縮する。このように収集データを全て読み込んだ後に符号木を作成するため、静的圧縮は収集データの読み込みと圧縮処理とを同時に行うことができない。 Next, the static compression will be described. Static compression is a method in which when new collected data is generated, all new collected data is read to create a code tree, and then compressed using the created code tree. For example, the month, day, hour, and minute of the business time information are recorded as 1-byte data, and the fee is defined as a 2-byte data format. At this time, if the charge is 1000 yen at 10:10 on October 10, the collected data will be 10,10,10,10,10,00. In the dynamic compression, all the collected data “10,10,10,10,10,00” is read, a code tree is created, and compression is performed using the code tree at that time. Since the code tree is created after reading all the collected data in this way, the static compression cannot simultaneously read the collected data and perform compression processing.
次に、第2実施形態における通信システムの動作について図7のフローチャートを参照して以下説明する。なお、同図において、図5について上述した第1実施形態で既に説明したステップと同等の動作には同一符号を付してその詳細な説明を省略する。まず、タクシ車両1のイグニッションがオンされると、CPU22Aが図6に示す処理を開始する。その後、タクシ車両1は事務所3の出口から事務所3を出て営業を開始する。ステップS1〜S6までは上述した第1実施形態と同様であるためここでは詳細な説明は省略する。
Next, the operation of the communication system in the second embodiment will be described below with reference to the flowchart of FIG. In the figure, operations equivalent to those already described in the first embodiment described above with reference to FIG. 5 are denoted by the same reference numerals, and detailed description thereof is omitted. First, when the ignition of the
CPU22Aは、賃走時間や料金などの新規の収集データがタクシメータ5で発生すると(ステップS7でY)、その新規の収集データを収集データメモリ22C1内に格納する(ステップS8)。その後、CPU22Aは、上述した第1圧縮処理が実行中であるか否かを判断する(ステップS14)。第1圧縮処理が実行中でなければ(ステップS14でN)、CPU22Aは、収集データメモリ22C1内に格納された新規の収集データを圧縮中データバッファ22C2内にコピーする(ステップS9)。次に、CPU22Aは、上述した第1圧縮処理を開始させた後(ステップS10)、ステップS11〜S13に進む。S11〜S13までは上述した第1実施形態と同様であるためここでは詳細な説明は省略する。
When new collected data such as renting time or fee is generated in the taximeter 5 (Y in step S7), the
これに対して、第1圧縮処理が実行中であれば(ステップS14でY)、その新規の収集データの圧縮中データバッファ22C2へのコピーを行わずに直ちにステップS1に戻る。そして、この実行中の第1圧縮処理が終了して、ステップS13に進みCPU22Aが、収集データメモリ22C1内に格納された圧縮が完了した新規の収集データを消去すると共に圧縮中データバッファ22C2内に格納された圧縮済みの収集データを圧縮データメモリ22C3内に上書きした後に、収集データメモリ22C1に圧縮されていない収集データが残っていないか確認する(ステップS15)。
On the other hand, if the first compression process is being executed (Y in step S14), the process immediately returns to step S1 without copying the newly collected data to the data buffer 22C2 during compression. Then, the first compression process being executed is completed, and the process proceeds to step S13, where the
収集データが残っていれば(ステップS15でY)、CPU22AはステップS9に進んで残りの収集データを圧縮中データバッファ22C2内にコピーして、ステップS10に進み第1圧縮処理を開始させる。一方、収集データが残っていなければ(ステップS15でN)、CPU22AはステップS1に戻る。第1実施形態では、収集データが発生する毎に新規の収集データを圧縮中データバッファ22C2にコピーしていたが、第2実施形態では、収集データが発生しても第1圧縮処理が実行中であれば第1圧縮処理が終了するのを待って圧縮中データバッファ22C2へのコピーが行われ再び第1圧縮処理が行われる。よって、収集データの取り込みと圧縮とが同時に行えない静的圧縮に適用した動作となっている。
If the collected data remains (Y in step S15), the
なお、上述した第1及び第2実施形態では、新規の収集データは圧縮しないで路側器4に対して無線送信していたが、本発明はこれに限ったものではない。例えば、ステップS3で第1圧縮処理を中止した後、新規の収集データのみを圧縮する第2圧縮処理を行っても良い。この第2圧縮処理を施した新規の収集データを収集データメモリ22C1に格納すれば、圧縮した新規の収集データを路側器4に対して無線送信することができる。第2圧縮処理は、既に圧縮が完了された収集データの送信を行っている間に行うことができるため、より一層、通信時間を短くすることができる。
In the first and second embodiments described above, new collected data is wirelessly transmitted to the
また、前述した実施形態は本発明の代表的な形態を示したに過ぎず、本発明は、実施形態に限定されるものではない。即ち、本発明の骨子を逸脱しない範囲で種々変形して実施することができる。 Further, the above-described embodiments are merely representative forms of the present invention, and the present invention is not limited to the embodiments. That is, various modifications can be made without departing from the scope of the present invention.
2 情報収集装置
4 路側器
7 通信エリア
22A CPU(収集手段、圧縮手段、送信手段)
22A1 収集部(収集手段)
22A2 圧縮処理部(圧縮手段)
22A3 通信データ制御部(送信手段)
22C1 収集データメモリ
22C2 圧縮中データバッファ(圧縮中データメモリ)
22C3 圧縮データメモリ
2
22A1 Collection unit (collection means)
22A2 compression processing unit (compression means)
22A3 communication data control unit (transmission means)
22C1 Collected data memory 22C2 Data buffer during compression (Data memory during compression)
22C3 compressed data memory
Claims (3)
前記送信手段が、前記圧縮手段により前記第1圧縮処理が行われている間に前記路側器の通信エリアに進入すると、前記新規の収集データを加える前の前記既に圧縮が完了された収集データを無線送信した後に前記新規の収集データを無線送信する
ことを特徴とする情報収集装置。 Collection means for collecting predetermined collection data, and first compression processing for compressing collection data obtained by adding the new collection data to collection data that has already been compressed in accordance with collection of new collection data by the collection means In an information collecting apparatus comprising: compression means for performing transmission; and transmission means for wirelessly transmitting collected data compressed by the compression means to the roadside unit in response to the roadside unit entering the communication area.
When the transmission means enters the communication area of the roadside unit while the first compression processing is being performed by the compression means, the collected data that has already been compressed before adding the new collected data is displayed. An information collection device, wherein the new collection data is wirelessly transmitted after wireless transmission.
前記送信手段が、前記圧縮手段により前記第1圧縮処理が行われている間に前記路側器の通信エリアに進入すると、前記新規の収集データを加える前の前記既に圧縮が完了された収集データの無線送信を行った後に前記第2圧縮処理により圧縮された前記新規の収集データの無線送信を行う
ことを特徴とする請求項1に記載の情報収集装置。 When the compression means enters the communication area of the roadside device during the first compression process, the first compression process is terminated, and the transmission means wirelessly transmits the collected data that has already been compressed. A second compression process for compressing the new collected data,
When the transmission means enters the communication area of the roadside device while the first compression processing is being performed by the compression means, the collection data that has already been compressed before the new collection data is added. The information collection apparatus according to claim 1, wherein after the wireless transmission is performed, the new collection data compressed by the second compression process is wirelessly transmitted.
前記圧縮手段が、前記収集データメモリに前記新規の収集データが格納されると前記新規の収集データを圧縮中データメモリにコピーした後に前記圧縮中データメモリに格納されている前記既に圧縮が完了された収集データに前記コピーした新規の収集データを加えた収集データを圧縮する前記第1圧縮処理を行い、その後前記第1圧縮処理が終了すると前記圧縮中データメモリに格納された圧縮が完了した収集データを圧縮データメモリにコピーし、
前記送信手段が、前記圧縮手段により前記第1圧縮処理が行われている間に前記路側器の通信エリアに進入すると、前記圧縮データメモリに格納されている収集データを送信し
た後に、前記収集データメモリに格納された前記新規の収集データを送信する
ことを特徴とする請求項1に記載の情報収集装置。 The collecting means stores the new collected data in a collected data memory;
When the new collected data is stored in the collected data memory, the compression unit copies the new collected data to the compressing data memory and then completes the compression already stored in the compressing data memory. The collected data obtained by adding the copied new collected data to the collected data is compressed, and after the first compression process is completed, the compression stored in the data memory during compression is completed. Copy data to compressed data memory,
If the transmission means enters the communication area of the roadside device while the first compression processing is being performed by the compression means, the collected data is transmitted after transmitting the collected data stored in the compressed data memory. The information collection apparatus according to claim 1 , wherein the new collection data stored in a memory is transmitted.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2008266073A JP5221272B2 (en) | 2008-10-15 | 2008-10-15 | Information collection device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2008266073A JP5221272B2 (en) | 2008-10-15 | 2008-10-15 | Information collection device |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JP2010097308A JP2010097308A (en) | 2010-04-30 |
| JP5221272B2 true JP5221272B2 (en) | 2013-06-26 |
Family
ID=42258958
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2008266073A Expired - Fee Related JP5221272B2 (en) | 2008-10-15 | 2008-10-15 | Information collection device |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP5221272B2 (en) |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN109859516B (en) * | 2019-03-13 | 2021-06-15 | 重庆皓石金科技有限公司 | Taxi abnormal gathering identification method and device |
Family Cites Families (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH11234132A (en) * | 1998-02-17 | 1999-08-27 | Meidensha Corp | Multi-media information processor |
| JP2001111432A (en) * | 1999-10-04 | 2001-04-20 | Seiko Epson Corp | Data compression control device, data compression control method, print information forming device, printing system, and recording medium recording program |
| JP4344293B2 (en) * | 2004-07-28 | 2009-10-14 | 矢崎総業株式会社 | Data transfer success / failure determination method and data transfer method using the same |
| JP4633505B2 (en) * | 2005-03-04 | 2011-02-16 | パナソニック株式会社 | Traffic information generating device, traffic information generating method, traffic information providing device, and traffic information distribution system |
| JP2007184874A (en) * | 2006-01-10 | 2007-07-19 | Fuji Heavy Ind Ltd | Vehicle information collection system |
-
2008
- 2008-10-15 JP JP2008266073A patent/JP5221272B2/en not_active Expired - Fee Related
Also Published As
| Publication number | Publication date |
|---|---|
| JP2010097308A (en) | 2010-04-30 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN111221549A (en) | Method and device for updating vehicle software by OTA | |
| JP5221272B2 (en) | Information collection device | |
| DE10197252T5 (en) | Go-printing system and method | |
| CN110097653A (en) | Electronic label activation method and device | |
| JP2001278414A (en) | Collection and delivery information management method and system, and portable terminal for collection personnel | |
| CN111831211B (en) | Data transmission method, device, equipment and storage medium | |
| CN205540966U (en) | Electronic device | |
| CN114143307B (en) | Method and system for efficiently and completely transmitting network contract travel record data | |
| JP5111982B2 (en) | Information collection device | |
| US20060092470A1 (en) | Printing apparatus and computer readable medium | |
| CN104680593A (en) | Electronic charging device, display device, charging method, and display method | |
| CN113963458A (en) | Management method of vehicle-mounted log | |
| CN101976328B (en) | System and method for collecting exhibition data as well as mobile terminal and data server thereof | |
| US6811089B2 (en) | Portable electronic medium issuing system and issuing method and portable electronic medium | |
| CN116708511B (en) | Method, equipment and medium based on microcontroller integrated vehicle-machine interconnection technology | |
| US10997587B2 (en) | Collecting transaction history data on a terminal | |
| CN112866347A (en) | Method and device for processing aggregate service | |
| JP5735887B2 (en) | Operation card initialization method | |
| CN118301589A (en) | Method, device and system for exchanging binding of SIM card of vehicle-mounted terminal | |
| DE102018000682B4 (en) | Methods and servers for collecting driver activity data | |
| JP2010176316A (en) | Information collection device and road-side device, and communication system | |
| JP2901123B2 (en) | Digital vehicle operation recording device | |
| JP4736396B2 (en) | IC card processing system | |
| US20250308294A1 (en) | Management device and vehicle information management system | |
| US20260037199A1 (en) | Systems and methods for collecting printing usage statistics |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20110830 |
|
| A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20121203 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20121211 |
|
| A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20130130 |
|
| 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: 20130226 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20130307 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20160315 Year of fee payment: 3 |
|
| R150 | Certificate of patent or registration of utility model |
Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
| LAPS | Cancellation because of no payment of annual fees |