JP5228946B2 - Electronic equipment and programs - Google Patents
Electronic equipment and programs Download PDFInfo
- Publication number
- JP5228946B2 JP5228946B2 JP2009016512A JP2009016512A JP5228946B2 JP 5228946 B2 JP5228946 B2 JP 5228946B2 JP 2009016512 A JP2009016512 A JP 2009016512A JP 2009016512 A JP2009016512 A JP 2009016512A JP 5228946 B2 JP5228946 B2 JP 5228946B2
- Authority
- JP
- Japan
- Prior art keywords
- dynamic data
- box
- data
- area
- registered
- 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
- 238000001514 detection method Methods 0.000 claims description 30
- 238000000034 method Methods 0.000 claims description 23
- 238000012545 processing Methods 0.000 claims description 19
- 238000013500 data storage Methods 0.000 claims description 17
- 230000006870 function Effects 0.000 claims description 17
- 230000008569 process Effects 0.000 claims description 16
- 238000012217 deletion Methods 0.000 claims description 7
- 230000037430 deletion Effects 0.000 claims description 7
- 230000007257 malfunction Effects 0.000 description 29
- 238000012544 monitoring process Methods 0.000 description 5
- 230000001629 suppression Effects 0.000 description 5
- 238000004891 communication Methods 0.000 description 3
- 238000007796 conventional method Methods 0.000 description 2
- 238000007726 management method Methods 0.000 description 2
- 230000035945 sensitivity Effects 0.000 description 2
- 102100040160 Rabankyrin-5 Human genes 0.000 description 1
- 101710086049 Rabankyrin-5 Proteins 0.000 description 1
- 238000013459 approach Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 230000005684 electric field Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 238000009434 installation Methods 0.000 description 1
- 238000005259 measurement Methods 0.000 description 1
- 238000013508 migration Methods 0.000 description 1
- 230000005012 migration Effects 0.000 description 1
- 238000012806 monitoring device Methods 0.000 description 1
- 230000007704 transition Effects 0.000 description 1
Images
Description
本発明は、車両の現在位置に基づいて周囲の目標物を検出する目標物検出装置や、ナビゲーション装置等のGPSその他の位置検出機能を備えた電子機器およびプログラムに関するもので、より具体的には、電子機器が記憶保持する位置情報を含む動的データ(製品出荷後に更新されるデータ)の記憶部への格納並びに読み書きの改良に関する。 The present invention relates to a target detection device that detects surrounding targets based on the current position of a vehicle, and an electronic apparatus and program having GPS and other position detection functions such as a navigation device, and more specifically. In addition, the present invention relates to storage of dynamic data (position data updated after product shipment) including position information stored and held in an electronic device and improvement of reading and writing.
車両速度測定装置等の検出対象となる目標物の位置情報を記憶保持しておき、GPSにより検出した自車の現在位置と目標物の位置とが所定の位置関係になった場合に警報を発するようにした目標物検出装置がある(例えば、特許文献1等)。上記の特許文献1等の目標物検出装置の場合、例えば、検出対象物と車両の現在位置が設定された距離(例えば、1kmや500m等)に至った際に、「500m先、○○です。」(○○は、目標物を特定する情報(ループコイル等)等の音声による警報を出力したり、ディスプレイ上に係る情報をテキストで出力表示したりする。
Stores and holds position information of a target to be detected by a vehicle speed measuring device or the like, and issues an alarm when the current position of the vehicle detected by GPS and the position of the target are in a predetermined positional relationship. There is a target detection device as described above (for example, Patent Document 1). In the case of the target detection apparatus described in
これらの目標物検出装置は、例えば車両速度測定装置への接近をドライバーに知らせることで、ドライバーが知らず知らずのうちに速度を出しすぎてしまうのを予防することに貢献している。特に、車両速度測定装置は、一般的に速度を超過しやすい場所等に設置されていることが多いため、危険性のある場所で、ドライバーに対して速度超過への注意を喚起することができる。 These target detection devices, for example, inform the driver of the approach to the vehicle speed measurement device, thereby contributing to preventing the driver from unintentionally overspeeding. In particular, since the vehicle speed measuring device is generally installed in a place where the speed is likely to be exceeded, it is possible to alert the driver to the overspeed in a dangerous place. .
そして、正しい警報動作を行うためには、目標物についての情報が、実際の設置状況に合っている必要がある。そこで、この目標物の位置情報は、出荷時に予め登録しているが、公知の各種の手法により、更新可能としている。この更新作業により、最新のデータにすることができ、警報動作の正確性が向上する。 And in order to perform a correct alarm operation, the information about the target object needs to match the actual installation situation. Therefore, although the position information of the target is registered in advance at the time of shipment, it can be updated by various known methods. By this update operation, the latest data can be obtained, and the accuracy of the alarm operation is improved.
一方、目標物の一つである車両速度測定装置は、所定周波数のマイクロ波を出射するものがある。そこで、位置情報に加えて、マイクロ波受信機を備え、所定周波数のマイクロ波を受信した場合(他の条件を付加することもある)に、目標物があると認識し、所定の警報を発する機能を備えた目標物検出装置もある。そして、その所定周波数は、たとえば、自動ドアの人感センサから出射されるマイクロ波の周波数と同じであるため、係る自動ドアの前を通過した場合に、目標物を検出したと判断して誤警報を発する恐れがある。そこで、係る事態の発生を防止するため、係る自動ドア等の誤動作源についてもその位置情報を登録しておき、その誤動作源の位置の周囲で所定周波数のマイクロ波を受信した場合には、警報を発しない(正規の警報を発しない)ようにしたものがある。この場合、係る誤動作源の位置情報を登録する必要があり、係る登録は、実際にマイクロ波の受信に基づく警報が発せられている際に、ユーザがスイッチ操作により登録の指示を与えると、その指示を受けたときの位置情報等を誤動作源の位置情報として登録する。そして、その誤動作源の位置の周囲の一定の範囲内を誤動作源による警報禁止領域とする。また、誤動作源からのマイクロ波か否かを判別し、自動的に登録するようにした機能を備えたものもある。 On the other hand, there is a vehicle speed measuring device that is one of the targets that emits microwaves of a predetermined frequency. Therefore, in addition to the position information, a microwave receiver is provided, and when a microwave of a predetermined frequency is received (other conditions may be added), a target is recognized and a predetermined alarm is issued. Some target detection devices have a function. The predetermined frequency is, for example, the same as the frequency of the microwave emitted from the human sensor of the automatic door. There is a risk of issuing an alarm. Therefore, in order to prevent the occurrence of such a situation, the position information of the malfunctioning source such as the automatic door is registered, and if a microwave of a predetermined frequency is received around the malfunctioning source position, an alarm is issued. There is something that does not emit (no regular alarm). In this case, it is necessary to register the position information of the malfunction source. When the user gives a registration instruction by operating the switch when an alarm based on reception of microwaves is actually issued, The position information when the instruction is received is registered as the position information of the malfunction source. Then, a range within a certain range around the position of the malfunction source is set as a warning prohibition area due to the malfunction source. In addition, some of them have a function of determining whether or not the microwave is from a malfunctioning source and automatically registering it.
一方、自宅の周辺等のよく知った場所では、特に警報を発しなくてもよい。そこで、自宅の周辺等ではスイッチ操作により目標物の検出動作を停止させても良いが、係る自宅周辺から外部に移動するような場合には、その自宅の周辺の境界付近でスイッチ操作により目標物の検出動作の停止/稼働を切り替える必要があるので煩雑となる。そこで、自宅の周辺等の動作を停止させても良い場所の代表地点の位置情報を登録し、その代表地点の周囲の所定距離の範囲内を警報禁止領域とする。これらの警報禁止領域では、正常な警報動作が禁止される。具体的には、目標物の検出処理自体を停止したり、受信感度を低くしたり、警報の種類を変えたりする。 On the other hand, it is not necessary to issue a warning at a well-known place such as the vicinity of the house. Therefore, the detection operation of the target may be stopped by operating the switch in the vicinity of the home, but when moving from the periphery of the home to the outside, the target is detected by operating the switch near the boundary of the periphery of the home. Since it is necessary to switch the stop / operation of the detection operation, it becomes complicated. Therefore, the position information of the representative point of the place where the operation around the home or the like may be stopped is registered, and the range of the predetermined distance around the representative point is set as the alarm prohibition region. In these alarm prohibition areas, normal alarm operation is prohibited. Specifically, the target detection process itself is stopped, the reception sensitivity is lowered, or the type of alarm is changed.
このように、使用に伴い、誤動作源や、自宅周辺等の正規の警報を抑制するための位置情報が逐次登録されていくが、係る位置情報(誤動作源,自宅周辺等の種類も関連づけられる)等のデータは、不揮発性メモリ(たとえばEEPROM)等に登録される。また、係る製品の出荷後に、自動もしくは手動による登録・削除により目標物の検出のためのデータは、逐次更新されてその記憶された内容が変化することから、本明細書では、“動的データ”とも称する。 In this way, with use, location information for suppressing malfunction sources and regular alarms such as around the home are sequentially registered, but such location information (types of malfunction sources, around the home, etc. are also associated) Are registered in a non-volatile memory (for example, EEPROM). In addition, in the present specification, “dynamic data” is used because the data for detection of a target is sequentially updated and the stored contents are changed by automatic or manual registration / deletion after the product is shipped. Also referred to.
このように、製品の出荷後に、自動もしくは手動による登録・削除により目標物の検出のためのデータ(動的データ)を変更するシステムは、従来から実現されている。しかし、この種の従来の装置では、以下に示す課題がある。 As described above, a system for changing data for detecting a target (dynamic data) by automatic or manual registration / deletion after product shipment has been conventionally realized. However, this type of conventional apparatus has the following problems.
まず、係る動的データを記憶するストレージベースとして、上述したようにEEPROMを用いている。そのため、MPUの能力が上がってもアクセス・読み書きのための処理速度が上昇できないので、システムボトルネックとなっていた。この課題を解決するため、EEPROMのみのシステムから、RAMへ完全ミラーリングするシステムも提案されたが、動的データの登録件数が少ないうちは実現可能であるが、たとえば、登録件数が1万件以上と多い場合には、RAMの使用量も爆発的に増加するので、低コストシステムに向かないという課題がある。さらに、このように1万件以上の登録件数を想定した場合、EEPROMのみを用いる従来方式では、処理速度の問題はもちろんのこと、コストも高くなるという同様の課題を有する。 First, as described above, an EEPROM is used as a storage base for storing such dynamic data. For this reason, even if the capability of the MPU increases, the processing speed for access / read / write cannot be increased, which has become a system bottleneck. In order to solve this problem, a system that completely mirrors from the EEPROM-only system to the RAM has also been proposed, but it can be realized while the number of registered dynamic data is small. For example, the number of registered data is 10,000 or more. If the amount is too large, the amount of RAM used will increase explosively, and there is a problem that it is not suitable for a low-cost system. Further, assuming the number of registrations of 10,000 or more as described above, the conventional method using only the EEPROM has the same problem that the cost is increased as well as the problem of the processing speed.
そこで、誤動作源の位置情報を登録する場合、あらかじめ登録件数に上限を設定し、その上限を超えた場合には、所定のルールに従って登録済みの誤動作源の位置情報を削除するとともに新たな誤動作源の位置情報を登録するようにしている。この所定のルールは、たとえば、通過履歴が最も少ないものや、登録日(最終通過日)がもっとも古いものなどが想定されるが、通過履歴が少ないもの等の上限に合致するものが必ずしも不要(重要性が低い)とは限らないとともに、そのように削除するデータを選択するための情報(通過履歴等)をさらに記録したり、その情報から削除するデータを選択したりする作業が必要となり、処理負担が増す。特に、誤動作源からのマイクロ波を受信したと判断した場合にその位置情報を自動的に登録する機能を備えた場合、自動ドア等の誤動作源は、町中に多数あることから、走行に伴い新規に登録されるデータが増えるので、たとえば上限を100〜数100程度にした場合には、すぐに上限に達してしまい、削除処理が必要となり上記の問題が発生するという課題がある。 Therefore, when registering location information of malfunction sources, an upper limit is set in advance on the number of registrations, and if the upper limit is exceeded, location information of malfunction sources registered according to a predetermined rule is deleted and a new malfunction source Location information is registered. For example, the predetermined rule may be the one with the smallest passage history or the one with the oldest registration date (last passage date), but the one that matches the upper limit such as the one with the smallest passage history is not necessarily required ( It is not necessarily less important), and it is necessary to further record information for selecting data to be deleted (passage history, etc.) and to select data to be deleted from the information. Processing burden increases. In particular, if it has a function to automatically register its position information when it is determined that a microwave from a malfunctioning source has been received, there are many malfunctioning sources such as automatic doors in the town. Since data to be newly registered increases, for example, when the upper limit is set to about 100 to several hundreds, the upper limit is reached immediately, and there is a problem that the above-described problem occurs because deletion processing is required.
さらに、上記の動的データは、単独の目標物検出装置で使用するのではなく、他の車両に搭載された目標物検出装置で登録された動的データを相互に利用することが考えられている。これにより、自車は初めて訪れる地域であっても、当該地域を走行した別の車両に搭載された目標物検出装置で登録された動的データを取得し・利用することで、当該地域に存在する誤動作源からのマイクロ波を受信したとしても、最初(1回目の受信)から正規の警報発生を抑制できる効果が得られるので好ましい。しかし、そのように他の目標物検出装置で登録した動的データも取得するようにした場合、動的データの登録数は飛躍的に増加するので、今までの登録件数の上限では全く足りず、たとえば、10000件以上の動的データを記憶することが可能であることが要求される。 Furthermore, the above dynamic data is not used by a single target detection device, but is considered to mutually use dynamic data registered by a target detection device mounted on another vehicle. Yes. As a result, even if the vehicle is the first time to visit, it can exist in that region by acquiring and using the dynamic data registered by the target detection device mounted on another vehicle that has traveled in that region. Even if a microwave from a malfunctioning source is received, it is preferable because an effect of suppressing normal alarm generation from the beginning (first reception) can be obtained. However, when dynamic data registered with other target detection devices is also acquired, the number of registered dynamic data increases dramatically, so the upper limit of the number of registrations so far is not sufficient. For example, it is required that 10,000 or more dynamic data can be stored.
さらに、マイクロ波を受信した場合にそれが登録された誤動作源からのものか否かを判断するため、登録済みの誤動作源の位置情報を検索し、車両の現在位置が誤動作源による警報抑制領域内か否かを判断する必要がある。そして、誤動作源の登録件数が100件程度であれば、先頭から順にすべてのデータをサーチしても処理時間・負荷にさほど問題はないが、上記のように、登録件数の増加にともない、効率的な検索システムにより処理時間・負荷への影響を抑制する必要があるといった課題も新たに生じる。 Further, in order to determine whether or not the microwave is received from a registered malfunction source, the position information of the registered malfunction source is searched, and the current vehicle position is an alarm suppression area due to the malfunction source. It is necessary to judge whether it is within or not. If the number of registrations of malfunction sources is about 100, there is no problem in processing time and load even if all the data are searched in order from the beginning. However, as the number of registrations increases as described above, A new problem arises that it is necessary to suppress the influence on the processing time and load by a typical search system.
上記の課題を解決するために、本発明は、(1)自機の位置を検出する位置検出手段と、製品出荷後に位置情報を含む動的データを登録する動的データ記憶手段と、を備え、製品出荷後に登録する位置情報を含む動的データを登録する動的データ記憶手段と、を備え、前記位置検出手段で検出された現在の位置と、前記動的データ記憶手段に格納された動的データに基づき所定の制御をする機能を備え、前記動的データの登録対象となる領域を複数のエリアに分割し、前記動的データ記憶手段に登録すべき前記動的データが生じた際に、その動的データの位置情報から前記複数のエリアの中から該当するエリアを決定し、その決定したエリアにおいて初めての動的データの場合には、設定されたサイズの連続したメモリ領域であるボックスを前記動的データ記憶手段内に確保するとともに、そのボックス内に前記動的データを格納し、前記決定したエリアについて前記ボックスが確保されている場合には当該ボックス内に前記動的データを格納する制御手段を備えるようにした。 In order to solve the above-described problems, the present invention includes (1) a position detection unit that detects the position of the device itself, and a dynamic data storage unit that registers dynamic data including position information after product shipment. Dynamic data storage means for registering dynamic data including position information to be registered after product shipment, the current position detected by the position detection means, and the dynamic data stored in the dynamic data storage means When the dynamic data to be registered is registered in the dynamic data storage means when the dynamic data registration target area is divided into a plurality of areas. A corresponding area is determined from among the plurality of areas from the position information of the dynamic data, and in the case of the first dynamic data in the determined area, a box which is a continuous memory area of a set size The Secure in the dynamic data storage means, store the dynamic data in the box, and store the dynamic data in the box when the box is reserved for the determined area A control means is provided.
登録対象となる領域は、全世界,全国,特定の一部の地域など各種の領域が設定できる。実施形態では、経度で分割したため、全世界が対象としている。位置検出手段としては、例えば、GPS、無線LAN、RFID等を用いて現在位置を検出する技術を用いることができる。電子機器としては、現在位置に基づいて周囲の目標物を検出する目標物検出装置や、ナビゲーションシステム等のGPSを用いた位置検出機能を備えた各種の装置がある。所定の制御としては、電子機器が、位置情報に基づいて警報を発する機能を備えたものの場合、当該警報を制御する(実施形態では、正規の警報の抑制)ものがある。また、所定の制御の他の例としては、情報の入力制御、出力制御、記録制御などが挙げられる。例えば出力制御として、他の装置等への信号制御、報知制御(例えば、施設位置の報知)などとすることができる。記録制御としては、例えば、現在位置での情報(例えば映像等)の記録制御などが挙げられる。もちろん、これ以外の制御でもよい。 Various areas such as the whole world, the whole country, and a specific part of the area can be set as registration areas. In the embodiment, since it is divided by longitude, the whole world is targeted. As the position detection means, for example, a technique for detecting the current position using GPS, wireless LAN, RFID, or the like can be used. Electronic devices include target detection devices that detect surrounding targets based on the current position, and various devices that have a position detection function using GPS, such as a navigation system. As the predetermined control, when the electronic device has a function of issuing an alarm based on position information, there is an apparatus that controls the alarm (in the embodiment, suppression of a normal alarm). Other examples of the predetermined control include information input control, output control, and recording control. For example, as output control, signal control to other devices or the like, notification control (for example, notification of facility position), or the like can be used. Examples of the recording control include recording control of information (for example, video) at the current position. Of course, other controls may be used.
本発明では、複数のエリアに分割し、エリアごとに所定のサイズで連続したメモリ領域(ボックス)が確保されるので、ある動的データを登録する場合、その登録するデータの位置情報からどのエリアについての動的データかを認識し、該当するエリアに振り分けられたメモリ領域に登録する。よって、検索時には、現在位置から該当するエリアを認識し、そのエリアに振り分けられたメモリ領域(ボックス)のみをサーチすればよいので、短時間で該当する動的データの有無を判断することができる。また、実際の動的データ記憶手段に対するメモリ領域の確保は、登録すべき動的データが発生した際に初めて行われるので、未使用のメモリ領域が無駄に確保されることがない。 In the present invention, a memory area (box) that is divided into a plurality of areas and is contiguous with a predetermined size is secured for each area. Therefore, when registering certain dynamic data, which area is determined from the position information of the registered data. Is registered in the memory area allocated to the corresponding area. Therefore, at the time of searching, it is only necessary to recognize the corresponding area from the current position and search only the memory area (box) allocated to the area, so that the presence or absence of the corresponding dynamic data can be determined in a short time. . In addition, since the memory area is secured for the actual dynamic data storage means only when dynamic data to be registered is generated, an unused memory area is not secured unnecessarily.
(2)前記制御手段は、前記決定したエリアについて確保された前記ボックス内に登録可能な件数の動的データが格納されている場合、そのエリアについての新規なボックスを確保し、その新規なボックス内に前記動的データを格納するものとすることができる。そのようにすると、必要以上に各エリアについて割り当てるサイズを大きくする必要がないので、メモリを有効に利用できる。すなわち、上記のように、あるエリアについて登録すべき動的データが発生すると、そのエリアについてのボックス(連続したメモリ領域)が動的データ記憶手段に確保される。従って、仮に当該サイズを必要以上に大きく設定した場合において実際に登録する動的データの数が少ないと、そのボックス内で未使用のメモリ領域が多く発生するので好ましくない。一方、あまりサイズが小さいと、すぐにいっぱいになってしまい、それ以上登録できない(あるいはすでに登録済みの動的データを削除して新規追加)とすると、動的データを適切に登録できずに好ましくないが、本発明によれば、いっぱいなった場合に新たにボックスを追加確保し、そこに新規の動的データを登録できる。 (2) If the number of pieces of dynamic data that can be registered is stored in the box reserved for the determined area, the control means reserves a new box for the area, and the new box The dynamic data may be stored in the inside. By doing so, it is not necessary to increase the size allocated to each area more than necessary, so that the memory can be used effectively. That is, as described above, when dynamic data to be registered for an area is generated, a box (continuous memory area) for the area is secured in the dynamic data storage unit. Therefore, if the size is set larger than necessary and the number of dynamic data to be actually registered is small, it is not preferable because many unused memory areas are generated in the box. On the other hand, if the size is too small, it will fill up quickly, and if you cannot register any more (or delete the already registered dynamic data and add a new one), you will not be able to register the dynamic data properly. However, according to the present invention, when a box becomes full, a new box can be secured and new dynamic data can be registered there.
(3)前記設定されたサイズは、段階的に設定した固定サイズであって、前記動的データの登録予想数の多いエリアほど大きい固定サイズを割り当てるとよい。このようにすると、各ボックスのサイズが適切になり、必要以上に大きく設定してボックス内の未使用のメモリ領域が増える弊害や、逆にすぐに動的データの登録件数がサイズで許容される最大値に達してしまうことを抑止できる。登録予想数の多少は、実施形態では、目標物の登録件数に応じて割り振ったが、本発明はこれに限ることはなく、たとえば人口密度その他の条件に基づいて割り振ることができる。 (3) The set size is a fixed size set in stages, and a larger fixed size may be assigned to an area where the expected number of registered dynamic data is larger. If this is done, the size of each box will be appropriate, the size will be set larger than necessary, and the unused memory area in the box will increase, and conversely, the number of registered dynamic data will be allowed by size immediately. It is possible to prevent the maximum value from being reached. In the embodiment, the expected number of registrations is allocated according to the number of registrations of the target. However, the present invention is not limited to this, and can be allocated based on, for example, population density and other conditions.
(4)所定の電波を受信した際に警報を発する警報制御手段を備え、前記動的データは、前記警報制御手段が行う正規の警報を抑制する範囲を特定する情報とすることができる。正規の警報を抑制する範囲は、実施形態に示すように、検出対象物から発せられる電波と同じ周波数帯の電波を発生する誤動作源の周囲や、ユーザの自宅周辺やよく行く場所で警報を発生する必要性が低い範囲等がある。 (4) An alarm control unit that issues an alarm when a predetermined radio wave is received may be provided, and the dynamic data may be information specifying a range in which a normal alarm performed by the alarm control unit is suppressed. As shown in the embodiment, the range for suppressing regular alarms is to generate alarms around malfunction sources that generate radio waves in the same frequency band as the radio waves emitted from the detection target, around the user's home, and where they often go There is a range where the necessity to do is low.
(5)前記動的データは、他の電子機器にて登録された動的データを取得したものを含むようにするとよい。他の電子機器にて登録された動的データを取得市、それを自機に登録することで、実際に行っていない場所の動的データをあらかじめ入手することができ、初めて訪れた場所でも当該動的データを利用することで、最初から適切な制御を行うことができる。動的データを取得する手段として、各種の二メモリカード等の携帯可能な記録メディアを利用したり、通信を利用したりすることができる。 (5) The dynamic data may include data obtained by acquiring dynamic data registered in another electronic device. Dynamic data registered with other electronic devices can be obtained in the city, and by registering it with your own device, you can obtain dynamic data of places you have not actually visited in advance. By using dynamic data, appropriate control can be performed from the beginning. As means for acquiring dynamic data, portable recording media such as various two-memory cards can be used, or communication can be used.
(6)前記動的データ記憶手段は、フラッシュメモリを用いるとよい。このようにすると、安価でメモリ容量が確保できるので好ましい。 (6) The dynamic data storage means may use a flash memory. This is preferable because the memory capacity can be secured at low cost.
(7)前記制御手段は、前記フラッシュメモリへの動的データの登録は、データ面を複数面用意するとともに使用面となっているデータ面に対して行い、動的データごとに有効/無効マーキングを設定するとともに登録した動的データの削除は、対応する有効/無効マーキングを無効にすることで行い、使用面となっているデータ面の削除データが基準量を超えた場合に、有効マーキング設定した動的データを新たな使用面となるデータ面にコピーした後、前記使用面を、当該新たな使用面となるデータ面に切り替えるガベージコレクション処理する機能を備えるとよい。このようにすることで、ガベージコレクション中に電源が切断された場合などに、データが破壊される可能性を小さくすることができる。なお、削除データが基準量を超えた場合に使用面の切り替えを行うタイミングであるが、超えた場合に、すぐにあるいは一定の期間経過後に行うようにしてもよいが、より好ましくは、実施形態で記載するように、時間手な余裕がある次回の起動時に行うことである。 (7) The control unit prepares a plurality of data planes and registers the dynamic data in the flash memory on the data plane that is used, and valid / invalid marking for each dynamic data. The registered dynamic data is deleted by invalidating the corresponding valid / invalid marking. If the deleted data on the used data surface exceeds the reference amount, the effective marking setting is set. It is preferable to provide a function of performing garbage collection processing for switching the used surface to the data surface to be the new usage surface after copying the dynamic data to the data surface to be the new usage surface. By doing so, it is possible to reduce the possibility of data being destroyed when the power is turned off during garbage collection. It should be noted that this is the timing for switching the usage plane when the deleted data exceeds the reference amount, but if it exceeds, it may be performed immediately or after a certain period of time, but more preferably, the embodiment As described in, this is to be done at the next start-up when there is time available.
(8)前記有効/無効マーキングとして、無効マーキングの値を0とし、有効マーキングの値を0以外とするとよい。フラッシュメモリは、0にすることは簡単に行えるので、登録済みの動的データの削除を簡単に行うことができる。 (8) As the valid / invalid marking, the value of the invalid marking may be set to 0 and the value of the effective marking may be set to other than 0. Since the flash memory can be easily set to 0, the registered dynamic data can be easily deleted.
(9)また、前記ガベージコレクション処理は、自機の電源が投入された直後に、表示手段に対するオープニング画面の描画処理中に行うようにするとよい。このようにすると、時間的に余裕がある起動時にガベージコレクション処理を行うことができ、実際の検出動作等への影響が少ない。 (9) Further, the garbage collection process may be performed during the drawing process of the opening screen on the display means immediately after the power of the own device is turned on. In this way, the garbage collection process can be performed at the time of start-up with sufficient time, and the influence on the actual detection operation and the like is small.
(10)前記ガベレージコレクション処理を行った際に、同一のボックス内のデータがすべてなくなった場合には、そのボックス自体を削除する処理を行う機能を備えるとよい。係る機能を設けることで、実質的に不要となったボックスを解放することができ、新たな動的データの登録をする領域を増やすことができる。 (10) When the garbage collection process is performed, if all data in the same box disappears, a function of performing a process of deleting the box itself may be provided. By providing such a function, it is possible to release a box that is substantially unnecessary, and to increase an area for registering new dynamic data.
(11)本発明のプログラムは、上記の(1)〜(10)のいずれかに記載の電子機器における制御手段としての機能をコンピュータに実現させるためのプログラムとすることができる。 (11) The program of the present invention can be a program for causing a computer to realize a function as a control means in the electronic device according to any one of (1) to (10).
本発明は、エリアごとに連続したメモリ領域のボックスを確保し、同一のエリアに属する動的データは、そのボックス内に格納するようにしたので、たとえ動的データ記憶手段のメモリ容量を大きくしたとしても、検索の際には、対応するボックス内を検索すればよいので迅速に処理できる。さらに、あらかじめすべてのエリアに対応するボックスを確保するのでなく、登録する動的データが発生した場合に、該当するエリアに適切なサイズのボックスを確保するので、メモリの有効利用がはかれる。さらに、動的データ記憶手段にフラッシュメモリを使用するようにした場合には、安価にメモリ容量を大きくすることができ、登録可能な件数を大きく採ることができる。 The present invention secures a box of continuous memory areas for each area, and dynamic data belonging to the same area is stored in the box, so the memory capacity of the dynamic data storage means is increased. However, when searching, it is only necessary to search the corresponding box, so that processing can be performed quickly. Further, instead of securing boxes corresponding to all areas in advance, when dynamic data to be registered is generated, a box of an appropriate size is secured in the corresponding area, so that the memory can be used effectively. Further, when a flash memory is used as the dynamic data storage means, the memory capacity can be increased at a low cost, and the number of items that can be registered can be increased.
以下、図面を用いて本発明の好適な実施形態を説明する。図1は、本発明の好適な一実施の形態を示している。図1に示すように、各種の電波等を受信する受信機として、位置検出手段たるGPS受信機1と、マイクロ波受信機2と、無線受信機3と、を備えている。GPS受信機1は、GPS信号を受信し、その受信したGPS信号から現在位置を求め、その求めた現在位置の位置情報(経度,緯度)を制御部4に送る。
Hereinafter, preferred embodiments of the present invention will be described with reference to the drawings. FIG. 1 shows a preferred embodiment of the present invention. As shown in FIG. 1, a
マイクロ波受信機2は、所定周波数帯のマイクロ波を受信するもので、その設定された周波数帯のマイクロ波を受信した場合に、その受信したマイクロ波の信号レベルを検出する。具体的には、その信号レベルであり電界強度に対応するRSSI電圧を利用する。上記の所定周波数帯は、たとえば車両速度測定装置から出射されるマイクロ波の周波数が含まれる周波数帯としている。無線受信機3は、飛来する所定周波数帯の無線を受信する。この所定周波数は、例えば、緊急車両が基地局に対して自車位置を通知する際に使用する無線の周波数帯とすることができる。
The
制御部4は、上記の各種の受信機から入力される情報に基づき所定の処理を実行し、出力機器(表示部6,警報ランプ7,スピーカ8等)を利用して所定の警報・メッセージを出力する。この受信機から入力される情報に基づく警報内容を決定する所定の処理は、基本的従来と同様のものを利用することができる。つまり、一定の条件を具備する信号を受信・取得した場合には、対応する警報を出力する。なお、スピーカ8を用いた警報は、ブザーや音声等がある。
The
本発明と関係する、GPS受信機1により検出した位置情報(自車両の現在位置情報)に基づく警報について、さらに説明する。データベース5には、検出対象の目標物(交通監視装置等の交通監視ポイントや、道の駅などの交通に関係する施設その他の目標物)について、その監視の種類と位置情報(経度:緯度)が関連づけられたテーブル構造として格納している。さらに、目標物が車両速度測定装置のように監視方向・監視領域がある場合には、その監視領域を特定する情報を関連付けて登録する。
The alarm based on the position information (current position information of the host vehicle) detected by the
これらの目標物に関する情報は、出荷時に一定の目標物について登録している。このデータは、公知の各種の手法により、更新可能としている。データベース5は、制御部4のマイコン内あるいはマイコンに外付けした不揮発性メモリ(たとえばEEPROM)により実現できる。
Information regarding these targets is registered for certain targets at the time of shipment. This data can be updated by various known methods. The
さらに、このデータベース5には、動的データの一つとして、上記の車両速度測定装置から出射されるマイクロ波と同一周波数帯のマイクロ波を出射する自動ドア等の誤動作源についてのデータを格納している。このデータは、誤動作源であることと、その位置情報を含む。誤動作源によって正規の警報が抑制される警報抑制領域は、誤動作源の位置を中心とした所定の半径の円内としたり、誤動作源から出射されるマイクロ波はその出射される方向があることから、出射方向の左右所定角度範囲内のような扇形としたりするなど、各種の方式がとれる。所定の半径や、形状を誤動作源ごとに変える場合には、誤動作源に関する情報として位置情報と関連づけてそれらの特定する情報も格納するし、半径等をすべての誤動作源に共通にする場合には、共通にする情報は個々に登録する必要はないので、位置情報等の固有の情報のみ格納する。
Further, the
この動的データは、製品の出荷後に実際にマイクロ波受信機2にて所定周波数帯のマイクロ波を受信した場合に、制御部4が、自動的に、あるいは、ユーザからのスイッチ操作に伴う手動的に誤動作源と判断・認識した場合に、制御部4がそのときの自車の現在位置を誤動作源の位置情報として登録することでデータベース5に格納・更新する。なお、マイクロ波を受信した際に自動的に誤動作源と判断して登録する機能は、従来公知の技術を用いることができるので、詳細な説明を省略する。
This dynamic data is stored in the
制御部4は、現在位置に基づき、データベース5を検索し、その周囲に警報対象の目標物があるか否かを判断し、当該目標物を検出した場合には、その目標物に関する情報を所定の出力機器を用いた報知する。また、マイクロ波受信機2にて所定周波数のマイクロ波を受信したり、無線受信機3にて所定無線信号を受信したりした場合には、それぞれ対応する警報を発する。
The
一方、制御部4は、現在位置が誤動作源の周囲に設定された警報抑制領域内と判断した場合、マイクロ波受信機2にて所定周波数のマイクロ波を受信したとしても、上記の設定された正規の警報を発しない制御を行う。ここで、正規の警報を発しないとは、警報自体を行わない場合はもちろんのこと、警報の仕方を変える場合も含む。つまり、正規の警報が、表示部6に目標物を示すシンボルやメッセージを描画したり、スピーカ8から音声による警報を発生したりするもののとすると、正規の警報の仕方と異なる警報は、たとえばテキストによるメッセージのみや、メッセージの内容を変える(警報抑制領域内でマイクロ波を受信中であることがわかる内容にする)など、簡易・軽微な警報がある。また、マイクロ波受信機2の受信感度を低くしたり、受信したと判断する際の受信レベルの閾値を高くしたりするなどして検出しにくくするような制御を行うこともできる。
On the other hand, when the
ここで本実施形態では、動的データのデータベース5への登録件数の上限を10000件(あるいはそれ以上の適宜な値)と大きく設定し、通常の使用状態では、動的データの登録数が上限を超えたことを理由に登録済みのデータを消去しなければならなくなる事態の発生を抑制している。もちろん、誤登録や不要になるなどの理由で登録済みの動的データを消去することはある。そして、このように、登録可能な件数を増加したことにともない、効率的な検索システムにより処理時間の短縮を図るとともに、制御部4(MPU)の処理負荷の軽減を図り、さらに、低コスト化の実現を図るために、以下に示すような構成を採った。
Here, in the present embodiment, the upper limit of the number of registrations of the dynamic data in the
まず、データベース5を、フラッシュメモリ11と、EEPROM12の2種類の記憶媒体を用いて構成した。すなわち、EEPROM12は補助的利用にとどめ、そのメモリ容量を小容量化してコストを下げるとともに、動的データの実体(位置情報等)を容量対コストの最も高い大容量のフラッシュメモリ11に格納するデータ構造を採った。そして、フラッシュメモリ11は、高速アクセスが可能であるが、EEPROM12のように特定番地のみを「任意の値」に変更することはできない。ただし、フラッシュメモリの特性で、「1」→「0」は常に書き込み可能であることを利用し、削除と追加を繰り返すことで動的データの変更・更新を行う。
First, the
つまり、よく知られているように、フラッシュメモリ11はERASEでビットが「1」になり、「1」を「0」にすることはいつでもできるものの、「0」を一旦書くとERASEしない限り戻らない。そこで、データを追加する場合、ERASE済みの領域に書き込みで行う。また、データの格納エリアには、有効/無効マーキングを関連づけており、有効マーキングが関連づけたデータは、そこに格納されたデータが動的データとして有効であると判定するようにしている。また、無効マーキングが登録された場合、それに関連づけられたデータは無効と判定するようにしているので、削除されたものとなる。そして、つまり、一旦書き込んだデータを削除するには、有効/無効マーキングを無効マーキングにすればよい。そこで、たとえば、有効マーキングは「0xA5」とし、無効マーキングは「0x00」とし、有効/無効マーキングを無効側に上書きで書き換えることにより行うようにした。この有効/無効マーキングは、動的データごとに設ける。具体的には図2の一番右の1つの箱(例:グループ100 データ0)ごとにその箱の中に記憶する。
In other words, as is well known, the
また、このようにデータ更新に伴い削除と追加を繰り返すと削除データが容量を圧迫するので、ガベージコレクションが必要となる。すなわち、一度削除を行った領域は、そのままでは、追加には使えず、追加・削除を繰り返していると使えない領域が多数を占めることになり、データ追加ができなくなる。そこで、図2に示すように、データ面を2面(「フラッシュ面0」と「フラッシュ面1」)用意し、一定量削除データが発生した時点で、EEPROM12にガベージコレクション要求(デフラグ指示)を記憶し、次回の起動時に現在の使用面でない面をERASEした上で、有効なデータをコピーして移行処理する。完全に移行が終了したならば、EEPROM12のガベージコレクション要求を消去する。起動直後はオープニング画面等々を表示部6に表示する処理の背後で上述したガベージコレクションの処理(整頓の処理)を行う[0]時間的余裕もあるため、この整頓の処理に10秒程度かかっても問題はないし、仮に移行中に電源切断しても完了するまで再度整頓すればよいので問題はない。
In addition, if deletion and addition are repeated as data is updated in this way, the deleted data imposes a capacity, and thus garbage collection is required. That is, once deleted, the area cannot be used as it is, but if it is repeatedly added / deleted, many areas cannot be used, and data cannot be added. Therefore, as shown in FIG. 2, two data surfaces (“
メモリ容量が大きいフラッシュメモリ11に対し、誤動作源に基づく登録すべき動的データを検出する都度、単純に先頭から順次データを追加していくだけでは、現在位置近傍のデータを検索する際に、フラッシュメモリ11に登録された全ての登録データをチェックする必要がある。これは非効率であり、時間もかかるだけでなく、制御部4の負荷も大きくなるので好ましくない。
Whenever the dynamic data to be registered based on the malfunction source is detected in the
そこで、実際の地域を複数のエリアに分割し、エリアごとにメモリ領域を振り分けるようにした。これにより、ある動的データを登録する場合、制御部4は、その登録するデータの位置情報からどのエリアについての動的データかを認識し、該当するエリアに振り分けられたメモリ領域に登録する。制御部4は、各メモリ領域では、先頭から順に書き込む。このようにすると、検索時には、現在位置から該当するエリアを認識し、そのエリアに振り分けられたメモリ領域のみをサーチすればよいので、短時間で該当する動的データの有無を判断することができ、制御部4の負荷も軽減される。
Therefore, the actual area is divided into a plurality of areas, and the memory area is allocated to each area. Thus, when registering certain dynamic data, the
そして、本実施形態では、各エリアを経度に基づき分割した。具体的には、576分割したため、1つのエリアの幅は3km程度とした。さらに、各エリアに割り当てるメモリ容量を、状況に応じて異なるようにした。すなわち、仮に、最大登録数を10000件とすると、各エリアに均等にメモリ容量(登録可能数)を割り当てると、“10000/576”より、約17件となる。すると、人口密集地域等の登録対象が多いと予想される領域では、登録可能数があまりに少なく、すぐに登録可能な上限を超えてしまう。 In this embodiment, each area is divided based on longitude. Specifically, since it was divided into 576, the width of one area was set to about 3 km. Furthermore, the memory capacity allocated to each area was made different depending on the situation. That is, assuming that the maximum number of registrations is 10,000, if the memory capacity (number of registrations) is equally allocated to each area, the number is about 17 from “10000/576”. Then, in an area where there are many registration targets such as a densely populated area, the number of registrations is too small, and the upper limit for immediate registration is exceeded.
また、人の多いところは動的データの登録数が多く入る可能性が高いという理由で画一的に都会に属するエリアに割り当てるメモリ容量を多くすると、今度は地方の人が使ったときに登録可能数がさらに少なくなってしまう。そこで、本実施形態では、あらかじめフラッシュメモリ11にエリアごとの記憶領域を確保するのではなく、登録すべき動的データが生じた場合に、そのエリアについて割り当てたサイズ(メモリ容量)の記憶エリアを確保し、その記憶エリア内の先頭から順に動的データを登録する。この記憶エリアをボックス(BOX)と称し、そのボックスのサイズは、各エリアに付したランクに応じて変えるようにしている。具体的には、
ランク1 ボックスサイズ=8
ランク2 ボックスサイズ=16
ランク3 ボックスサイズ=32
ランク4 ボックスサイズ=48
ランク5 ボックスサイズ=64
ランク6 ボックスサイズ=96
の6つのランク分けをした。ボックスサイズの数値は、当該ボックスに登録可能な動的データの数である。このランクは、グループごとにプログラム内にテーブルとして保持するようにしてもよいし、EEPROM12に記憶しておくようにしてもよい。
Also, if there is a large number of people, there is a high possibility that a large number of dynamic data will be registered, so if you increase the memory capacity that is uniformly allocated to the area belonging to the city, it will be registered when local people use this time. The possible number will be even smaller. Therefore, in this embodiment, instead of securing a storage area for each area in the
The 6 ranks were divided. The numerical value of the box size is the number of dynamic data that can be registered in the box. This rank may be stored as a table in the program for each group, or may be stored in the
そして、このランク分けは、たとえば都市部(都会)になるほど高いランクに設定し、地方になるほど低いランクに設定する。都会の程度は、たとえば人口密度等に応じて設定できる。また、データベース5には、目標物に関する情報が登録されているが、同一のエリア内に登録されている目標物の数に応じてランク分けをしてもよい。つまり、登録される目標物の数が多いほど、高いランクを設定する。ここで目標物の数とは、必ずしも実際にデータベース5に登録されているものに限ることはなく、製造メーカ等が保有しているデータを用いてもよい。
And this rank division is set to a higher rank as it becomes, for example, an urban area (city), and to a lower rank as it becomes a rural area. The degree of the city can be set according to the population density, for example. Further, although information regarding the target is registered in the
このようにすることで、ユーザが行かないようなエリア,登録対象の動的データが存在しないエリアのために、フラッシュメモリ11のメモリ領域が確保されてしまうことが抑止できる。しかも、一旦登録対象の動的データが検出された場合には、そのエリアについて所定のボックスサイズの連続したメモリ領域が確保されるので、その後に同一エリアにおいて別の動的データが検出された場合に、上記の確保されたボックスに追加登録することできる。よって、同一エリア内に存在する誤動作源等の動的データは、連続したメモリ領域であるボックス内に格納されるので、実際に自車が所定のエリア内に存在し、誤動作源等の動的データの有無を判断する場合には、そのエリアに対応するボックスを検索するだけでよいので迅速かつ簡単に処理できる。
By doing so, it is possible to prevent the memory area of the
さらに、ランクに応じてボックスサイズを設定するようにしたので、必要以上に多くのメモリ領域が確保されることによる実質的な最大登録件数の減少を抑止できる。なお、割り当てられたボックスがいっぱいになった状態で新たな登録対象の動的データが発生した場合には、新規にボックスを追加することで、登録済みの動的データを削除することなく追加登録できる。 Furthermore, since the box size is set according to the rank, it is possible to suppress a substantial decrease in the maximum number of registrations due to securing more memory areas than necessary. If new dynamic data to be registered is generated when the allocated boxes are full, additional registration is performed without deleting the registered dynamic data by adding a new box. it can.
このフラッシュメモリへの動的データの登録(データ構造)の一例を示すと、図2に示すようになる。この例では、動的データを格納するメモリ領域は、フラッシュ面0を使用する。グループ番号に対応するエリアに割り当てられたボックスサイズは、グループ99が8個、グループ100が8個、グループ101が16個、グループ200が8個の動的データが格納できる容量とした。各ボックスに登録されている動的データは、グループ99が設定された8個となり、ボックスがいっぱいになっているので次にグループ99のエリア内の新たな動的データが発生した場合には、新規にボックスが確保され、そこに登録される。この場合も、確保するボックスのボックスサイズは同じ(8個)とする。また、他のボックスについては、ボックス内に未使用領域があるので、新たな登録対象の動的データが発生した場合には、該当するボックス内に登録する。さらに、別のグループのエリアについて登録対象の動的データが発生した場合には、割り当てたボックスサイズのボックスを確保するとともに、そのボックスの先頭に当該動的データを登録する。
An example of dynamic data registration (data structure) in the flash memory is shown in FIG. In this example, the
また、上記のフラッシュメモリ11に格納するデータの管理情報は、EEPROM12に格納する。具体的には、図3に示すように、ボックスの使用数(図2の例では、BOX0から4の5個)と、選択面(図2の例では、0)と、ボックス番号とそれに割り当てられたエリア(グループ番号)の対応テーブル(未使用はグループ番号が0)と、グループ別の登録数と、デフラグ指示フラグを格納するデータ構造を採る。
Further, management information of data stored in the
グループ別登録数が0の場合、そのグループのエリアについての動的データは登録されておらず、フラッシュメモリ11のボックスも確保されていないことになる。また、グループ別登録数が、そのグループに割り当てられるボックスサイズと同じか倍数の場合には、確保されたボックスがいっぱいの状態で次に登録するためには新たにボックスを確保する必要があることかわかる。また、上記の対応テーブルに格納されたグループ番号を見ることで、すでにフラッシュメモリ11にボックスが確保されているエリアか否かを判断することもできる。
When the number of registrations by group is 0, the dynamic data for the area of the group is not registered, and the box of the
たとえば、登録すべき動的データが検出された場合、制御部4は、その位置情報からどのエリア(グループ番号)に属するものかを判断し、上記の対応テーブルを先頭からサーチし、該当するグルーブ番号があるか否かを判断する。そして、対応テーブルは、フラッシュメモリ11の所定のボックスに動的データを登録した場合に、その動的データの属するエリアのグループ番号を、そのボックスのボックス番号に関連づけて登録したテーブルであるので、対応テーブルにグループ番号がある場合、そのグループ番号のエリア(現在位置のエリア)で登録済みの動的データがあることになるので、そのボックス番号を取得し、無い場合には、未使用のボックス番号を取得する。なお、動的データが1つのボックスの登録可能な件数を超えて多数存在する場合、同一のグルーブ番号の動的データを格納するボックスが複数存在することになる。そこで、複数存在する場合、一番後ろのボックス番号を取得する。そして、制御部4は、取得したボックス番号に対応するフラッシュメモリ11のメモリ領域に動的データの格納処理を行う。
For example, when dynamic data to be registered is detected, the
具体的には、すでに同一エリアで登録された動的データが存在している場合、そのボックスに格納済みの動的データと、今回登録しようとする動的データの位置情報を比較し、同一箇所について登録されたものがあるか否かを判断し、無い場合には追加登録する。また、同一エリアでの登録された動的データが無い場合、制御部4は、フラッシュメモリ11内にそのエリアに設定されているボックスサイズのボックスを確保し、その確保したボックスの先頭に動的データを登録する。
Specifically, if dynamic data already registered in the same area already exists, the dynamic data stored in the box is compared with the location information of the dynamic data to be registered this time, and the same location It is determined whether or not there is a registered one. If not, additional registration is performed. When there is no registered dynamic data in the same area, the
なお、ボックス使用数と選択面と対応テーブルについては、装置の起動後にRAMに展開し、読み出しはRAMから行い、書き込みはRAMとEEPROM12に行うようにしている。これにより、高速処理が行える。
Note that the number of boxes used, the selection surface, and the correspondence table are expanded in the RAM after the apparatus is started, read from the RAM, and written to the RAM and the
また、登録済みの動的データが不要になったり、他の内容に変更したりする場合、当該登録済の動的データを削除(無効マーキング)する。したがって、使用が進むにつて、同一のボックス内のデータがすべて削除されてなくなることがある。係る削除されたデータ自体は、ガベレージコレクション処理(デフラグ)を行うことで、新たに使用面となったフラッシュ面にコピーさないが、ボックス自体は残ってしまう。係るボックスは、そのボックスに割り当てたエリア(グループ)の動的データが発生した場合に格納する領域として残しておいてもよいが、ガベレージコレクション処理を行った際に、同一のボックス内のデータがすべてなくなった場合には、そのボックス自体を削除する処理を行う機能を備えるとよい。これは、例えばグループ別登録数をデクリメントする処理などで実現できる。このようにすると、必要以上にボックスを確保してしまうことを抑制できる。 When the registered dynamic data becomes unnecessary or is changed to other contents, the registered dynamic data is deleted (invalid marking). Therefore, as usage progresses, all data in the same box may be deleted. The deleted data itself is not copied to the flash surface that has been newly used by performing garbage collection processing (defragmentation), but the box itself remains. Such a box may be left as an area to be stored when dynamic data of an area (group) allocated to the box is generated, but when the garbage collection process is performed, the data in the same box is stored. If all of the boxes disappear, it is desirable to provide a function for performing processing for deleting the box itself. This can be realized by, for example, a process of decrementing the number of registrations by group. If it does in this way, it can control securing a box more than necessary.
通常の目標物の検出処理時に動的データを利用する場合、制御部4は、現在位置に基づいて該当するエリア(グループ番号)を認識し、対応テーブル(実際にはRAMに展開したデータを利用)からそのエリアについての動的データが登録されているボックス番号を取得し、そのボックスに格納されている動的データの位置情報を検索し、現在位置が警報禁止領域か否かを判断し、警報禁止領域の場合には所定のマイクロ波を受信しても正規の警報を発しないようにする。また、上記のデータの読み出しに際し、現在位置のエリアに対応して読み出そうとするグループ番号を決定したならば、グループ別登録数のテーブルに格納された当該決定したグループ番号に関連づけられている登録数をEEPROM12より読み出し、登録数分データを読み出す。そして、読み出したボックスで登録数に達しない場合、そのボックスにはすでにいっぱいに動的データが登録されていると共に、さらに別のボックスが確保されていることになるので、当該別のボックスから該当するデータを読み出す。なお、この別のボックスの検索は、先に行った対応テーブルに対する検索の際に、対応テーブルの先頭からすべてサーチし、該当するグループ番号に一致するものを予めすべて取得しておいても良いし、最初の検索では、該当するボックスが1つ見つかった場合にはそれに基づいて動的データの読み出しを行い、不足分がある(他のボックスがある)とわかった段階で、再度対応テーブルをサーチして別のボックスを取得するようにしても良い。
When using dynamic data during normal target detection processing, the
上述した実施形態では、不揮発性の記憶媒体としてEEPROM12を用いたが、MRAM、FeRAMや、各種の記録媒体、例えば、SDカードを用いてもよい。また、動的データとして追加するデータは、上述したように、目標物検出装置の稼働中にスイッチ操作等でそのときの現在位置情報に基づいて登録するものに限ることはなく、たとえば、SDカード等の着脱可能な記憶媒体を装着し、当該SDカードに格納されたデータを読み出してフラッシュメモリ11に格納するとともに必要な管理情報をEEPROM12に格納したり、通信によってデータを取り込むようにしてもよい。
In the above-described embodiment, the
このようにSDカードや無線通信で動的データを送受することで、他の目標物検出装置で登録した動的データを取り込み利用することができる。これにより、初めて訪れる場所でも、当該場所で他の目標物検出装置で登録された動的データを予め取得しておくことで、最初から当該動的データに基づく適切な制御(正規の警報の禁止等)を行うことができる。 In this way, by transmitting and receiving dynamic data via an SD card or wireless communication, it is possible to capture and use dynamic data registered in another target detection apparatus. As a result, even at a place visited for the first time, by acquiring in advance dynamic data registered by another target detection device at the place, appropriate control based on the dynamic data from the beginning (regular alarm prohibition) Etc.).
さらにまた、コストを考慮すると、上述したようにフラッシュメモリ11を実装し、そこに動的データを格納するのがよいが、動的データの最大登録件数を多くしつつ、迅速に検出するようにするためには、フラッシュメモリ11を用いるのではなく従来同様にEEPROMを用いてもよい。その場合でも、登録する動的データが発生した場合に、実際にそのエリアについてボックスを確保して動的データを格納するようにすれば、実際に使用しない不要なエリアに対して無駄にメモリ容量が確保されてしまうことを防止できるとともに、同一のエリア内に存在する動的データは、連続したメモリ領域であるボックス内にまとめて格納されるので、検索時には、そのエリアに対応するボックスのみをサーチすれば足りるので、迅速に検出することができる。
Furthermore, considering the cost, it is preferable to mount the
さらにまた、上述した実施形態では、電子機器の一例である車載機器の一つとして目標物検出装置に適用した例を示したが、本発明はこれに限ることはなく、たとえば、カーナビゲーション装置にも適用することができる。ナビゲーション装置の場合、自宅・会社・学校その他のユーザに関連するランドマークを動的データとして登録する。これにより、現在位置の周囲(表示画面の表示エリア内)にその登録したランドマークが存在する場合に、地図上にランドマークを描画することができ、本実施携帯を利用することで登録可能なランドマークの数を多くできる。さらには、カーナビゲーション装置以外の車載機器はもちろんのこと、車載機器に限ることはなく、GPS信号を受信し、各種の処理を行うことのできる携帯型のナビゲーション装置、GPS内蔵カメラ、GPS内蔵ビデオカメラ、GPSロガー等の位置記録装置、GPS信号の記録装置その他のGPS機器にも適用することができる。さらに、位置検出手段としてGPSを利用したものをGPS機器と称しているが、例えば、GPS以外にも無線LAN、RFID等を用いて現在位置を検出する技術を用いた各種の電子機器に適用できるのはもちろんである。 Furthermore, in the above-described embodiment, an example in which the present invention is applied to a target object detection device as one of in-vehicle devices that are examples of electronic devices has been described. However, the present invention is not limited to this, for example, in a car navigation device. Can also be applied. In the case of a navigation device, landmarks related to home, office, school and other users are registered as dynamic data. As a result, when the registered landmark exists around the current position (in the display area of the display screen), the landmark can be drawn on the map and can be registered by using the present embodiment mobile phone. You can increase the number of landmarks. Furthermore, it is not limited to in-vehicle devices other than in-vehicle devices, but is not limited to in-vehicle devices. Portable navigation devices that can receive GPS signals and perform various processes, GPS built-in cameras, GPS built-in videos The present invention can also be applied to position recording devices such as cameras and GPS loggers, GPS signal recording devices, and other GPS devices. Further, a device that uses GPS as a position detecting means is called a GPS device. For example, in addition to GPS, it can be applied to various electronic devices using technology for detecting the current position using a wireless LAN, RFID, or the like. Of course.
これらの各GPS機器等の電子機器において、現在位置が動的データで指定される範囲内に存在している場合に、情報の入力制御、出力制御、記録制御などを行うことができる。出力制御として、他の装置等への信号制御、報知制御(例えば、施設位置の報知)などとすることができる。記録制御としては、例えば、現在位置での情報(例えば映像等)の記録制御などがある。 In these electronic devices such as GPS devices, information input control, output control, recording control, and the like can be performed when the current position is within a range specified by dynamic data. As output control, signal control to other devices or the like, notification control (for example, notification of facility position), or the like can be used. The recording control includes, for example, recording control of information (for example, video) at the current position.
1 GPS受信機
2 マイクロ波受信機
3 無線受信機
4 制御部
5 データベース
6 表示部
7 ランプ
8 スピーカ
11 フラッシュメモリ
12 EEPROM
DESCRIPTION OF
Claims (11)
製品出荷後に位置情報を含む動的データを登録する動的データ記憶手段と、
を備え、
前記位置検出手段で検出された現在の位置と、前記動的データ記憶手段に格納された動的データに基づく所定の制御をする機能を備え、
前記動的データの登録対象となる領域を複数のエリアに分割し、
前記動的データ記憶手段に登録すべき前記動的データが生じた際に、その動的データの位置情報から前記複数のエリアの中から該当するエリアを決定し、その決定したエリアにおいて初めての動的データの場合には、設定されたサイズの連続したメモリ領域であるボックスを前記動的データ記憶手段内に確保するとともに、そのボックス内に前記動的データを格納し、前記決定したエリアについて前記ボックスが確保されている場合には当該ボックス内に前記動的データを格納する制御手段を備えたことを特徴とする電子機器。 Position detecting means for detecting the position of the own machine;
Dynamic data storage means for registering dynamic data including position information after product shipment;
With
A function of performing a predetermined control based on the current position detected by the position detection unit and the dynamic data stored in the dynamic data storage unit;
Dividing the area to be registered for the dynamic data into a plurality of areas;
When the dynamic data to be registered in the dynamic data storage means is generated, the corresponding area is determined from the plurality of areas from the position information of the dynamic data, and the first movement in the determined area is determined. In the case of target data, a box which is a continuous memory area of a set size is secured in the dynamic data storage means, the dynamic data is stored in the box, and the determined area is An electronic apparatus comprising control means for storing the dynamic data in a box when the box is secured.
前記動的データは、前記警報制御手段が行う正規の警報を抑制する範囲を特定する情報であることを特徴とする請求項1〜3のいずれか1項に記載の電子機器。 Equipped with an alarm control means for issuing an alarm when a predetermined radio wave is received,
The electronic device according to any one of claims 1 to 3, wherein the dynamic data is information that specifies a range in which a normal alarm performed by the alarm control unit is suppressed.
前記フラッシュメモリへの動的データの登録は、データ面を複数面用意するとともに使用面となっているデータ面に対して行い、
動的データごとに有効/無効マーキングを設定するとともに登録した動的データの削除は、対応する有効/無効マーキングを無効にすることで行い、
使用面となっているデータ面の削除データが基準量を超えた場合に、有効マーキング設定した動的データを新たな使用面となるデータ面にコピーした後、前記使用面を、当該新たな使用面となるデータ面に切り替えるガベージコレクション処理する機能を備えたことを特徴とする請求項6に記載の電子機器。 The control means includes
The registration of dynamic data in the flash memory is performed on the data surface that is used as well as preparing a plurality of data surfaces,
Set the valid / invalid marking for each dynamic data and delete the registered dynamic data by invalidating the corresponding valid / invalid marking,
When the deletion data of the data plane that is the usage plane exceeds the reference amount, after copying the dynamic data with valid markings to the data plane that becomes the new usage plane, the usage plane is used as the new usage plane. The electronic device according to claim 6, further comprising a garbage collection function for switching to a data surface to be a surface.
を特徴とする請求項7または8に記載の電子機器。 9. The electronic apparatus according to claim 7, wherein the garbage collection processing is performed during drawing processing of the opening screen on the display unit immediately after the power of the own device is turned on.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2009016512A JP5228946B2 (en) | 2009-01-28 | 2009-01-28 | Electronic equipment and programs |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2009016512A JP5228946B2 (en) | 2009-01-28 | 2009-01-28 | Electronic equipment and programs |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2010176268A JP2010176268A (en) | 2010-08-12 |
JP5228946B2 true JP5228946B2 (en) | 2013-07-03 |
Family
ID=42707212
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2009016512A Expired - Fee Related JP5228946B2 (en) | 2009-01-28 | 2009-01-28 | Electronic equipment and programs |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP5228946B2 (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP5406802B2 (en) | 2010-08-05 | 2014-02-05 | 矢崎総業株式会社 | Load control device |
JP6886567B2 (en) * | 2017-11-13 | 2021-06-16 | 株式会社ユピテル | Control systems, in-vehicle devices, and programs |
Family Cites Families (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP3400844B2 (en) * | 1994-03-15 | 2003-04-28 | 株式会社東芝 | Image forming device |
JP3638770B2 (en) * | 1997-12-05 | 2005-04-13 | 東京エレクトロンデバイス株式会社 | Storage device with test function |
JP3598819B2 (en) * | 1998-06-05 | 2004-12-08 | 日産自動車株式会社 | Navigation device |
JP4066991B2 (en) * | 1999-02-19 | 2008-03-26 | 三菱電機株式会社 | Information processing device |
JP2001059728A (en) * | 1999-08-24 | 2001-03-06 | Kenwood Corp | Navigation system and regulatory information updating method and recording medium |
JP2002163139A (en) * | 2000-11-22 | 2002-06-07 | Sharp Corp | Data management device and data management method using it |
JP3997917B2 (en) * | 2003-01-10 | 2007-10-24 | 株式会社デンソー | Map search device |
JP2005337998A (en) * | 2004-05-28 | 2005-12-08 | Yupiteru Ind Co Ltd | Data updating system for microwave detector with position detection function |
JP2006126919A (en) * | 2004-10-26 | 2006-05-18 | Kyocera Corp | Data management device for flash memory and control method of flash memory |
JP2007279873A (en) * | 2006-04-04 | 2007-10-25 | Matsushita Electric Ind Co Ltd | Data recorder |
-
2009
- 2009-01-28 JP JP2009016512A patent/JP5228946B2/en not_active Expired - Fee Related
Also Published As
Publication number | Publication date |
---|---|
JP2010176268A (en) | 2010-08-12 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US20110040481A1 (en) | False event suppression for collision avoidance systems | |
CN108257250A (en) | Travelling data management method and automobile data recorder | |
US6876922B2 (en) | Navigation system | |
KR101691033B1 (en) | Appratus and method for tagging contents in portable terminal | |
CN102540226B (en) | Information processing device, position recording method, and program | |
US20080106411A1 (en) | Detecting a Departure of an RFID Tag from an Area | |
JP2011180155A (en) | Target detection apparatus and program | |
JP4718569B2 (en) | In-vehicle electronic device and moving locus display system | |
TW201447831A (en) | Traffic management system, event data recording device and management method | |
JP4900725B2 (en) | Map update system and map update program | |
US10120791B2 (en) | Data read apparatus, data read method, and storage medium storing data read program | |
JP5228946B2 (en) | Electronic equipment and programs | |
JP6289606B2 (en) | Certificate management apparatus and certificate management method | |
KR20160124192A (en) | Vehicle location indicator | |
JP2011047662A (en) | Navigation system | |
JP2023174729A (en) | Electronic apparatus and program | |
US9291464B2 (en) | Information processing system | |
KR20150054191A (en) | Method for processing data and an electronic device thereof | |
US20200074761A1 (en) | On-vehicle device, data collection system, and data collection apparatus | |
JP5273777B2 (en) | Target detection apparatus and program | |
JP2017116373A (en) | Map update device, map update server, and map update method | |
JP5643932B2 (en) | Electronic device and program | |
CN116761249B (en) | Indoor positioning method, fingerprint library construction method, electronic equipment and storage medium | |
JP7446651B2 (en) | Systems, in-vehicle devices, and programs | |
JP2016029392A (en) | Car navigation system and car navigation system data update method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20110315 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20120912 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20120912 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20121112 |
|
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: 20130131 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20130304 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20230329 Year of fee payment: 10 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 5228946 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
S531 | Written request for registration of change of domicile |
Free format text: JAPANESE INTERMEDIATE CODE: R313531 |
|
R350 | Written notification of registration of transfer |
Free format text: JAPANESE INTERMEDIATE CODE: R350 |
|
LAPS | Cancellation because of no payment of annual fees |