JP2012113394A - Download control system for program and download control method - Google Patents

Download control system for program and download control method Download PDF

Info

Publication number
JP2012113394A
JP2012113394A JP2010259870A JP2010259870A JP2012113394A JP 2012113394 A JP2012113394 A JP 2012113394A JP 2010259870 A JP2010259870 A JP 2010259870A JP 2010259870 A JP2010259870 A JP 2010259870A JP 2012113394 A JP2012113394 A JP 2012113394A
Authority
JP
Japan
Prior art keywords
program
resource information
vehicle device
server
state quantity
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.)
Withdrawn
Application number
JP2010259870A
Other languages
Japanese (ja)
Inventor
Masanori Sakamoto
匡紀 坂本
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Alpine Electronics Inc
Original Assignee
Alpine Electronics Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Alpine Electronics Inc filed Critical Alpine Electronics Inc
Priority to JP2010259870A priority Critical patent/JP2012113394A/en
Publication of JP2012113394A publication Critical patent/JP2012113394A/en
Withdrawn legal-status Critical Current

Links

Images

Abstract

PROBLEM TO BE SOLVED: To provide "a download control system for program and a download control method" in which trouble in operation of an existent program can be avoided by downloading a new program from a server to an on-vehicle unit and executing the program.SOLUTION: A download control system includes a state quantity determination section 30 which uses a state quantity of resources required for executing a program in an on-vehicle unit 20 to determine whether a predetermined condition is satisfied, when there is a download request of the program from the on-vehicle unit 20 to a server 10, and a warning section 31 which issues a warning message when it is determined that the predetermined condition is not satisfied. Prior to actually downloading and executing the program, the warning message is issued when the predetermined condition is not satisfied. Therefore, a user can take such a measure as to prevent the program from being downloaded when the warning is issued or to prevent the program from being operated simultaneously with an existent program even when the program is downloaded.

Description

本発明は、プログラムのダウンロード制御システムおよびダウンロード制御方法に関し、特に、サーバから車載機へプログラムをダウンロードする際の制御技術に関するものである。   The present invention relates to a program download control system and a download control method, and more particularly to a control technique for downloading a program from a server to an in-vehicle device.

近年、インターネットなどの通信ネットワークに接続可能に成された車載機が提供されており、インターネット上のサーバから所望のプログラムを車載機にダウンロードして利用することが可能となっている。ただし、車載機では、パーソナルコンピュータ等とは違って、メモリ容量やCPUパワーなどのリソースの制約が厳しいのが通常である。そのため、複数のプログラムをダウンロードして同時に実行すると、許容できる範囲を超えてリソースを使うことになってしまい、プログラムの動作に支障をきたす恐れがある。   In recent years, an in-vehicle device that can be connected to a communication network such as the Internet has been provided, and a desired program can be downloaded to the in-vehicle device from a server on the Internet. However, in an in-vehicle device, unlike a personal computer or the like, there are usually severe restrictions on resources such as memory capacity and CPU power. For this reason, if a plurality of programs are downloaded and executed at the same time, resources will be used beyond an allowable range, which may hinder the operation of the programs.

特に車載機の場合、運転の安全性を向上させるためのプログラム(例えば、車載カメラで撮影した映像を表示するためのプログラム、ハンズフリーで通話を行うためのプログラムなど)や、走行を支援するためのプログラム(例えば、所望の目的地に容易に到達できるようにしたナビゲーションのためのプログラムなど)が存在する。従来、これらのプログラム以外に、新たなプログラムをダウンロードして同時に実行すると、車載カメラの撮影映像の表示が遅れて安全性に影響を及ぼしたり、走行案内が遅れて間違った道に誘導してしまったりすることがあるという問題があった。   In particular, in the case of in-vehicle devices, to improve driving safety (for example, programs for displaying video captured by an in-vehicle camera, programs for making hands-free calls, etc.) and driving support (For example, a navigation program that makes it easy to reach a desired destination). Conventionally, if you download a new program in addition to these programs and execute it at the same time, the display of the video taken by the in-vehicle camera will be delayed, affecting safety, and the driving guidance will be delayed leading to the wrong road. There was a problem that I could get lost.

なお、アプリケーションの実行に関して、障害の予兆を検知できるようにした技術が提案されている(例えば、特許文献1参照)。この特許文献1では、アプリケーションを実行したときのプロセッサの負荷情報と、アプリケーションを実行したときのハードウェアの構成要素毎のセンサ測定値とを負荷情報毎にあらかじめ対応させてアプリケーションの特性情報として記憶しておく。そして、アプリケーション毎の特性情報から現在の負荷情報に対応する構成要素の状態量の予測値を構成要素毎に求めるとともに、現在の構成要素毎の状態量を現在値として求め、予測値と現在値とに基づいて障害の予兆を判定する。   In addition, regarding the execution of an application, a technique that can detect a sign of a failure has been proposed (see, for example, Patent Document 1). In this patent document, processor load information when an application is executed and sensor measurement values for each hardware component when the application is executed are stored in advance as correspondence information for each load information as application characteristic information. Keep it. Then, the predicted value of the state quantity of the component corresponding to the current load information is obtained for each component from the characteristic information for each application, the state quantity for each current component is obtained as the current value, and the predicted value and the current value are obtained. Based on the above, a failure sign is determined.

特開2010−79811号公報JP 2010-79811 A

特許文献1に係る従来技術によれば、アプリケーションの稼動状況とセンサの出力を監視してハードウェアの障害の予兆を検知することが可能である。しかしながら、実際にアプリケーションを実行している状態でなければ障害の予兆を検知することができない。すなわち、車載機に既に存在する既存プログラムと新たにダウンロードするプログラムとを同時に実行したときの動作がリソースの関係から保障されていない場合であっても、実際にプログラムをダウンロードして実行してみなければ、障害の予兆を検知することができない。   According to the conventional technique according to Patent Document 1, it is possible to detect an indication of a hardware failure by monitoring the operation status of an application and the output of a sensor. However, a sign of a failure cannot be detected unless the application is actually being executed. In other words, even if an existing program that already exists in the in-vehicle device and a newly downloaded program are executed at the same time, even if the operation is not guaranteed due to the resource relationship, the program is actually downloaded and executed. Without it, it is impossible to detect a sign of failure.

本発明は、このような問題を解決するために成されたものであり、サーバから車載機に新たなプログラムをダウンロードして実行することによって既存プログラムの動作に支障をきたすことを回避できるようにすることを目的とする。   The present invention has been made to solve such a problem, and it is possible to avoid the trouble of the operation of the existing program by downloading and executing a new program from the server to the in-vehicle device. The purpose is to do.

上記した課題を解決するために、本発明では、車載機からサーバに対してプログラムのダウンロード要求があったときに、そのプログラムを車載機で実行するときに必要となるリソースの状態量を用いて所定の条件を満たすか否かを判定し、所定の条件を満たさないと判定した場合に警告メッセージを発行するようにしている。   In order to solve the above-described problem, in the present invention, when there is a program download request from the in-vehicle device to the server, the state quantity of the resource required when the program is executed in the in-vehicle device is used. It is determined whether or not a predetermined condition is satisfied, and a warning message is issued when it is determined that the predetermined condition is not satisfied.

上記のように構成した本発明によれば、車載機がサーバからプログラムを実際にダウンロードして実行する前に、ダウンロード要求のあったプログラムを既存プログラムが存在する車載機で実行した場合に必要となるリソースを用いて、所定の条件を満たすか否かが判定され、所定の条件を満たさない場合には警告が出される。そのため、ユーザは、警告が出された場合にはプログラムをダウンロードしないとか、ダウンロードしても既存プログラムと同時には稼動させないといった対策をとることが可能となる。これにより、サーバから車載機に新たなプログラムをダウンロードして実行することによって既存プログラムの動作に支障をきたすことを回避することができる。   According to the present invention configured as described above, it is necessary when the on-vehicle device in which the existing program exists is executed before the on-vehicle device actually downloads and executes the program from the server. It is determined whether or not a predetermined condition is satisfied using a resource, and a warning is issued if the predetermined condition is not satisfied. Therefore, the user can take measures such as not downloading the program when a warning is given, or not operating at the same time as the existing program even if downloaded. Thereby, it is possible to avoid the trouble of the operation of the existing program by downloading and executing a new program from the server to the in-vehicle device.

本実施形態によるプログラムのダウンロード制御システムの構成例を示す図である。It is a figure which shows the structural example of the download control system of the program by this embodiment. 本実施形態によるプログラムのダウンロード制御システムの動作例を示すフローチャートである。It is a flowchart which shows the operation example of the download control system of the program by this embodiment. 本実施形態によるプログラムのダウンロード制御システムの他の構成例を示す図である。It is a figure which shows the other structural example of the download control system of the program by this embodiment.

以下、本発明の一実施形態を図面に基づいて説明する。図1は、本実施形態によるプログラムのダウンロード制御システムの構成例を示す図である。図1に示すように、本実施形態によるプログラムのダウンロード制御システムは、サーバ10と車載機20とがインターネットなどの通信ネットワーク100を介して接続可能に構成され、サーバ10から車載機20にプログラムをダウンロードする際の制御を行うように成されている。   Hereinafter, an embodiment of the present invention will be described with reference to the drawings. FIG. 1 is a diagram illustrating a configuration example of a program download control system according to the present embodiment. As shown in FIG. 1, the program download control system according to the present embodiment is configured such that the server 10 and the in-vehicle device 20 can be connected via a communication network 100 such as the Internet, and the program is transmitted from the server 10 to the in-vehicle device 20. It is designed to control when downloading.

サーバ10は、プログラム記憶部11、必要リソース情報記憶部12、一覧生成部13、必要リソース情報取得部14、プログラム取得部15および通信部16を備えて構成されている。   The server 10 includes a program storage unit 11, a necessary resource information storage unit 12, a list generation unit 13, a necessary resource information acquisition unit 14, a program acquisition unit 15, and a communication unit 16.

プログラム記憶部11は、車載機20に対してダウンロード可能なダウンロード対象のプログラムを1つ以上記憶している。また、プログラム記憶部11は、ダウンロード対象のプログラムの各々について、それらの識別情報(例えば、プログラムID、プログラム名称、プログラムの種類を表すカテゴリ名など)を記憶している。   The program storage unit 11 stores one or more programs to be downloaded that can be downloaded to the in-vehicle device 20. Further, the program storage unit 11 stores identification information (for example, a program ID, a program name, a category name indicating the type of program, etc.) for each program to be downloaded.

必要リソース情報記憶部12は、プログラム記憶部11に記憶されているダウンロード対象のプログラムについて、当該プログラムを車載機20で実行するときに必要となる車載機20のリソースの状態量を、必要リソース情報としてプログラム毎にプログラムIDと関連付けてあらかじめ記憶している。必要リソース情報は、例えば、プログラムを実行するのに必要となるCPUパワー(○○[MIPS/MHz]など)、RAMアクセス量(○○msec周期、××msec占有など)、RAMエリア(○○[MIPS/MHz]など)である。   The necessary resource information storage unit 12 determines the resource state amount of the in-vehicle device 20 required when the in-vehicle device 20 executes the program for the download target program stored in the program storage unit 11. Are stored in advance in association with the program ID for each program. Required resource information includes, for example, CPU power (XX [MIPS / MHz], etc.) required to execute the program, RAM access amount (XX msec cycle, xx msec occupation, etc.), RAM area (XX [MIPS / MHz] etc.).

一覧生成部13は、車載機20からの要求に応じて、ダウンロード対象のプログラムの一覧を生成する。具体的には、一覧生成部13は、プログラム記憶部11に記憶されている各プログラムのプログラムID、プログラム名称、カテゴリ名を用いて、プログラム一覧を生成する。一覧生成部13は、生成したプログラム一覧を通信部16に供給する。   The list generation unit 13 generates a list of programs to be downloaded in response to a request from the in-vehicle device 20. Specifically, the list generation unit 13 generates a program list using the program ID, program name, and category name of each program stored in the program storage unit 11. The list generation unit 13 supplies the generated program list to the communication unit 16.

必要リソース情報取得部14は、車載機20からダウンロード要求のあったプログラムに関する必要リソース情報をプログラムIDと共に必要リソース情報記憶部12から取得し、通信部16に供給する。具体的には、必要リソース情報取得部14は、ダウンロード要求の中に含まれるプログラムIDをもとに、該当するプログラムの必要リソース情報を必要リソース情報記憶部12から取得し、プログラムIDと共に通信部16に供給する。   The necessary resource information acquisition unit 14 acquires the necessary resource information related to the program requested to be downloaded from the in-vehicle device 20 from the necessary resource information storage unit 12 together with the program ID, and supplies it to the communication unit 16. Specifically, the necessary resource information acquisition unit 14 acquires the necessary resource information of the corresponding program from the necessary resource information storage unit 12 based on the program ID included in the download request, and communicates with the program ID. 16 is supplied.

プログラム取得部15は、車載機20からダウンロード実行要求のあったプログラムをプログラムIDと共にプログラム記憶部11から取得し、通信部16に供給する。具体的には、プログラム取得部15は、ダウンロード実行要求の中に含まれるプログラムIDをもとに、該当するプログラムをプログラム記憶部11ら取得し、プログラムIDと共に通信部16に供給する。   The program acquisition unit 15 acquires the program requested to be downloaded from the in-vehicle device 20 from the program storage unit 11 together with the program ID, and supplies the acquired program to the communication unit 16. Specifically, the program acquisition unit 15 acquires the corresponding program from the program storage unit 11 based on the program ID included in the download execution request, and supplies it to the communication unit 16 together with the program ID.

通信部16は、車載機20から通信ネットワーク100を介して種々の要求を受け取り、その応答を通信ネットワーク100を介して車載機20に返すための処理を行う。例えば、通信部16は、車載機20からプログラム一覧の表示要求を受け取り、その表示要求を一覧生成部13に供給する。そして、通信部16は、その表示要求に対する応答として一覧生成部13により生成されたプログラム一覧を受け取り、車載機20に送信する。   The communication unit 16 receives various requests from the in-vehicle device 20 via the communication network 100 and performs processing for returning responses to the in-vehicle device 20 via the communication network 100. For example, the communication unit 16 receives a program list display request from the in-vehicle device 20 and supplies the display request to the list generation unit 13. And the communication part 16 receives the program list produced | generated by the list production | generation part 13 as a response with respect to the display request, and transmits to the vehicle equipment 20.

また、通信部16は、車載機20からプログラムのダウンロード要求を受け取り、そのダウンロード要求の中に含まれるプログラムIDを必要リソース情報取得部14に供給する。すると、そのプログラムIDで示されるプログラムに関する必要リソース情報およびプログラムIDが必要リソース情報取得部14により必要リソース情報記憶部12から取得されるので、通信部16はその必要リソース情報およびプログラムIDを受け取り、車載機20に送信する。なお、ダウンロード要求を行った車載機20においてプログラムIDを把握しているので、プログラムIDは必ずしも送信する必要はない。   The communication unit 16 also receives a program download request from the in-vehicle device 20 and supplies the program ID included in the download request to the necessary resource information acquisition unit 14. Then, since the necessary resource information and the program ID related to the program indicated by the program ID are acquired from the required resource information storage unit 12 by the required resource information acquisition unit 14, the communication unit 16 receives the necessary resource information and the program ID, It transmits to the vehicle equipment 20. Since the in-vehicle device 20 that has made the download request knows the program ID, the program ID does not necessarily have to be transmitted.

また、通信部16は、車載機20からプログラムのダウンロード実行要求を受け取り、そのダウンロード実行要求の中に含まれるプログラムIDをプログラム取得部15に供給する。すると、そのプログラムIDで示されるプログラムおよびプログラムIDがプログラム取得部15によりプログラム記憶部11から取得されるので、通信部16はそのプログラムおよびプログラムIDを受け取り、車載機20に送信する。なお、ダウンロード要求を行った車載機20においてプログラムIDを把握しているので、プログラムIDの送信は必須ではない。   The communication unit 16 also receives a program download execution request from the in-vehicle device 20 and supplies the program ID included in the download execution request to the program acquisition unit 15. Then, since the program and program ID indicated by the program ID are acquired from the program storage unit 11 by the program acquisition unit 15, the communication unit 16 receives the program and the program ID and transmits them to the in-vehicle device 20. Since the in-vehicle device 20 that has made the download request knows the program ID, transmission of the program ID is not essential.

車載機20は、プログラム記憶部21、プログラム実行部22、第2の必要リソース情報記憶部23、要求受付部24、通信部25、表示制御部26、必要リソース情報取得部27、プログラム取得部28、使用リソース情報取得部29、状態量判定部30、警告部31および記録部32を備えて構成されている。   The in-vehicle device 20 includes a program storage unit 21, a program execution unit 22, a second necessary resource information storage unit 23, a request reception unit 24, a communication unit 25, a display control unit 26, a necessary resource information acquisition unit 27, and a program acquisition unit 28. , A use resource information acquisition unit 29, a state quantity determination unit 30, a warning unit 31, and a recording unit 32.

プログラム記憶部21は、車載機20において実行可能なプログラムを1つ以上記憶している。このプログラム記憶部21に記憶されるプログラムは、車載機20の出荷時の初期状態であらかじめインストールされているプログラムのほかに、サーバ10からダウンロードしてインストールされたプログラムが存在する。本実施形態では、プログラム記憶部21に記憶されているプログラムを「既存プログラム」と称する。   The program storage unit 21 stores one or more programs that can be executed in the in-vehicle device 20. The programs stored in the program storage unit 21 include programs that are downloaded from the server 10 and installed in addition to programs that are installed in advance in the initial state of the vehicle-mounted device 20 at the time of shipment. In the present embodiment, the program stored in the program storage unit 21 is referred to as “existing program”.

プログラム実行部22は、プログラム記憶部21に記憶されている既存プログラムの1つまたは複数を実行する。基本的に、プログラム実行部22は、ユーザにより実行の指示があったプログラムを選択的に実行する。ただし、バックグラウンドで常に動作する必要のあるタイプのプログラム(以下、常駐プログラムという)に関しては、車載機20の電源がオンになったときに、ユーザからの指示がなくてもプログラム実行部22が自動的に起動して実行する。   The program execution unit 22 executes one or more existing programs stored in the program storage unit 21. Basically, the program execution unit 22 selectively executes a program that is instructed to be executed by the user. However, for a type of program that must always operate in the background (hereinafter referred to as a resident program), the program execution unit 22 does not receive an instruction from the user when the vehicle-mounted device 20 is turned on. Automatically start and execute.

第2の必要リソース情報記憶部23は、プログラム記憶部21に記憶されている既存プログラムをプログラム実行部22が実行するときに必要となる車載機20のリソースの状態量を、第2の必要リソース情報として既存プログラム毎にプログラムIDと関連付けてあらかじめ記憶している。第2の必要リソース情報も必要リソース情報と同様の情報であり、プログラムを実行するのに必要となるCPUパワー(○○[MIPS/MHz]など)、RAMアクセス量(○○msec周期、××msec占有など)、RAMエリア(○○[MIPS/MHz]など)などから成る。   The second required resource information storage unit 23 uses the second required resource to indicate the state quantity of the resource of the in-vehicle device 20 required when the program execution unit 22 executes the existing program stored in the program storage unit 21. Information is stored in advance in association with the program ID for each existing program. The second necessary resource information is also the same information as the necessary resource information, and the CPU power (XX [MIPS / MHz], etc.) required for executing the program, the RAM access amount (XX msec cycle, XX msec occupation), RAM area (XX [MIPS / MHz], etc.).

要求受付部24は、操作部40に対するユーザの操作を通じて、種々の要求を受け付ける。例えば、要求受付部24は、ダウンロード対象のプログラムの一覧を表示する旨の要求を受け付け、その表示要求を通信部25に供給する。また、要求受付部24は、所望のプログラムのダウンロード要求を受け付け、そのダウンロード要求を通信部25に供給する。また、要求受付部24は、所望のプログラムのダウンロード実行要求を受け付け、そのダウンロード実行要求を通信部25に供給する。なお、ダウンロード要求およびダウンロード実行要求の中には、指定されたプログラムのプログラムIDが含まれる。   The request receiving unit 24 receives various requests through user operations on the operation unit 40. For example, the request reception unit 24 receives a request for displaying a list of programs to be downloaded, and supplies the display request to the communication unit 25. The request receiving unit 24 receives a download request for a desired program and supplies the download request to the communication unit 25. The request receiving unit 24 receives a download execution request for a desired program and supplies the download execution request to the communication unit 25. Note that the download request and the download execution request include the program ID of the designated program.

通信部25は、要求受付部24から受け取った種々の要求を通信ネットワーク100を介してサーバ10に送信し、その応答をサーバ10から通信ネットワーク100を介して受信するための処理を行う。例えば、通信部25は、要求受付部24からプログラム一覧の表示要求を受け取り、その表示要求をサーバ10に送信する。そして、通信部25は、その表示要求に対する応答としてサーバ10から送られてくるプログラム一覧(プログラムID、プログラム名称、カテゴリ名を含む)を受信し、表示制御部26に供給する。表示制御部26は、通信部25から受け取ったプログラム一覧を表示部50に表示する。   The communication unit 25 transmits various requests received from the request reception unit 24 to the server 10 via the communication network 100 and performs processing for receiving responses from the server 10 via the communication network 100. For example, the communication unit 25 receives a program list display request from the request reception unit 24 and transmits the display request to the server 10. The communication unit 25 receives the program list (including the program ID, program name, and category name) sent from the server 10 as a response to the display request, and supplies the received program list to the display control unit 26. The display control unit 26 displays the program list received from the communication unit 25 on the display unit 50.

また、通信部25は、要求受付部24からプログラムのダウンロード要求を受け取り、そのダウンロード要求をサーバ10に送信する。そして、通信部25は、そのダウンロード要求に対する応答としてサーバ10から送られてくる必要リソース情報およびプログラムIDを受信し、表示制御部26および必要リソース情報取得部27に供給する。表示制御部26は、通信部25から受け取った必要リソース情報を表示部50に表示する。   In addition, the communication unit 25 receives a program download request from the request reception unit 24 and transmits the download request to the server 10. Then, the communication unit 25 receives the necessary resource information and the program ID sent from the server 10 as a response to the download request, and supplies it to the display control unit 26 and the necessary resource information acquisition unit 27. The display control unit 26 displays the necessary resource information received from the communication unit 25 on the display unit 50.

また、通信部25は、要求受付部24からプログラムのダウンロード実行要求を受け取り、そのダウンロード実行要求をサーバ10に送信する。そして、通信部25は、そのダウンロード実行要求に対する応答としてサーバ10から送られてくるプログラムおよびプログラムIDを受信し、プログラム取得部28に供給する。   The communication unit 25 receives a program download execution request from the request reception unit 24 and transmits the download execution request to the server 10. Then, the communication unit 25 receives the program and program ID sent from the server 10 as a response to the download execution request, and supplies it to the program acquisition unit 28.

必要リソース情報取得部27は、車載機20から所望のプログラムのダウンロード要求がサーバ10に送られたときに、その応答としてサーバ10から送られてくる必要リソース情報およびプログラムIDを取得する。必要リソース情報取得部27は、サーバ10から必要リソース情報およびプログラムIDを取得した場合、その旨を使用リソース情報取得部29に通知する。   The required resource information acquisition unit 27 acquires the required resource information and program ID sent from the server 10 as a response when a request for downloading a desired program is sent from the in-vehicle device 20 to the server 10. When the necessary resource information acquisition unit 27 acquires the necessary resource information and the program ID from the server 10, the required resource information acquisition unit 27 notifies the use resource information acquisition unit 29 to that effect.

プログラム取得部28は、車載機20から所望のプログラムのダウンロード実行要求がサーバ10に送られたときに、その応答としてサーバ10から送られてくるプログラムおよびプログラムIDを取得する。そして、取得したプログラムおよびプログラムIDをプログラム記憶部11に記憶し、当該プログラムをインストールする。また、プログラム取得部28は、サーバ10からプログラムおよびプログラムIDを取得した場合、その旨を記録部32に通知する。   The program acquisition unit 28 acquires a program and a program ID sent from the server 10 as a response when a download execution request for a desired program is sent from the in-vehicle device 20 to the server 10. And the acquired program and program ID are memorize | stored in the program memory | storage part 11, and the said program is installed. In addition, when the program acquisition unit 28 acquires a program and a program ID from the server 10, the program acquisition unit 28 notifies the recording unit 32 to that effect.

使用リソース情報取得部29は、必要リソース情報を取得した旨の通知を必要リソース情報取得部27から受けた場合、プログラム記憶部21に記憶されている既存プログラムの全てをプログラム実行部22が実行した場合に使用される車載機20のリソースの状態量を、使用リソース情報として第2の必要リソース情報記憶部23から取得する。すなわち、使用リソース情報取得部29は、プログラム記憶部21に記憶されている既存プログラムの全てに関する第2の必要リソース情報を、使用リソース情報として第2の必要リソース情報記憶部23から取得する。   When the used resource information acquisition unit 29 receives a notification from the required resource information acquisition unit 27 that the required resource information has been acquired, the program execution unit 22 has executed all the existing programs stored in the program storage unit 21. The state quantity of the resource of the in-vehicle device 20 used in this case is acquired from the second necessary resource information storage unit 23 as the used resource information. That is, the used resource information acquisition unit 29 acquires second required resource information regarding all existing programs stored in the program storage unit 21 from the second required resource information storage unit 23 as used resource information.

状態量判定部30は、必要リソース情報取得部27により取得された必要リソース情報(車載機20からサーバ10に対してダウンロード要求されたプログラムを仮に実行した場合に使用されるリソースの状態量)と、使用リソース情報取得部29により取得された使用リソース情報(プログラム記憶部21に記憶されている既存プログラムの全てを実行した場合に使用されるリソースの状態量)とに基づいて、必要リソース情報で表されるリソースの状態量と使用リソース情報で表されるリソースの状態量との合計が、あらかじめ定められた許容状態量を超えるか否かを判定する。   The state quantity determination unit 30 includes the necessary resource information acquired by the necessary resource information acquisition unit 27 (the resource state quantity used when a program requested to be downloaded from the in-vehicle device 20 to the server 10 is temporarily executed). Based on the used resource information acquired by the used resource information acquiring unit 29 (the state quantity of the resource used when all the existing programs stored in the program storage unit 21 are executed), the necessary resource information It is determined whether or not the sum of the resource state quantity represented by the resource state quantity represented by the used resource information exceeds a predetermined allowable state quantity.

ここで、許容状態量は、全てのプログラムを同時に実行させた場合に、プログラムの動作に支障をきたす可能性がない、もしくは低いと考えられる値に設定する。動作に支障をきたすとは、例えば、プログラムの同時実行による負荷が大きすぎて、動作レスポンスが所定速度よりも遅くなるケースを言う。このような許容状態量は、事前の実際の測定結果に基づき設定することが可能である。   Here, the allowable state quantity is set to a value that is unlikely to cause a problem in the operation of the program when all the programs are executed at the same time or is considered to be low. The hindrance to the operation means, for example, a case where an operation response becomes slower than a predetermined speed due to an excessive load caused by simultaneous execution of programs. Such an allowable state quantity can be set based on a prior actual measurement result.

なお、本実施形態では、リソースの状態量としてCPUパワー、RAMアクセス量、RAMエリアの3種類を用いている。状態量判定部30は、これら3種類の状態量毎に、必要リソース情報で表される状態量と使用リソース情報で表される状態量との合計を算出し、3種類の状態量毎にあらかじめ設定された許容状態量を超えるか否かをそれぞれ判定する。   In the present embodiment, three types of resource state quantities are used: CPU power, RAM access amount, and RAM area. The state quantity determination unit 30 calculates the total of the state quantity represented by the necessary resource information and the state quantity represented by the used resource information for each of the three types of state quantities, and previously calculates the state quantity for each of the three types of state quantities. It is determined whether or not the set allowable state quantity is exceeded.

警告部31は、状態量判定部30により許容状態量を超えると判定された場合に、警告メッセージを表示制御部26に対して発行する。具体的には、警告部31は、3種類の状態量のうち何れか1つでも許容状態量を超えると状態量判定部30により判定された場合に、警告メッセージを表示制御部26に対して発行する。表示制御部26は、警告部31から発行された警告メッセージを表示部50に表示する。   The warning unit 31 issues a warning message to the display control unit 26 when the state quantity determination unit 30 determines that the allowable state quantity is exceeded. Specifically, the warning unit 31 sends a warning message to the display control unit 26 when the state quantity determination unit 30 determines that any one of the three types of state quantities exceeds the allowable state quantity. Issue. The display control unit 26 displays the warning message issued from the warning unit 31 on the display unit 50.

記録部32は、サーバ10からプログラムを取得(ダウンロード)した旨の通知をプログラム取得部28から受けた場合、そのダウンロードしたプログラムのプログラムIDで特定される必要リソース情報(必要リソース情報取得部27により取得されたもの)を第2の必要リソース情報記憶部23に新たに追加して記憶する。   When the recording unit 32 receives a notification that the program has been acquired (downloaded) from the server 10 from the program acquisition unit 28, the recording unit 32 specifies the necessary resource information specified by the program ID of the downloaded program (by the necessary resource information acquisition unit 27). Acquired) is newly added and stored in the second necessary resource information storage unit 23.

次に、上記のように構成した本実施形態によるプログラムのダウンロード制御システムの動作を説明する。図2は、本実施形態によるプログラムのダウンロード制御システムの動作例を示すフローチャートである。図2に示すフローチャートは、例えば、表示部50に表示されるメニュー画面でプログラムのダウンロードメニューが選択されたときに開始する。   Next, the operation of the program download control system according to the present embodiment configured as described above will be described. FIG. 2 is a flowchart showing an operation example of the program download control system according to the present embodiment. The flowchart shown in FIG. 2 starts when a program download menu is selected on the menu screen displayed on the display unit 50, for example.

まず、車載機20において、プログラム一覧の表示要求を要求受付部24が受け付けると(ステップS1)、通信部25はその表示要求をサーバ10に送信する(ステップS2)。サーバ10では、プログラム一覧の表示要求を通信部16にて受信すると、通信部16はその表示要求を一覧生成部13に供給する。一覧生成部13は、プログラム記憶部11に記憶されている各プログラムのプログラムID、プログラム名称、カテゴリ名を用いてプログラム一覧を生成し、生成したプログラム一覧を通信部16に供給する(ステップS3)。   First, in the in-vehicle device 20, when the request reception unit 24 receives a program list display request (step S1), the communication unit 25 transmits the display request to the server 10 (step S2). In the server 10, when the communication unit 16 receives a program list display request, the communication unit 16 supplies the display request to the list generation unit 13. The list generation unit 13 generates a program list using the program ID, program name, and category name of each program stored in the program storage unit 11, and supplies the generated program list to the communication unit 16 (step S3). .

通信部16は、一覧生成部13から受け取ったプログラム一覧を車載機20に送信する(ステップS4)。車載機20では、サーバ10から送られたプログラム一覧を通信部25にて受信し、表示制御部26に供給する。表示制御部26は、通信部25から受け取ったプログラム一覧を表示部50に表示する(ステップS5)。   The communication unit 16 transmits the program list received from the list generation unit 13 to the in-vehicle device 20 (step S4). In the in-vehicle device 20, the program list sent from the server 10 is received by the communication unit 25 and supplied to the display control unit 26. The display control unit 26 displays the program list received from the communication unit 25 on the display unit 50 (step S5).

プログラム一覧が表示された状態において、要求受付部24は、一覧の中から何れかのプログラムを選択してダウンロード要求が行われたか否かを判定する(ステップS6)。なお、ステップS6の判定は、要求受付部24がダウンロード要求を受け付けるまで繰り返し行われる。そして、要求受付部24が何れかのプログラムに関するダウンロード要求を受け付けた場合、通信部25はそのダウンロード要求をサーバ10に送信する(ステップS7)。   In a state where the program list is displayed, the request receiving unit 24 determines whether a download request has been made by selecting any program from the list (step S6). Note that the determination in step S6 is repeated until the request receiving unit 24 receives a download request. When the request receiving unit 24 receives a download request related to any program, the communication unit 25 transmits the download request to the server 10 (step S7).

サーバ10では、車載機20からプログラムのダウンロード要求を通信部16にて受け付けると、通信部16はそのダウンロード要求を必要リソース情報取得部14に供給する。必要リソース情報取得部14は、ダウンロード要求されたプログラムに関する必要リソース情報を必要リソース情報記憶部12から取得し、取得した必要リソース情報を通信部16に供給する(ステップS8)。通信部16は、必要リソース情報取得部14から受け取った必要リソース情報を車載機20に送信する(ステップS9)。   In the server 10, when the communication unit 16 receives a program download request from the in-vehicle device 20, the communication unit 16 supplies the download request to the necessary resource information acquisition unit 14. The necessary resource information acquisition unit 14 acquires the necessary resource information regarding the program requested to be downloaded from the necessary resource information storage unit 12, and supplies the acquired necessary resource information to the communication unit 16 (step S8). The communication part 16 transmits the required resource information received from the required resource information acquisition part 14 to the vehicle equipment 20 (step S9).

車載機20では、サーバ10から送られた必要リソース情報を通信部25にて受信し、表示制御部26および必要リソース情報取得部27に供給する。表示制御部26は、通信部25から受け取った必要リソース情報を表示部50に表示する(ステップS10)。また、必要リソース情報取得部27は、通信部25から取得した必要リソース情報を状態量判定部30に供給するとともに、必要リソース情報を取得した旨を使用リソース情報取得部29に通知する。   In the in-vehicle device 20, the required resource information sent from the server 10 is received by the communication unit 25 and supplied to the display control unit 26 and the necessary resource information acquisition unit 27. The display control unit 26 displays the necessary resource information received from the communication unit 25 on the display unit 50 (step S10). The required resource information acquisition unit 27 supplies the required resource information acquired from the communication unit 25 to the state quantity determination unit 30 and notifies the use resource information acquisition unit 29 that the required resource information has been acquired.

サーバ10から必要リソース情報を取得した旨の通知を受けた使用リソース情報取得部29は、車載機20が保有している既存プログラムを実行した場合に使用されるリソースの状態量、すなわち、プログラム記憶部21に記憶されている既存プログラムの全てに関する第2の必要リソース情報を、使用リソース情報として第2の必要リソース情報記憶部23から取得する(ステップS11)。   The used resource information acquisition unit 29 that has received the notification that the necessary resource information has been acquired from the server 10, that is, the state quantity of resources used when the existing program held by the in-vehicle device 20 is executed, that is, the program storage The second required resource information regarding all the existing programs stored in the unit 21 is acquired from the second required resource information storage unit 23 as used resource information (step S11).

次に、状態量判定部30は、ダウンロード要求されたプログラムに関してステップS9でサーバ10から送られた必要リソース情報(必要リソース情報取得部27により取得された必要リソース情報)と、ステップS11で第2の必要リソース情報記憶部23から取得した使用リソース情報とに基づいて、必要リソース情報で表されるリソースの状態量と使用リソース情報で表されるリソースの状態量との合計が、あらかじめ定められた許容状態量を超えるか否かを判定する(ステップS12)。   Next, the state quantity determination unit 30 receives the necessary resource information (required resource information acquired by the required resource information acquisition unit 27) sent from the server 10 in step S9 regarding the download requested program, and the second in step S11. Based on the used resource information acquired from the necessary resource information storage unit 23, the total of the resource state amount represented by the necessary resource information and the resource state amount represented by the used resource information is determined in advance. It is determined whether or not the allowable state quantity is exceeded (step S12).

そして、許容状態量を超えると状態量判定部30にて判定された場合、警告部31は、リソースの状態量が許容状態量を超える旨の警告メッセージを発行する(ステップS13)。表示制御部26は、この警告メッセージを表示部50に表示する。なお、リソースの状態量が許容状態量を超えないと状態量判定部30にて判定された場合、ステップS13の処理は行わない。   If the state quantity determination unit 30 determines that the allowable state quantity is exceeded, the warning unit 31 issues a warning message to the effect that the resource state quantity exceeds the allowable state quantity (step S13). The display control unit 26 displays this warning message on the display unit 50. If the state quantity determination unit 30 determines that the resource state quantity does not exceed the allowable state quantity, the process of step S13 is not performed.

次に、要求受付部24は、ダウンロード要求したプログラムについて必要リソース情報や警告メッセージを見たユーザにより、そのプログラムを実際にダウンロードすることを要求するダウンロード実行要求が行われたか否かを判定する(ステップS14)。ここで、ステップS10で必要リソース情報を表示部50に表示してから所定時間以内にダウンロード実行要求を要求受付部24が受け付けない場合、図2の処理は終了する。   Next, the request receiving unit 24 determines whether or not a download execution request for actually downloading the program has been made by the user who has viewed the necessary resource information and the warning message for the requested program. Step S14). Here, when the request reception unit 24 does not receive the download execution request within a predetermined time after the necessary resource information is displayed on the display unit 50 in step S10, the process of FIG. 2 ends.

一方、所定時間以内にダウンロード実行要求を要求受付部24が受け付けた場合、通信部25はそのダウンロード実行要求をサーバ10に送信する(ステップS15)。サーバ10では、車載機20からプログラムのダウンロード実行要求を通信部16にて受信すると、通信部16はそのダウンロード実行要求をプログラム取得部15に供給する。   On the other hand, when the request reception unit 24 receives a download execution request within a predetermined time, the communication unit 25 transmits the download execution request to the server 10 (step S15). In the server 10, when the communication unit 16 receives a program download execution request from the in-vehicle device 20, the communication unit 16 supplies the download execution request to the program acquisition unit 15.

プログラム取得部15は、ダウンロード実行要求のあったプログラムをプログラム記憶部11から取得し、取得したプログラムを通信部16に供給する(ステップS16)。通信部16は、プログラム取得部15から受け取ったプログラムを車載機20に送信する(ステップS17)。   The program acquisition unit 15 acquires the program requested to be downloaded from the program storage unit 11, and supplies the acquired program to the communication unit 16 (step S16). The communication part 16 transmits the program received from the program acquisition part 15 to the vehicle equipment 20 (step S17).

車載機20では、サーバ10から送られたプログラムを通信部25にて受信し、プログラム取得部28に供給する。プログラム取得部28は、通信部25から取得したプログラムをプログラム記憶部11に記憶してインストールする(ステップS18)。また、プログラム取得部28は、サーバ10からプログラムを取得した旨を記録部32に通知する。   In the in-vehicle device 20, the program sent from the server 10 is received by the communication unit 25 and supplied to the program acquisition unit 28. The program acquisition unit 28 stores the program acquired from the communication unit 25 in the program storage unit 11 and installs it (step S18). Further, the program acquisition unit 28 notifies the recording unit 32 that the program has been acquired from the server 10.

サーバ10からプログラムを取得(ダウンロード)した旨の通知を受けた記録部32は、そのダウンロードしたプログラムのプログラムIDで特定される必要リソース情報(必要リソース情報取得部27により取得されたもの)を第2の必要リソース情報記憶部23に新たに追加して記憶する(ステップS19)。これにより、図2の処理は終了する。   Receiving the notification that the program has been acquired (downloaded) from the server 10, the recording unit 32 receives the necessary resource information (obtained by the necessary resource information acquiring unit 27) specified by the program ID of the downloaded program. 2 is newly added and stored in the required resource information storage unit 23 (step S19). Thereby, the process of FIG. 2 ends.

以上詳しく説明したように、本実施形態では、車載機20からサーバ10に対してプログラムのダウンロード要求があったときに、そのプログラムを車載機20で実行するときに必要となるリソースの状態量(サーバ10から車載機20に送られる必要リソース情報)と、車載機20が保有している既存プログラムの実行により使用されるリソースの状態量(車載機20にて取得される使用リソース情報)との合計が、あらかじめ定められた許容状態量を超えるか否かを判定し、許容状態量を超える場合に警告メッセージを発行するようにしている。   As described above in detail, in the present embodiment, when there is a program download request from the in-vehicle device 20 to the server 10, the state quantity of resources required when the program is executed by the in-vehicle device 20 ( Necessary resource information sent from the server 10 to the in-vehicle device 20) and state quantities of resources used by executing the existing program held by the in-vehicle device 20 (used resource information acquired by the in-vehicle device 20) It is determined whether or not the total exceeds a predetermined allowable state quantity, and a warning message is issued when the total exceeds the allowable state quantity.

このように構成した本実施形態によれば、車載機20がサーバ10からプログラムを実際にダウンロードして実行する前に、ダウンロード要求のあったプログラムと既存プログラムとを車載機20で同時に実行した場合に許容範囲を超えて車載機20のリソースを使うことになるかどうかが判定され、許容範囲を超える場合には警告が出される。そのため、ユーザは、警告が出された場合にはプログラムをダウンロードしないとか、ダウンロードしても既存プログラムと同時には稼動させないといった対策をとることが可能となる。これにより、サーバ10から車載機20に新たなプログラムをダウンロードして実行することによって既存プログラムの動作に支障をきたすことを回避することができる。   According to the present embodiment configured as described above, when the in-vehicle device 20 simultaneously executes the program requested to be downloaded and the existing program before the in-vehicle device 20 actually downloads and executes the program from the server 10. It is determined whether or not the resources of the in-vehicle device 20 are to be used beyond the allowable range. If the allowable range is exceeded, a warning is issued. Therefore, the user can take measures such as not downloading the program when a warning is given, or not operating at the same time as the existing program even if downloaded. As a result, it is possible to avoid the trouble of the operation of the existing program by downloading and executing a new program from the server 10 to the in-vehicle device 20.

なお、上記実施形態では、ダウンロード要求のあったプログラムに関する必要リソース情報をサーバ10から車載機20に送り、車載機20にてリソースの状態量の合計が許容状態量を超えるか否かを判定するようにしているが、本発明はこれに限定されない。例えば、既存プログラムに関する使用リソース情報を車載機20からサーバ10に送り、サーバ10にてリソースの状態量の合計が許容状態量を超えるか否かを判定するようにしてもよい。この場合、リソースの状態量の合計が許容状態量を超えると判定されたときは、サーバ10が車載機20に対して警告メッセージを発行する。   In the above embodiment, the necessary resource information related to the program requested to be downloaded is sent from the server 10 to the in-vehicle device 20, and the in-vehicle device 20 determines whether or not the sum of the resource state quantities exceeds the allowable state quantity. However, the present invention is not limited to this. For example, the use resource information related to the existing program may be sent from the in-vehicle device 20 to the server 10, and the server 10 may determine whether or not the total of the resource state quantities exceeds the allowable state quantity. In this case, the server 10 issues a warning message to the in-vehicle device 20 when it is determined that the sum of the resource state quantities exceeds the allowable state quantity.

図3は、このようにサーバ10にて判定を行う場合におけるプログラムのダウンロード制御システムの構成例を示す図である。なお、この図3において、図1に示した符号と同一の符号を付したものは同一の機能を有するものであるので、ここでは重複する説明を省略する。   FIG. 3 is a diagram illustrating a configuration example of a program download control system when the determination is performed by the server 10 as described above. 3 that have the same reference numerals as those shown in FIG. 1 have the same functions, redundant description thereof will be omitted here.

図3に示すように、車載機20’は、図1に示した状態量判定部30および警告部31を備えていない。また、車載機20’は、図1に示した必要リソース情報取得部27および使用リソース情報取得部29の代わりに、若干機能が異なる必要リソース情報取得部27’および使用リソース情報取得部29’を備えている。   As illustrated in FIG. 3, the in-vehicle device 20 ′ does not include the state quantity determination unit 30 and the warning unit 31 illustrated in FIG. 1. In addition, the in-vehicle device 20 ′ includes a necessary resource information acquisition unit 27 ′ and a usage resource information acquisition unit 29 ′ having slightly different functions instead of the necessary resource information acquisition unit 27 and the usage resource information acquisition unit 29 illustrated in FIG. I have.

また、サーバ10’は、図1に示した構成に加えて、使用リソース情報取得部17、状態量判定部30’および警告部31’を備えている。また、サーバ10’は、図1に示した必要リソース情報取得部14の代わりに、若干機能が異なる必要リソース情報取得部14’を備えている。   In addition to the configuration shown in FIG. 1, the server 10 ′ includes a use resource information acquisition unit 17, a state quantity determination unit 30 ′, and a warning unit 31 ′. Further, the server 10 ′ includes a necessary resource information acquisition unit 14 ′ having slightly different functions instead of the necessary resource information acquisition unit 14 illustrated in FIG. 1.

サーバ10’の必要リソース情報取得部14’は、必要リソース情報記憶部12から取得した必要リソース情報を、通信部16に加えて状態量判定部30’にも供給する。車載機20’の使用リソース情報取得部29’は、第2の必要リソース情報記憶部23から取得した使用リソース情報を通信部25に供給する。通信部25は、使用リソース情報取得部29から受け取った使用リソース情報をサーバ10’に送信する。   The required resource information acquisition unit 14 ′ of the server 10 ′ supplies the required resource information acquired from the required resource information storage unit 12 to the state quantity determination unit 30 ′ in addition to the communication unit 16. The used resource information acquisition unit 29 ′ of the in-vehicle device 20 ′ supplies the used resource information acquired from the second necessary resource information storage unit 23 to the communication unit 25. The communication unit 25 transmits the usage resource information received from the usage resource information acquisition unit 29 to the server 10 ′.

サーバ10’の使用リソース情報取得部17は、車載機20’から送られた使用リソース情報を、通信部16を介して受け取る。そして、受け取った使用リソース情報を状態量判定部30’に供給する。状態量判定部30’は、必要リソース情報取得部14’により取得された必要リソース情報と、使用リソース情報取得部17により取得された使用リソース情報とに基づいて、必要リソース情報で表されるリソースの状態量と使用リソース情報で表されるリソースの状態量との合計が許容状態量を超えるか否かを判定する。   The used resource information acquisition unit 17 of the server 10 ′ receives the used resource information transmitted from the in-vehicle device 20 ′ via the communication unit 16. The received use resource information is supplied to the state quantity determination unit 30 '. The state quantity determination unit 30 ′ is a resource represented by the required resource information based on the required resource information acquired by the required resource information acquisition unit 14 ′ and the used resource information acquired by the used resource information acquisition unit 17. It is determined whether the total of the state quantity of the resource and the state quantity of the resource represented by the used resource information exceeds the allowable state quantity.

警告部31’は、状態量判定部30’により許容状態量を超えると判定された場合に、警告メッセージを通信部16に対して発行する。通信部16は、警告部31’から受け取った警告メッセージを車載機20’に送信する。車載機20’では、通信部25がこの警告メッセージを受信して表示制御部26に供給する。表示制御部26は、通信部25から受け取った警告メッセージを表示部50に表示する。   The warning unit 31 ′ issues a warning message to the communication unit 16 when the state quantity determination unit 30 ′ determines that the allowable state quantity is exceeded. The communication unit 16 transmits the warning message received from the warning unit 31 'to the in-vehicle device 20'. In the in-vehicle device 20 ′, the communication unit 25 receives this warning message and supplies it to the display control unit 26. The display control unit 26 displays the warning message received from the communication unit 25 on the display unit 50.

上述のように、必要リソース情報取得部14’が必要リソース情報記憶部12から取得した必要リソース情報を通信部16に供給した場合、通信部16はその必要リソース情報を車載機20’に送信する。車載機20’では、通信部25がこの必要リソース情報を受信して表示制御部26および必要リソース情報取得部27’に供給する。必要リソース情報取得部27’は、取得した必要リソース情報を記録部32に供給する。   As described above, when the required resource information acquisition unit 14 ′ supplies the required resource information acquired from the required resource information storage unit 12 to the communication unit 16, the communication unit 16 transmits the required resource information to the in-vehicle device 20 ′. . In the in-vehicle device 20 ′, the communication unit 25 receives this necessary resource information and supplies it to the display control unit 26 and the necessary resource information acquisition unit 27 ′. The necessary resource information acquisition unit 27 ′ supplies the acquired necessary resource information to the recording unit 32.

また、上記実施形態では、プログラムのダウンロード要求に応じて必要リソース情報をサーバ10から車載機20に送信し、リソースの状態量の合計が許容状態量を超えるか否かの判定を行った後に、ダウンロード実行要求が行われた場合にプログラムをサーバ10から車載機20にダウンロードするようにしているが、本発明はこれに限定されない。例えば、プログラムのダウンロード要求が行われたときに、必要リソース情報と共にプログラムをサーバ10から車載機20にダウンロードする。そして、その後にリソースの状態量の合計が許容状態量を超えるか否かを判定し、超えると判定した場合に警告メッセージを発行するようにしてもよい。   Further, in the above-described embodiment, the necessary resource information is transmitted from the server 10 to the vehicle-mounted device 20 in response to the program download request, and after determining whether or not the total state quantity of resources exceeds the allowable state quantity, Although a program is downloaded from the server 10 to the vehicle-mounted device 20 when a download execution request is made, the present invention is not limited to this. For example, when a program download request is made, the program is downloaded from the server 10 to the in-vehicle device 20 together with necessary resource information. Then, after that, it is determined whether or not the total of the state quantities of the resources exceeds the allowable state quantity, and a warning message may be issued when it is determined that it exceeds.

仮に、全ての既存プログラムが必要とするリソースの状態量とダウンロードするプログラムが必要とするリソースの状態量との合計が計算上は許容状態量を超える場合であっても、車載機20へのダウンロードとインストールのみを行い、インストールしたプログラムの実行まで行わなければ、リソースの状態量の合計が許容状態量を直ちに超えるわけではない。よって、新たなプログラムのダウンロード(もしくはインストール)が終わった後で、リソースの状態量の合計が許容状態量を超えるか否かを判定して警告メッセージを発行すれば、警告メッセージを見たユーザは、全てのプログラムを同時には稼動させないといった対策をとることが可能となる。これにより、サーバ10から車載機20に新たなプログラムをダウンロードして実行することによって既存プログラムの動作に支障をきたすことを回避することができる。   Even if the total of the resource state quantity required by all the existing programs and the resource state quantity required by the downloaded program exceeds the allowable state quantity in the calculation, downloading to the in-vehicle device 20 is possible. If only the installation is performed and the installed program is not executed, the total amount of resource states does not immediately exceed the allowable state amount. Therefore, after downloading (or installing) a new program, if a warning message is issued by determining whether or not the total of the resource state quantities exceeds the allowable state quantity, the user who sees the warning message Therefore, it is possible to take measures such that all programs are not operated simultaneously. As a result, it is possible to avoid the trouble of the operation of the existing program by downloading and executing a new program from the server 10 to the in-vehicle device 20.

なお、ダウンロードするプログラムが常駐プログラムの場合、プログラムのダウンロード、インストールおよび実行までが一連の動作として自動的に行われる可能性がある。そこで、プログラムのダウンロード要求のあったときに、まずはそのプログラムが常駐プログラムか否かを判定する。そして、常駐プログラムでなければ必要リソース情報と共にプログラムをダウンロードし、その後にリソースの状態量の合計が許容状態量を超えるか否かの判定を行う。一方、常駐プログラムであれば、ダウンロード要求に応じて必要リソース情報のみを送信して判定を行い、その後、ダウンロード実行要求が行われた場合にプログラムをダウンロードするようにしてもよい。   When the program to be downloaded is a resident program, there is a possibility that the program download, installation and execution are automatically performed as a series of operations. Therefore, when a program download request is made, it is first determined whether or not the program is a resident program. If the program is not a resident program, the program is downloaded together with necessary resource information, and thereafter, it is determined whether or not the total of the resource state quantities exceeds the allowable state quantity. On the other hand, if it is a resident program, only the necessary resource information may be transmitted in response to the download request to make a determination, and then the program may be downloaded when a download execution request is made.

また、上記実施形態では、車載機20のプログラム記憶部21に記憶されている既存プログラムの全てを実行する場合に必要なリソースの状態量を使用リソース情報として取得する例について説明したが、本発明はこれに限定されない。例えば、プログラム記憶部21に記憶されている既存プログラムのうち、実行中の既存プログラムが必要とするリソースの状態量を使用リソース情報として取得するようにしてもよい。この場合において、使用リソース情報取得部29は、車載機20における既存プログラムの稼動状況を監視し、当該既存プログラムの実行により使用中のリソースの状態量を使用リソース情報として第2の必要リソース情報記憶部23から取得する。   Moreover, although the said embodiment demonstrated the example which acquires the state quantity of a resource required when executing all the existing programs memorize | stored in the program memory | storage part 21 of the vehicle equipment 20 as use resource information, this invention Is not limited to this. For example, among the existing programs stored in the program storage unit 21, the resource state amount required by the existing program being executed may be acquired as the used resource information. In this case, the used resource information acquisition unit 29 monitors the operation status of the existing program in the in-vehicle device 20 and stores the second required resource information as the used resource information by using the state quantity of the resource being used by the execution of the existing program. Obtained from the unit 23.

ダウンロードしようとするプログラムが常駐プログラムで、ダウンロードからインストールを経て実行までが自動実行される場合であっても、現在実行中の既存プログラムが必要とするリソースの状態量と、ダウンロードする常駐プログラムが必要とするリソースの状態量との合計が許容状態量を超えていなければ、当該常駐プログラムをダウンロードして実行することが可能である。   Even if the program to be downloaded is a resident program that automatically runs from download to installation and execution, the resource state amount required by the currently running program and the resident program to be downloaded are required. If the sum of the state quantities of the resources does not exceed the allowable state quantity, the resident program can be downloaded and executed.

また、上記実施形態では、プログラム一覧の中から何れかのプログラムを選択してダウンロード要求が行われたときに、サーバ10から車載機20に必要リソース情報を送信して表示するようにしたが、本発明はこれに限定されない。例えば、プログラム一覧の表示要求が行われたときに、サーバ10がプログラム記憶部11に保有している各プログラムの必要リソース情報をプログラム一覧と共に車載機20に送信し、表示部50に表示するようにしてもよい。このようにすれば、ユーザがプログラム一覧の中からダウンロード対象として所望のプログラムを選択するときに、負荷の重いプログラムかどうかを考慮しながら選択することが可能となる。   Further, in the above embodiment, when any program is selected from the program list and a download request is made, the necessary resource information is transmitted from the server 10 to the in-vehicle device 20 and displayed. The present invention is not limited to this. For example, when a program list display request is made, the server 10 transmits the necessary resource information of each program stored in the program storage unit 11 to the in-vehicle device 20 together with the program list and displays the information on the display unit 50. It may be. In this way, when the user selects a desired program as a download target from the program list, it is possible to select the program while considering whether it is a heavy program.

また、上記実施形態では、プログラムの必要リソース情報として、CPUパワー、RAMアクセス量、RAMエリアを用いる例について説明したが、本発明はこれに限定されない。例えば、プログラム割り込みの発生頻度や優先順位、タイマによる割り込みの発生頻度、DMA(Direct Memory Access)の発生頻度などを用いてもよい。   Moreover, although the said embodiment demonstrated the example which uses CPU power, RAM access amount, and a RAM area as required resource information of a program, this invention is not limited to this. For example, program interrupt generation frequency and priority, timer interrupt generation frequency, DMA (Direct Memory Access) generation frequency, and the like may be used.

この場合は、既存プログラムの使用リソース情報は用いず、ダウンロード対象のプログラムについて必要リソース情報で示されるリソースの状態量が許容状態量を超えたか否かを判定すればよい。このようにすれば、ダウンロードするプログラムによる割り込み処理やDMA処理によって既存プログラムの動作に遅延をきたすおそれがある場合に警告メッセージを発行することができる。   In this case, it is only necessary to determine whether or not the state quantity of the resource indicated by the necessary resource information for the program to be downloaded exceeds the allowable state quantity without using the used resource information of the existing program. In this way, a warning message can be issued when there is a risk of delaying the operation of the existing program due to interrupt processing or DMA processing by the program to be downloaded.

また、ダウンロードするプログラムの必要リソース情報として、プログラムが使用するI/Oの状態量(スピーカの数と使用チャンネル、通信ラインの数と種類、動画出力ポートの使用の有無など)、プログラムが使用する周辺チップ(オーディオDSPやビデオDSPなど)のクロック速度などを用いてもよい。   Also, as the required resource information of the program to be downloaded, the state quantity of I / O used by the program (number of speakers and channels used, number and type of communication lines, use / non-use of video output port, etc.), used by the program The clock speed of a peripheral chip (such as an audio DSP or a video DSP) may be used.

この場合は、既存プログラムが必要とするリソースの状態量とダウンロード対象のプログラムが必要とするリソースの状態量との合計が許容状態量を超えたか否かを判定する代わりに、ダウンロード対象のプログラムが使用するI/Oの状態量や周辺チップのクロック速度を車載機20のリソースが満たしているか否かを判定すればよい。このようにすれば、プログラムをダウンロードしても、そのプログラムを実行するのに十分なリソースが車載機20にないときに警告メッセージを発行することができる。   In this case, instead of determining whether the sum of the resource state quantity required by the existing program and the resource state quantity required by the download target program exceeds the allowable state quantity, the download target program What is necessary is just to determine whether the resources of the vehicle-mounted device 20 satisfy the state quantity of I / O to be used and the clock speed of the peripheral chip. In this way, even if the program is downloaded, a warning message can be issued when the in-vehicle device 20 does not have sufficient resources to execute the program.

また、上記実施形態では、リソースの状態量の合計が許容状態量を超えたと判定した場合に警告メッセージを発行する例について説明したが、本発明はこれに限定されない。例えば、警告メッセージの発行に加えてまたは代えて、該当プログラムのダウンロードを禁止するように制御してもよい。   In the above embodiment, an example has been described in which a warning message is issued when it is determined that the total state quantity of resources exceeds the allowable state quantity, but the present invention is not limited to this. For example, in addition to or instead of issuing a warning message, the program may be controlled to be prohibited from being downloaded.

その他、上記実施形態は、何れも本発明を実施するにあたっての具体化の一例を示したものに過ぎず、これによって本発明の技術的範囲が限定的に解釈されてはならないものである。すなわち、本発明はその要旨、またはその主要な特徴から逸脱することなく、様々な形で実施することができる。   In addition, each of the above-described embodiments is merely an example of implementation in carrying out the present invention, and the technical scope of the present invention should not be construed in a limited manner. That is, the present invention can be implemented in various forms without departing from the gist or the main features thereof.

10,10’ サーバ
12 必要リソース情報記憶部
14 必要リソース情報取得部
20,20’ 車載機
23 第2の必要リソース情報記憶部
27,27’ 必要リソース情報取得部
29,29’ 使用リソース情報取得部
30,30’ 状態量判定部
31,31’ 警告部
10, 10 ′ server 12 required resource information storage unit 14 required resource information acquisition unit 20, 20 ′ vehicle-mounted device 23 second required resource information storage unit 27, 27 ′ required resource information acquisition unit 29, 29 ′ used resource information acquisition unit 30, 30 ′ state quantity determination unit 31, 31 ′ warning unit

Claims (7)

サーバと車載機とが通信ネットワークを介して接続可能に構成され、上記サーバから上記車載機にプログラムをダウンロードする際の制御を行うダウンロード制御システムであって、
上記サーバは、ダウンロード対象のプログラムについて、当該プログラムを上記車載機で実行するときに必要となるリソースの状態量である必要リソース情報を上記プログラム毎にあらかじめ記憶する必要リソース情報記憶部を備え、
上記サーバまたは上記車載機は、上記車載機から上記サーバに対してダウンロードが要求されたプログラムに関して上記必要リソース情報記憶部から取得した上記必要リソース情報を用いて、所定の条件を満たすか否かを判定する状態量判定部と、
上記状態量判定部により上記所定の条件を満たさないと判定された場合に、警告メッセージを発行する警告部とを備えたことを特徴とするプログラムのダウンロード制御システム。
A server and an in-vehicle device are configured to be connectable via a communication network, and a download control system that performs control when downloading a program from the server to the in-vehicle device,
The server includes a required resource information storage unit that stores in advance, for each program, necessary resource information that is a state quantity of a resource that is required when the program is downloaded on the in-vehicle device for the program to be downloaded.
Whether the server or the in-vehicle device satisfies a predetermined condition using the necessary resource information acquired from the necessary resource information storage unit with respect to a program requested to be downloaded from the in-vehicle device to the server. A state quantity determination unit for determining;
A program download control system comprising: a warning unit that issues a warning message when the state quantity determination unit determines that the predetermined condition is not satisfied.
上記車載機は、当該車載機が保有している既存プログラムの実行により使用されるリソースの状態量である使用リソース情報を取得する使用リソース情報取得部を備え、
上記状態量判定部は、上記車載機から上記サーバに対してダウンロードが要求されたプログラムに関して上記必要リソース情報記憶部から取得した上記必要リソース情報と、上記使用リソース情報取得部により取得した上記使用リソース情報とに基づいて、上記必要リソース情報で表されるリソースの状態量と上記使用リソース情報で表されるリソースの状態量との合計が、あらかじめ定められた許容状態量を超えるか否かを判定することによって、上記所定の条件を満たすか否かを判定することを特徴とする請求項1に記載のプログラムのダウンロード制御システム。
The onboard device includes a use resource information acquisition unit that acquires use resource information that is a state quantity of a resource used by executing an existing program held by the onboard device,
The state quantity determination unit includes the required resource information acquired from the required resource information storage unit regarding the program requested to be downloaded from the in-vehicle device to the server, and the used resource acquired by the used resource information acquiring unit. Based on the information, it is determined whether the sum of the resource state quantity represented by the necessary resource information and the resource state quantity represented by the used resource information exceeds a predetermined allowable state quantity. The program download control system according to claim 1, wherein it is determined whether or not the predetermined condition is satisfied.
上記状態量判定部は、上記車載機から上記サーバに対してダウンロードが要求されたプログラムに関して上記必要リソース情報記憶部から取得した上記必要リソース情報に基づいて、上記必要リソース情報で表されるリソースの状態量が、あらかじめ定められた許容状態量を超えるか否かを判定することによって、上記所定の条件を満たすか否かを判定することを特徴とする請求項1に記載のプログラムのダウンロード制御システム。 The state quantity determination unit, based on the required resource information acquired from the required resource information storage unit with respect to a program requested to be downloaded from the in-vehicle device to the server, of the resource represented by the required resource information 2. The program download control system according to claim 1, wherein it is determined whether or not the predetermined condition is satisfied by determining whether or not the state quantity exceeds a predetermined allowable state quantity. . 上記車載機は、当該車載機が保有している既存プログラムを実行するときに必要となるリソースの状態量である第2の必要リソース情報を上記既存プログラム毎にあらかじめ記憶する第2の必要リソース情報記憶部を更に備え、
上記使用リソース情報取得部は、上記第2の必要リソース情報記憶部に記憶されている上記第2の必要リソース情報を用いて、上記車載機が保有している既存プログラムの全てを実行した場合に使用されるリソースの状態量を上記使用リソース情報として取得することを特徴とする請求項2または3に記載のプログラムのダウンロード制御システム。
The on-vehicle device stores second necessary resource information, which is second necessary resource information that is a state quantity of a resource required when executing the existing program held by the on-vehicle device, for each existing program in advance. A storage unit;
When the used resource information acquisition unit executes all existing programs held by the in-vehicle device using the second required resource information stored in the second required resource information storage unit. 4. The program download control system according to claim 2, wherein a state quantity of a resource to be used is acquired as the used resource information.
上記車載機は、当該車載機が保有している既存プログラムを実行するときに必要となるリソースの状態量である第2の必要リソース情報を上記既存プログラム毎にあらかじめ記憶する第2の必要リソース情報記憶部を更に備え、
上記使用リソース情報取得部は、上記第2の必要リソース情報記憶部に記憶されている上記第2の必要リソース情報を用いて、上記車載機が保有している既存プログラムのうち実行中の既存プログラムにより使用されるリソースの状態量を上記使用リソース情報として取得することを特徴とする請求項2または3に記載のプログラムのダウンロード制御システム。
The on-vehicle device stores second necessary resource information, which is second necessary resource information that is a state quantity of a resource required when executing the existing program held by the on-vehicle device, for each existing program in advance. A storage unit;
The used resource information acquisition unit uses the second required resource information stored in the second required resource information storage unit to execute an existing program being executed from among existing programs held by the in-vehicle device. 4. The program download control system according to claim 2, wherein a state quantity of a resource used by the computer is acquired as the used resource information.
サーバから通信ネットワークを介して車載機にプログラムをダウンロードする際の制御を行うプログラムのダウンロード制御方法であって、
上記サーバが、上記車載機からプログラムのダウンロード要求を受け付ける第1のステップと、
上記車載機からプログラムのダウンロード要求を受け付けた場合、上記サーバが、当該サーバが保有しているダウンロード対象のプログラムを上記車載機で実行するときに必要となるリソースの状態量である必要リソース情報を上記プログラム毎にあらかじめ記憶している必要リソース情報記憶部から、上記ダウンロード要求されたプログラムに関する上記必要リソース情報を取得し、取得した上記必要リソース情報を上記車載機に送信する第2のステップと、
上記車載機が、上記ダウンロード要求されたプログラムに関して上記第2のステップで上記サーバから送られた上記必要リソース情報を用いて、所定の条件を満たすか否かを判定する第3のステップと、
上記第3のステップで上記所定の条件を満たさないと判定された場合に、上記車載機が警告メッセージを発行する第4のステップとを有することを特徴とするプログラムのダウンロード制御方法。
A program download control method for performing control when downloading a program from a server to an in-vehicle device via a communication network,
A first step in which the server receives a program download request from the in-vehicle device;
When a request for downloading a program is received from the in-vehicle device, the server obtains necessary resource information, which is a state quantity of a resource required when the server executes the program to be downloaded held by the server. A second step of acquiring the required resource information related to the download requested program from the required resource information storage unit stored in advance for each program, and transmitting the acquired required resource information to the in-vehicle device;
A third step in which the in-vehicle device determines whether or not a predetermined condition is satisfied using the necessary resource information sent from the server in the second step with respect to the program requested to be downloaded;
A program download control method, comprising: a fourth step in which the in-vehicle device issues a warning message when it is determined in the third step that the predetermined condition is not satisfied.
サーバから通信ネットワークを介して車載機にプログラムをダウンロードする際の制御を行うプログラムのダウンロード制御方法であって、
上記サーバが、上記車載機からプログラムのダウンロード要求を受け付ける第1のステップと、
上記車載機からプログラムのダウンロード要求を受け付けた場合、上記サーバが、当該サーバが保有しているダウンロード対象のプログラムを上記車載機で実行するときに必要となるリソースの状態量である必要リソース情報を上記プログラム毎にあらかじめ記憶している必要リソース情報記憶部から、上記ダウンロード要求されたプログラムに関する上記必要リソース情報を取得する第2のステップと、
上記サーバが、上記ダウンロード要求されたプログラムに関して上記第2のステップで取得した上記必要リソース情報に基づいて、上記必要リソース情報で表されるリソースの状態量が所定の条件を満たすか否かを判定する第3のステップと、
上記第3のステップで上記所定の条件を満たさないと判定された場合に、上記サーバが上記車載機に対して警告メッセージを発行する第4のステップとを有することを特徴とするプログラムのダウンロード制御方法。
A program download control method for performing control when downloading a program from a server to an in-vehicle device via a communication network,
A first step in which the server receives a program download request from the in-vehicle device;
When a request for downloading a program is received from the in-vehicle device, the server obtains necessary resource information, which is a state quantity of a resource required when the server executes the program to be downloaded held by the server. A second step of acquiring the necessary resource information relating to the download requested program from the necessary resource information storage unit stored in advance for each program;
The server determines whether or not the state quantity of the resource represented by the necessary resource information satisfies a predetermined condition based on the necessary resource information acquired in the second step with respect to the download requested program. A third step,
A program download control comprising: a fourth step in which the server issues a warning message to the in-vehicle device when it is determined in the third step that the predetermined condition is not satisfied. Method.
JP2010259870A 2010-11-22 2010-11-22 Download control system for program and download control method Withdrawn JP2012113394A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2010259870A JP2012113394A (en) 2010-11-22 2010-11-22 Download control system for program and download control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2010259870A JP2012113394A (en) 2010-11-22 2010-11-22 Download control system for program and download control method

Publications (1)

Publication Number Publication Date
JP2012113394A true JP2012113394A (en) 2012-06-14

Family

ID=46497569

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2010259870A Withdrawn JP2012113394A (en) 2010-11-22 2010-11-22 Download control system for program and download control method

Country Status (1)

Country Link
JP (1) JP2012113394A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2015104012A (en) * 2013-11-26 2015-06-04 京セラ株式会社 Portable terminal device, download suppression method and program
JP2019041291A (en) * 2017-08-25 2019-03-14 日本電信電話株式会社 Resource securing device, resource securing method, and computer program

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2015104012A (en) * 2013-11-26 2015-06-04 京セラ株式会社 Portable terminal device, download suppression method and program
JP2019041291A (en) * 2017-08-25 2019-03-14 日本電信電話株式会社 Resource securing device, resource securing method, and computer program

Similar Documents

Publication Publication Date Title
US8943438B2 (en) Vehicle-mounted device having portable-device detection capability
EP3764220B1 (en) Automatic application updates
JP6244453B2 (en) Data distribution system and data distribution method
US9255812B2 (en) Navigation system and navigation method
JP4060322B2 (en) Application management apparatus and storage medium storing software thereof
US9810444B2 (en) Method for controlling terminal apparatus that remotely controls air conditioner, non-transitory recording medium storing program executed by terminal apparatus, recommend method executed by terminal apparatus, and terminal apparatus
US20140137097A1 (en) Information processing apparatus, terminal system, storage medium having stored therein information processing program, and method of obtaining update data for application
WO2012070604A1 (en) Vehicle-mounted application management device and vehicle-mounted application management method
JP2023052938A (en) Program update system, program update server, information processing apparatus, vehicle, method, and program
US20120047292A1 (en) Monitoring System, Device Server, Host Computer, Monitoring Method, and Storage Medium
CN112055091A (en) Vehicle-mounted micro-service architecture, and communication method and device of vehicle-mounted module
JP2017531339A (en) Method and apparatus for interconnecting smart terminals and in-vehicle terminals
CN112748942A (en) Vehicle control device, program update method, and program update system
US9939283B2 (en) Navigation system and in-vehicle device
JP5524024B2 (en) In-vehicle device and application activation control method
US7610144B2 (en) Navigation apparatus and processing method of the same
JP2012113394A (en) Download control system for program and download control method
JP2016177423A (en) Control system having multi-core microcontroller and control method thereof
CN110949404A (en) Warning method and device, central control equipment, storage medium and system
US11038837B2 (en) Method and device for bus addressing, and method and device for providing information
US9456338B2 (en) Control apparatus and wireless communication system
CN104838363A (en) Data processing device
CN111770008A (en) Control method, control device, computing equipment and medium
EP2998859A1 (en) Display control device, display control method, and program
US10182106B2 (en) Data management system, information management apparatus, and non-transitory computer readable medium

Legal Events

Date Code Title Description
A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20140204