WO2016021024A1 - プログラム実行システムおよび常駐プログラムの起動方法 - Google Patents
プログラム実行システムおよび常駐プログラムの起動方法 Download PDFInfo
- Publication number
- WO2016021024A1 WO2016021024A1 PCT/JP2014/070891 JP2014070891W WO2016021024A1 WO 2016021024 A1 WO2016021024 A1 WO 2016021024A1 JP 2014070891 W JP2014070891 W JP 2014070891W WO 2016021024 A1 WO2016021024 A1 WO 2016021024A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- resident
- program
- activation
- program execution
- order
- Prior art date
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/445—Program loading or initiating
- G06F9/44505—Configuring for program initiating, e.g. using registry, configuration files
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/46—Multiprogramming arrangements
- G06F9/48—Program initiating; Program switching, e.g. by interrupt
- G06F9/4806—Task transfer initiation or dispatching
- G06F9/4843—Task transfer initiation or dispatching by program, e.g. task dispatcher, supervisor, operating system
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/46—Multiprogramming arrangements
- G06F9/50—Allocation of resources, e.g. of the central processing unit [CPU]
- G06F9/5005—Allocation of resources, e.g. of the central processing unit [CPU] to service a request
- G06F9/5011—Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resources being hardware resources other than CPUs, Servers and Terminals
- G06F9/5016—Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resources being hardware resources other than CPUs, Servers and Terminals the resource being the memory
Definitions
- FIG. 20 is a diagram illustrating an example of activation order definition in the fourth embodiment.
- 10 is a flowchart showing the operation of the program execution device according to the fifth embodiment.
- 10 is a flowchart illustrating the operation of the program execution device according to the fifth embodiment when the memory usage of a resident program can be determined in advance.
- FIG. 20 is a diagram for explaining the operation of a program execution device according to a sixth embodiment.
- the resident program start control unit 14 controls the order in which a plurality of resident programs are started (resident program start order). Specifically, when it is detected that the memory capacity is insufficient due to the resident program being activated when the system is activated, the resident program activation control unit 14 determines the activation order definition at the next system activation. Change from the boot order definition used at system startup. That is, the resident program activation control unit 14 updates the contents of the activation order definition stored in the storage unit 12. As a result, the resident program activation order at the next system activation is changed from that at the current system activation.
- FIG. 5 shows the operation of the program execution device 10 when it is assumed that the activation order definition of FIG. 3 is stored in the storage unit 12.
- the memory capacity of the program execution device 10 is 80 MB
- the upper limit (memory use upper limit) of the memory capacity that can be used by the resident program is defined as 50 MB. That is, when the memory usage by the resident program exceeds 50 MB, it is determined that the memory is insufficient.
- the memory usage of the resident programs A, B, C, D, and E is 20 MB, 10 MB, 30 MB, 15 MB, and 25 MB, respectively.
- the program execution unit 11 terminates the resident program C that caused the memory usage to exceed the memory usage upper limit (that is, the program that was started immediately before), and the memory is insufficient as shown in FIG. Eliminate.
- the resident program activation control unit 14 defines the activation order stored in the storage unit 12 so that the resident program C to be activated at this time becomes the first resident program activated at the next system activation. Update. That is, the activation order definition in which the resident program C is activated as shown in FIG. As a result, at the next system activation, the program execution unit 11 first activates the resident program C, and then the same operation as described above is performed.
- FIG. 7 is a flowchart showing the operation of the program execution device 10 according to the first embodiment when the system is activated. The operation described with reference to FIG. 5 is realized by the program execution device 10 performing an operation according to the flowchart.
- the resident program activation control unit 14 activates the new resident program (F) stored in the storage unit 12 as shown in FIG. Add to the order of resident programs in the definition.
- the position at which a new application is added to the activation order definition may be arbitrary, but for example, the average value of the memory usage of the new resident program and the resident program before and after the position where it is added is included in the activation order definition. It may be added at a position closest to the average value of the memory usage of the resident program. By doing so, it is possible to prevent an application with a large memory usage from being concentrated at a specific position in the activation order definition, and more resident programs can be executed simultaneously.
- the program execution unit 11 shows a case where the activation target of the low priority resident program is activated based on the current memory usage detected by the resource monitoring unit 13 and the memory usage of the activation target of the low priority resident program.
- the memory usage is predicted, and it is determined whether or not the memory usage at that time falls below the upper limit of memory usage (step S75).
- FIG. 7 When the processing of FIG. 7 is executed based on the activation order definition of FIG. 3 when the system is activated, the resident programs A and B are activated as shown in FIG. Thereafter, when a certain time elapses, the resident program A that is started first among the resident programs A and B is terminated, and the processing of FIG. 7 is executed again. Then, the resident program C is activated, and the resident programs B and C are resident as shown in FIG. When this operation is repeated at a constant cycle, the resident programs C and D are resident as shown in FIG. 21C, the resident programs D and E are resident as shown in FIG. The state changes to the state where the resident programs E and A are resident as in (e) of 21 and returns to the state of (a) in FIG. This operation is repeated until the program execution device 10 is turned off.
Abstract
Description
図1は、本発明に係るプログラム実行システムの構成図である。当該プログラム実行システムは、プログラム実行装置10と、それに接続した起動スイッチ21、表示装置22および音声出力装置23を備えている。本発明は、パーソナルコンピュータをはじめとするプログラム実行システムに広く適用可能であるが、製造コストや製品サイズ、消費電力などの理由からリソースが制限される携帯型または小型の装置(例えばスマートフォン、タブレット端末、車載の情報表示装置、ナビゲーション装置など)への適用が特に有効である。
実施の形態1では、起動順序定義における常駐プログラムの順番のループを変更せずに、最初に起動させる常駐プログラムを変更することによって起動順序定義の内容を変更したが、常駐プログラム起動順序の変更方法はこれに限られない。実施の形態2では、常駐プログラム起動制御部14が常駐プログラム起動順序を変更する際、図12に示すように、起動順序定義における常駐プログラムの順番をランダムに決定する。この方法によっても、実施の形態1と同様の効果が得られる。
実施の形態1では、常駐プログラムの起動によってメモリ不足が生じた場合、その次以降の常駐プログラムは起動されない。例えば図5の例において、図5の(c)のように常駐プログラムCの起動によりメモリ不足が生じると、図5の(d)の状態でシステム起動の処理が終了し、常駐プログラムD,Eは起動されない。
実施の形態1では、プログラム実行装置10が1つの起動順序定義のみを使用する例を示したが、実施の形態4では、プログラム実行装置10が複数の起動順序定義を使用する例を示す。すなわち、常駐プログラム起動制御部14が、図16のような複数の起動順序定義を複数管理し、予め定められた条件に従って、プログラム実行部11に使用させる起動順序定義を切り替える。その他の動作は実施の形態1(図7)と同様である。
実施の形態5では、複数の常駐プログラムのそれぞれに優先度を規定し、常駐プログラム起動制御部14がそれぞれの優先度に対応した複数の起動順序定義を管理する構成としたプログラム実行装置10を示す。
実施の形態1~5では、プログラム実行部11が、常駐プログラムをシステム起動時のみに起動させる例を示したが、実施の形態6では、プログラム実行部11が、システム起動後に、常駐させる常駐プログラムを起動順序定義に従って一定周期で変更する。
Claims (16)
- 複数の常駐プログラムを含む複数のプログラムを実行するプログラム実行部と、
前記複数の常駐プログラムを起動させる順番を制御する常駐プログラム起動制御部とを備え、
前記プログラム実行部は、システム起動時に、前記複数の常駐プログラムを起動させる順番を規定する情報である起動順序定義に従って、前記複数の常駐プログラムを順次起動させ、
前記常駐プログラム起動制御部は、前記複数の常駐プログラムの起動によってリソース使用量が特定の値を超える場合、次回のシステム起動時における前記起動順序定義を今回のシステム起動時に用いた前記起動順序定義から変更する
ことを特徴とするプログラム実行システム。 - 前記プログラム実行部は、リソース使用量が前記特定の値を超える原因となる常駐プログラムを常駐させない
請求項1記載のプログラム実行システム。 - 前記起動順序定義における常駐プログラムの順番はループ状に規定されており、
前記常駐プログラム起動制御部は、最初に起動させる常駐プログラムを変更することによって、前記起動順序定義を変更する
請求項1記載のプログラム実行システム。 - 前記常駐プログラム起動制御部は、リソース使用量が前記特定の値を超える原因となる常駐プログラムが次回のシステム起動時に最初に起動するように、前記起動順序定義を変更する
請求項3記載のプログラム実行システム。 - 前記プログラム実行部は、リソース使用量が前記特定の値を超える原因となる常駐プログラムの順番を飛ばして次の常駐プログラムを常駐させる動作を、前記起動順序定義に従って繰り返し行う
請求項1記載のプログラム実行システム。 - 前記起動順序定義における常駐プログラムの順番はループ状に規定されており、
前記常駐プログラム起動制御部は、リソース使用量が前記特定の値を超える1回目の原因となる常駐プログラムが次回のシステム起動時に最初に起動するように、前記起動順序定義を変更する
請求項5記載のプログラム実行システム。 - 前記常駐プログラム起動制御部は、前記起動順序定義を変更する際、次回のシステム起動時における前記起動順序定義における常駐プログラムの順番をランダムに決定する
請求項1記載のプログラム実行システム。 - 前記常駐プログラム起動制御部は、新たな常駐プログラムが導入されると、前記起動順序定義における常駐プログラムの順番の任意の位置に前記新たな常駐プログラムを追加する
請求項1記載のプログラム実行システム。 - 前記常駐プログラム起動制御部は、新たな常駐プログラムを前記起動順序定義に追加するとき、前記新たな常駐プログラムおよびそれを追加する位置の前後の常駐プログラムのリソース使用量の平均値が、前記起動順序定義に含まれる全ての常駐プログラムのリソース使用量の平均値に最も近くなる位置に追加する
請求項8記載のプログラム実行システム。 - 前記常駐プログラム起動制御部は、前記起動順序定義を複数管理し、予め定められた条件に従って、使用する前記起動順序定義を切り替える
請求項1記載のプログラム実行システム。 - 複数の常駐プログラムのそれぞれには優先度が設定されており、
前記常駐プログラム起動制御部は、前記起動順序定義を優先度ごとに複数管理し、
前記プログラム実行部は、システム起動時に、各常駐プログラムをその優先度に対応する前記起動順序定義に従って順次起動させる
請求項1記載のプログラム実行システム。 - 前記プログラム実行部は、各優先度の常駐プログラムが少なくとも1つずつは実行可能なように前記複数の常駐プログラムを起動させる順番を決定する
請求項11記載のプログラム実行システム。 - 複数の常駐プログラムのそれぞれに設定される優先度は、予め定められた条件に従って変更される
請求項11記載のプログラム実行システム。 - システム起動後において、前記プログラム実行部は、常駐させる常駐プログラムを前記起動順序定義に従って一定周期で変更する
請求項1記載のプログラム実行システム。 - 前記起動順序定義における常駐プログラムの順番はループ状に規定されており、
前記常駐プログラム起動制御部は、システム起動後に常駐プログラムを起動した場合、最後に常駐した常駐プログラムの次の常駐プログラムが次回のシステム起動時に最初に起動するように、前記起動順序定義を変更する
請求項14記載のプログラム実行システム。 - プログラム実行システムのシステム起動時に、プログラム実行部が、複数の常駐プログラムを起動させる順番を規定する情報である起動順序定義に従って常駐プログラムを起動し、
前記プログラム実行部が前記常駐プログラムを起動させる前または後に、リソース監視部が、前記常駐プログラムの起動によってリソース使用量が特定の値を超えるか否かを判断し、
前記常駐プログラムの起動によってリソース使用量が前記特定の値を超えると判断された場合、常駐プログラム起動制御部が、次回のシステム起動時における前記起動順序定義を今回の前記起動順序定義から変更する
ことを特徴とする常駐プログラムの起動方法。
Priority Applications (5)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201480081068.5A CN106575234B (zh) | 2014-08-07 | 2014-08-07 | 程序执行系统以及常驻程序的启动方法 |
PCT/JP2014/070891 WO2016021024A1 (ja) | 2014-08-07 | 2014-08-07 | プログラム実行システムおよび常駐プログラムの起動方法 |
US15/329,195 US20180173540A1 (en) | 2014-08-07 | 2014-08-07 | Program execution system and method for launching resident programs |
DE112014006861.6T DE112014006861T5 (de) | 2014-08-07 | 2014-08-07 | Programmausführungssystem und Verfahren zum Starten von residenten Programmen |
JP2016539756A JP6054003B2 (ja) | 2014-08-07 | 2014-08-07 | プログラム実行システムおよび常駐プログラムの起動方法 |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
PCT/JP2014/070891 WO2016021024A1 (ja) | 2014-08-07 | 2014-08-07 | プログラム実行システムおよび常駐プログラムの起動方法 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2016021024A1 true WO2016021024A1 (ja) | 2016-02-11 |
Family
ID=55263330
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/JP2014/070891 WO2016021024A1 (ja) | 2014-08-07 | 2014-08-07 | プログラム実行システムおよび常駐プログラムの起動方法 |
Country Status (5)
Country | Link |
---|---|
US (1) | US20180173540A1 (ja) |
JP (1) | JP6054003B2 (ja) |
CN (1) | CN106575234B (ja) |
DE (1) | DE112014006861T5 (ja) |
WO (1) | WO2016021024A1 (ja) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105389149A (zh) * | 2015-11-03 | 2016-03-09 | 惠州Tcl移动通信有限公司 | 一种智能设备多屏幕运行实现方法及其系统 |
CN112084049A (zh) * | 2019-06-14 | 2020-12-15 | 佛山市顺德区顺达电脑厂有限公司 | 用于监控基板管理控制器的常驻程序的方法 |
CN112148374A (zh) * | 2020-08-20 | 2020-12-29 | 瑞芯微电子股份有限公司 | 一种SoC芯片启动顺序控制方法及系统 |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2007148773A (ja) * | 2005-11-28 | 2007-06-14 | Fujitsu Ltd | Bios搭載コンピュータ及びbiosローディングプログラム |
JP2008097425A (ja) * | 2006-10-13 | 2008-04-24 | Mitsubishi Electric Corp | 携帯情報端末および携帯情報端末の制御方法 |
US7702891B1 (en) * | 2005-09-16 | 2010-04-20 | Oracle America, Inc. | Starting-up software modules for computing systems |
Family Cites Families (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CA2383825A1 (en) * | 2002-04-24 | 2003-10-24 | Ibm Canada Limited-Ibm Canada Limitee | Dynamic configuration and self-tuning of inter-nodal communication resources in a database management system |
CA2428406A1 (en) * | 2002-05-10 | 2003-11-10 | Robert Amil Kleinert | Manual slide post driver and extractor for "t"-type metal or fiberglass or plastic posts |
US8917655B2 (en) * | 2008-07-11 | 2014-12-23 | Samsung Electronics Co., Ltd. | Method and apparatus for allowing device supporting multiple PHY communication mode to communicate with device in wireless personal area network |
CN102331947B (zh) * | 2011-10-14 | 2013-12-11 | 中科创达软件股份有限公司 | 一种Android系统的重启方法 |
CN103823689A (zh) * | 2012-11-19 | 2014-05-28 | 宏碁股份有限公司 | 开机加速方法与电脑系统装置 |
-
2014
- 2014-08-07 JP JP2016539756A patent/JP6054003B2/ja active Active
- 2014-08-07 US US15/329,195 patent/US20180173540A1/en not_active Abandoned
- 2014-08-07 WO PCT/JP2014/070891 patent/WO2016021024A1/ja active Application Filing
- 2014-08-07 DE DE112014006861.6T patent/DE112014006861T5/de not_active Withdrawn
- 2014-08-07 CN CN201480081068.5A patent/CN106575234B/zh active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7702891B1 (en) * | 2005-09-16 | 2010-04-20 | Oracle America, Inc. | Starting-up software modules for computing systems |
JP2007148773A (ja) * | 2005-11-28 | 2007-06-14 | Fujitsu Ltd | Bios搭載コンピュータ及びbiosローディングプログラム |
JP2008097425A (ja) * | 2006-10-13 | 2008-04-24 | Mitsubishi Electric Corp | 携帯情報端末および携帯情報端末の制御方法 |
Also Published As
Publication number | Publication date |
---|---|
CN106575234B (zh) | 2020-10-27 |
US20180173540A1 (en) | 2018-06-21 |
JP6054003B2 (ja) | 2016-12-27 |
CN106575234A (zh) | 2017-04-19 |
JPWO2016021024A1 (ja) | 2017-04-27 |
DE112014006861T5 (de) | 2017-04-20 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106415489B (zh) | 应用建议特征 | |
US11388059B2 (en) | Connection device and connection method using priority level information for a plurality of processes | |
US20170048161A1 (en) | Adaptive data synchronization | |
WO2007020735A1 (ja) | 競合解決装置 | |
CN103607660A (zh) | 智能电视的界面切换的控制方法和控制装置 | |
CN109656725B (zh) | 消息消费者切换方法、装置、存储介质及电子设备 | |
JP6054003B2 (ja) | プログラム実行システムおよび常駐プログラムの起動方法 | |
CN110704090B (zh) | 现场可编程门阵列fpga及其升级方法和升级系统 | |
CN102945111A (zh) | 移动终端的后台程序管理方法和装置 | |
US9772672B2 (en) | Apparatus, method, and program product for projecting battery usage | |
CN114418128B (zh) | 一种模型部署的方法及装置 | |
CN105100851A (zh) | 智能电视机遥控器的操作指示方法及装置 | |
US11561786B2 (en) | Update management device, update management system, and update management method | |
CN104077151A (zh) | 快速启动网络应用的方法和电子设备 | |
US20150278082A1 (en) | Information Processing Device, Memory Management Method, and Recording Medium That Ensure Versatile Memory Management | |
CN113760138A (zh) | 一种分屏应用的配置方法及相关设备 | |
CN104410910A (zh) | 在智能电视中安装存储设备中的应用的控制方法和装置 | |
CN112015450B (zh) | 加载智能设备控制页面的方法、装置和存储介质 | |
JP6151315B2 (ja) | 情報提供システム及び情報提供方法 | |
CN110737533B (zh) | 一种任务调度方法、装置及电子设备和存储介质 | |
JP6273907B2 (ja) | 車両用機器 | |
KR101317901B1 (ko) | 애플리케이션 실행 단말 및 그 방법 | |
KR102626255B1 (ko) | 차량용 avnt 시스템 및 그의 제어 방법과 그를 포함하는 차량 | |
CN107705541B (zh) | 遥控器控制方法、装置、设备及计算机可读存储介质 | |
CN108280113B (zh) | Service Worker控制方法、装置及电子终端 |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 14899486 Country of ref document: EP Kind code of ref document: A1 |
|
ENP | Entry into the national phase |
Ref document number: 2016539756 Country of ref document: JP Kind code of ref document: A |
|
WWE | Wipo information: entry into national phase |
Ref document number: 15329195 Country of ref document: US |
|
WWE | Wipo information: entry into national phase |
Ref document number: 112014006861 Country of ref document: DE |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 14899486 Country of ref document: EP Kind code of ref document: A1 |