Control device, storage medium storing control program, and control method
The control device addresses resource insufficiency by setting operation restriction patterns to execute applications in normal or degraded modes, ensuring continued operation and user approval, thus overcoming resource shortages in multi-application systems.
Patent Information
- Application Number
- US19/678262
- Authority / Receiving Office
- US · United States
- Patent Type
- Applications(United States)
- Current Assignee / Owner
- Priority Date
- 2025-05-21
- Filing Date
- 2026-05-15
- Publication Date
- 2026-11-26
AI Technical Summary
Existing systems face challenges in effectively utilizing resources when multiple applications share hardware, leading to potential application stoppages due to resource shortages.
A control device with a resource determination unit and pattern setting unit that determines resource insufficiency and sets operation restriction patterns to execute applications in normal or degraded modes, ensuring resources are allocated efficiently.
Prevents application stoppages by allocating resources to activate target applications in degraded mode, allowing continued operation even with insufficient resources, and notifies users for approval.
Smart Images

Figure US20260377235A1-D00000_ABST
Abstract
Description
CROSS REFERENCE TO RELATED APPLICATION
[0001] The present application claims the benefit of priority from Japanese Patent Application No. 2025-084924 filed on May 21, 2025. The entire disclosure of the above application is incorporated herein by reference.TECHNICAL FIELD
[0002] The present disclosure relates to a control device that controls execution of a plurality of applications.BACKGROUND
[0003] A control device has been known as a comparative example, and effectively utilizes hardware resources by allocating remaining hardware resources corresponding to hardware resources required for continuing operation of an automated driving application to a user application when a low load condition in which an operation load of the automated driving application falls within a set range is satisfied.SUMMARY
[0004] According to an aspect of the present disclosure, a control device may include at least one of (i) a circuit and (ii) a processor with a memory storing computer program code executable by the processor. The at least one of the circuit and the processor may be configured to cause the control device to: determine whether resources for executing (i) at least one currently executing application and (ii) an activation target application are insufficient; and set at least one operation restriction pattern for preventing the resources from becoming insufficient. The at least one operation restriction pattern may indicate whether to execute the at least one currently executing application and the activation target application in a normal mode or execute the at least one currently executing application and the activation target application in a degraded mode.BRIEF DESCRIPTION OF THE DRAWINGS
[0005] FIG. 1 is a block diagram showing a configuration of an electronic control unit.
[0006] FIG. 2 is a flowchart showing a first activation control process of a first embodiment.
[0007] FIG. 3 is a flowchart showing a second activation control process.
[0008] FIG. 4 is a diagram describing a specific example of restricting operation of an application.
[0009] FIG. 5 is a flowchart showing a first activation control process of a second embodiment.DETAILED DESCRIPTION
[0010] As a result of detailed study by inventors, a difficulty has been found that in a system in which a plurality of applications share resources, execution of an application may be stopped when a resource shortage is predicted, and resources cannot be effectively utilized.
[0011] An aspect of the present disclosure prevents stopping of execution of an application due to a resource shortage.
[0012] According to an aspect of the present disclosure, a control device for controlling the execution of a plurality of applications includes a resource determination unit and a pattern setting unit. The resource determination unit is configured to determine whether resources for executing, among the plurality of applications, (i) at least one currently executing application that is at least one application currently being executed and (ii) an activation target application that is an application subject to an activation request are insufficient when the activation request requesting activation of at least one of the plurality of applications is generated.
[0013] The pattern setting unit is configured to set at least one operation restriction pattern for resolving an insufficient state of the resources when the resource determination unit has determined that the resources are insufficient. The at least one operation restriction pattern indicates whether to execute the at least one currently executing application and the activation target application in a normal mode or execute the at least one currently executing application and the activation target application in a degraded mode in which an operation is more restricted than in the normal mode. The normal mode and the degraded mode are a plurality of execution modes for executing the plurality of applications.
[0014] In the control device of the present disclosure configured as described above, even when the resources for executing the activation target application are insufficient, by executing at least one currently executing application and the activation target application in the degraded mode, the resources can be allocated to the activation target application to execute the activation target application. Therefore, the control device of the present disclosure can prevent stopping of execution of the application due to the resource shortage.
[0015] According to another aspect of the present disclosure, a control program causes a computer of a control device that controls execution of a plurality of applications to function as a resource determination unit and a pattern setting unit.
[0016] The computer controlled by the control program of the present disclosure can constitute a part of the control device of the present disclosure, and can obtain effects similar to those of the control device of the present disclosure. Further, according to another aspect of the present disclosure, a control method is executed by a control device that controls execution of a plurality of applications.
[0017] In the control method of the present disclosure, the control device determines whether resources for executing at least one currently executing application that is at least one application currently being executed and an activation target application that is an application subject to an activation request are insufficient when there is the activation request requesting activation of an application.
[0018] When determining that the resources are insufficient, the control device sets at least one operation restriction pattern indicating whether to execute the application in a normal mode or to execute the application in a degraded mode in which an operation is more restricted than in the normal mode as an execution mode for executing the application for the at least one currently executing applications and the activation target application so that the resources are not insufficient.
[0019] The control method of the present disclosure is a method executed by the control device of the present disclosure, and by executing the method, it is possible to obtain effects similar to those of the control device of the present disclosure.First Embodiment
[0020] Hereinafter, a first embodiment of the present disclosure will be described with reference to the drawings. An electronic control unit (hereinafter, ECU) 1 of the present embodiment is mounted on a vehicle and includes a controller 2, a vehicle interior communication unit 3, and a storage 4 as shown in FIG. 1. ECU is an abbreviation for Electronic Control Unit.
[0021] The controller 2 mainly includes a microcomputer including a CPU 11, a ROM 12, a RAM 13, and the like. Various functions of the microcomputer are implemented by the CPU 11 executing a program stored in a non-transitory tangible storage medium. In this example, the ROM 12 corresponds to the non-transitory tangible storage medium storing the program. Also, by execution of this program, a method corresponding to the program is executed. Note that a part or all of functions executed by the CPU 11 may be configured by hardware using one or a plurality of ICs or the like. Also, the number of microcomputers constituting the controller 2 may be one or plural.
[0022] The vehicle interior communication unit 3 performs data communication with other ECUs and in-vehicle devices mounted on the vehicle via a communication network mounted on the vehicle. For the communication network, for example, Ethernet, CAN, or CAN FD can be used. Ethernet is a registered trademark. CAN is an abbreviation for Controller Area Network, and CAN FD is an abbreviation for CAN With Flexible Data Rate.
[0023] The storage 4 is a storage device for storing various data. The storage 4 stores a first application program 21, a second application program 22, a third application program 23, and a fourth application program 24.
[0024] The first application program 21 is a program for operating a first application described later. The second application program 22 is a program for operating a second application described later.
[0025] The third application program 23 is a program for operating a third application described later. The fourth application program 24 is a program for operating a fourth application described later.
[0026] The first application has a voice assistant function. The voice assistant function is implemented by the CPU 11 executing the first application program 21. The second application has a vehicle interior monitoring function. The vehicle interior monitoring function is implemented by the CPU 11 executing the second application program 22.
[0027] The third application has a driving diagnosis function. The driving diagnosis function is implemented by the CPU 11 executing the third application program 23. The fourth application has a video streaming function. The video streaming function is implemented by the CPU 11 executing the fourth application program 24.
[0028] The voice assistant function and the vehicle interior monitoring function are functions activated simultaneously with activation of the ECU 1. The driving diagnosis function and the video streaming function are functions activated by a request from an occupant of the vehicle.
[0029] The voice assistant function is a function of recognizing a voice in a vehicle interior and making a response according to a recognition result. The voice assistant function is configured to be operable in a normal mode or a degraded mode. The degraded mode is a mode capable of reducing resources required for processing compared to the normal mode. When operating in the degraded mode, the voice assistant function lowers accuracy of voice recognition, restricts instructions recognizable by voice, or lowers accuracy of in-vehicle noise canceling.
[0030] The vehicle interior monitoring function is a function of recognizing a status of the occupant from a vehicle interior camera image. The vehicle interior monitoring function is configured to be operable in the normal mode or the degraded mode. When operating in the degraded mode, the vehicle interior monitoring function lowers recognition accuracy of vehicle interior monitoring or restricts recognizable statuses.
[0031] The driving diagnosis function is a function of analyzing driving characteristics of a driver based on data of driving operation and notifying the driver of an analysis result. The driving diagnosis function is configured to be operable in the normal mode or the degraded mode. When operating in the normal mode, the driving diagnosis function performs diagnosis from a viewpoint of safe driving and eco-driving. When operating in the degraded mode, the driving diagnosis function simplifies types of input data and algorithms by performing only safe driving diagnosis, thereby reducing resources required for processing.
[0032] The video streaming function is a function of streaming and playing back a video. The video streaming function is configured to be operable in the normal mode or the degraded mode. When operating in the degraded mode, the video streaming function reduces resources and the like required for decoding by lowering image quality compared to the normal mode. Thus, the degraded mode is a mode that provides the same function as the normal mode but reduces a resource usage amount by providing the function with lower quality than in the normal mode.
[0033] Next, a procedure of a first activation control process executed by the ECU 1 will be described. The first activation control process is a process repeatedly executed during operation of the ECU 1. When the first activation control process is executed, the CPU 11 of the controller 2 determines whether the occupant of the vehicle (hereinafter, user) has requested activation of an application in S10 as shown in FIG. 2. The user requests activation of an application having a desired function by, for example, an input operation on a touch panel installed on a display screen of a CID, an operation on an operation switch installed on a steering wheel, or the voice assistant function. CID is an abbreviation for Center Information Display.
[0034] Here, when the user has not requested activation of an application, the CPU 11 ends the first activation control process. On the other hand, when the user has requested activation of an application, the CPU 11 determines whether resources for activating the application for which the activation request was made in S10 are insufficient in S20.
[0035] Specifically, the CPU 11 determines that the resources are insufficient when an added value (hereinafter, required resource value) obtained by adding a total value of CPU usage rates in one or a plurality of currently operating applications and a CPU usage rate in the normal mode in the application for which the activation request was made exceeds 100%.
[0036] Note that for each of the plurality of applications that the ECU 1 can operate, the CPU usage rate in the normal mode and the CPU usage rate in the degraded mode are set in advance.
[0037] For example, for the first application (that is, the voice assistant function), the CPU usage rate in the normal mode is 40%, and the CPU usage rate in the degraded mode is 20%. For the second application (that is, the vehicle interior monitoring function), the CPU usage rate in the normal mode is 30%, and the CPU usage rate in the degraded mode is 25%.
[0038] For the third application (that is, the driving diagnosis function), the CPU usage rate in the normal mode is 40%, and the CPU usage rate in the degraded mode is 25%. For the fourth application (that is, the video streaming function), the CPU usage rate in the normal mode is 20%, and the CPU usage rate in the degraded mode is 10%.
[0039] For example, it is assumed that an activation request for the third application is made while the first application and the second application are operating in the normal mode. In this case, the required resource value is 110% (= 40% + 30% + 40%), which exceeds 100%. Therefore, the CPU 11 determines that the resources are insufficient.
[0040] Here, when the resources for activating the application for which the activation request was made are not insufficient, the CPU 11 activates the application for which the activation request was made in S10 in S30, and ends the first activation control process.
[0041] On the other hand, when the resources for activating the application for which the activation request was made are insufficient, the CPU 11 sets an operation restriction pattern in S40. Specifically, for each of the one or the plurality of currently operating applications, there is a state of operating in the normal mode and a state of operating in the degraded mode. Also, for the application for which the activation request was made, there is a state of operating in the normal mode and a state of operating in the degraded mode.
[0042] The CPU 11 calculates a total value of CPU usage rates in each of combinations of the plurality of states described above for the one or the plurality of currently operating applications and the application for which the activation request was made, and adopts a state combination in which the total value does not exceed 100% as the operation restriction pattern.
[0043] For example, assume that an activation request for the third application is made while the first application and the second application are operating in the normal mode. In this case, first to eighth state combinations exist.
[0044] The first state combination is a combination in which the first application is in the normal mode, the second application is in the normal mode, and the third application is in the normal mode. The CPU usage rate total value in this case is 110% (= 40% + 30% + 40%), which exceeds 100%. Therefore, the first state combination is not adopted as the operation restriction pattern.
[0045] The second state combination is a combination in which the first application is in the normal mode, the second application is in the normal mode, and the third application is in the degraded mode. The CPU usage rate total value in this case is 95% (= 40% + 30% + 25%), which does not exceed 100%. Therefore, the second state combination can be adopted as the operation restriction pattern.
[0046] The third state combination is a combination in which the first application is in the normal mode, the second application is in the degraded mode, and the third application is in the normal mode. The CPU usage rate total value in this case is 105% (= 40% + 25% + 40%), which exceeds 100%. Therefore, the third state combination is not adopted as the operation restriction pattern.
[0047] The fourth state combination is a combination in which the first application is in the normal mode, the second application is in the degraded mode, and the third application is in the degraded mode. The CPU usage rate total value in this case is 90% (= 40% + 25% + 25%), which does not exceed 100%. Therefore, the fourth state combination can be adopted as the operation restriction pattern.
[0048] The fifth state combination is a combination in which the first application is in the degraded mode, the second application is in the normal mode, and the third application is in the normal mode. The CPU usage rate total value in this case is 90% (= 20% + 30% + 40%), which does not exceed 100%. Therefore, the fifth state combination can be adopted as the operation restriction pattern.
[0049] The sixth state combination is a combination in which the first application is in the degraded mode, the second application is in the normal mode, and the third application is in the degraded mode. The CPU usage rate total value in this case is 75% (= 20% + 30% + 25%), which does not exceed 100%. Therefore, the sixth state combination can be adopted as the operation restriction pattern.
[0050] The seventh state combination is a combination in which the first application is in the degraded mode, the second application is in the degraded mode, and the third application is in the normal mode. The CPU usage rate total value in this case is 85% (= 20% + 25% + 40%), which does not exceed 100%. Therefore, the seventh state combination can be adopted as the operation restriction pattern.
[0051] The eighth state combination is a combination in which the first application is in the degraded mode, the second application is in the degraded mode, and the third application is in the degraded mode. The CPU usage rate total value in this case is 70% (= 20% + 25% + 25%), which does not exceed 100%. Therefore, the eighth state combination can be adopted as the operation restriction pattern.
[0052] From 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 adopted as the operation restriction pattern.
[0053] However, when there is an operation restriction pattern in which only one application is in the degraded mode among one or a plurality of adoptable operation restriction patterns, the CPU 11 adopts the operation restriction pattern in which only one application is in the degraded mode and does not adopt other operation restriction patterns.
[0054] Therefore, the CPU 11 sets the second state combination and the fifth state combination as the operation restriction patterns. The CPU 11 notifies the user of the one or the plurality of operation restriction patterns set in S40 in S50. However, the CPU 11 also notifies the user of an operation restriction pattern in which the application for which the activation request was made is not activated (that is, a pattern in which an application operation state at the present time is not changed).
[0055] For example, when the activation request for the application is made by the input operation on the touch panel, the CPU 11 displays the set one or plurality of operation restriction patterns on the display screen of the CID. Also, when the activation request for the application is made by the operation on the operation switch installed on the steering wheel, the CPU 11 displays the set one or plurality of operation restriction patterns on a meter display or a HUD. Also, when the activation request for the application is made by the voice assistant function, the CPU 11 notifies the set one or plurality of operation restriction patterns by voice output from a speaker and display by the meter display or the HUD. HUD is an abbreviation for Head Up Display.
[0056] The CPU 11 determines whether the user has instructed the operation restriction pattern in S60. The user instructs the operation restriction pattern by, for example, an input operation on the touch panel installed on the display screen of the CID, an operation on the operation switch installed on the steering wheel, or the voice assistant function.
[0057] Here, when the user has not instructed the operation restriction pattern, the CPU 11 rejects the activation request for the application in S10 in S62, and ends the first activation control process. On the other hand, when the user has instructed the operation restriction pattern, the CPU 11 activates each application in a mode indicated by the operation restriction pattern instructed by the user in S70.
[0058] For example, when the operation restriction pattern instructed by the user is the second state combination described above, the CPU 11 activates the third application in the degraded mode. Also, when the operation restriction pattern instructed by the user is the fifth state combination described above, the CPU 11 activates the first application in the degraded mode and activates the third application in the normal mode.
[0059] The CPU 11 notifies the user of content of the operation restriction pattern changed in accordance with an instruction of the user in S80, and ends the first activation control process. For example, when the activation request for the application is made by the input operation on the touch panel, the CPU 11 displays the operation restriction pattern after being changed on the display screen of the CID. Also, when the activation request for the application is made by the operation on the operation switch installed on the steering wheel, the CPU 11 displays the operation restriction pattern after being changed on the meter display or the HUD. Also, when the activation request for the application is made by the voice assistant function, the CPU 11 notifies the operation restriction pattern after being changed by voice output from the speaker and display by the meter display or the HUD.
[0060] Next, a procedure of a second activation control process executed by the ECU 1 will be described. The second activation control process is a process repeatedly executed during operation of the ECU 1. When the second activation control process is executed, the CPU 11 of the controller 2 determines whether an application operating in the degraded mode exists in S210 as shown in FIG. 3.
[0061] Here, when the application operating in the degraded mode does not exist, the CPU 11 ends the second activation control process. On the other hand, when the application operating in the degraded mode exists, the CPU 11 determines whether there is a margin of resources necessary for changing the application operating in the degraded mode to the normal mode in S220. The margin may be also referred to as a headroom.
[0062] Specifically, the CPU 11 determines that there is the margin of resources when an added value (that is, required resource value) obtained by adding a total value of CPU usage rates in one or a plurality of applications operating in the normal mode and a CPU usage rate when operating the application operating in the degraded mode in the normal mode is 100% or less.
[0063] A specific example of transition from a state where there is no margin of resources to a state where there is a margin of resources may include, for example, transition from a state where the first, second, third, and fourth applications are operating to a state where the fourth application stops operation and the first, second, and third applications are operating.
[0064] Here, when there is no margin of resources, the CPU 11 ends the second activation control process. On the other hand, when there is a margin of resources, the CPU 11 notifies the user that the application operating in the degraded mode can be operated in the normal mode in S230.
[0065] The CPU 11 determines whether the user has instructed whether to operate the application operating in the degraded mode in the normal mode in S240. The user provides instructions indicating whether to operate in the normal mode by, for example, an input operation on the touch panel installed on the display screen of the CID, an operation on the operation switch installed on the steering wheel, or the voice assistant function.
[0066] Here, when the user has not instructed whether to operate in the normal mode, the CPU 11 ends the second activation control process. On the other hand, when the user has instructed whether to operate in the normal mode, the CPU 11 determines whether the user has instructed to operate in the normal mode in S250.
[0067] Here, when the user instructs not to operate in the normal mode (that is, to maintain operation in the degraded mode), the CPU 11 ends the second activation control process. On the other hand, when the user instructs to operate in the normal mode, the CPU 11 activates the application operating in the degraded mode in the normal mode in S260.
[0068] The CPU 11 notifies the user that the application operating in the degraded mode has been activated in the normal mode in S270, and ends the second activation control process. Next, a specific example of restricting operation of an application will be described.
[0069] As shown in FIG. 4, it is assumed that an activation request for the application having the driving diagnosis function is made while the application having the voice assistant function and the application having the vehicle interior monitoring function are operating in the normal mode.
[0070] When the application having the driving diagnosis function is activated, the CPU usage rate total value becomes 110% (= 40% + 30% + 40%), which exceeds 100%. Therefore, the ECU 1 sets one or a plurality of operation restriction patterns and proposes them to the user.
[0071] The ECU 1 notifies, for example, as a first suggestion, changing the application having the voice assistant function to the degraded mode and activating the application having the driving diagnosis function.
[0072] The ECU 1 proposes, for example, as a second suggestion, activating the application having the driving diagnosis function in the degraded mode. The user determines and selects which suggestion to implement according to a situation. For example, the user determines "I don't think I'll use the voice assistant for a while, so let's select the first suggestion", or determines "since a simple driving diagnosis is necessary, so let's select the second suggestion".
[0073] When the first suggestion is selected, the application having the voice assistant function operates in the degraded mode, the application having the vehicle interior monitoring function operates in the normal mode, and the application having the driving diagnosis function operates in the normal mode. The CPU usage rate total value in this case is 90% (= 40% + 25% + 25%), which does not exceed 100%.
[0074] When the second suggestion is selected, the application having the voice assistant function operates in the normal mode, the application having the vehicle interior monitoring function operates in the normal mode, and the application having the driving diagnosis function operates in the degraded mode. The CPU usage rate total value in this case is 95% (= 40% + 30% + 25%), which does not exceed 100%.
[0075] The ECU 1 configured as described above controls execution of a plurality of applications. When there is an activation request requesting activation of an application, the ECU 1 determines whether resources for executing one or a plurality of applications currently being executed (hereinafter, one or a plurality of currently executing applications) and an application subject to the activation request (hereinafter, activation target application) are insufficient.
[0076] When determining that the resources are insufficient, the ECU 1 sets one or a plurality of operation restriction patterns indicating whether to execute the application in a normal mode or to execute the application in a degraded mode in which an operation is more restricted than in the normal mode as an execution mode for executing the application for each of the one or the plurality of currently executing applications and the activation target application so that the resources are not insufficient.
[0077] Such an ECU 1 can allocate resources to the activation target application to execute the activation target application by executing at least one of the one or the plurality of currently executing applications or the activation target application in the degraded mode even when the resources for executing the activation target application are insufficient. Therefore, the ECU 1 can prevent stopping of execution of the application due to the resource shortage.
[0078] Also, the ECU 1 executes the one or the plurality of currently executing applications and the activation target application in an execution mode according to the set one operation restriction pattern. Thereby, even when the resources are insufficient, the ECU 1 can allocate resources to the activation target application to execute the activation target application.
[0079] Also, the ECU 1 notifies the user of the set one or plurality of operation restriction patterns. Then, the ECU 1 executes the one or the plurality of currently executing applications and the activation target application in an execution mode according to one operation restriction pattern for which approval from the user is obtained. Thereby, the ECU 1 can execute the one or the plurality of currently executing applications and the activation target application with the operation restriction pattern desired by the user.
[0080] Also, the ECU 1 causes the user to select one operation restriction pattern from the notified one or plurality of operation restriction patterns. Then, the ECU 1 sets the selected one operation restriction pattern as the one operation restriction pattern for which approval from the user is obtained. Thereby, the ECU 1 can execute the one or the plurality of currently executing applications and the activation target application with the operation restriction pattern desired by the user by selection of the user.
[0081] Also, the ECU 1 determines whether resources for executing the application being executed in the degraded mode in the normal mode exist. Then, when determining that the resources for executing the application being executed in the degraded mode in the normal mode exist, the ECU 1 executes the application being executed in the degraded mode in the normal mode. Thereby, the ECU 1 can suppress unnecessary continuation of a state where operation of the application is restricted.
[0082] Also, when determining that the resources for executing the application being executed in the degraded mode in the normal mode exist, the ECU 1 obtains approval for executing, in the normal mode, the application being executed in the degraded mode from the user. Then, when the approval is obtained from the user, the ECU 1 executes the application being executed in the degraded mode in the normal mode. Thereby, the ECU 1 can cause the user to recognize that the application transitions from the degraded mode to the normal mode.
[0083] In the embodiment described above, the ECU 1 corresponds to a control device, S20 corresponds to processes as a resource determination unit, S40 corresponds to processes as a pattern setting unit, S70 corresponds to processes as a pattern execution unit, and S50 corresponds to processes as a pattern notification unit.
[0084] Also, S60 corresponds to processes as a user selection unit, S220 corresponds to processes as a degraded resource determination unit, S260 corresponds to processes as a normal execution unit, and S230 to S250 correspond to processes as an approval acquisition unit.Second Embodiment
[0085] Hereinafter, a second embodiment of the present disclosure will be described with reference to the drawings. Note that in the second embodiment, parts different from the first embodiment will be described. Common configurations are denoted by the same reference numerals.
[0086] The ECU 1 of the second embodiment is different from the first embodiment in that the first activation control process is changed. As shown in FIG. 5, the first activation control process of the second embodiment is different from the first embodiment in that processes of S65 and S75 are executed instead of S50, S60, and S70.
[0087] That is, when the process of S40 ends, the CPU 11 selects one operation restriction pattern from the one or the plurality of operation restriction patterns set in S40 in S65. The CPU 11 may select one operation restriction pattern based on a selection criterion set in advance, or may select one operation restriction pattern randomly.
[0088] When the process of S65 ends, the CPU 11 activates each application in a mode indicated by the operation restriction pattern selected in S65 in S75, and proceeds to S80. The ECU 1 configured as described above selects one operation restriction pattern from the set one or plurality of operation restriction patterns. Then, the ECU 1 executes the one or the plurality of currently executing applications and the activation target application in an execution mode according to the selected one operation restriction pattern. Thereby, the ECU 1 can make work of the user selecting the operation restriction pattern unnecessary.
[0089] In the embodiment described above, S65 corresponds to processing as a selection unit, and S75 corresponds to processing as a pattern execution unit. Although one embodiment of the present disclosure has been described above, the present disclosure is not limited to the above embodiment, and can be implemented with various modifications.
[0090] The controller 2 and the method thereof described in the present disclosure may be implemented by a dedicated computer provided by configuring a processor and a memory programmed to execute one or a plurality of functions embodied by a computer program code. Alternatively, the controller 2 and the method thereof described in the present disclosure may be implemented by a dedicated computer provided by configuring a processor with one or more dedicated hardware logic circuits. Alternatively, the controller 2 and the method thereof described in the present disclosure may be implemented by one or more dedicated computers configured by a combination of a processor and a memory programmed to execute one or a plurality of functions and one or more hardware logic circuits. Also, the computer program may be stored in a computer-readable non-transitory tangible storage medium as instructions executed by a computer. The method for implementing the function of each unit included in the controller 2 does not necessarily need to include software, and all the functions thereof may be implemented using one or a plurality of pieces of hardware.
[0091] In the present disclosure, the term "processor" may refer to a single hardware processor or several hardware processors that are configured to execute processing defined by computer program code (i.e., one or more instructions of a computer program) by sequentially reading the computer program code included in a computer program. In other words, a "processor" is a hardware device that executes one or more program processes. Therefore, the computer program code can be considered software that defines the processing of the processor according to its content. The "processor" may be a general-purpose or specific-purpose processor, such as, CPU (Central Processing Unit), a microprocessor, GPU (Graphics Processing Unit) and DFP (Data Flow Processor), but is not limited to these examples.
[0092] In the present disclosure, the term "memory" is a non-transitory tangible storage medium and may refer to a single or several hardware memories configured to store computer program code and / or data in a manner accessible by the processor. The "memory" may be implemented using any suitable memory technology, such as SRAM (Static Random-access Memory), SDRAM (Synchronous Dynamic RAM), nonvolatile / flash memory, or other types of memory. The computer program code that constitutes the program is stored on the memory and, when executed by a processor, causes the processor to realize the various functions described above.
[0093] In the present disclosure, the term "circuit" refers to a single hardware logic circuit or several hardware logic circuits (in other words, "circuitry") that are configured to execute specific processing defined based on a pre-designed circuit configuration. In other words (and in contrast to the "processor"), the term "circuit" in the present disclosure refers to a hardware device that executes specific processing based on a circuit configuration, not processing defined by software such as the above-described computer program code. For instance, "circuit" may include a custom IC (Integrated Circuit) such as ASIC (Application Specific Integrated Circuit) or FPGA (Field Programmable Gate Array) designed using a hardware description language (HDL). That is, the term "circuit" in the present disclosure includes all hardware circuits except the above-described processor that executes processing by reading computer program code.
[0094] In the present disclosure, the phrase "at least one of a circuit and a processor" should be interpreted disjunctively (logical OR) and should not be interpreted as at least one circuit and at least one processor. Therefore, in the present disclosure, "at least one of a circuit and a processor is configured to cause the control device to execute functions" includes the case where only the circuit causes the control device to execute all the functions. Additionally, "at least one of a circuit and a processor is configured to cause the control device to execute functions" includes the case where only the processor causes the control device to execute all the functions. Furthermore, "at least one of a circuit and a processor is configured to cause the control device to execute functions" includes the case where the circuit causes the control device to execute some of the functions and the processor causes the control device to execute the remaining functions. In the last case, for instance, if the control device executes functions A to C, functions A and B may be implemented by the circuit, and the remaining function C may be implemented by the processor.
[0095] A plurality of functions included in one component in the above embodiment may be implemented by a plurality of components, or one function included in one component may be implemented by a plurality of components. Also, a plurality of functions included in a plurality of components may be implemented by one component, or one function implemented by a plurality of components may be implemented by one component. Also, a part of the configuration of the above embodiment may be omitted. Also, at least a part of the configuration of the above embodiment may be added to or replaced with the configuration of another above embodiment.
[0096] In addition to the ECU 1 described above, the present disclosure can be implemented in various forms such as a system having the ECU 1 as a component, a program for causing a computer to function as the ECU 1, a non-transitory tangible storage medium such as a semiconductor memory storing this program, and a control method.
[0097] In a set operation restriction pattern, the application having the voice assistant function, the vehicle interior monitoring function, or the driving diagnosis function may be executed to control traveling of the vehicle and / or opening and closing of a door in accordance with a result obtained by the function of the executed application. The result obtained by the function of the executed application includes, for example, a user’s voice response to a voice notification provided by the voice assistant function, an operation on a touch panel or a switch, a monitoring result obtained by the vehicle interior monitoring function, and a diagnosis result obtained by the driving diagnosis function.
Claims
1. A control device configured to control execution of a plurality of applications, the control device comprising:at least one of (i) a circuit and (ii) a processor with a memory storing computer program code executable by the processor, the at least one of the circuit and the processor configured to cause the control device to:determine whether resources for executing, among the plurality of applications, (i) at least one currently executing application that is at least one application currently being executed and (ii) an activation target application that is an application subject to an activation request are insufficient when the activation request requesting activation of at least one of the plurality of applications is generated; andset at least one operation restriction pattern for resolving an insufficient state of the resources when having determined that the resources are insufficient,whereinthe at least one operation restriction pattern indicates whether toexecute the at least one currently executing application and the activation target application in a normal mode orexecute the at least one currently executing application and the activation target application in a degraded mode in which an operation is more restricted than in the normal mode, andthe normal mode and the degraded mode are a plurality of execution modes for executing the plurality of applications.
2. The control device according to claim 1, whereinthe at least one of the circuit and the processor is further configured to execute the at least one currently executing application and the activation target application in the plurality of execution modes according to one operation restriction pattern that has been set.
3. The control device according to claim 2, whereinthe at least one of the circuit and the processor is further configured tonotify a user of the at least one operation restriction pattern that has been set, andexecute the at least one currently executing application and the activation target application in the plurality of execution modes according to the at least one operation restriction pattern for which approval from the user is obtained.
4. The control device according to claim 3, whereinthe at least one of the circuit and the processor is further configured tocause the user to select one of the at least one operation restriction pattern that has been notified, andset the selected one operation restriction pattern to one operation restriction pattern for which approval from the user is obtained.
5. The control device according to claim 2, whereinthe at least one of the circuit and the processor is further configured toselect one of the at least one operation restriction pattern that has been set, andexecute the at least one currently executing application and the activation target application in the plurality of execution modes according to the selected one operation restriction pattern.
6. The control device according to claim 1, whereinthe at least one of the circuit and the processor is further configured todetermine whether the resources for executing, in the normal mode, at least one of the plurality of applications being executed in the degraded mode exist, andexecute, in the normal mode, the at least one of the plurality of applications being executed in the degraded mode when determining that the resources for executing, in the normal mode, the at least one of the plurality of applications being executed in the degraded mode exist.
7. The control device according to claim 6, whereinthe at least one of the circuit and the processor is further configured toobtain approval for executing, in the normal mode, the at least one of the plurality of applications being executed in the degraded mode from a user when having determined that the resources for executing, in the normal mode, the at least one of the plurality of applications being executed in the degraded mode exist, andexecute, in the normal mode, the at least one of the plurality of applications being executed in the degraded mode when acquiring the approval from the user.
8. A non-transitory computer-readable storage medium storing a control program for causing a computer of a control device that controls execution of a plurality of applications to:determine whether resources for executing, among the plurality of applications, (i) at least one currently executing application that is at least one application currently being executed and (ii) an activation target application that is an application subject to an activation request are insufficient when the activation request requesting activation of at least one of the plurality of applications is generated; andset at least one operation restriction pattern for resolving an insufficient state of the resources when having determined that the resources are insufficient,whereinthe at least one operation restriction pattern indicates whether toexecute the at least one currently executing application and the activation target application in a normal mode orexecute the at least one currently executing application and the activation target application in a degraded mode in which an operation is more restricted than in the normal mode, andthe normal mode and the degraded mode are a plurality of execution modes for executing the plurality of applications.
9. A control method executed by a control device that controls execution of a plurality of applications, the control method comprising:determining whether resources for executing, among the plurality of applications, (i) at least one currently executing application that is at least one application currently being executed and (ii) an activation target application that is an application subject to an activation request are insufficient when the activation request requesting activation of at least one of the plurality of applications is generated; andsetting at least one operation restriction pattern for resolving an insufficient state of the resources when having determined that the resources are insufficient,whereinthe at least one operation restriction pattern indicates whether toexecute the at least one currently executing application and the activation target application in a normal mode orexecute the at least one currently executing application and the activation target application in a degraded mode in which an operation is more restricted than in the normal mode, andthe normal mode and the degraded mode are a plurality of execution modes for executing the plurality of applications.
