JP7666306B2 - Electronic control device, control program, and control method - Google Patents
Electronic control device, control program, and control method Download PDFInfo
- Publication number
- JP7666306B2 JP7666306B2 JP2021189658A JP2021189658A JP7666306B2 JP 7666306 B2 JP7666306 B2 JP 7666306B2 JP 2021189658 A JP2021189658 A JP 2021189658A JP 2021189658 A JP2021189658 A JP 2021189658A JP 7666306 B2 JP7666306 B2 JP 7666306B2
- Authority
- JP
- Japan
- Prior art keywords
- identification information
- rewrite
- wireless communication
- communication
- electronic control
- 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
Links
Landscapes
- Selective Calling Equipment (AREA)
- Mobile Radio Communication Systems (AREA)
- Telephonic Communication Services (AREA)
Description
本発明は、無線通信装置を制御する電子制御装置、並びに当該電子制御装置によって実行される制御プログラム及び制御方法に関する。 The present invention relates to an electronic control device that controls a wireless communication device, and a control program and control method executed by the electronic control device.
近年、自動車にインターネット通信機能を付加したコネクテッドカーの開発が加速している。自動車の走行を、通信ネットワークを介して遠隔から管理及び制御する技術の開発も進んでおり、自動車における通信機能の重要性は高まりつつある。 In recent years, the development of connected cars, which are cars equipped with Internet communication functions, has accelerated. Technology for remotely managing and controlling a car's driving via a communication network is also being developed, and the importance of communication functions in cars is increasing.
自動車の通信方式として、3G、LTE(Long Term Evolution)、LTE-A(Long Term Evolution Advanced)、5Gといったセルラー通信を用いることが考えられる。このようなセルラー通信では、通信事業者との契約により、日、週、月といった単位時間当たりに送受信することができるデータの上限としての通信容量が設定されていることがある。そして、設定された通信容量を超えてデータの送受信を行った場合、通信ができなくなる、あるいは通信速度が制限されることがある。 Cellular communications such as 3G, LTE (Long Term Evolution), LTE-A (Long Term Evolution Advanced), and 5G may be used as a communication method for automobiles. In such cellular communications, a communication capacity may be set as an upper limit on the amount of data that can be sent and received per unit of time, such as a day, week, or month, depending on the contract with the communication carrier. If data is sent or received in excess of the set communication capacity, communication may become impossible or the communication speed may be restricted.
自動車、特に、通信ネットワークを介して遠隔から監視や制御されることが想定される自動運転の自動車では、自動車と、自動車を管理するサーバ装置との間でタイムラグのない通信を行うことが必要とされる。そのため、通信容量を超えることによって通信ができなくなる、又は、通信速度が制限されることは望ましくない。通信事業者との契約内容を変更する、又は、追加の契約をすることで通信容量を増加することも想定されるが、タクシーやバスといった多数の自動車を運用する事業者では、複数の自動車について契約内容を変更するとコストが著しく増加するという問題がある。 Automobiles, particularly self-driving automobiles that are expected to be monitored and controlled remotely via a communication network, require communication without time lag between the automobile and the server device that manages the automobile. For this reason, it is undesirable for communication to be disabled or for communication speed to be restricted due to exceeding communication capacity. It is expected that communication capacity can be increased by changing the contract with the communication carrier or by entering into an additional contract, but for operators that operate a large number of automobiles, such as taxis and buses, there is a problem in that changing the contract for multiple automobiles significantly increases costs.
自動車が送受信するデータ量には、複数の自動車の間で偏りが生じることが想定される。例えば、自動車の走行中に発生するイベントの発生回数やイベントの対応方法によって、送受信するデータ量は異なる。特に、画像データの送受信を必要とする対応の場合には、より多くのデータ量を消費することとなる。送受信するデータ量に偏りがある複数の自動車の中で、送受信したデータ量が少なく、通信容量に余裕がある自動車がある場合、このような自動車の通信容量の一部を、通信容量を超過した自動車に移管することができれば、複数の自動車間で通信容量を共有して、通信ができなくなる、あるいは通信速度が制限されることを回避することができる。 It is expected that there will be a bias in the amount of data sent and received among multiple vehicles. For example, the amount of data sent and received will differ depending on the number of events that occur while the vehicle is traveling and the method of responding to the events. In particular, responses that require the sending and receiving of image data will consume a larger amount of data. If, among multiple vehicles with a bias in the amount of data sent and received, there is a vehicle that has sent and received a small amount of data and has spare communication capacity, if it were possible to transfer part of the communication capacity of such a vehicle to a vehicle with excess communication capacity, it would be possible to share the communication capacity among multiple vehicles and avoid an inability to communicate or restrictions on communication speed.
例えば、特許文献1には、複数の通信端末における通信容量を管理する通信容量管理装置が開示されている。特許文献1の通信容量管理装置では、あるユーザが契約する無線通信回線に付与された通信容量を、他のユーザが契約する無線通信回線に移管するとともに、それぞれの通信回線における通信容量の残容量を管理する。 For example, Patent Document 1 discloses a communication capacity management device that manages communication capacity in multiple communication terminals. The communication capacity management device in Patent Document 1 transfers communication capacity granted to a wireless communication line subscribed to by a user to a wireless communication line subscribed to by another user, and manages the remaining communication capacity in each communication line.
ここで、本発明者は、詳細な検討によって以下の課題を見出した。
移動体に搭載される無線通信装置では、無線通信装置が送受信するデータ量は移動体の移動状況に応じて変化する。そのため、一の無線通信装置では送受信したデータ量が著しく多い一方、他の無線通信装置では送受信したデータ量が著しく少ないというように、無線通信装置によって、送受信するデータ量に偏りが発生する可能性がある。特に、特定の経路を移動するような無線通信装置においては、過去に送受信したデータ量が多い無線通信装置では、将来的に送受信するデータ量も多くなる可能性が高くなる。そのため、他の無線通信装置から通信容量の一部が移管されても、すぐに通信容量を超過する、あるいは、通信容量の移管処理が定期的に必要となるおそれがある。
Here, the present inventors have found the following problems through detailed investigation.
In a wireless communication device mounted on a moving object, the amount of data transmitted and received by the wireless communication device changes according to the moving state of the moving object. Therefore, there is a possibility that a bias in the amount of data transmitted and received by the wireless communication device occurs, such that one wireless communication device transmits and receives a significantly large amount of data, while another wireless communication device transmits and receives a significantly small amount of data. In particular, in a wireless communication device that moves along a specific route, a wireless communication device that has transmitted and received a large amount of data in the past is likely to transmit and receive a large amount of data in the future. Therefore, even if a part of the communication capacity is transferred from another wireless communication device, the communication capacity may be exceeded immediately, or a communication capacity transfer process may be required periodically.
そこで、本発明は、複数の無線通信装置において送受信したデータ量に偏りがある場合に、各無線通信装置が設定された通信容量を超えることなく無線通信を行うことができるように無線通信装置を制御可能な電子制御装置等を実現することを目的とする。 The present invention aims to provide an electronic control device or the like that can control wireless communication devices so that each wireless communication device can perform wireless communication without exceeding a set communication capacity when there is a bias in the amount of data transmitted and received among multiple wireless communication devices.
本開示の一態様による電子制御装置は、無線通信を行う権能を示す第1の識別情報が記憶領域に記憶された第1の無線通信部、及び、無線通信を行う権能を示す第2の識別情報が記憶領域に記憶された第2の無線通信部、を制御する電子制御装置(100)であって、前記第1の識別情報には、前記第1の識別情報を用いて送受信したデータ量を示す第1の通信量が紐付けられ、前記第2の識別情報には、前記第2の識別情報を用いて送受信したデータ量を示す第2の通信量が紐付けられており、前記第1の通信量に基づいて、前記第1の無線通信部の前記記憶領域に記憶された前記第1の識別情報を書き換えるか否かを判定する書換要否判定部(105)と、前記書換要否判定部が前記第1の識別情報を書き換えると判定した場合に、前記第1の通信量よりも少ない前記第2の通信量に紐付けられた前記第2の識別情報を探索する書換候補探索部(106)と、前記第1の無線通信部に対し、前記第1の識別情報を前記第2の識別情報に書き換えることを指示する書換指示部(107)と、を備える。 An electronic control device according to one aspect of the present disclosure is an electronic control device (100) that controls a first wireless communication unit in which first identification information indicating an authority to perform wireless communication is stored in a memory area, and a second wireless communication unit in which second identification information indicating an authority to perform wireless communication is stored in a memory area, wherein the first identification information is linked to a first communication volume indicating an amount of data transmitted and received using the first identification information, and the second identification information is linked to a second communication volume indicating an amount of data transmitted and received using the second identification information, and the electronic control device is equipped with a rewrite necessity determination unit (105) that determines whether to rewrite the first identification information stored in the memory area of the first wireless communication unit based on the first communication volume, a rewrite candidate search unit (106) that searches for the second identification information linked to the second communication volume that is less than the first communication volume when the rewrite necessity determination unit determines that the first identification information should be rewritten, and a rewrite instruction unit (107) that instructs the first wireless communication unit to rewrite the first identification information to the second identification information.
なお、特許請求の範囲、及び本項に記載した発明の構成要件に付した括弧内の番号は、本発明と後述の実施形態との対応関係を示すものであり、本発明を限定する趣旨ではない。 The numbers in parentheses attached to the constituent elements of the invention described in the claims and this section indicate the correspondence between the present invention and the embodiments described below, and are not intended to limit the present invention.
上述のような構成により、本開示の電子制御装置等は、無線通信装置が通信容量を超えて通信を行うことを防ぐように、複数の無線通信装置を制御することができる。 With the above-mentioned configuration, the electronic control device etc. disclosed herein can control multiple wireless communication devices to prevent the wireless communication devices from communicating in excess of their communication capacity.
以下、本発明の実施形態について、図面を参照して説明する。 The following describes an embodiment of the present invention with reference to the drawings.
なお、本発明とは、特許請求の範囲又は課題を解決するための手段の項に記載された発明を意味するものであり、以下の実施形態に限定されるものではない。また、少なくともかぎ括弧内の語句は、特許請求の範囲又は課題を解決するための手段の項に記載された語句を意味し、同じく以下の実施形態に限定されるものではない。 The present invention refers to the invention described in the claims or in the Means for Solving the Problems section, and is not limited to the following embodiments. Furthermore, at least the words in quotation marks refer to the words described in the claims or in the Means for Solving the Problems section, and are not limited to the following embodiments.
特許請求の範囲の従属項に記載の構成及び方法は、特許請求の範囲の独立項に記載の発明において任意の構成及び方法である。従属項に記載の構成及び方法に対応する実施形態の構成及び方法、並びに特許請求の範囲に記載がなく実施形態のみに記載の構成及び方法は、本発明において任意の構成及び方法である。特許請求の範囲の記載が実施形態の記載よりも広い場合における実施形態に記載の構成及び方法も、本発明の構成及び方法の例示であるという意味で、本発明において任意の構成及び方法である。いずれの場合も、特許請求の範囲の独立項に記載することで、本発明の必須の構成及び方法となる。 The configurations and methods described in the dependent claims of the claims are optional configurations and methods in the invention described in the independent claims of the claims. The configurations and methods of the embodiments corresponding to the configurations and methods described in the dependent claims, and the configurations and methods described only in the embodiments without being described in the claims, are optional configurations and methods in the present invention. The configurations and methods described in the embodiments when the description of the claims is broader than the description of the embodiments are also optional configurations and methods in the present invention in the sense that they are examples of the configurations and methods of the present invention. In either case, by being described in the independent claims of the claims, they become essential configurations and methods of the present invention.
実施形態に記載した効果は、本発明の例示としての実施形態の構成を有する場合の効果であり、必ずしも本発明が有する効果ではない。 The effects described in the embodiments are the effects when the configuration of the embodiment is an example of the present invention, and are not necessarily the effects of the present invention.
複数の実施形態がある場合、各実施形態に開示の構成は各実施形態のみで閉じるものではなく、実施形態をまたいで組み合わせることが可能である。例えば一の実施形態に開示の構成を、他の実施形態に組み合わせてもよい。また、複数の実施形態それぞれに開示の構成を集めて組み合わせてもよい。 When there are multiple embodiments, the configurations disclosed in each embodiment are not limited to each embodiment, but can be combined across the embodiments. For example, a configuration disclosed in one embodiment may be combined with another embodiment. Also, the configurations disclosed in each of the multiple embodiments may be collected and combined.
発明が解決しようとする課題に記載した課題は公知の課題ではなく、本発明者が独自に知見したものであり、本発明の構成及び方法と共に発明の進歩性を肯定する事実である。 The problem described in the problem that the invention is intended to solve is not a publicly known problem, but was discovered independently by the inventor, and this fact, together with the configuration and method of the present invention, affirms the inventive step of the invention.
1.実施形態1
(1)電子制御装置100と無線通信装置Wの配置
図1は、本実施形態の電子制御装置100及び無線通信装置Wの配置を説明する図である。図1に示すように、電子制御装置100は車両V(V1~Vn)の外部に設置されたサーバ装置に設けられており、「移動体」である車両に「搭載」された無線通信装置W(W1~Wn)と通信を行う。電子制御装置100は、各車両に搭載された無線通信装置を制御する装置である。
1. Embodiment 1
(1) Arrangement of the electronic control unit 100 and the wireless communication device W Fig. 1 is a diagram for explaining the arrangement of the electronic control unit 100 and the wireless communication device W of this embodiment. As shown in Fig. 1, the electronic control unit 100 is provided in a server device installed outside the vehicle V (V1 to Vn), and communicates with the wireless communication devices W (W1 to Wn) "mounted" on the vehicles, which are "mobiles". The electronic control unit 100 is a device that controls the wireless communication devices mounted on each vehicle.
ここで、「移動体」とは、移動可能な物体をいい、移動速度は任意である。また移動体が停止している場合も当然含む。例えば、自動車、自動二輪車、自転車、歩行者、船舶、航空機、及びこれらに搭載される物を含み、またこれらに限らない。
「搭載」される、とは、移動体に直接固定されている場合の他、移動体に固定されていないが移動体と共に移動する場合も含む。例えば、移動体に乗った人が所持している場合、移動体に載置された積荷に搭載されている場合、が挙げられる。
Here, the term "mobile body" refers to an object that can move and can move at any speed. It also includes cases where the moving body is stationary. For example, it includes, but is not limited to, automobiles, motorcycles, bicycles, pedestrians, ships, aircraft, and objects mounted on these vehicles.
"Mounted" includes not only the case where the device is directly fixed to the moving body, but also the case where the device is not fixed to the moving body but moves with the moving body, such as the case where the device is carried by a person riding on the moving body, or the case where the device is mounted on cargo placed on the moving body.
無線通信装置W(W1~Wn)を搭載する車両V1~Vnは、同一の事業者が管理する車両を想定している。例えば、車両V1~Vnはタクシーやバスといった事業用車両である。当然のことながら、車両V1~Vnを管理する事業者は複数あってもよい。 It is assumed that the vehicles V1 to Vn equipped with the wireless communication devices W (W1 to Wn) are managed by the same operator. For example, the vehicles V1 to Vn are commercial vehicles such as taxis and buses. Naturally, there may be multiple operators managing the vehicles V1 to Vn.
無線通信装置Wは複数の通信モジュールを備えており、少なくとも2つの通信回線を使用して通信することができる装置であることが望ましい。図1は、無線通信装置W(W1~Wn)が2つの通信モジュールを備え、一方の通信モジュールが通信回線Aを、他方の通信モジュールが通信回線Bを使用して通信を行う装置である例を説明している。この例では、通信回線A、Bはいずれも、W-CDMA(Wideband Code Division Multiple Access)、HSPA(High Speed Packet Access)、LTE(Long Term Evolution)、LTE-A(Long Term Evolution Advanced)、4G、5G、6G、又は、LPWA(Low Power Wide Area)といったセルラー通信であり、それぞれ基地局を介して通信を行う。以下に説明する実施形態においても、無線通信装置Wが2つの通信モジュールを備える例を説明している。 It is preferable that the wireless communication device W is equipped with multiple communication modules and is a device capable of communicating using at least two communication lines. FIG. 1 illustrates an example in which the wireless communication device W (W1 to Wn) is equipped with two communication modules, one of which communicates using communication line A and the other communication module using communication line B. In this example, both communication lines A and B are cellular communications such as W-CDMA (Wideband Code Division Multiple Access), HSPA (High Speed Packet Access), LTE (Long Term Evolution), LTE-A (Long Term Evolution Advanced), 4G, 5G, 6G, or LPWA (Low Power Wide Area), and communication is performed via each base station. In the embodiment described below, an example in which the wireless communication device W is equipped with two communication modules is also described.
しかしながら、無線通信装置Wは、例えば、IEEE802.11(Wi-Fi(登録商標))やIEEE802.16(WiMAX(登録商標))、Bluetooth(登録商標)、UWB(Ultra Wide Band)、ZigBee(登録商標)、又はDSRC(Dedicated Short Range Communication)等の無線通信を用いて通信を行ってもよい。あるいは、無線通信装置Wは、一の通信回線として無線通信を行い、他方の通信回線として、LAN(Local Area Network)やインターネット、固定電話回線などの有線通信を用いて通信を行ってもよい。また、無線通信装置Wは、3以上の通信回線を使用して通信を行うものであってもよい。 However, the wireless communication device W may communicate using wireless communication such as IEEE802.11 (Wi-Fi (registered trademark)), IEEE802.16 (WiMAX (registered trademark)), Bluetooth (registered trademark), UWB (Ultra Wide Band), ZigBee (registered trademark), or DSRC (Dedicated Short Range Communication). Alternatively, the wireless communication device W may communicate using wireless communication as one communication line and wired communication such as a LAN (Local Area Network), the Internet, or a fixed telephone line as the other communication line. The wireless communication device W may also communicate using three or more communication lines.
無線通信装置Wは、その記憶領域に識別情報を記憶する。識別情報は、無線通信を行う「権能」を示す情報であり、例えば、契約した通信事業者から提供されるユーザID、パスワード、識別子である。無線通信装置Wは、セルラー通信を行う際に識別情報を基地局に送信する。基地局によって識別情報が認証された場合、無線通信装置Wは基地局を介して無線通信を行うことが可能となる。無線通信装置Wは使用する通信回線毎に識別情報を有している。すなわち、通信回線A、Bを使用する無線通信装置Wは、通信回線A、Bそれぞれの識別情報を記憶領域に記憶している。図1の例では、無線通信装置W1は、通信回線Aを使用した無線通信を行う権能を示す識別情報(AA-1)と、通信回線Bを使用した無線通信を行う権能を示す識別情報(BB-1)とを記憶している。無線通信装置W2~Wnも同様に、使用する通信回線毎に識別情報を記憶している。 The wireless communication device W stores identification information in its storage area. The identification information is information indicating the "authority" to perform wireless communication, and is, for example, a user ID, password, or identifier provided by a contracted telecommunications carrier. The wireless communication device W transmits the identification information to a base station when performing cellular communication. If the identification information is authenticated by the base station, the wireless communication device W becomes able to perform wireless communication via the base station. The wireless communication device W has identification information for each communication line used. That is, the wireless communication device W using communication lines A and B stores the identification information for each of the communication lines A and B in its storage area. In the example of FIG. 1, the wireless communication device W1 stores identification information (AA-1) indicating the authority to perform wireless communication using communication line A, and identification information (BB-1) indicating the authority to perform wireless communication using communication line B. Similarly, the wireless communication devices W2 to Wn store identification information for each communication line used.
ここで「権能」とは、無線通信を行う資格があることを示すものであり、例えば、通信事業者から付与されるIDやパスワードの他、通信機器に付与されるIDやパスワードなどが含まれる。 Here, "authority" refers to the ability to conduct wireless communication, and includes, for example, IDs and passwords provided by telecommunications carriers, as well as IDs and passwords provided to communication devices.
なお、以下に説明する各実施形態では、無線通信装置Wが車両に搭載された車載装置である場合を例に挙げて説明している。しかしながら、無線通信装置Wは車載装置に限定されるものではない。例えば、無線通信装置Wは、事業者が労働者に配布して使用させる無線通信端末であってもよい。 In each embodiment described below, the wireless communication device W is an in-vehicle device mounted in a vehicle. However, the wireless communication device W is not limited to an in-vehicle device. For example, the wireless communication device W may be a wireless communication terminal that is distributed by the business operator to workers for use.
(2)電子制御装置100の構成
図2は、電子制御装置100の構成例を示す図である。電子制御装置100は、通信回線情報保存部101、通信回線情報取得部102、書換制御部103、通信部104を備える。書換制御部103は、書換要否判定部105及び書換候補探索部106を実現する。また、通信部104は、書換指示部107及び完了通知受信部108を含む。
(2) Configuration of the electronic control unit 100 Fig. 2 is a diagram showing an example of the configuration of the electronic control unit 100. The electronic control unit 100 includes a communication line information storage unit 101, a communication line information acquisition unit 102, a rewrite control unit 103, and a communication unit 104. The rewrite control unit 103 realizes a rewrite necessity determination unit 105 and a rewrite candidate search unit 106. The communication unit 104 includes a rewrite instruction unit 107 and a completion notification receiving unit 108.
電子制御装置100は、汎用のCPU(Central Processing Unit)、RAM等の揮発性メモリ、ROM、フラッシュメモリ、又はハードディスク等の不揮発性メモリ、各種インターフェース、及びこれらを接続する内部バスで構成することができる。そして、これらのハードウェア上でソフトウェアを実行することにより、図2に記載の各機能ブロックの機能を発揮させるように構成することができる。実施形態2の図15で示される電子制御装置100においても同様である。もちろん、電子制御装置100を、LSI等の専用のハードウェアで実現してもよい。 The electronic control device 100 can be configured with a general-purpose CPU (Central Processing Unit), volatile memory such as RAM, non-volatile memory such as ROM, flash memory, or a hard disk, various interfaces, and an internal bus connecting these. Then, by executing software on this hardware, it can be configured to perform the functions of each functional block described in FIG. 2. The same is true for the electronic control device 100 shown in FIG. 15 of the second embodiment. Of course, the electronic control device 100 may be realized by dedicated hardware such as an LSI.
なお、電子制御装置100は、本実施形態では半完成品としての電子制御装置(ECU(Electric Control Unit)、以下ECUと略する。)の形態を想定しているが、これに限らない。例えば、部品の形態としては、半導体回路や半導体モジュール、完成品の形態としては、パーソナルコンピュータ(PC)、スマートフォン、携帯電話、ナビゲーションシステムが挙げられる。なお、電子制御装置100は、単一のECUの他、複数のECUで構成されてもよい。以上は、他の実施形態の電子制御装置100においても同様である。 In this embodiment, the electronic control device 100 is assumed to be in the form of a semi-finished electronic control device (ECU (Electric Control Unit), hereafter abbreviated as ECU), but is not limited to this. For example, component forms include semiconductor circuits and semiconductor modules, and finished product forms include personal computers (PCs), smartphones, mobile phones, and navigation systems. The electronic control device 100 may be composed of a single ECU or multiple ECUs. The above also applies to the electronic control device 100 of other embodiments.
通信回線情報保存部101は、電子制御装置100が管理する無線通信装置Wそれぞれについて、使用している通信回線、無線通信装置Wの記憶領域に保存されている識別情報、並びに識別情報に「紐付け」られた通信量及び通信容量、といった通信回線情報を保存する。 The communication line information storage unit 101 stores communication line information for each wireless communication device W managed by the electronic control unit 100, such as the communication line being used, identification information stored in the memory area of the wireless communication device W, and the communication volume and communication capacity "linked" to the identification information.
ここで、「紐付け」られる、とは、2つの情報が互いに分離不可能に関連付けられていることをいう。 Here, "linked" means that two pieces of information are inseparably associated with each other.
図3は、通信回線情報保存部101に保存されている情報の一例を示している。図3は通信回線Aに関連する通信回線情報のみを示しているが、通信回線情報保存部101は、無線通信装置W1~Wnが使用する通信回線A以外の通信回線に関連する通信回線情報を保存していてもよい。なお、図3に示す通信回線情報は一例であり、通信回線情報保存部101は、通信回線情報としてさらに他の情報を保存してもよい。 Figure 3 shows an example of information stored in the communication line information storage unit 101. Although Figure 3 shows only communication line information related to communication line A, the communication line information storage unit 101 may store communication line information related to communication lines other than communication line A used by wireless communication devices W1 to Wn. Note that the communication line information shown in Figure 3 is an example, and the communication line information storage unit 101 may store further information as communication line information.
図3によれば、無線通信装置W1は、通信回線Aを使用して無線通信を行う装置であって、記憶領域には識別情報AA-1が記憶されている。識別情報AA-1には、識別情報AA-1を用いて送受信したデータ量を示す通信量として、7.2GBの値が紐付けられている。識別情報AA-1にはさらに、識別情報AA-1を用いて所定の期間内に送受信可能なデータ量の上限を示す通信容量として、10GBの値が紐付けられている。本実施形態では、通信量は月の初日(1日)から送受信したデータ量の累計を示しており、通信容量は1カ月当たりに送受信可能なデータ量の上限を示している。なお、図3では、全ての通信容量が等しい(10GB)場合を例に挙げて説明しているが、通信容量は契約内容によって変わるものであり、当然のことながら、それぞれ異なる通信容量が設定されていてもよい。 According to FIG. 3, the wireless communication device W1 is a device that performs wireless communication using the communication line A, and the identification information AA-1 is stored in the storage area. The identification information AA-1 is associated with a value of 7.2 GB as a communication amount indicating the amount of data transmitted and received using the identification information AA-1. The identification information AA-1 is further associated with a value of 10 GB as a communication capacity indicating the upper limit of the amount of data that can be transmitted and received within a predetermined period using the identification information AA-1. In this embodiment, the communication amount indicates the cumulative amount of data transmitted and received from the first day of the month (the 1st), and the communication capacity indicates the upper limit of the amount of data that can be transmitted and received per month. Note that FIG. 3 illustrates an example in which all communication capacities are equal (10 GB), but the communication capacity varies depending on the contract contents, and naturally, different communication capacities may be set for each.
通信回線情報取得部102は、通信回線情報保存部101から、通信回線情報として、識別情報と、識別情報に紐付けられた通信量とを取得する。後述する書換要否判定部105が識別情報の書換要否の判定に通信容量を使用する場合には、通信回線情報取得部102はさらに通信容量を取得してもよい。 The communication line information acquisition unit 102 acquires, as communication line information, the identification information and the communication volume linked to the identification information from the communication line information storage unit 101. When the rewrite necessity determination unit 105 described later uses the communication volume to determine whether or not the identification information needs to be rewritten, the communication line information acquisition unit 102 may further acquire the communication volume.
書換制御部103は、書換要否判定部105及び書換候補探索部106を実現する。
書換要否判定部105は、通信回線情報取得部102が取得した通信量(「第1の通信量」に相当)に基づいて、無線通信装置W1(「第1の無線通信部」に相当)の記憶領域に記憶された識別情報(「第1の識別情報」に相当)を書き換えるか否かを判定する。
The rewrite control unit 103 realizes a rewrite necessity determination unit 105 and a rewrite candidate search unit 106 .
The rewrite necessity determination unit 105 determines whether or not to rewrite the identification information (corresponding to the "first identification information") stored in the memory area of the wireless communication device W1 (corresponding to the "first wireless communication unit") based on the communication volume (corresponding to the "first communication volume") acquired by the communication line information acquisition unit 102.
例えば、書換要否判定部105は、識別情報(AA-1)に紐付けられた通信量が「所定」の閾値「以上」の場合に、無線通信装置W1の記憶領域に記憶された識別情報(AA-1)を書き換えると判定する。図3の場合、通信量は7.2GBであり、この通信量が閾値以上である場合には識別情報を書き換えると判定する。なお、所定の閾値は、通信容量よりも低い値に設定されることが望ましいが、所定の閾値として通信容量の値を設定してもよい。さらに、所定の閾値は常に一定の値でなくともよく、経時的に変化する値であってもよい。例えば、月の前半では閾値は低く設定され、月の後半では閾値が高く設定される。 For example, when the communication volume associated with the identification information (AA-1) is "greater than" a "predetermined" threshold, the rewrite necessity determination unit 105 determines to rewrite the identification information (AA-1) stored in the storage area of the wireless communication device W1. In the case of FIG. 3, the communication volume is 7.2 GB, and when this communication volume is equal to or greater than the threshold, it is determined to rewrite the identification information. Note that it is preferable to set the predetermined threshold to a value lower than the communication volume, but the value of the communication volume may also be set as the predetermined threshold. Furthermore, the predetermined threshold does not have to be a constant value, and may be a value that changes over time. For example, the threshold is set low in the first half of the month and high in the second half of the month.
ここで、「所定の」とは、常に一定の場合の他、条件に応じて一意に定まる場合も含む。
「以上」とは、比較対象と同じ値を含む場合及び含まない場合の両方が含まれる。
Here, "predetermined" includes a case where it is always constant, as well as a case where it is uniquely determined depending on conditions.
The term "greater than or equal to" includes both cases where the value is the same as the comparison target and cases where the value is not the same.
別の例として、書換要否判定部105は、通信量に加えて、通信容量に基づいて、無線通信装置W1の記憶領域に記憶された識別情報(AA-1)を書き換えるか否かを判定してもよい。例えば、書換要否判定部105は、通信量と通信容量との差分、すなわち、当月に送受信することが可能なデータ量の残量を示す通信残量が所定の閾値以下の場合に、識別情報を書き換えると判定する。図3の場合、無線通信装置W1の記憶領域に記憶された識別情報に紐付けられた通信残量は2.8GBであり、この通信残量が閾値以下である場合には識別情報を書き換えると判定する。 As another example, the rewrite necessity determination unit 105 may determine whether to rewrite the identification information (AA-1) stored in the storage area of the wireless communication device W1 based on the communication capacity in addition to the communication volume. For example, the rewrite necessity determination unit 105 determines to rewrite the identification information when the difference between the communication volume and the communication capacity, i.e., the remaining communication volume indicating the remaining amount of data that can be transmitted and received in the current month, is equal to or less than a predetermined threshold. In the case of FIG. 3, the remaining communication volume linked to the identification information stored in the storage area of the wireless communication device W1 is 2.8 GB, and it is determined to rewrite the identification information when this remaining communication volume is equal to or less than the threshold.
さらに別の例として、書換要否判定部105は、通信量に加えて、無線通信装置W1が識別情報(AA-1)を用いて将来送受信する予定のデータ量を示す予定通信量に基づいて、無線通信装置W1の記憶領域に記憶された識別情報(AA-1)を書き換えるか否かを判定してもよい。例えば、書換要否判定部105は、通信量と予定通信量との合計が所定の閾値以上の場合に、識別情報を書き換えると判定する。 As yet another example, the rewrite necessity determination unit 105 may determine whether or not to rewrite the identification information (AA-1) stored in the storage area of the wireless communication device W1 based on the planned communication volume indicating the amount of data that the wireless communication device W1 plans to transmit and receive in the future using the identification information (AA-1) in addition to the communication volume. For example, the rewrite necessity determination unit 105 determines to rewrite the identification information when the sum of the communication volume and the planned communication volume is equal to or greater than a predetermined threshold value.
予定通信量は例えば、図4に示すようなテーブルを用いて予測することができる。図4は、無線通信装置Wを搭載する車両VがルートX~Zを走行する場合に、無線通信装置Wが通信回線A及びBを用いて送受信するデータ量の予測値をそれぞれ示している。図4によれば、通信回線A及びBを使用する無線通信装置W1を搭載する車両V1がルートXを走行した場合、通信回線Aを用いて送受信するデータ量の予測値は0.6GBであり、通信回線Bを用いて送受信するデータ量の予測値は0.4GBである。したがって、無線通信装置W1を搭載する車両V1がルートXを走行することを予定している場合、無線通信装置W1が識別情報(AA-1)を用いて送受信する予定のデータ量は0.6GBであると予測することができる。 The planned communication volume can be predicted, for example, using a table as shown in FIG. 4. FIG. 4 shows the predicted values of the amount of data that the wireless communication device W will transmit and receive using communication lines A and B when the vehicle V equipped with the wireless communication device W travels along routes X to Z. According to FIG. 4, when a vehicle V1 equipped with a wireless communication device W1 using communication lines A and B travels along route X, the predicted value of the amount of data that will be transmitted and received using communication line A is 0.6 GB, and the predicted value of the amount of data that will be transmitted and received using communication line B is 0.4 GB. Therefore, when the vehicle V1 equipped with the wireless communication device W1 is scheduled to travel along route X, the amount of data that the wireless communication device W1 plans to transmit and receive using the identification information (AA-1) can be predicted to be 0.6 GB.
そこで、書換要否判定部105は、識別情報(AA-1)を用いて送受信したデータ量を示す通信量(7.2GB)と、無線通信装置W1が識別情報(AA-1)を用いて送受信する予定のデータ量を示す予定通信量(0.6GB)の合計が所定の閾値以上の場合に、識別情報を書き換えると判定する。 Then, the rewrite necessity determination unit 105 determines to rewrite the identification information when the sum of the communication volume (7.2 GB) indicating the amount of data transmitted and received using the identification information (AA-1) and the planned communication volume (0.6 GB) indicating the amount of data that the wireless communication device W1 plans to transmit and receive using the identification information (AA-1) is equal to or greater than a predetermined threshold value.
なお、図4のテーブルにおける予定通信量の値は、過去に車両が走行したときに実際に送受信したデータ量の平均値や統計値、ビッグデータによる解析等を用いて求めることができる。また、図4は、予定通信量として特定の数値を示しているが、予定通信量の誤差範囲や標準偏差を設けてもよい。 The expected communication volume values in the table in FIG. 4 can be calculated using average values or statistics of the amount of data actually transmitted and received when the vehicle was traveling in the past, analysis of big data, etc. Also, while FIG. 4 shows specific numerical values as expected communication volumes, an error range or standard deviation for the expected communication volumes may be set.
書換候補探索部106は、書換要否判定部105が識別情報(AA-1)を書き換えると判定した場合に、書換候補となる識別情報を探索する。ここで、書換候補となる識別情報は、識別情報(AA-1)に紐付けられた通信量(7.2GB)よりも少ない通信量(「第2の通信量」に相当)に紐付けられた識別情報(「第2の識別情報」に相当)である。 When the rewrite necessity determination unit 105 determines that the identification information (AA-1) should be rewritten, the rewrite candidate search unit 106 searches for identification information that is a candidate for rewriting. Here, the identification information that is a candidate for rewriting is identification information (corresponding to "second identification information") that is linked to a communication volume (corresponding to "second communication volume") that is less than the communication volume (7.2 GB) that is linked to the identification information (AA-1).
例えば、書換候補探索部106は、通信回線情報取得部102が取得した通信量のうち、最も少ない通信量に紐付けられた識別情報を書換候補として探索する。図3によれば、無線通信装置W2(「第2の無線通信部」に相当)の記憶領域に記憶された識別情報(AA-2)を用いて送受信したデータ量を示す通信量(1.8GB)は、他の識別情報を用いて送受信したデータ量を示す他の通信量よりも少ない。そこで、書換候補探索部106は、通信量(1.8GB)に紐付けられた識別情報(AA-2)を書換候補として探索する。 For example, the rewrite candidate search unit 106 searches for, as a rewrite candidate, the identification information associated with the smallest communication volume among the communication volumes acquired by the communication line information acquisition unit 102. According to FIG. 3, the communication volume (1.8 GB) indicating the volume of data transmitted and received using the identification information (AA-2) stored in the memory area of the wireless communication device W2 (corresponding to the "second wireless communication unit") is smaller than other communication volumes indicating the volume of data transmitted and received using other identification information. Therefore, the rewrite candidate search unit 106 searches for the identification information (AA-2) associated with the communication volume (1.8 GB) as a rewrite candidate.
別の例として、書換候補探索部106は、通信量に加えて、通信容量に基づいて、書換候補となる識別情報を探索してもよい。例えば、書換候補探索部106は、通信量と通信容量との差分、すなわち、当月に送受信することが可能なデータ量の残量を示す通信残量が最も多い通信量に紐付けられた識別情報を書換候補として探索する。 As another example, the rewrite candidate search unit 106 may search for identification information that is a rewrite candidate based on the communication capacity in addition to the communication volume. For example, the rewrite candidate search unit 106 searches for identification information that is linked to the communication volume with the largest remaining communication volume, which indicates the remaining amount of data that can be transmitted and received in the current month, as a rewrite candidate.
なお、書換候補探索部106は、所定の条件を満たす識別情報を抽出し、抽出した識別情報の中から書換候補となる識別情報を探索してもよい。例えば、特定の期間内に識別情報の書き換えが行われていないこと、紐付けられた通信量が書換候補となる基準の通信量以下であること、又は、通信容量と通信量との差分である通信残量が書換候補となる基準の通信残量以上であること、等を所定の条件として識別情報を抽出する。所定の条件を満たす識別情報が存在しない場合、書換候補探索部106は書換候補となる識別情報がないものと判定してもよい。所定の条件を満たす識別情報が存在しない場合には、後述する識別情報の書換処理は行わない。 The rewrite candidate search unit 106 may extract identification information that satisfies a predetermined condition, and search for identification information that is a rewrite candidate from among the extracted identification information. For example, identification information is extracted based on predetermined conditions such as that the identification information has not been rewritten within a specific period of time, that the associated communication volume is equal to or less than the standard communication volume for the rewrite candidate, or that the remaining communication volume, which is the difference between the communication capacity and the communication volume, is equal to or more than the standard communication volume for the rewrite candidate. If there is no identification information that satisfies the predetermined condition, the rewrite candidate search unit 106 may determine that there is no identification information that is a rewrite candidate. If there is no identification information that satisfies the predetermined condition, the rewrite process of the identification information described below is not performed.
書換指示部107は、無線通信装置W1に対し、識別情報(AA-1)を、書換候補探索部106が探索した識別情報(AA-2)に書き換えることを指示する。書換指示部107は、識別情報(AA-2)と共に、識別情報の書き換えを指示する信号を送信してもよく、あるいは、識別情報のみを送信することを以って識別情報の書き換えを指示してもよい。書換指示部107はさらに、無線通信装置W2に対し、識別情報(AA-2)を識別情報(AA-1)に書き換えることを指示する。 The rewrite instruction unit 107 instructs the wireless communication device W1 to rewrite the identification information (AA-1) to the identification information (AA-2) found by the rewrite candidate search unit 106. The rewrite instruction unit 107 may transmit a signal instructing the rewrite of the identification information together with the identification information (AA-2), or may instruct the rewrite of the identification information by transmitting only the identification information. The rewrite instruction unit 107 further instructs the wireless communication device W2 to rewrite the identification information (AA-2) to the identification information (AA-1).
書換指示部107はさらに、後述する完了通知受信部108が、識別情報の書き換えを指示した無線通信装置W1、W2から識別情報の書き換えが完了したことを示す完了通知を受信した場合に、書き換え後の識別情報を用いた通信の開始を指示してもよい。 The rewrite instruction unit 107 may further instruct the start of communication using the rewritten identification information when the completion notification receiving unit 108 described later receives a completion notification indicating that the rewrite of the identification information has been completed from the wireless communication devices W1 and W2 that instructed the rewrite of the identification information.
完了通知受信部108は、書換指示部107が識別情報の書き換えを指示した無線通信装置W1、W2から、識別情報の書き換えが完了したことを示す完了通知を受信する。 The completion notification receiving unit 108 receives a completion notification indicating that the rewriting of the identification information has been completed from the wireless communication devices W1 and W2 for which the rewriting instruction unit 107 has instructed to rewrite the identification information.
図5~図7を参照して、無線通信装置Wの記憶領域に記憶された識別情報の書き換えを説明する。図5は、無線通信装置W1~Wnの記憶領域に記憶された識別情報(AA-1~AA-n)と、それぞれの識別情報に紐付けられた通信量を示している。 Referring to Figures 5 to 7, the rewriting of the identification information stored in the memory area of the wireless communication device W will be described. Figure 5 shows the identification information (AA-1 to AA-n) stored in the memory area of the wireless communication devices W1 to Wn and the communication volume linked to each identification information.
図5(a)は識別情報の書き換え前を示している。無線通信装置W1に記憶された識別情報AA-1に紐付けられた通信量は所定の閾値以上となっている。そこで、書換要否判定部105は、無線通信装置W1の記憶領域に記憶された識別情報を書き換えると判定する。書換候補探索部106は、無線通信装置W1への書換候補となる識別情報として、最も少ない通信量に紐付けられた識別情報AA-2を探索する。 Figure 5 (a) shows the identification information before it is rewritten. The communication volume associated with the identification information AA-1 stored in the wireless communication device W1 is equal to or greater than a predetermined threshold. Therefore, the rewrite necessity determination unit 105 determines that the identification information stored in the storage area of the wireless communication device W1 should be rewritten. The rewrite candidate search unit 106 searches for the identification information AA-2 associated with the least communication volume as the identification information to be rewritten to the wireless communication device W1.
図5(b)は識別情報の書き換え後を示している。無線通信装置W1に記憶された識別報がAA-1からAA-2に書き換えられており、無線通信装置W2に記憶された識別情報がAA-2からAA-1に書き換えられている。また、それぞれの識別情報には通信量が紐付けられているため、無線通信装置W1及びW2の通信量が変化している。 Figure 5 (b) shows the state after the identification information has been rewritten. The identification information stored in wireless communication device W1 has been rewritten from AA-1 to AA-2, and the identification information stored in wireless communication device W2 has been rewritten from AA-2 to AA-1. In addition, since each piece of identification information is linked to a communication volume, the communication volumes of wireless communication devices W1 and W2 have changed.
図6は、図5における無線通信装置W1及びW2に記憶された識別情報と、それぞれの識別情報に紐付けられた通信量の変化を説明する図である。左側は識別情報の書き換え前を、右側は識別情報の書き換え後をそれぞれ示している。 Figure 6 is a diagram illustrating the identification information stored in the wireless communication devices W1 and W2 in Figure 5 and the changes in communication volume associated with each identification information. The left side shows the identification information before it is rewritten, and the right side shows the identification information after it is rewritten.
左側に示す図には、無線通信装置W1が識別情報AA-1を用いて、無線通信装置W2がAA-2を用いて1日から15日までに送受信したデータ量を示す通信量が実線で図示されている。無線通信装置W1の通信量は多く、無線通信装置W1が識別情報AA-1を用いて通信を継続すれば、月末までに通信容量を超過し、ひいては通信回線Aを用いた通信が制限されるおそれがある。一方、無線通信装置W2の通信量は少なく、無線通信装置W2が識別情報AA-2を用いて通信を継続した場合、月末までに通信容量を使いきることはなく、通信容量が余る可能性がある。 In the diagram on the left, the solid lines show the amount of data transmitted and received from the 1st to the 15th by wireless communication device W1 using identification information AA-1, and by wireless communication device W2 using AA-2. Wireless communication device W1 has a large amount of communication, and if wireless communication device W1 continues to communicate using identification information AA-1, it may exceed its communication capacity by the end of the month, leading to restrictions on communication using communication line A. On the other hand, wireless communication device W2 has a small amount of communication, and if wireless communication device W2 continues to communicate using identification information AA-2, it may not use up its communication capacity by the end of the month, and may have excess communication capacity.
右側に示す図には、1日から15日までに送受信したデータ量を示す通信量が実線で、16日以降の通信量が破線で、それぞれ図示されている。無線通信装置W1、W2における1日から15日までの通信量は、識別番号の書き換えに伴って変化している。図6の左側に示す図によれば、無線通信装置W1では、月末までの通信量が通信容量を超過していない。また、無線通信装置W2では、月末までの通信量が通信容量に近い値となっており、通信容量が多く余ることはない。 In the diagram on the right, the communication volume indicating the amount of data transmitted and received from the 1st to the 15th is shown by a solid line, and the communication volume from the 16th onwards is shown by a dashed line. The communication volume from the 1st to the 15th in wireless communication devices W1 and W2 changes as the identification numbers are rewritten. According to the diagram on the left of Figure 6, in wireless communication device W1, the communication volume until the end of the month does not exceed the communication capacity. Also, in wireless communication device W2, the communication volume until the end of the month is close to the communication capacity, and there is no excess communication capacity.
図7は、書換要否判定部105が、通信量に加えて、予定通信量に基づいて識別情報を書き換えるか否かを判定する場合を例示している。図7(a)は識別情報の書き換え前を示している。図7(a)に示すように、無線通信装置W1が識別情報AA-1を用いて通信を行った場合、通信量及び予定通信量の合計は通信容量以上となる。そこで、書換要否判定部105は、無線通信装置W1の記憶領域に記憶された識別情報AA-1を書き換えると判定する。一方、書換候補探索部106は、無線通信装置W1への書換候補となる識別情報として、最も少ない通信量に紐付けられた識別情報AA-2を探索する。 Figure 7 illustrates an example in which the rewrite necessity determination unit 105 determines whether to rewrite the identification information based on the planned communication volume in addition to the communication volume. Figure 7 (a) shows the identification information before it is rewritten. As shown in Figure 7 (a), when wireless communication device W1 communicates using identification information AA-1, the sum of the communication volume and the planned communication volume is equal to or greater than the communication capacity. Therefore, the rewrite necessity determination unit 105 determines to rewrite the identification information AA-1 stored in the storage area of wireless communication device W1. Meanwhile, the rewrite candidate search unit 106 searches for identification information AA-2, which is linked to the smallest communication volume, as an identification information to be rewritten to wireless communication device W1.
図7(b)は識別情報の書き換え後を示している。無線通信装置W1に記憶された識別情報がAA-1からAA-2に書き換えられており、無線通信装置W2に記憶された識別情報がAA-2からAA-1に書き換えられている。図5と同様、それぞれの識別情報には通信量が紐付けられているため、無線通信装置W1及びW2の通信量も変化している。識別情報の書き換え後、無線通信装置W1の通信量及び予定通信量の合計は通信容量以上とならない。 Figure 7 (b) shows the state after the identification information has been rewritten. The identification information stored in wireless communication device W1 has been rewritten from AA-1 to AA-2, and the identification information stored in wireless communication device W2 has been rewritten from AA-2 to AA-1. As in Figure 5, each piece of identification information is linked to a communication volume, so the communication volumes of wireless communication devices W1 and W2 have also changed. After the identification information has been rewritten, the sum of the communication volume and planned communication volume of wireless communication device W1 does not exceed the communication capacity.
以上、本実施形態の電子制御装置100の構成、及び無線通信装置の記憶領域に記憶された識別情報の書き換えに係る処理を説明した。当然のことながら、電子制御装置100は、他の無線通信装置W2~Wnの記憶領域に記憶された識別情報に対しても同様の処理を行う。書換要否判定部105は、所定の周期で無線通信装置W(W1~Wn)の記憶領域に記憶されたそれぞれの識別情報を書き換えるか否かを判定することが望ましい。所定の周期は、例えば、1日1回又は数時間に1回である。 The above describes the configuration of the electronic control unit 100 of this embodiment and the process related to rewriting the identification information stored in the memory area of the wireless communication device. Naturally, the electronic control unit 100 also performs similar processes on the identification information stored in the memory areas of the other wireless communication devices W2 to Wn. It is desirable for the rewrite necessity determination unit 105 to determine whether or not to rewrite each piece of identification information stored in the memory area of the wireless communication device W (W1 to Wn) at a predetermined cycle. The predetermined cycle is, for example, once a day or once every few hours.
なお、書換要否を判定する周期は常に一定である必要はなく、通信容量と通信量との「差分」に応じて周期を変化させてもよい。この場合、通信容量と通信量との差分が小さいほど高い頻度で、すなわち短い周期で判定を行うことが望ましい。通信容量と通信量との差分が小さいほど、通信量が通信容量を超過する可能性が高い状態であるといえる。そこで、通信容量と通信量との差分が小さいほど判定を行う周期を短くすることで、通信量が通信容量を超過する前に書換処理を行うようにする。例えば、通信容量と通信量との差分が3GB未満の場合には1日に1回、3GB以上5GB未満の場合には2日に1回、5GB以上の場合には3日1回、というように、判定を行う周期を変化させる。 The period for determining whether or not rewriting is necessary does not need to be constant, and the period may be changed according to the "difference" between the communication capacity and the communication volume. In this case, it is desirable to perform the determination more frequently, i.e., at a shorter period, the smaller the difference between the communication capacity and the communication volume. It can be said that the smaller the difference between the communication capacity and the communication volume, the more likely the communication volume will exceed the communication capacity. Therefore, by shortening the period for performing the determination as the difference between the communication capacity and the communication volume becomes smaller, the rewriting process is performed before the communication volume exceeds the communication capacity. For example, the period for performing the determination is changed so that if the difference between the communication capacity and the communication volume is less than 3 GB, it is once a day, if it is 3 GB or more but less than 5 GB, it is once every two days, and if it is 5 GB or more, it is once every three days.
ここで「差分」とは、減算が含まれていれば足り、単純差(y-x)のみならず、二乗差(y2-x2)、差の平方根((y-x)1/2)、重みづけ差(by-ax:a、bは定数)なども含む。 Here, the “difference” refers to any operation that includes subtraction, and includes not only the simple difference (y−x), but also the squared difference (y 2 −x 2 ), the square root of the difference ((y−x) 1/2 ), and the weighted difference (by-ax: a and b are constants).
書換要否判定部105は、それぞれの識別情報について異なる周期で書き換えるか否かを判定してもよいが、全ての識別情報について同じタイミングで書き換えるか否かを判定してもよい。この場合、通信容量と通信量との差分が最も小さくなる識別情報の周期に合わせて、他の識別情報についても書換要否を判定してもよい。 The rewrite necessity determination unit 105 may determine whether or not to rewrite each piece of identification information at different periods, or may determine whether or not to rewrite all of the identification information at the same timing. In this case, the necessity of rewriting the other pieces of identification information may also be determined according to the period of the identification information that minimizes the difference between the communication capacity and the communication amount.
なお、書換要否判定部105は、所定の周期に代えて、あるいは、所定の周期に加えて、特定のタイミングで識別情報を書き換えるか否かを判定してもよい。例えば、書換要否判定部105は、無線通信装置W(W1~Wn)が起動又は停止するタイミング、及び/又は、無線通信装置W(W1~Wn)が送信又は受信した通信量、その合計値、又は通信容量と通信量との差分が所定の値となったタイミングで、識別情報を書き換えるか否かを判定する。さらに、このようなタイミングで判定を行う場合にも、通信容量と通信量との差分に応じて、判定を行う頻度を変化させてもよい。 The rewrite necessity determination unit 105 may determine whether or not to rewrite the identification information at a specific timing instead of or in addition to the predetermined cycle. For example, the rewrite necessity determination unit 105 determines whether or not to rewrite the identification information when the wireless communication device W (W1 to Wn) starts or stops, and/or when the communication volume, the total value, or the difference between the communication capacity and the communication volume transmitted or received by the wireless communication device W (W1 to Wn) reaches a predetermined value. Furthermore, even when the determination is made at such timing, the frequency of the determination may be changed according to the difference between the communication capacity and the communication volume.
例えば、書換要否判定部105は、通信容量と通信量との差分が3GB未満の場合には実施せず、3GB以上5GB未満の場合には無線通信装置Wの起動時に判定を行い、5GB以上の場合には起動時及び終了時に判定を行う。別の例では、書換要否判定部105は、通信容量と通信量との差分が3GB未満の場合には、送受信した通信量が1GB増加するごとに1回、3GB以上5GB未満の場合には送受信した通信量が500MB増加するごとに1回、5GB以上の場合には送受信した通信量が200MB増加するごとに1回、判定を行う。さらに別の例では、書換要否判定部105は、通信容量と通信量との差分が3GB未満の場合には送受信した通信量が1GB増加するごとに1回、3GB以上5GB未満の場合には起動時に加えて、送受信した通信量が500MB増加するごとに1回、5GB以上の場合には起動時と終了時に加えて、送受信した通信量が200MB増加するごとに1回、判定を行う。このように、通信容量と通信量との差分が小さいほど、判定を行う頻度を高くする。 For example, the rewrite necessity determination unit 105 does not perform rewrite when the difference between the communication capacity and the communication amount is less than 3 GB, and when the difference is 3 GB or more and less than 5 GB, the determination is made at the start of the wireless communication device W, and when the difference is 5 GB or more, the determination is made at the start and at the end. In another example, when the difference between the communication capacity and the communication amount is less than 3 GB, the rewrite necessity determination unit 105 makes a determination once for every increase in the communication amount transmitted and received of 1 GB, when the difference is 3 GB or more and less than 5 GB, the determination is made once for every increase in the communication amount transmitted and received of 500 MB, and when the difference is 5 GB or more, the determination is made once for every increase in the communication amount transmitted and received of 200 MB. In yet another example, when the difference between the communication capacity and the communication amount is less than 3 GB, the rewrite necessity determination unit 105 makes a determination once for every increase in the communication amount transmitted and received of 1 GB, when the difference is 3 GB or more and less than 5 GB, the determination is made once for every increase in the communication amount transmitted and received of 500 MB in addition to the start, and when the difference is 5 GB or more, the determination is made once for every increase in the communication amount transmitted and received of 200 MB in addition to the start and the end. In this way, the smaller the difference between communication capacity and communication volume, the more frequently the determination is made.
(3)電子制御装置の動作
図8、図9を参照して、電子制御装置100の動作を説明する。図8は電子制御装置100の動作を示しており、図9は、電子制御装置100に関連する無線通信装置W1の動作を示している。図8、図9に示す符号はそれぞれ対応しており、同じ符号は同じ処理を示している。図9は無線通信装置W1の動作のみを記載しているが、無線通信装置W2も無線通信装置W1と同様の動作を行うものである。
(3) Operation of the Electronic Control Device The operation of the electronic control device 100 will be described with reference to Figures 8 and 9. Figure 8 shows the operation of the electronic control device 100, and Figure 9 shows the operation of the wireless communication device W1 related to the electronic control device 100. The reference symbols shown in Figures 8 and 9 correspond to each other, and the same reference symbols indicate the same processes. Figure 9 describes only the operation of the wireless communication device W1, but the wireless communication device W2 also performs the same operation as the wireless communication device W1.
なお、図8、図9に示す電子制御装置100の動作は、電子制御装置100で実行される方法を示すだけでなく、電子制御装置100で実行可能なプログラムの処理手順を示すものである。そして、これらの処理は、図8、図9で示した順序には限定されない。すなわち、あるステップでその前段のステップの結果を利用する関係にある等の制約がない限り、順序を入れ替えてもよい。実施形態2の図16~図18についても同様である。 The operation of the electronic control unit 100 shown in Figures 8 and 9 not only shows a method executed by the electronic control unit 100, but also shows the processing procedure of a program that can be executed by the electronic control unit 100. Furthermore, these processes are not limited to the order shown in Figures 8 and 9. In other words, the order may be changed as long as there are no constraints, such as a relationship in which a certain step uses the result of the previous step. The same applies to Figures 16 to 18 of embodiment 2.
通信回線情報取得部102は、通信回線情報保存部101から、電子制御装置100が管理している無線通信装置W(W1~Wn)の通信回線情報を取得する(図8:S101)。
書換要否判定部105は、S101で取得した通信回線情報である通信量に基づいて、無線通信装置W1の記憶領域に記憶された識別情報を書き換えるか否かを判定する(図8:S102)。
S102において識別情報を書き換えると判定した場合(図8:S102:Y)、書換候補探索部106は書換候補となる識別情報を探索する(図8:S103)。本実施形態では、書換候補として、無線通信装置W2の識別情報(AA-2)を探索する。
S103において識別情報を探索した結果、書換候補となる識別情報が存在する場合(図8:S104:Y)、書換指示部107は、無線通信装置W1に対して、識別情報(AA-1)を、S103で探索した識別情報(AA-2)に書き換えることを指示する(図8:S105)。書換指示部107はさらに、無線通信装置W2に対して、識別情報(AA-2)を識別情報(AA-1)に書き換えることを指示する(図8:S105)。ここで、書換指示部107は、識別情報の書き換えを行う通信回線Aとは異なる通信回線Bを用いて、識別情報の書き換えを指示する。
The communication line information acquisition unit 102 acquires communication line information of the wireless communication devices W (W1 to Wn) managed by the electronic control unit 100 from the communication line information storage unit 101 (FIG. 8: S101).
The rewrite necessity determining unit 105 determines whether or not to rewrite the identification information stored in the storage area of the wireless communication device W1 based on the communication volume, which is the communication line information acquired in S101 (FIG. 8: S102).
When it is determined in S102 that the identification information is to be rewritten (FIG. 8: S102: Y), the rewrite candidate search unit 106 searches for identification information that is a rewrite candidate (FIG. 8: S103). In this embodiment, the identification information (AA-2) of the wireless communication device W2 is searched for as a rewrite candidate.
If there is identification information that is a candidate for rewriting as a result of searching for identification information in S103 (FIG. 8: S104: Y), the rewrite instruction unit 107 instructs the wireless communication device W1 to rewrite the identification information (AA-1) to the identification information (AA-2) searched for in S103 (FIG. 8: S105). The rewrite instruction unit 107 further instructs the wireless communication device W2 to rewrite the identification information (AA-2) to the identification information (AA-1) (FIG. 8: S105). Here, the rewrite instruction unit 107 instructs the rewrite of the identification information using a communication line B different from the communication line A that rewrites the identification information.
無線通信装置W1では、通信回線Bを使用して無線通信を行う通信モジュールBが識別情報の書換指示を受信する(図9:S105)。なお、識別情報の書換指示に通信モジュールAを用いてもよい。
識別情報の書換指示を受信すると、通信モジュールBはCPUに対し、識別情報の書換指示を通知する(図9:S201)。
S201において識別情報の書換指示が通知されると、CPUは、書き換えが指示された識別情報を用いて通信を行う通信モジュールAに対して、当該識別情報を用いた通信の停止を指示する(図9:S203)。
通信モジュールAは、S203において通信を停止すると、CPUに対して通信を停止したことを通知する(図9:S204)。
通信の停止が通知されると、CPUは、通信モジュールAに対して、識別情報の書き換えを指示する(図9:S205)。
通信モジュールAは、識別情報の書き換えを行う(図9:S206)。
S206において識別情報の書き換えが完了すると、通信モジュールAはCPUに対して、書換完了を通知する(図9:S207)。そして、通信モジュールAから書換完了が通知されると、CPUは通信モジュールBを介して、電子制御装置100に書換完了を通知する(図8、図9:S106)。
In the wireless communication device W1, the communication module B that performs wireless communication using the communication line B receives the instruction to rewrite the identification information (FIG. 9: S105). Note that the communication module A may be used to issue the instruction to rewrite the identification information.
When receiving the instruction to rewrite the identification information, the communications module B notifies the CPU of the instruction to rewrite the identification information (FIG. 9: S201).
When an instruction to rewrite the identification information is notified in S201, the CPU instructs communication module A, which communicates using the identification information instructed to be rewritten, to stop communication using the identification information (FIG. 9: S203).
When communication module A stops communication in S203, it notifies the CPU that communication has been stopped (FIG. 9: S204).
When notified of the end of communication, the CPU instructs communication module A to rewrite the identification information (FIG. 9: S205).
The communications module A rewrites the identification information (FIG. 9: S206).
When the rewriting of the identification information is completed in S206, the communication module A notifies the CPU of the completion of the rewriting (FIG. 9: S207). Then, when the rewriting completion is notified from the communication module A, the CPU notifies the electronic control device 100 of the completion of the rewriting via the communication module B (FIGS. 8 and 9: S106).
電子制御装置100の完了通知受信部108が、識別情報の書き換えを指示した無線通信装置W1、W2から書換完了通知を受信(図8、図9:S106)すると、書換指示部107は、書き換え後の識別情報を用いた通信の開始を指示する(図8、図9:S107)。このとき、無線通信装置W1の通信モジュールAは通信を停止しているため、書換指示部107は、通信回線Bを用いて通信の開始指示を送信する。 When the completion notification receiving unit 108 of the electronic control device 100 receives a rewrite completion notification from the wireless communication devices W1 and W2 that instructed the rewrite of the identification information (FIGS. 8 and 9: S106), the rewrite instruction unit 107 instructs the start of communication using the rewritten identification information (FIGS. 8 and 9: S107). At this time, because communication module A of the wireless communication device W1 has stopped communication, the rewrite instruction unit 107 transmits an instruction to start communication using communication line B.
通信の開始指示を受信すると、通信モジュールBはCPUに対し、通信の開始指示を通知する(図9:S208)。
S208において通信の開始指示が通知されると、CPUは通信モジュールAに対し、書換後の識別情報を用いた通信開始を指示する(図9:S209)。
そして、通信モジュールAは、書き換え後の識別情報(AA-2)を用いた通信を開始する(図9:S210)。
Upon receiving the instruction to start communication, communication module B notifies the CPU of the instruction to start communication (FIG. 9: S208).
When the instruction to start communication is issued in S208, the CPU instructs communication module A to start communication using the rewritten identification information (FIG. 9: S209).
Then, the communications module A starts communications using the rewritten identification information (AA-2) (FIG. 9: S210).
(4)変形例1
上述した実施形態では、識別情報の書換要否を判定し、書換候補の探索を行った後に直ちに、2つの無線通信装置に対して識別情報の書き換えを指示する例を挙げて説明した。しかしながら、識別情報の書換指示はそれぞれ、書換候補の探索を行った後の任意のタイミングで行ってもよい。本変形例では、書換指示部107が、無線通信装置Wが搭載された車両の運行状況に応じて、識別情報の書き換えを指示する構成を説明する。
(4) Modification 1
In the above embodiment, an example is described in which the necessity of rewriting the identification information is determined, and the rewriting candidate is searched for, and then the two wireless communication devices are immediately instructed to rewrite the identification information. However, the instruction to rewrite the identification information may be given at any timing after the search for the rewriting candidate is performed. In this modified example, a configuration is described in which the rewrite instruction unit 107 instructs the rewriting of the identification information according to the operating status of the vehicle in which the wireless communication device W is mounted.
無線通信装置Wが、電子制御装置100から識別情報の書換指示を受信する、あるいは、識別情報の書換処理を行うためには、無線通信装置Wが起動している必要がある。ところが、無線通信装置Wを搭載する車両Vが動作(例えば、走行)している間に書換処理を行う場合、書換処理を実行している間、識別情報を書き換えている通信回線を用いた無線通信を行うことができなくなる。また、車両Vが動作していない間(例えば、車両Vの駐車中)は車両Vの電源が入っておらず、ひいては、車両Vに搭載された無線通信装置Wが起動していないため、識別情報の書換指示を受信する、あるいは、書換処理を行うことはできない。そこで、書換指示部107は、車両Vの運行状況に応じて識別情報の書き換えを指示する。 In order for the wireless communication device W to receive an instruction to rewrite the identification information from the electronic control device 100 or to perform a process to rewrite the identification information, the wireless communication device W must be activated. However, if the rewrite process is performed while the vehicle V equipped with the wireless communication device W is operating (e.g., traveling), wireless communication using the communication line that is rewriting the identification information cannot be performed while the rewrite process is being performed. In addition, while the vehicle V is not operating (e.g., while the vehicle V is parked), the power of the vehicle V is not turned on, and thus the wireless communication device W equipped in the vehicle V is not activated, so that it is not possible to receive an instruction to rewrite the identification information or perform the rewrite process. Therefore, the rewrite instruction unit 107 instructs the rewrite of the identification information according to the operating status of the vehicle V.
図10~図13を参照して、識別情報の書き換えを指示するタイミングの例を説明する。
図10は、無線通信装置W1を搭載した車両V1、及び無線通信装置W2を搭載した車両V2の運行スケジュールを簡略的に示している。図10によれば、15日、16日ともに、車両V1は8時~16時まで運行し、車両V2は10時~19時まで運行しており、それ以外の時間は車両V1、V2、ひいては無線通信装置W1、W2は起動していない。例えば、サーバ装置に設けられた電子制御装置100が、15日の22時に書換要否を判定する場合、無線通信装置W1、W2はいずれも起動していないため、識別情報の書換処理を行うことはできない。図10の下段に示すように、書換要否を判定した翌日(16日)に車両V1、V2が起動した後に識別情報の書換処理を行うとすると、車両V1を起動した直後、車両V1の無線通信装置W1、車両V2の無線通信装置V2の2つに、識別情報AA-2が同時に記憶されている状況が発生してしまう。
An example of timing for issuing an instruction to rewrite the identification information will be described with reference to FIGS.
FIG. 10 shows a simplified operation schedule of a vehicle V1 equipped with a wireless communication device W1 and a vehicle V2 equipped with a wireless communication device W2. According to FIG. 10, on both the 15th and 16th, the vehicle V1 operates from 8:00 to 16:00, and the vehicle V2 operates from 10:00 to 19:00. At other times, the vehicles V1 and V2, and the wireless communication devices W1 and W2, are not activated. For example, when the electronic control device 100 provided in the server device determines whether or not rewriting is necessary at 22:00 on the 15th, the wireless communication devices W1 and W2 are not activated, so that the rewriting process of the identification information cannot be performed. As shown in the lower part of FIG. 10, if the rewriting process of the identification information is performed after the vehicles V1 and V2 are activated on the day after the determination of whether or not rewriting is necessary (the 16th), a situation occurs in which the identification information AA-2 is simultaneously stored in both the wireless communication device W1 of the vehicle V1 and the wireless communication device V2 of the vehicle V2 immediately after the vehicle V1 is activated.
そこで、一例として、無線通信装置100は図11に示すようなスケジュールで識別情報の書き換えを指示する。具体的には、電子制御装置100は、車両V2の無線通信装置W2に対して、16日に車両V2の運行が終了したとき、すなわち、無線通信装置W2が起動を終了したときに識別情報の書き換えを指示する。一方、車両V1の無線通信装置W1に対しては、17日に車両V1の運行を開始するとき、すなわち、無線通信装置W1が起動を開始したときに識別情報の書き換えを指示する。これにより、1つの識別情報が2つの無線通信装置の記憶領域に同時に記憶されている状況を防ぐことができる。 As an example, the wireless communication device 100 instructs the rewriting of the identification information according to a schedule as shown in FIG. 11. Specifically, the electronic control device 100 instructs the wireless communication device W2 of the vehicle V2 to rewrite the identification information when the operation of the vehicle V2 ends on the 16th, i.e., when the wireless communication device W2 finishes starting up. On the other hand, the electronic control device 100 instructs the wireless communication device W1 of the vehicle V1 to rewrite the identification information when the operation of the vehicle V1 starts on the 17th, i.e., when the wireless communication device W1 starts starting up. This makes it possible to prevent a situation in which one identification information is stored simultaneously in the storage areas of two wireless communication devices.
図12は、車両V1、V2の運行スケジュールが図10、図11とは異なる例を示している。図12では、16日に、車両V1は7時~19時まで運行し、車両V2は8時~16時まで運行している。この例では、電子制御装置100は、車両V2の無線通信装置W2に対して、16日に車両V2の運行が終了したときに、記憶領域に記憶されている識別情報AA-2の削除を指示する。しかしながら、この時点では、新たな識別情報への切替指示は行わない。ここで切替処理を行った場合、17日に車両V2が起動した直後に、車両V1の無線通信装置W1、車両V2の無線通信装置V2の2つに、識別情報AA-1が同時に記憶されている状況が発生するからである。一方、電子制御装置100は、車両V1の無線通信装置W1に対して、16日に車両V1の運行が終了したとき、すなわち、無線通信装置W1が起動を終了したときに識別情報の書き換えを指示する。そして、電子制御装置100は、車両V2の無線通信装置W2に対して、17日に車両V1の運行を開始するとき、すなわち、無線通信装置W2が起動を開始したときに識別情報の書き換えを指示する。 Figure 12 shows an example in which the operation schedules of vehicles V1 and V2 are different from those in Figures 10 and 11. In Figure 12, on the 16th, vehicle V1 operates from 7:00 to 19:00, and vehicle V2 operates from 8:00 to 16:00. In this example, the electronic control unit 100 instructs the wireless communication device W2 of vehicle V2 to delete the identification information AA-2 stored in the memory area when the operation of vehicle V2 ends on the 16th. However, at this point, no instruction is given to switch to new identification information. This is because if the switching process is performed here, a situation will occur in which the identification information AA-1 is simultaneously stored in both the wireless communication device W1 of vehicle V1 and the wireless communication device V2 of vehicle V2 immediately after vehicle V2 starts up on the 17th. On the other hand, the electronic control unit 100 instructs the wireless communication device W1 of vehicle V1 to rewrite the identification information when the operation of vehicle V1 ends on the 16th, that is, when the wireless communication device W1 stops starting up. The electronic control unit 100 then instructs the wireless communication device W2 of the vehicle V2 to rewrite the identification information when the vehicle V1 starts to operate on the 17th, i.e., when the wireless communication device W2 starts to start up.
図13は、車両V1、V2の運行開始及び終了のタイミングの関係に応じて、電子制御装置100が識別情報の書換指示を行うタイミングを示している。図13に示すとおり、車両V1及び車両V2が運行を開始するタイミングが同時の場合、又は、車両V1及び車両V2が運行を終了するタイミングが同時の場合、同時に運行を開始又は終了するタイミングで識別情報の書き換えを指示する。これに対し、車両V1及び車両V2が運行を開始及び終了するタイミングが同時ではない場合には、図11~図13に示すタイミングで識別情報の書き換えを指示することで、1つの識別情報が2つの無線通信装置の記憶領域に同時に記憶されている状況を防ぐことができる。 Figure 13 shows the timing at which the electronic control unit 100 issues an instruction to rewrite the identification information depending on the relationship between the timing at which vehicles V1 and V2 start and end operation. As shown in Figure 13, when vehicles V1 and V2 start operation at the same time, or when vehicles V1 and V2 end operation at the same time, an instruction to rewrite the identification information is issued at the timing at which they start or end operation at the same time. In contrast, when vehicles V1 and V2 do not start and end operation at the same time, an instruction to rewrite the identification information is issued at the timing shown in Figures 11 to 13, thereby preventing a situation in which one identification information is stored simultaneously in the storage areas of two wireless communication devices.
(5)変形例2
本実施形態では、識別情報の書き換えが必要と判定された識別情報と、書換候補として探索された識別情報とを書き換えて、実質的に識別情報を交換する例を説明したが、必ずしも識別情報は交換するものでなくともよい。例えば、無線通信装置W1に記憶されていた識別情報AA-1を書換候補の識別情報AA-2に書き換え、無線通信装置W2に記憶されていた識別情報AA-2を識別情報AA-3に書き換え、無線通信装置W3に記憶されていた識別情報AA-3を識別情報AA-1に書き換えてもよい。
(5) Modification 2
In the present embodiment, an example has been described in which the identification information determined to need to be rewritten and the identification information searched for as a rewrite candidate are rewritten to essentially exchange the identification information, but the identification information does not necessarily have to be exchanged. For example, the identification information AA-1 stored in the wireless communication device W1 may be rewritten to the identification information AA-2 that is a rewrite candidate, the identification information AA-2 stored in the wireless communication device W2 may be rewritten to the identification information AA-3, and the identification information AA-3 stored in the wireless communication device W3 may be rewritten to the identification information AA-1.
(6)変形例3
本実施形態では、図1に示したとおり、サーバ装置に設けられた電子制御装置100が、車両に搭載された複数の無線通信装置W(W1~Wn)に対して識別情報の書き換えを指示する例を説明した。しかしながら、本実施形態の電子制御装置100が車両に搭載され、電子制御装置100が搭載された車両とは異なる車両に搭載された複数の無線通信装置(W1~Wn)に対して識別情報の書き換えを指示するように構成されてもよい。
(6) Modification 3
In this embodiment, as shown in Fig. 1, an example has been described in which the electronic control unit 100 provided in the server device instructs a plurality of wireless communication devices W (W1 to Wn) mounted on a vehicle to rewrite the identification information. However, the electronic control unit 100 of this embodiment may be configured to be mounted on a vehicle and to instruct a plurality of wireless communication devices (W1 to Wn) mounted on a vehicle different from the vehicle on which the electronic control unit 100 is mounted to rewrite the identification information.
(7)小括
本実施形態によれば、無線通信装置が無線通信に用いる識別情報を、他の無線通信装置が用いる識別情報と書き換えることにより、識別情報に紐付けられた通信量を、他の無線通信装置と交換することが可能となる。これにより、無線通信装置毎に送受信したデータ量に偏りがある場合であっても、それぞれの無線通信装置は通信容量を超えることなく無線通信を行うことが可能となる。
(7) Summary According to the present embodiment, by replacing the identification information used by a wireless communication device for wireless communication with the identification information used by another wireless communication device, it becomes possible to exchange the communication volume associated with the identification information with the other wireless communication device. As a result, even if there is a bias in the amount of data transmitted and received by each wireless communication device, each wireless communication device can perform wireless communication without exceeding the communication capacity.
3.実施形態2
実施形態1では、電子制御装置100がサーバ装置である例を説明した。本実施形態では、電子制御装置100が、無線通信装置Wとともに車両に搭載される構成を、実施形態1との相違点を中心に説明する。
3. Embodiment 2
In the first embodiment, an example has been described in which the electronic control unit 100 is a server device. In the present embodiment, a configuration in which the electronic control unit 100 is mounted on a vehicle together with a wireless communication device W will be described, focusing on differences from the first embodiment.
(1)電子制御装置100と無線通信装置Wの配置
図14は、本実施形態の電子制御装置100及び無線通信装置Wの配置を説明する図である。図14に示すように、電子制御装置100は、無線通信装置Wと共に、「移動体」である車両に「搭載」されている。電子制御装置100は、同じ車両に搭載された無線通信装置、及び、他の車両に搭載され、書換候補として探索された識別情報を用いて無線通信を行う無線通信装置、を制御する。
(1) Arrangement of the electronic control unit 100 and the wireless communication device W Fig. 14 is a diagram for explaining the arrangement of the electronic control unit 100 and the wireless communication device W of this embodiment. As shown in Fig. 14, the electronic control unit 100 is "mounted" on a vehicle, which is a "moving body", together with the wireless communication device W. The electronic control unit 100 controls a wireless communication device mounted on the same vehicle and a wireless communication device mounted on another vehicle that performs wireless communication using identification information searched for as a rewrite candidate.
以下に示す実施形態では、電子制御装置100が、無線通信装置W1と共に、車両V1(「第1の移動体」に相当)に搭載されている例を説明する。 In the embodiment described below, an example is described in which the electronic control device 100 is mounted on a vehicle V1 (corresponding to the "first moving body") together with a wireless communication device W1.
(2)電子制御装置100の構成
図15は、本実施形態の電子制御装置100の構成例を示す図である。図2に示す各構成に加えて、書換情報要求部109を備える。
(2) Configuration of the Electronic Control Unit 100 Fig. 15 is a diagram showing an example of the configuration of the electronic control unit 100 of this embodiment. In addition to the components shown in Fig. 2, a rewrite information request unit 109 is provided.
本実施形態の通信回線情報保存部101は、実施形態1とは異なり、電子制御装置100と同じ車両に搭載された無線通信装置W1の通信回線情報のみを保存する。すなわち、通信回線情報保存部101は、無線通信装置W1が使用する識別情報と、当該識別情報に紐付けられた通信量及び通信容量を保存する。 The communication line information storage unit 101 of this embodiment differs from the first embodiment in that it stores only the communication line information of the wireless communication device W1 mounted in the same vehicle as the electronic control device 100. In other words, the communication line information storage unit 101 stores the identification information used by the wireless communication device W1 and the communication volume and communication capacity associated with the identification information.
書換要否判定部105は、無線通信装置W1(「第1の無線通信部」に相当)の記憶領域に記憶された識別情報を書き換えるか否かを判定する。書換要否判定部105が識別情報を書き換えるか否かを判定する方法は、実施形態1と同じである。 The rewrite necessity determination unit 105 determines whether or not to rewrite the identification information stored in the storage area of the wireless communication device W1 (corresponding to the "first wireless communication unit"). The method by which the rewrite necessity determination unit 105 determines whether or not to rewrite the identification information is the same as in the first embodiment.
ここで、本実施形態では、書換要否判定部105が識別情報を書き換えると判定した場合、書換情報要求部109は、他の車両に搭載された無線通信装置W2~Wnに対して書換情報を要求する。書換情報要求部109はさらに、無線通信装置W2~Wnから送信された書換情報を受信する。書換情報は、書換候補探索部106が書換候補の探索に使用する情報である。具体的には、書換情報要求部109は、無線通信装置W2~Wnに対して、記憶領域に記憶されている識別情報と、当該識別情報に紐付けられた通信量とを書換情報として要求する。実施形態1と同様に、書換候補探索部106が、通信量に加えて通信容量に基づいて書換候補を探索する場合には、識別情報及び通信量に加えて、識別情報に紐付けられた通信容量を書換情報として要求してもよい。 Here, in this embodiment, when the rewrite necessity determination unit 105 determines that the identification information is to be rewritten, the rewrite information request unit 109 requests rewrite information from the wireless communication devices W2 to Wn mounted on the other vehicles. The rewrite information request unit 109 further receives rewrite information transmitted from the wireless communication devices W2 to Wn. The rewrite information is information used by the rewrite candidate search unit 106 to search for a rewrite candidate. Specifically, the rewrite information request unit 109 requests the wireless communication devices W2 to Wn for the identification information stored in the storage area and the communication volume associated with the identification information as rewrite information. As in the first embodiment, when the rewrite candidate search unit 106 searches for a rewrite candidate based on the communication capacity in addition to the communication volume, the communication capacity associated with the identification information may be requested as rewrite information in addition to the identification information and the communication volume.
電子制御装置100から書換情報が要求された無線通信装置W2~Wnは、書換情報を電子制御装置100に送信する。ここで、無線通信装置W2~Wnは、書換情報を要求された場合に、各無線通信装置の通信量に基づいて、各無線通信装置の記憶領域に記憶された識別情報の書き換え可否を判定してもよい。この場合、無線通信装置W2~Wnが、識別情報の書き換えが不可であると判定した場合、書換情報要求部109からの要求に対して、識別情報の書換不可を示す情報を書換情報として送信する。あるいは、書換情報要求部109からの要求に対して応答をしなくともよい。一方、無線通信装置が識別情報の書き換えが可能であると判定した場合、無線通信装置は書換情報要求部109からの要求に対して、識別情報及び通信量を書換情報として送信する。 The wireless communication devices W2 to Wn, which have received a request for rewrite information from the electronic control device 100, transmit the rewrite information to the electronic control device 100. Here, when the wireless communication devices W2 to Wn are requested to transmit rewrite information, they may determine whether or not the identification information stored in the storage area of each wireless communication device can be rewritten based on the communication volume of each wireless communication device. In this case, if the wireless communication devices W2 to Wn determine that the identification information cannot be rewritten, they transmit information indicating that the identification information cannot be rewritten as rewrite information in response to the request from the rewrite information request unit 109. Alternatively, they may not respond to the request from the rewrite information request unit 109. On the other hand, if the wireless communication devices determine that the identification information can be rewritten, they transmit the identification information and the communication volume as rewrite information in response to the request from the rewrite information request unit 109.
書換候補探索部106は、書換情報要求部109で受信した書換情報に基づいて、書換候補となる識別情報を探索する。書換候補探索部106が書換候補となる識別情報を探索する方法は、実施形態1と同じである。 The rewrite candidate search unit 106 searches for identification information that is a rewrite candidate based on the rewrite information received by the rewrite information request unit 109. The method by which the rewrite candidate search unit 106 searches for identification information that is a rewrite candidate is the same as in the first embodiment.
書換指示部107は、書換候補探索部106が探索した識別情報を記憶している無線通信装置(「第2の無線通信部」に相当)に対して、識別情報の書き換えを指示する。実施形態1と同様、本実施形態においても、書換候補探索部106が、無線通信装置W2の記憶領域に記憶された識別情報を書換候補として探索した場合を以下に説明する。本実施形態の書換指示部107はさらに、当該電子制御装置100と同じ車両V1に搭載された無線通信装置W1に対して、識別情報の書き換えを指示する。 The rewrite instruction unit 107 instructs the wireless communication device (corresponding to the "second wireless communication unit") that stores the identification information searched for by the rewrite candidate search unit 106 to rewrite the identification information. As in the first embodiment, in the present embodiment, the case where the rewrite candidate search unit 106 searches for identification information stored in the storage area of the wireless communication device W2 as a rewrite candidate will be described below. The rewrite instruction unit 107 in this embodiment further instructs the wireless communication device W1 mounted on the same vehicle V1 as the electronic control device 100 to rewrite the identification information.
なお、本実施形態では、無線通信装置W2が識別情報の書換指示を受信した場合は必ず識別情報を書き換えることを前提として説明している。しかしながら、無線通信装置W2は、電子制御装置100から識別情報の書換指示を受信した後に識別情報の書換処理を行わないと判断してもよい。例えば、書き換えを指示された識別情報に紐付けられた通信量が多く、ひいては、通信残量が少ない場合、無線通信装置W2は識別情報の書換処理は行わないと判断する。この場合、無線通信装置W2は、電子制御装置100に対し、書換指示を拒否することを示す信号を送信する。 In this embodiment, it is assumed that the wireless communication device W2 always rewrites the identification information when it receives an instruction to rewrite the identification information. However, the wireless communication device W2 may determine not to perform the process of rewriting the identification information after receiving an instruction to rewrite the identification information from the electronic control device 100. For example, when the communication volume linked to the identification information instructed to be rewritten is large and the remaining communication volume is small, the wireless communication device W2 determines not to perform the process of rewriting the identification information. In this case, the wireless communication device W2 transmits a signal to the electronic control device 100 indicating that the rewrite instruction is rejected.
(3)電子制御装置の動作
図16~図18を参照して、本実施形態の電子制御装置100の動作を説明する。実施形態1の図8、図9と同じ符号は同じ処理を示しており、詳細な説明は省略する。
(3) Operation of the Electronic Control Unit The operation of the electronic control unit 100 of this embodiment will be described with reference to Figures 16 to 18. The same reference numerals as those in Figures 8 and 9 of the first embodiment indicate the same processes, and detailed description thereof will be omitted.
図16では、S102において識別情報を書き換えると判定した場合(図16:S102:Y)、他の無線通信装置に対して書換情報を要求する(図16、図17:S110)。ここで、書換情報要求部109は、識別情報の書き換えを行う通信回線Aとは異なる通信回線Bを用いて、書換情報を要求する。 In FIG. 16, when it is determined in S102 that the identification information is to be rewritten (FIG. 16: S102: Y), a request for rewriting information is made to other wireless communication devices (FIGS. 16, 17: S110). Here, the rewriting information request unit 109 requests the rewriting information using a communication line B different from the communication line A that rewrites the identification information.
無線通信装置W2では、通信回線Bを使用して無線通信を行う通信モジュールBが識別情報の書換情報要求を受信する(図17:S110)。
書換情報要求を受信すると、通信モジュールBはCPUに対し、書換情報要求を通知する(図17:S301)。
S301において書換情報要求が通知されると、CPUは、通信モジュールAが通信回線Aを用いた無線通信に使用している識別情報、及び当該識別情報に紐付けられた通信量を書換情報として、通信モジュールBを介して電子制御装置100に送信する(図17:S302、S303)。
In the wireless communication device W2, the communication module B, which performs wireless communication using the communication line B, receives the request for rewriting information for the identification information (FIG. 17: S110).
When receiving the update information request, the communications module B notifies the CPU of the update information request (FIG. 17: S301).
When a rewrite information request is notified in S301, the CPU transmits the identification information used by communication module A for wireless communication using communication line A and the communication volume linked to the identification information as rewrite information to the electronic control device 100 via communication module B (Figure 17: S302, S303).
電子制御装置100の書換候補探索部106は、受信した書換情報に基づいて、書換候補を探索する(図16、図17:S103)。 The rewrite candidate search unit 106 of the electronic control device 100 searches for rewrite candidates based on the received rewrite information (Figures 16 and 17: S103).
図18は、図16のS103において、無線通信装置W2の識別情報を書換候補として探索した場合の処理を示している。
書換指示部107は、無線通信装置W2に対して、識別情報(AA-2)を識別情報(AA-1)に書き換えることを指示する(図16、図18:S111)。図18において、電子制御装置100が無線通信装置W2に対して識別情報の書き換えを指示した後のS201~S207処理は、実施形態1と同様である。
FIG. 18 shows the process in the case where the identification information of the wireless communication device W2 is searched for as a rewrite candidate in S103 of FIG.
The rewrite instruction unit 107 instructs the wireless communication device W2 to rewrite the identification information (AA-2) to the identification information (AA-1) (FIGS. 16 and 18: S111). In FIG. 18, the processes of S201 to S207 after the electronic control device 100 instructs the wireless communication device W2 to rewrite the identification information are the same as those in the first embodiment.
本実施形態の書換指示部107はさらに、電子制御装置100と同じ車両に搭載された無線通信装置W1の通信モジュールAに対し、識別情報(AA-1)を用いた通信の停止を指示する(図16、図18:S112)。
S112において通信の停止指示を受けた通信モジュールAは、識別情報(AA-1)を用いた通信を停止する(図18:S401)。
The rewrite instruction unit 107 of this embodiment further instructs the communication module A of the wireless communication device W1 mounted in the same vehicle as the electronic control device 100 to stop communication using the identification information (AA-1) (FIGS. 16 and 18: S112).
The communications module A, which has received the instruction to stop communications in S112, stops communications using the identification information (AA-1) (FIG. 18: S401).
S106において、無線通信装置W2から書換完了が通知(図16、図18:S106)されると、書換指示部107は、通信モジュールAに対し、識別情報の書き換えを指示する(S113)。
そして、通信モジュールAは、識別情報(AA-1)から識別情報(AA-2)に書き換えを行う(図18:S402)。
In S106, when the wireless communication device W2 notifies the completion of the rewrite (FIGS. 16 and 18: S106), the rewrite instruction unit 107 instructs the communication module A to rewrite the identification information (S113).
Then, the communications module A rewrites the identification information (AA-1) to the identification information (AA-2) (FIG. 18: S402).
なお、実施形態1と同様、本実施形態でも、無線通信装置が2つのセルラー通信を用いる例を説明した。しかしながら、本実施形態では、車両に搭載された無線通信装置同士の通信として、基地局を経由しない車車間通信を利用してもよい。 As in the first embodiment, the present embodiment also describes an example in which a wireless communication device uses two cellular communications. However, in the present embodiment, vehicle-to-vehicle communication that does not go through a base station may be used as communication between wireless communication devices mounted on vehicles.
(4)小括
本実施形態によれば、車両に搭載された電子制御装置100が、同じ車両に搭載された無線通信装置の記憶領域に記憶された識別情報の書換要否を判定し、識別情報の書換指示を行う。これにより、電子制御装置100と同じ車両に搭載された無線通信装置は、通信容量を超えることなく無線通信を行うことが可能となる。
(4) Summary According to this embodiment, the electronic control unit 100 mounted on a vehicle determines whether or not the identification information stored in the storage area of the wireless communication device mounted on the same vehicle needs to be rewritten, and issues an instruction to rewrite the identification information. This enables the wireless communication device mounted on the same vehicle as the electronic control unit 100 to perform wireless communication without exceeding the communication capacity.
4.その他の発明
上述した実施形態1、2では、通信量に基づいて識別情報の書換要否を判定し、必要に応じて識別情報を書き換えることで、無線通信装置が通信容量を超えて通信を行うことを防ぐ構成を説明した。別の方法として、識別情報の書き換えを行わず、通信量に応じて、無線通信装置を搭載している車両が走行する経路を選択する、あるいは、走行する車両を選択してもよい。
In the above-described first and second embodiments, a configuration has been described in which the necessity of rewriting the identification information is determined based on the communication volume, and the identification information is rewritten as necessary, thereby preventing the wireless communication device from communicating beyond the communication capacity. As an alternative method, a route along which a vehicle equipped with a wireless communication device will travel, or a vehicle to travel, may be selected according to the communication volume, without rewriting the identification information.
例えば、通信回線A及び通信回線Bを使用可能な車両が、通信回線Aの通信環境が良好なルートXを走行する場合、当該車両に搭載された無線通信装置では、通信回線Aを用いて送受信したデータ量は、通信回線Bを用いて送受信したデータ量よりも多くなる可能性が高い。一方、通信回線A及び通信回線Bを使用可能な車両が、通信回線Bの通信環境が良好なルートYを走行する場合、当該車両に搭載された無線通信装置では、通信回線Bを用いて送受信したデータ量が、通信回線Aを用いて送受信したデータ量よりも多くなる可能性が高い。 For example, when a vehicle capable of using communication lines A and B travels along route X where the communication environment for communication line A is good, the wireless communication device mounted on the vehicle is likely to transmit and receive a larger amount of data using communication line A than the amount of data using communication line B. On the other hand, when a vehicle capable of using communication lines A and B travels along route Y where the communication environment for communication line B is good, the wireless communication device mounted on the vehicle is likely to transmit and receive a larger amount of data using communication line B than the amount of data using communication line A.
そこで、サーバ装置に設けられた無線通信装置は、通信量に応じて、それぞれのルートを走行する車両を選択する。上述したとおり、車両がルートXを走行する場合、通信回線Aを用いて送受信するデータ量は多くなる。そこで、ルートXを走行する車両として、通信回線Aにおける通信残量が多い無線通信装置を搭載する車両を選択する。一方、車両がルートYを走行する場合、通信回線Bを用いて送受信するデータ量が多くなる。そこで、ルートYを走行する車両として、通信回線Bにおける通信残量が多い無線通信装置を搭載する車両を選択する。 The wireless communication device provided in the server device selects vehicles to travel on each route depending on the amount of communication. As described above, when a vehicle travels on route X, the amount of data to be transmitted and received using communication line A is large. Therefore, as a vehicle to travel on route X, a vehicle equipped with a wireless communication device having a large amount of remaining communication on communication line A is selected. On the other hand, when a vehicle travels on route Y, the amount of data to be transmitted and received using communication line B is large. Therefore, as a vehicle to travel on route Y, a vehicle equipped with a wireless communication device having a large amount of remaining communication on communication line B is selected.
例えば、無線通信装置が図3に示す通信回線情報を有している場合を想定する。図3に示す通信回線情報によれば、無線通信装置W2の通信回線Aの通信残量が最も多い。そこで、無線通信装置W2を搭載している車両を、ルートXを走行する車両として選択する。同様の方法を用いて、通信回線Bの通信残量が最も多い無線通信装置を搭載している車両を、ルートYを走行する車両として選択する。 For example, assume that the wireless communication device has the communication line information shown in FIG. 3. According to the communication line information shown in FIG. 3, the communication line A of the wireless communication device W2 has the largest remaining communication amount. Therefore, a vehicle equipped with the wireless communication device W2 is selected as the vehicle to travel on the route X. Using a similar method, a vehicle equipped with a wireless communication device having the largest remaining communication amount on the communication line B is selected as the vehicle to travel on the route Y.
別の例として、複数の車両の中から走行する1台の車両を選択する場合、各無線通信装置が使用可能な全ての通信回線の通信残量に基づいて、走行する車両を選択してもよい。 As another example, when selecting one vehicle to run from among multiple vehicles, the vehicle to run may be selected based on the remaining communication capacity of all communication lines that can be used by each wireless communication device.
図19aは、無線通信装置W1が1日から15日までに送受信したデータ量を示す通信量を示している。実線は通信回線Aにおける通信量を、破線は通信回線Bにおける通信量をそれぞれ示している。ここで、電子制御装置は、無線通信装置W1における通信回線Aの通信残量、及び通信回線Bの通信残量をそれぞれ算出し、算出した通信残量のうち小さい通信残量の値を評価値として求めてもよい。例えば、図19aの例では、通信回線Aの通信残量の値を評価値として求める。電子制御装置はさらに、当該電子制御装置が管理する全ての無線通信装置について、同様に評価値を求める。 Figure 19a shows the communication volume indicating the amount of data transmitted and received by wireless communication device W1 from the 1st to the 15th. The solid line indicates the communication volume on communication line A, and the dashed line indicates the communication volume on communication line B. Here, the electronic control device may calculate the remaining communication volume on communication line A and the remaining communication volume on communication line B in wireless communication device W1, and determine the smaller of the calculated remaining communication volumes as the evaluation value. For example, in the example of Figure 19a, the value of the remaining communication volume on communication line A is determined as the evaluation value. The electronic control device further determines evaluation values in the same manner for all wireless communication devices managed by the electronic control device.
図19bは、無線通信装置W1が1日から15日までに送受信したデータ量を示す通信量に加えて、無線通信装置W1が送受信する予定のデータ量を示す予定通信量を示している。なお、予定通信量は、上述した実施形態1と同様の方法を用いて算出してもよい。例えば、電子制御装置は、通信回線A、Bそれぞれについて、通信容量と、通信量及び予定通信量の和との差分である予定通信残量を算出し、算出した予定通信残量のうち小さい予定通信残量の値を評価値として求める。図19bの例では、通信回線Bの予定通信残量の値を評価値として求める。電子制御装置はさらに、当該電子制御装置が管理する全ての無線通信装置について、同様に評価値を求める。 Figure 19b shows the planned communication volume indicating the amount of data that the wireless communication device W1 plans to transmit and receive, in addition to the communication volume indicating the amount of data transmitted and received by the wireless communication device W1 from the 1st to the 15th. The planned communication volume may be calculated using a method similar to that of the first embodiment described above. For example, the electronic control device calculates the planned communication volume, which is the difference between the communication capacity and the sum of the communication volume and the planned communication volume, for each of the communication lines A and B, and obtains the smaller planned communication volume value among the calculated planned communication volumes as the evaluation value. In the example of Figure 19b, the value of the planned communication volume for communication line B is obtained as the evaluation value. The electronic control device further obtains evaluation values in the same manner for all wireless communication devices managed by the electronic control device.
電子制御装置が全ての無線通信装置の評価値を求めると、これらの評価値のうち最大となる評価値に対応する無線通信装置を搭載する車両を、次に走行する車両として選択する。複数の無線通信装置のうち、少ない通信残量が最大となるものを選択することで、車両が走行しても通信容量を超える可能性を低減することができる。 When the electronic control unit finds the evaluation values of all wireless communication devices, it selects the vehicle equipped with the wireless communication device corresponding to the maximum evaluation value among these evaluation values as the next vehicle to travel. By selecting the one with the largest remaining communication capacity among multiple wireless communication devices, it is possible to reduce the possibility of exceeding the communication capacity even while the vehicle is traveling.
5.総括
以上、本発明の各実施形態における電子制御装置等の特徴について説明した。
5. Summary The features of the electronic control device and the like in each embodiment of the present invention have been described above.
各実施形態で使用した用語は例示であるので、同義の用語、あるいは同義の機能を含む用語に置き換えてもよい。 The terms used in each embodiment are merely examples and may be replaced with synonymous terms or terms with equivalent functions.
実施形態の説明に用いたブロック図は、装置の構成を機能毎に分類及び整理したものである。それぞれの機能を示すブロックは、ハードウェア又はソフトウェアの任意の組み合わせで実現される。また、機能を示したものであることから、かかるブロック図は方法の発明、及び当該方法を実現するプログラムの発明の開示としても把握できるものである。 The block diagrams used to explain the embodiments classify and organize the device configuration by function. The blocks showing each function are realized by any combination of hardware or software. In addition, since they show functions, such block diagrams can also be understood as disclosures of method inventions and program inventions that realize the methods.
各実施形態に記載した処理、フロー、及び方法として把握できる機能ブロック、については、一のステップでその前段の他のステップの結果を利用する関係にある等の制約がない限り、順序を入れ替えてもよい。 The order of the functional blocks that can be understood as processes, flows, and methods described in each embodiment may be changed as long as there are no constraints such as a relationship in which one step uses the results of another step that precedes it.
各実施形態、及び特許請求の範囲で使用する、第1、第2、乃至、第N(Nは整数)、の用語は、同種の2以上の構成や方法を区別するために使用しており、順序や優劣を限定するものではない。 The terms 1st, 2nd, through Nth (N is an integer) used in each embodiment and in the claims are used to distinguish between two or more configurations or methods of the same type, and do not limit the order or superiority or inferiority.
各実施形態は、移動体に搭載される無線通信装置を制御する装置を前提としているが、本発明は、特許請求の範囲で特に限定する場合を除き、任意の無線通信装置を制御する装置も含むものである。 Each embodiment is based on a device that controls a wireless communication device mounted on a moving object, but the present invention also includes a device that controls any wireless communication device, unless otherwise limited by the claims.
また、本発明の電子制御装置の形態の例として、以下のものが挙げられる。
部品の形態として、PLD、半導体素子、電子回路、モジュール、マイクロコンピュータが挙げられる。
半完成品の形態として、電子制御装置(ECU(Electric Control Unit))、システムボードが挙げられる。
完成品の形態として、携帯電話、スマートフォン、タブレット、パーソナルコンピュータ(PC)、ワークステーション、サーバが挙げられる。
その他、通信機能を有するデバイス等を含み、例えばビデオカメラ、スチルカメラ、カーナビゲーションシステムが挙げられる。
Moreover, examples of the form of the electronic control device of the present invention include the following.
Examples of the component form include a PLD, a semiconductor element, an electronic circuit, a module, and a microcomputer.
Examples of semi-finished products include an electronic control unit (ECU) and a system board.
Finished product forms include mobile phones, smartphones, tablets, personal computers (PCs), workstations, and servers.
Other examples include devices with communication functions, such as video cameras, still cameras, and car navigation systems.
また、電子制御装置に、アンテナや通信用インターフェースなど、必要な機能を追加してもよい。 Additionally, necessary functions such as an antenna and a communication interface may be added to the electronic control device.
加えて、本発明は、各実施形態で説明した構成及び機能を有する専用のハードウェアで実現できるだけでなく、メモリやハードディスク等の記録媒体に記録した本発明を実現するためのプログラム、及びこれを実行可能な専用又は汎用CPU及びメモリ等を有する汎用のハードウェアとの組み合わせとしても実現できる。 In addition, the present invention can be realized not only by dedicated hardware having the configuration and functions described in each embodiment, but also as a combination of a program for implementing the present invention recorded on a recording medium such as a memory or hard disk, and general-purpose hardware having a dedicated or general-purpose CPU and memory capable of executing the program.
専用や汎用のハードウェアの非遷移的実体的記録媒体(例えば、外部記憶装置(ハードディスク、USBメモリ、CD/BD等)、又は内部記憶装置(RAM、ROM等))に格納されるプログラムは、記録媒体を介して、あるいは記録媒体を介さずにサーバから通信回線を経由して、専用又は汎用のハードウェアに提供することもできる。これにより、プログラムのアップグレードを通じて常に最新の機能を提供することができる。 Programs stored in non-transient, physical recording media (e.g., external storage devices (hard disks, USB memory, CDs/BDs, etc.) or internal storage devices (RAM, ROM, etc.)) of dedicated or general-purpose hardware can also be provided to the dedicated or general-purpose hardware via the recording media, or via a communication line from a server without using a recording media. This makes it possible to always provide the latest functions through program upgrades.
本発明の電子制御装置は、主として自動車に搭載される無線通信装置を制御する装置を対象としているが、任意の無線通信装置を制御する装置としてもよい。 The electronic control device of the present invention is intended primarily for use as a device that controls wireless communication devices installed in automobiles, but may also be used as a device that controls any wireless communication device.
100 電子制御装置、105 書換要否判定部、106 書換候補探索部、107 書換指示部、109 書換情報要求部 100 Electronic control device, 105 Rewrite necessity determination unit, 106 Rewrite candidate search unit, 107 Rewrite instruction unit, 109 Rewrite information request unit
Claims (13)
前記第1の識別情報には、前記第1の識別情報を用いて送受信したデータ量を示す第1の通信量が紐付けられ、前記第2の識別情報には、前記第2の識別情報を用いて送受信したデータ量を示す第2の通信量が紐付けられており、
前記第1の通信量に基づいて、前記第1の無線通信部の前記記憶領域に記憶された前記第1の識別情報を書き換えるか否かを判定する書換要否判定部(105)と、
前記書換要否判定部が前記第1の識別情報を書き換えると判定した場合に、前記第1の通信量よりも少ない前記第2の通信量に紐付けられた前記第2の識別情報を探索する書換候補探索部(106)と、
前記第1の無線通信部に対し、前記第1の識別情報を前記第2の識別情報に書き換えることを指示する書換指示部(107)と、
を備える、電子制御装置。 An electronic control device (100) for controlling a first wireless communication unit in which first identification information indicating an authority to perform wireless communication is stored in a storage area, and a second wireless communication unit in which second identification information indicating an authority to perform wireless communication is stored in a storage area,
A first communication amount indicating an amount of data transmitted and received using the first identification information is associated with the first identification information, and a second communication amount indicating an amount of data transmitted and received using the second identification information is associated with the second identification information,
a rewrite necessity determination unit (105) that determines whether or not to rewrite the first identification information stored in the storage area of the first wireless communication unit based on the first communication amount;
a rewrite candidate search unit (106) that searches for the second identification information associated with the second communication amount less than the first communication amount when the rewrite necessity determination unit determines that the first identification information is to be rewritten;
a rewrite instruction unit (107) for instructing the first wireless communication unit to rewrite the first identification information to the second identification information;
An electronic control device comprising:
請求項1記載の電子制御装置。 the rewrite necessity determination unit determines to rewrite the first identification information when the first communication amount is equal to or greater than a predetermined threshold.
The electronic control device according to claim 1.
前記書換要否判定部は、前記第1の通信量に加えて、前記第1の通信容量に基づいて、前記第1の識別情報を書き換えるか否かを判定する、
請求項1記載の電子制御装置。 The first identification information is further associated with a first communication capacity indicating an upper limit of an amount of data that can be transmitted and received using the first identification information;
the rewrite necessity determination unit determines whether or not to rewrite the first identification information based on the first communication capacity in addition to the first communication amount.
The electronic control device according to claim 1.
請求項1記載の電子制御装置。 the rewrite necessity determination unit determines whether to rewrite the first identification information based on a planned communication volume indicating a data volume that the first wireless communication unit plans to transmit and receive by using the first identification information, in addition to the first communication volume;
The electronic control device according to claim 1.
請求項1記載の電子制御装置。 the rewrite candidate search unit searches for the second identification information associated with the second communication amount that is smaller than another communication amount indicating an amount of data transmitted and received using identification information different from the first identification information and the second identification information;
The electronic control device according to claim 1.
前記書換要否判定部は、前記第1の通信容量と前記第1の通信量との差分が小さいほど高い頻度で前記第1の識別情報を書き換えるか否かを判定する、
請求項1記載の電子制御装置。 The first identification information is further associated with a first communication capacity indicating an upper limit of an amount of data that can be transmitted and received using the first identification information;
the rewrite necessity determination unit determines whether or not to rewrite the first identification information with a higher frequency as a difference between the first communication capacity and the first communication amount is smaller.
The electronic control device according to claim 1.
前記第1の無線通信部は、第1の移動体に搭載され、
前記第2の無線通信部は、第2の移動体に搭載される、
請求項1~6記載の電子制御装置。 The electronic control device is provided in a server device,
the first wireless communication unit is mounted on a first moving object,
The second wireless communication unit is mounted on a second moving object.
The electronic control device according to any one of claims 1 to 6.
請求項7記載の電子制御装置。 the rewrite instruction unit instructs to rewrite the first identification information to the second identification information after the rewrite necessity determination unit determines to rewrite the first identification information and when the first wireless communication unit starts or ends its startup.
8. The electronic control device according to claim 7.
請求項8記載の電子制御装置。 the rewrite instruction unit instructs the second wireless communication unit to rewrite the second identification information to the first identification information at a timing different from a timing at which the rewrite instruction unit instructs the first wireless communication unit to rewrite the first identification information.
9. The electronic control device according to claim 8.
前記第2の無線通信部は、第2の移動体に搭載される、
請求項1~6記載の電子制御装置。 the electronic control device and the first wireless communication unit are mounted on a first moving body,
The second wireless communication unit is mounted on a second moving object.
The electronic control device according to any one of claims 1 to 6.
前記書換要否判定部が前記第1の識別情報を書き換えると判定した場合に、前記第2の無線通信部に対し、前記第2の識別情報及び前記第2の通信量を要求する書換情報要求部(109)を備える、
請求項10記載の電子制御装置。 The electronic control device further comprises:
a rewrite information request unit (109) for requesting the second identification information and the second communication amount to the second wireless communication unit when the rewrite necessity determination unit determines that the first identification information is to be rewritten;
The electronic control device according to claim 10.
前記第1の識別情報には、前記第1の識別情報を用いて送受信したデータ量を示す第1の通信量が紐付けられ、前記第2の識別情報には、前記第2の識別情報を用いて送受信したデータ量を示す第2の通信量が紐付けられており、
前記第1の通信量に基づいて、前記第1の無線通信部の前記記憶領域に記憶された前記第1の識別情報を書き換えるか否かを判定し、
前記第1の識別情報を書き換えると判定した場合に、前記第1の通信量よりも少ない前記第2の通信量に紐付けられた前記第2の識別情報を探索し、
前記第1の無線通信部に対し、前記第1の識別情報を前記第2の識別情報に書き換えることを指示する、
制御プログラム。
A control program for a wireless communication unit executable by an electronic control device that controls a first wireless communication unit having first identification information indicative of an authority to perform wireless communication stored in a storage area and a second wireless communication unit having second identification information indicative of an authority to perform wireless communication stored in a storage area,
A first communication amount indicating an amount of data transmitted and received using the first identification information is associated with the first identification information, and a second communication amount indicating an amount of data transmitted and received using the second identification information is associated with the second identification information,
determining whether or not to rewrite the first identification information stored in the storage area of the first wireless communication unit based on the first communication amount;
When it is determined that the first identification information is to be rewritten, searching for the second identification information associated with the second communication amount that is smaller than the first communication amount;
instructing the first wireless communication unit to rewrite the first identification information to the second identification information;
Control program.
前記第1の識別情報には、前記第1の識別情報を用いて送受信したデータ量を示す第1の通信量が紐付けられ、前記第2の識別情報には、前記第2の識別情報を用いて送受信したデータ量を示す第2の通信量が紐付けられており、
前記第1の通信量に基づいて、前記第1の無線通信部の前記記憶領域に記憶された前記第1の識別情報を書き換えるか否かを判定し、
前記第1の識別情報を書き換えると判定した場合に、前記第1の通信量よりも少ない前記第2の通信量に紐付けられた前記第2の識別情報を探索し、
前記第1の無線通信部に対し、前記第1の識別情報を前記第2の識別情報に書き換えることを指示する、
制御方法。
A control method for a wireless communication unit executed by an electronic control device that controls a first wireless communication unit having first identification information indicative of an authority to perform wireless communication stored in a storage area and a second wireless communication unit having second identification information indicative of an authority to perform wireless communication stored in a storage area, the method comprising:
A first communication amount indicating an amount of data transmitted and received using the first identification information is associated with the first identification information, and a second communication amount indicating an amount of data transmitted and received using the second identification information is associated with the second identification information,
determining whether or not to rewrite the first identification information stored in the storage area of the first wireless communication unit based on the first communication amount;
When it is determined that the first identification information is to be rewritten, searching for the second identification information associated with the second communication amount that is smaller than the first communication amount;
instructing the first wireless communication unit to rewrite the first identification information to the second identification information;
Control methods.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2021189658A JP7666306B2 (en) | 2021-11-22 | 2021-11-22 | Electronic control device, control program, and control method |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2021189658A JP7666306B2 (en) | 2021-11-22 | 2021-11-22 | Electronic control device, control program, and control method |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JP2023076309A JP2023076309A (en) | 2023-06-01 |
| JP7666306B2 true JP7666306B2 (en) | 2025-04-22 |
Family
ID=86548085
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2021189658A Active JP7666306B2 (en) | 2021-11-22 | 2021-11-22 | Electronic control device, control program, and control method |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP7666306B2 (en) |
Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2012160815A (en) | 2011-01-31 | 2012-08-23 | Sony Corp | Information processing method, information processing device, and communication system |
| JP2018078411A (en) | 2016-11-08 | 2018-05-17 | 株式会社デンソー | SIM management device |
| JP2020088777A (en) | 2018-11-30 | 2020-06-04 | 株式会社デンソー | Management device and vehicle control device |
| JP2021180345A (en) | 2020-05-11 | 2021-11-18 | 株式会社Jvcケンウッド | Management device, and management method |
-
2021
- 2021-11-22 JP JP2021189658A patent/JP7666306B2/en active Active
Patent Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2012160815A (en) | 2011-01-31 | 2012-08-23 | Sony Corp | Information processing method, information processing device, and communication system |
| JP2018078411A (en) | 2016-11-08 | 2018-05-17 | 株式会社デンソー | SIM management device |
| JP2020088777A (en) | 2018-11-30 | 2020-06-04 | 株式会社デンソー | Management device and vehicle control device |
| JP2021180345A (en) | 2020-05-11 | 2021-11-18 | 株式会社Jvcケンウッド | Management device, and management method |
Also Published As
| Publication number | Publication date |
|---|---|
| JP2023076309A (en) | 2023-06-01 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| KR101575447B1 (en) | Method for updating software in vehicle | |
| US10257304B2 (en) | System and method for mobile platform cache using mobile devices | |
| EP2915372B1 (en) | Systems and methods for utilizing hidden access points | |
| CN103081525A (en) | Methods and apparatus to access network connectivity information using predicted locations | |
| US10470341B2 (en) | Movement management device, movement management method, and computer-readable recording medium | |
| JP2019193190A (en) | Edge device, data transmission device, communication system, communication method, and program | |
| US20160259956A1 (en) | Transmission regulation of tag readers | |
| WO2022014193A1 (en) | Log management device and security attack detection/analysis system | |
| US20140204753A1 (en) | Wireless communication device | |
| JP7666306B2 (en) | Electronic control device, control program, and control method | |
| US20200143458A1 (en) | Vehicle management device, car sharing system, and vehicle management method | |
| US12069075B2 (en) | Security monitoring system | |
| CN117062048A (en) | A data analysis method, device and system | |
| JP7461808B2 (en) | Information processing device | |
| CN116195279A (en) | Data transmission device, data transmission method, and data transmission program | |
| JP7393263B2 (en) | information processing equipment | |
| CN116669018B (en) | Data processing method and device based on Internet of things communication | |
| JP7553394B2 (en) | Information processing device | |
| CN112770292B (en) | Unmanned aerial vehicle communication system, unmanned aerial vehicle communication method and device | |
| JP7461788B2 (en) | Information processing device | |
| JP2016111531A (en) | Mobile network management method and mobile network management system | |
| JP6331529B2 (en) | Safety information collection system, safety information collection method, safety information collection program, base station, and mobile station | |
| WO2017110678A1 (en) | Network control device, method for managing virtual network resources, and program | |
| WO2021020070A1 (en) | Communication device and communication control device | |
| US10524184B2 (en) | Forwarding control method and forwarding control apparatus |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20240109 |
|
| A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20241122 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20241126 |
|
| A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20241211 |
|
| 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: 20250311 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20250324 |
|
| R150 | Certificate of patent or registration of utility model |
Ref document number: 7666306 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |