Control device, control program, and control method

Through the resource assessment and scheme setting department, the problem of application execution stopping due to insufficient resources is solved, and efficient resource allocation and normal application execution are achieved, using action restriction schemes in normal mode or degraded mode.

CN123157407APending Publication Date: 2026-11-24DENSO CORP
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202610689037.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Priority Date
2025-05-21
Filing Date
2026-05-19
Publication Date
2026-11-24

AI Technical Summary

Technical Problem

In systems where multiple applications share resources, there is a problem where insufficient resources prevent the effective utilization of resources, causing applications to stop running.

Method used

The resource assessment unit and the scheme setting unit determine if there are insufficient resources and set an action restriction scheme to enable the application to execute in normal mode or degraded mode, thus ensuring the resource allocation of the target application.

Benefits of technology

It effectively avoids application execution stoppage due to insufficient resources, ensures the execution of the launched application, and achieves efficient resource utilization by allocating resources through a fallback mode.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123157407A_ABST
    Figure CN123157407A_ABST
Patent Text Reader

Abstract

The present application provides a control device, a control program, and a control method. Application execution stop due to resource shortage is suppressed. An ECU (1) judges whether resources are insufficient for executing one or more executing applications being executed at the current time and a start target application that is a target of a start request in a case where there is a start request of an application. The ECU (1) sets one or more action restriction schemes that respectively show whether to make the one or more executing applications and the start target application execute in a normal mode or in a degraded mode in which actions are restricted as compared with the normal mode as an execution mode of making the applications execute in order to avoid the resource insufficiency in a case where it is judged that the resources are insufficient.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This disclosure relates to a control device for controlling the execution of multiple applications. Background Technology

[0002] Patent document 1 describes a control device that, when the workload of an autonomous driving application is reduced to a low-load condition within a set range, effectively utilizes hardware resources by allocating the remaining hardware resources corresponding to the hardware resources required for the continued operation of the autonomous driving application to the user application.

[0003] Patent Document 1: Japanese Patent Application Publication No. 2024-77372

[0004] The inventors' detailed research revealed a problem in systems where multiple applications share resources: applications stop executing when resource shortages are predicted, thus failing to effectively utilize resources. Summary of the Invention

[0005] The purpose of this disclosure is to prevent application execution from stopping due to insufficient resources.

[0006] One aspect of this disclosure is a control device for controlling the execution of multiple applications, which includes a resource determination unit and a scheme setting unit.

[0007] The resource determination unit is configured to determine, when there is a startup requirement for an application to start, whether there are insufficient resources for executing one or more running applications and the application to be started. The running applications are one or more applications that are currently running, and the application to be started is the application that is the object of the startup requirement.

[0008] The scheme setting unit is configured to set one or more action restriction schemes to avoid resource shortage when the resource judgment unit determines that resources are insufficient. The action restriction schemes respectively indicate whether to execute the application in normal mode or in a degraded mode that restricts actions compared to normal mode for one or more running applications and the launch object application.

[0009] Even when resources are insufficient to execute the launch target application, the control device of this disclosure, configured in this way, can allocate resources to the launch target application and enable its execution by having at least one of the running applications and the launch target application execute in a degraded mode. Therefore, the control device of this disclosure can suppress application execution halting due to insufficient resources.

[0010] Another aspect of this disclosure is a control program for enabling a computer of a control device that controls the execution of multiple applications to function as a resource determination unit and a scheme setting unit.

[0011] A computer controlled by the control program of this disclosure can form part of the control device of this disclosure and can achieve the same effect as the control device of this disclosure.

[0012] Another aspect of this disclosure is a control method for controlling the execution of multiple applications by a control device.

[0013] In the control method disclosed herein, when there is a startup request for an application to be started, the control device determines whether there are insufficient resources for executing one or more running applications and the application to be started. The running applications are one or more applications that are currently being executed, and the application to be started is the application that is the object of the startup request.

[0014] When the control device determines that resources are insufficient, it sets one or more action restriction schemes to avoid resource shortage. These action restriction schemes indicate whether to execute the application in normal mode or in a degraded mode that restricts actions compared to normal mode, for one or more running applications and the application to be launched.

[0015] The control method disclosed herein is a method executed by the control device disclosed herein, and by executing this method, the same effect as the control device disclosed herein can be obtained. Attached Figure Description

[0016] Figure 1 It is a block diagram showing the structure of an electronic control device.

[0017] Figure 2 This is a flowchart illustrating the first startup control process of the first embodiment.

[0018] Figure 3 This is a flowchart representing the second startup control process.

[0019] Figure 4 This diagram illustrates specific examples of actions that restrict application.

[0020] Figure 5 This is a flowchart illustrating the first startup control process of the second embodiment. Detailed Implementation

[0021] [First Implementation]

[0022] The following and appendix Figure 1 The first embodiment of this disclosure will now be described. The electronic control device (hereinafter referred to as ECU) 1 of this embodiment is mounted in a vehicle, such as... Figure 1As shown, it includes a control unit 2, an in-vehicle communication unit 3, and a storage unit 4. ECU stands for Electronic Control Unit.

[0023] The control unit 2 is centered around a microcomputer including a CPU 11, ROM 12, and RAM 13. Various functions of the microcomputer are implemented by the CPU 11 executing programs stored on a non-transferable physical recording medium. In this example, the ROM 12 is equivalent to the non-transferable physical recording medium storing the program. Furthermore, by executing this program, methods corresponding to the program are executed. Additionally, some or all of the functions executed by the CPU 11 can be configured in hardware using one or more ICs. Moreover, the number of microcomputers constituting the control unit 2 can be either one or multiple.

[0024] The in-vehicle communication unit 3 communicates with other ECUs and onboard devices in the vehicle via a communication network. This communication network can be, for example, Ethernet, CAN, or CAN FD. Ethernet is a registered trademark. CAN stands for Controller Area Network, and CAN FD stands for CAN With Flexible Data Rate.

[0025] Storage unit 4 is a storage device used to store various types of data. Storage unit 4 stores a first application program 21, a second application program 22, a third application program 23, and a fourth application program 24.

[0026] The first application 21 is a program for causing the first application to perform actions, as described later. The second application 22 is a program for causing the second application to perform actions, as described later.

[0027] The third application 23 is a program for causing the third application described later to perform actions. The fourth application 24 is a program for causing the fourth application described later to perform actions.

[0028] The first application has a voice assistant function. This function is implemented by the CPU 11 executing the first application program 21. The second application has an in-car monitoring function. This function is implemented by the CPU 11 executing the second application program 22.

[0029] The third application has a driving diagnostic function. This function is implemented by the CPU 11 executing the third application program 23. The fourth application has a video streaming function. This function is implemented by the CPU 11 executing the fourth application program 24.

[0030] The voice assistant function and in-cabin monitoring function are activated simultaneously with the start of ECU1. The driver diagnostic function and video streaming function are activated based on requests from passengers in the vehicle.

[0031] The voice assistant function is designed to recognize speech within the vehicle and respond accordingly. It is configured to operate in either a normal mode or a degraded mode. The degraded mode reduces the processing resources required compared to the normal mode. When operating in degraded mode, the voice assistant may reduce the accuracy of speech recognition, limit the range of instructions that can be read via speech recognition, or decrease the accuracy of noise cancellation within the vehicle.

[0032] The in-car surveillance function identifies passengers' status based on the images captured by cameras inside the carriage. The in-car surveillance function is configured to operate in either a normal mode or a degraded mode. In degraded mode, the accuracy of the in-car surveillance is reduced, or the ability to identify certain states is limited.

[0033] The driving diagnostic function is a feature that analyzes driver characteristics based on driving operations and notifies the driver of the analysis results. The driving diagnostic function is configured to operate in either a normal mode or a degraded mode. In normal mode, the driving diagnostic function performs diagnostics from the perspective of safe and fuel-efficient driving. In degraded mode, it simplifies the types of input data and algorithms by performing only safe driving diagnostics, thereby reducing the resources required for processing.

[0034] Video streaming is a function that enables the streaming of video. It can operate in either a normal mode or a degraded mode. In degraded mode, the video quality is reduced compared to normal mode, thereby reducing the resources required for decoding. Thus, degraded mode provides the same functionality as normal mode, but at a lower quality to reduce resource usage.

[0035] Next, the sequence of the first start-up control processes executed by ECU1 will be explained. The first start-up control process is a process that is repeatedly executed during the operation of ECU1. If the first start-up control process is executed, then as follows... Figure 2 As shown, in S10, the CPU 11 of the control unit 2 determines whether a passenger (hereinafter referred to as the user) has requested the application to be launched. The user may request the launch of an application with desired functions, for example, by inputting an operation on a touch panel set on the CID display screen, operating an operation switch set on the steering wheel, or using a voice assistant function. CID is an abbreviation for Center Information Display.

[0036] Here, if the user does not request the application to start, CPU 11 terminates the first startup control process. On the other hand, if the user requests the application to start, CPU 11 determines in S20 whether there are insufficient resources to start the application that was requested to start in S10.

[0037] Specifically, if the sum of the CPU usage of one or more applications in the current action and the CPU usage in the normal mode of the application with startup requirements (hereinafter referred to as the resource requirement value) exceeds 100%, CPU11 determines that there are insufficient resources.

[0038] In addition, the CPU utilization rates in normal mode and degraded mode are preset for multiple applications that enable ECU1 to operate.

[0039] For example, for the first application (i.e., the voice assistant function), the CPU usage is 40% in normal mode and 20% in degraded mode. For the second application (i.e., the in-car monitoring function), the CPU usage is 30% in normal mode and 25% in degraded mode.

[0040] For the third application (i.e., driver diagnostics), CPU usage is 40% in normal mode and 25% in degraded mode. For the fourth application (i.e., video streaming), CPU usage is 20% in normal mode and 10% in degraded mode.

[0041] For example, suppose a third application requests to start while the first and second applications are operating in normal mode. In this case, the required resource value is 40% + 30% + 40% = 110%, which exceeds 100%. Therefore, CPU11 determines that there are insufficient resources.

[0042] Here, if there are sufficient resources to start an application that requires startup, CPU11 starts the application that requires startup in S10 in S30 and ends the first startup control process.

[0043] On the other hand, when resources are insufficient to launch applications with startup requirements, CPU11 sets an action restriction scheme in S40. Specifically, for each of one or more applications currently in operation, there are states that operate in normal mode and states that operate in degraded mode. In addition, for applications with startup requirements, there are states that operate in normal mode and states that operate in degraded mode.

[0044] For one or more applications in the current action, and applications with startup requirements, CPU11 calculates the total CPU utilization under various combinations of the above-mentioned multiple states, and uses the state combination with the total value not exceeding 100% as the action restriction scheme.

[0045] For example, suppose that while the first and second applications are operating in normal mode, there is a request to launch a third application. In this case, there are combinations of states from the first to the eighth.

[0046] The first state combination is a combination where the first application is in normal mode, the second application is in normal mode, and the third application is in normal mode. In this case, the total CPU utilization is 40% + 30% + 40% = 110%, exceeding 100%. Therefore, the first state combination cannot be used as an action restriction scheme.

[0047] The second state combination is a combination where the first application is in normal mode, the second application is in normal mode, and the third application is in degraded mode. In this case, the total CPU utilization is 40% + 30% + 25% = 95%, which does not exceed 100%. Therefore, the second state combination can be used as an action restriction scheme.

[0048] The third state combination is a combination where the first application is in normal mode, the second application is in degraded mode, and the third application is in normal mode. In this case, the total CPU utilization is 40% + 25% + 40% = 105%, exceeding 100%. Therefore, the third state combination cannot be used as an action restriction scheme.

[0049] The fourth state combination is a combination where the first application is in normal mode, the second application is in degraded mode, and the third application is in degraded mode. In this case, the total CPU utilization is 40% + 25% + 25% = 90%, which does not exceed 100%. Therefore, the fourth state combination can be used as an action restriction scheme.

[0050] The fifth state combination is a combination where the first application is in degraded mode, the second application is in normal mode, and the third application is in normal mode. In this case, the total CPU utilization is 20% + 30% + 40% = 90%, which does not exceed 100%. Therefore, the fifth state combination can be used as an action restriction scheme.

[0051] The sixth state combination is a combination where the first application is in degraded mode, the second application is in normal mode, and the third application is in degraded mode. In this case, the total CPU utilization is 20% + 30% + 25% = 75%, which does not exceed 100%. Therefore, the sixth state combination can be used as an action restriction scheme.

[0052] The seventh state combination consists of the first application in degraded mode, the second application in degraded mode, and the third application in normal mode. In this case, the total CPU utilization is 20% + 25% + 40% = 85%, which does not exceed 100%. Therefore, the seventh state combination can be used as an action restriction scheme.

[0053] The eighth state combination consists of the first application in degraded mode, the second application in degraded mode, and the third application in degraded mode. In this case, the total CPU utilization is 20% + 25% + 25% = 70%, which does not exceed 100%. Therefore, the eighth state combination can be used as an action restriction scheme.

[0054] Based on the above, the second state combination, the fourth state combination, the fifth state combination, the sixth state combination, the seventh state combination, and the eighth state combination can be used as action restriction schemes.

[0055] However, if among the one or more action restriction schemes that CPU11 can adopt, there is an action restriction scheme in which only one application is in degraded mode, then the action restriction scheme in which only one application is in degraded mode will be adopted, and other action restriction schemes will not be adopted.

[0056] Therefore, CPU11 sets the second state combination and the fifth state combination as the action restriction scheme. In S50, CPU11 will notify the user of one or more action restriction schemes set in S40. However, CPU11 will also notify the user of the action restriction scheme that does not start applications with startup requirements (i.e., the scheme that does not change the application action state from the current moment).

[0057] For example, when the CPU 11 initiates an application request via input to the touch panel, it displays one or more pre-defined action restriction schemes on the CID display screen. Additionally, when the CPU 11 initiates an application request via operation of a switch located on the steering wheel, it displays one or more pre-defined action restriction schemes on the instrument cluster display or HUD. Furthermore, when the CPU 11 initiates an application request via a voice assistant function, it notifies the user of one or more pre-defined action restriction schemes through voice output from the speaker and display on the instrument cluster display or HUD. HUD stands for Head-Up Display.

[0058] In S60, CPU11 determines whether the user has indicated a motion restriction scheme. The user may indicate a motion restriction scheme, for example, by inputting on the touch panel on the CID display screen, by operating the control switches on the steering wheel, or by using the voice assistant function.

[0059] Here, if the user does not specify an action restriction scheme, CPU 11 rejects the application's startup request in S10 and terminates the first startup control process in S62. On the other hand, if the user specifies an action restriction scheme, CPU 11 starts each application in the mode indicated by the user-specified action restriction scheme in S70.

[0060] For example, if the user-indicated action restriction scheme is the second state combination described above, CPU 11 starts the third application in degraded mode. Conversely, if the user-indicated action restriction scheme is the fifth state combination described above, CPU 11 starts the first application in degraded mode and starts the third application in normal mode.

[0061] In S80, CPU11 notifies the user of the modified action restriction scheme based on the user's instructions and terminates the first startup control process. For example, when the application startup request is made via input operation on the touch panel, CPU11 displays the modified action restriction scheme on the CID display screen. Additionally, when the application startup request is made via operation of a switch on the steering wheel, CPU11 displays the modified action restriction scheme on the instrument cluster display or HUD. Furthermore, when the application startup request is made via the voice assistant function, CPU11 notifies the user of the modified action restriction scheme through voice output from the speaker and display on the instrument cluster display or HUD.

[0062] Next, the sequence of the second start-up control processes executed by ECU1 will be explained. The second start-up control process is a process that is repeatedly executed during the actions of ECU1. If the second start-up control process is executed, it will proceed as follows: Figure 3 As shown, in S210, the CPU11 of the control unit 2 determines whether there is an application that is operating in a downgraded mode.

[0063] Here, if there is no application operating in degraded mode, CPU 11 terminates the second startup control process. On the other hand, if there is an application operating in degraded mode, CPU 11 determines in S220 whether there is sufficient resources to change the application operating in degraded mode to normal mode.

[0064] Specifically, if the sum of the CPU utilization of one or more applications operating in normal mode and the CPU utilization of an application operating in degraded mode operating in normal mode (i.e., the resource requirement value) is less than 100%, CPU11 determines that there is a resource reserve.

[0065] As a specific example of moving from a state with no resource surplus to a state with resource surplus, it is possible to list a state where the first, second, third, and fourth applied actions are moved to a state where the fourth applied action is stopped while the first, second, and third applied actions are performed.

[0066] Here, if there are no resources available, CPU 11 terminates the second startup control process. On the other hand, if there are resources available, CPU 11, in S230, notifies the user that the application currently operating in degraded mode can be switched to normal mode.

[0067] In S240, CPU11 determines whether the user has instructed whether an application currently operating in degraded mode should operate in normal mode. The user may instruct whether an application currently operating in degraded mode should operate in normal mode, for example, by inputting on the touch panel on the CID display screen, by operating the control switch on the steering wheel, or by using a voice assistant function.

[0068] Here, if the user does not instruct whether to enable the application currently operating in degraded mode to operate in normal mode, the CPU 11 terminates the second boot control process. On the other hand, if the user instructs whether to enable the application currently operating in degraded mode to operate in normal mode, the CPU 11 determines in S250 whether the user has instructed the application currently operating in degraded mode to operate in normal mode.

[0069] Here, if the user instructs that the application currently operating in degraded mode should not operate in normal mode (i.e., maintain degraded mode operation), the CPU 11 terminates the second boot control process. On the other hand, if the user instructs that the application currently operating in degraded mode should operate in normal mode, the CPU 11, in S260, starts the application currently operating in degraded mode in normal mode.

[0070] In S270, CPU11 notifies the user that an application operating in degraded mode has been launched in normal mode, and terminates the second startup control process. Next, a specific example of restricting application actions will be explained.

[0071] like Figure 4 As shown, it is assumed that during the period when applications with voice assistant functions and applications with in-cabin monitoring functions are operating in normal mode, there is a startup request for an application with driving diagnostic functions.

[0072] If an application with driving diagnostics is activated, the total CPU usage will be 40% + 30% + 40% = 110%, exceeding 100%. Therefore, ECU1 sets one or more action restriction schemes and provides suggestions to the user.

[0073] For example, ECU1 may notify users to switch applications with voice assistant functionality to downgraded mode and launch applications with driving diagnostics functionality as the first recommendation.

[0074] For example, ECU1 might suggest starting an application with driving diagnostics in downgraded mode as a second suggestion. The user then decides which suggestion to implement based on the situation. For instance, the user might decide, "I don't think I'll be using the voice assistant for now, so I'll use the first suggestion," or "I only need to perform simple driving diagnostics, so I'll use the second suggestion."

[0075] When the first recommendation is selected, applications with voice assistant functionality operate in degraded mode, applications with in-cabin monitoring functionality operate in normal mode, and applications with driver diagnostic functionality operate in normal mode. In this case, the total CPU usage is 40% + 25% + 25% = 90%, which does not exceed 100%.

[0076] When the second recommendation is selected, applications with voice assistant functionality operate in normal mode, applications with in-cabin monitoring functionality operate in normal mode, and applications with driver diagnostic functionality operate in degraded mode. In this case, the total CPU utilization is 40% + 30% + 25% = 95%, which does not exceed 100%.

[0077] ECU1, configured in this way, controls the execution of multiple applications. When there is a startup request that requires an application to start, ECU1 determines whether there are insufficient resources for executing one or more applications currently running (hereinafter referred to as one or more running applications) and the application that is the object of the startup request (hereinafter referred to as the startup object application).

[0078] When ECU1 determines that resources are insufficient, it sets one or more action restriction schemes to avoid resource shortage. These action restriction schemes apply to one or more running applications and the application being launched, indicating whether to make it execute in normal mode or in a degraded mode that restricts actions compared to normal mode as the execution mode for the application.

[0079] Even when resources are insufficient to execute the launch target application, such an ECU1 can still allocate resources to the launch target application and enable its execution by having one or more running applications and at least one of the launch target applications execute in degraded mode. Therefore, the ECU1 can prevent application execution from stopping due to insufficient resources.

[0080] Furthermore, ECU1 can execute one or more running applications and launch target applications according to a set action restriction scheme execution mode. Therefore, even when resources are insufficient, ECU1 can allocate resources to the launch target application to enable its execution.

[0081] Additionally, ECU1 notifies the user of one or more action restriction schemes. Then, ECU1 executes one or more running applications and launch target applications according to the execution mode of the action restriction scheme agreed upon by the user. Thus, ECU1 can execute one or more running applications and launch target applications according to the action restriction scheme desired by the user.

[0082] Additionally, ECU1 allows the user to select one or more action restriction schemes from the notification. ECU1 then uses the selected action restriction scheme as the action restriction scheme that has been agreed upon by the user. Thus, based on the user's selection, ECU1 can execute one or more running applications and launch target applications with the action restriction scheme desired by the user.

[0083] Additionally, ECU1 determines whether resources exist that would enable an application running in degraded mode to run in normal mode. If ECU1 determines that resources exist, it enables the application running in degraded mode to run in normal mode. Thus, ECU1 can prevent unnecessary restrictions on application operations.

[0084] Furthermore, if ECU1 determines that resources exist for enabling an application running in degraded mode to run in normal mode, it obtains the user's consent to do so. Upon receiving the user's consent, ECU1 enables the application to run in normal mode. Thus, ECU1 allows the user to recognize the application's transition from degraded mode to normal mode.

[0085] In the embodiments described above, ECU1 is equivalent to a control device, S20 is equivalent to the processing of the resource determination unit, S40 is equivalent to the processing of the scheme setting unit, S70 is equivalent to the processing of the scheme execution unit, and S50 is equivalent to the processing of the scheme notification unit.

[0086] In addition, S60 is equivalent to the processing of the user selection unit, S220 is equivalent to the processing of the resource degradation judgment unit, S260 is equivalent to the processing of the normal execution unit, and S230~S250 are equivalent to the processing of the consent acquisition unit.

[0087] [Second Implementation]

[0088] The following and appendix Figure 1 The second embodiment of this disclosure will now be described. Furthermore, in the second embodiment, the parts that differ from the first embodiment will be described. The same reference numerals will be used for the same components.

[0089] The ECU1 in the second embodiment differs from the first embodiment in that the first startup control process has been modified. For example... Figure 5 As shown, the first start-up control process in the second embodiment differs from the first embodiment in that it performs the processes of S65 and S75 instead of S50, S60, and S70.

[0090] That is, if the processing of S40 ends, then in S65, CPU11 selects an action restriction scheme from one or more action restriction schemes set in S40. CPU11 can select an action restriction scheme based on a pre-set selection criterion, or it can randomly select an action restriction scheme.

[0091] If the processing in S65 is complete, then in S75, CPU11 starts each application in the mode shown by the action restriction scheme selected in S65, and moves to S80. ECU1, configured in this way, selects one or more action restriction schemes from the set action restriction schemes. Then, ECU1 executes one or more running applications and the application to be started, according to the execution mode of the selected action restriction scheme. Thus, ECU1 can save the user the work of selecting an action restriction scheme.

[0092] In the embodiments described above, S65 corresponds to the processing of the selection unit, and S75 corresponds to the processing of the solution execution unit. An embodiment of this disclosure has been described above, but this disclosure is not limited to the above embodiment and can be implemented in various modifications.

[0093] The control unit 2 and its method described herein may also be implemented by a dedicated computer consisting of a processor and memory programmed to perform one or more functions embodied in a computer program. Alternatively, the control unit 2 and its method described herein may be implemented by a dedicated computer consisting of a processor composed of one or more dedicated hardware logic circuits. Alternatively, the control unit 2 and its method described herein may be implemented by one or more dedicated computers consisting of a processor and memory programmed to perform one or more functions and a processor composed of one or more hardware logic circuits. Furthermore, the computer program may be stored as instructions executable by a computer on a non-transferable tangible recording medium readable by a computer. The method for implementing the functions of each part included in the control unit 2 does not necessarily need to include software; all its functions may be implemented using one or more hardware components.

[0094] Multiple functions of one component in the above embodiments can be achieved through multiple components, or one function of one component can be achieved through multiple components. Alternatively, multiple functions of multiple components can be achieved through one component, or one function achieved by multiple components can be achieved through one component. Furthermore, a portion of the configuration in the above embodiments can be omitted. Additionally, at least a portion of the configuration in the above embodiments can be added to or replaced with other configurations of the above embodiments.

[0095] In addition to the ECU1 described above, this disclosure can also be implemented in various ways, such as a system that uses the ECU1 as a component, a program for enabling a computer to function as the ECU1, a non-transferable physical recording medium such as a semiconductor memory that records the program, and a control method.

Claims

1. A control device for controlling the execution of multiple applications, wherein, have: The resource determination unit is configured to determine, when there is a startup requirement that requires the above-mentioned application to start, whether there are insufficient resources for executing one or more running applications and the startup target application, wherein the running applications are one or more of the above-mentioned applications that are currently running, and the startup target application is the above-mentioned application that is the object of the startup requirement. as well as The scheme setting unit is configured to set one or more action restriction schemes to avoid resource shortage when the resource judgment unit determines that the resources are insufficient. The action restriction schemes indicate to one or more of the applications being executed and the application being launched whether to execute them in normal mode or in a degraded mode that restricts the actions compared to the normal mode.

2. The control device according to claim 1, wherein, It also has: The scheme execution unit is configured to execute one or more of the above-mentioned applications in execution and the above-mentioned launch object applications in the above-mentioned execution mode of an action restriction scheme set by the scheme setting unit.

3. The control device according to claim 2, wherein, It also has: The scheme notification department is configured to notify the user of one or more of the aforementioned action restriction schemes set by the scheme setting department. The above-mentioned scheme execution unit is configured to execute one or more of the above-mentioned applications in execution and the above-mentioned launch object applications in accordance with the above-mentioned execution mode of an action restriction scheme agreed upon by the above-mentioned user.

4. The control device according to claim 3, wherein, It also has: The user selection unit is configured to enable the user to select one of the action restriction schemes from one or more action restriction schemes notified by the scheme notification unit. The above-mentioned scheme implementation department will select one of the above-mentioned action restriction schemes from the above-mentioned user selection department as an action restriction scheme that has been agreed upon by the above-mentioned user.

5. The control device according to claim 2, wherein, It also has: The selection unit is configured to select one of the motion restriction schemes set by the scheme setting unit. The above-mentioned scheme execution unit is configured to execute one or more of the above-mentioned execution applications and the above-mentioned launch object applications in the above-mentioned execution mode of an action restriction scheme selected by the above-mentioned selection unit.

6. The control device according to any one of claims 1 to 5, wherein, It also has: The resource degradation determination unit is configured to determine whether the aforementioned resources exist for causing the application currently executing in the aforementioned degradation mode to execute in the aforementioned normal mode; and The normal execution unit is configured to execute the application currently executing in the degraded mode in the normal mode when the degraded resource determination unit determines that there are resources for executing the application currently executing in the degraded mode in the normal mode.

7. The control device according to claim 6, wherein, It also has: The consent acquisition unit is configured to, when the aforementioned downgrade resource determination unit determines that there are resources available for enabling the application currently running in the downgraded mode to run in the normal mode, obtain consent from the user to enable the application currently running in the downgraded mode to run in the normal mode. The above-mentioned normal execution unit is configured to cause the application that is being executed in the above-mentioned downgraded mode to be executed in the above-mentioned normal mode when the above-mentioned consent acquisition unit obtains the above-mentioned consent from the above-mentioned user.

8. A control program product, wherein, The computer used to control the execution of multiple applications functions as a resource determination unit and a scheme setting unit. The resource determination unit described above is configured to, when there is a startup requirement to launch the aforementioned application, determine whether there are insufficient resources for executing one or more running applications and the application to be launched, where the running applications are one or more applications currently executing, and the application to be launched is the application that is the object of the startup requirement. The above-mentioned scheme setting unit is configured to set one or more action restriction schemes to avoid the above-mentioned resource shortage when the above-mentioned resource judgment unit determines that the above-mentioned resources are insufficient. The action restriction schemes respectively indicate to one or more of the above-mentioned applications in execution and the above-mentioned launch object applications whether to execute them in normal mode or to execute them in a degraded mode that restricts the actions compared with the above-mentioned normal mode as the execution mode for executing the above-mentioned applications.

9. A control method, executed by a control device that controls the execution of multiple applications, wherein, If there is a startup requirement to launch the aforementioned applications, determine whether there are insufficient resources for executing one or more running applications and the application to be launched. The running applications are one or more of the aforementioned applications that are currently running, and the application to be launched is the aforementioned application that is the object of the startup requirement. In the event of insufficient resources, one or more action restriction schemes are set to avoid such resource shortages. These action restriction schemes indicate whether to execute the application in normal mode or in a degraded mode that restricts actions compared to the normal mode for one or more of the applications in execution and the application to be launched.

Citation Information

Patent Citations

  • Controller, resource management method and resource management program

    JP2024077372A