Calculation processing device and calculation processing method
By dynamically adjusting the resource allocation of virtual processor cores and virtual memories in the virtualized system, the problem of high-speed startup of multiple OSs is solved, resource optimization of the first, last and intermediate OS is realized, ensuring the overall startup of the system. Efficiency and speed of application system action.
Patent Information
- Application Number
- CN202410319741.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Priority Date
- 2023-03-28
- Filing Date
- 2024-03-20
- Publication Date
- 2024-10-01
AI Technical Summary
The existing technology is difficult to achieve high speed when multiple operating systems (OS) are started. In particular, the operation of intermediate boot OS and specific application systems is temporarily accelerated, and the startup speed of each OS is not considered when multiple OSs are started in parallel. change.
By dynamically adjusting the resource allocation of virtual processor cores and virtual memories in the virtualization system, resource optimization is performed according to the startup sequence and priority, ensuring that the first and last OS can use more resources, while the intermediate OS uses less resources, and The operating status monitoring unit is partially activated before starting to efficiently determine the starting status.
It achieves faster startup of multiple OS and temporary faster operation of specific application systems, improving the overall startup efficiency and resource utilization of the system.
Smart Images

Figure CN118733137A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to an operation processing device and an operation processing method. Background Art
[0002] Conventionally, there is known a technique for executing multiple operating systems (OS) in parallel by virtualization technology. For example, in the technique of Patent Document 1, two OS are operated in parallel on multiple virtual processor cores.
[0003] In the technology of patent document 2, when multiple OSes are started up sequentially on a virtualized system, the number of virtual processor cores allocated to the first OS during its startup is greater than the number of virtual processor cores allocated to the first OS after all OSes have finished starting up, thereby attempting to speed up the startup of the first OS. Prior art literature Patent Literature
[0004] Patent Document 1: Japanese Patent Application Publication No. 2010-277177 Patent Document 2: Japanese Patent Application Publication No. 2020-201762 Summary of the invention Technical problem to be solved by the invention
[0005] However, the technology of Patent Document 2 can attempt to realize the high-speed startup of the first OS that is started first, but cannot attempt to realize the high-speed startup of the OS that is started last. In addition, in recent years, the functions of the vehicle computing processing device involve multiple aspects, and sometimes more than three OSes are provided. However, the technology of Patent Document 2 does not consider the case of having more than three OSes, and cannot attempt to realize the high-speed startup of the OS that is started in the middle. In addition, the technology of Patent Document 2 does not consider the allocation of RAM during the startup process, which is not enough to achieve high-speed startup.
[0006] Furthermore, the technology of Patent Document 2 does not consider speeding up the startup of each OS when a plurality of OS are started in parallel.
[0007] In addition, after the booting of the plurality of OSes is completed, it is desired to temporarily speed up the operation of a specific application system executed by each OS. However, the technology of Patent Document 2 does not consider temporarily speeding up the operation of a specific application system.
[0008] Therefore, an object of the present application is to provide an operation processing device and an operation processing method that can speed up the startup of multiple OSes in a virtualization system using virtualization technology or speed up a specific application system after completing the startup of multiple OSes. Technical means for solving technical problems
[0009] The first computing device involved in the present application includes: A physical processor and memory used by the physical processor; a virtualization unit that generates a virtualized system having a plurality of virtual processor cores and virtual memories that operate using the physical processor and the memory; and an action control unit that determines the number of OS operations that are operating systems that operate on the virtualization system, and resource allocation that is the number of virtual processor cores and the area of the virtual memory allocated to each of the OS operations, and causes the OS operations to operate based on the resource allocation. After the virtualization system is generated, the action control unit sequentially causes two or more predetermined numbers of the OS to complete startup in a startup completion order. After the booting of the prescribed number of OSs is completed, the resource allocation allocated to each of the prescribed number of OSs is set to a predetermined resource allocation, During the startup process of the specified number of OSs, the number of virtual processor cores and the virtual memory area allocated to the OSs during the entire startup process of all the OSs will be set to be larger than the number of virtual processor cores and the virtual memory area of the OSs in the entire startup process set in the specified resource allocation. In the case that the started OS is a specific OS, the number of virtual processor cores and the virtual memory area allocated to the specific OS will be set to be smaller than the number of virtual processor cores and the virtual memory area of the specific OS set in the specified resource allocation, and the reduced part will be allocated to the OSs in the entire startup process.
[0010] The second processing device involved in the present application includes: A physical processor and memory used by the physical processor; a virtualization unit that generates a virtualized system having a plurality of virtual processor cores and virtual memories that operate using the physical processor and the memory; and an action control unit that determines the number of OS operations that are operating systems that operate on the virtualization system, and resource allocation that is the number of virtual processor cores and the area of the virtual memory allocated to each of the OS operations, and causes the OS operations to operate based on the resource allocation. After the virtualization system is generated, the action control unit sequentially causes two or more predetermined numbers of the OS to complete startup in a startup completion order. After the booting of the prescribed number of OSs is completed, the resource allocation allocated to each of the prescribed number of OSs is set to a predetermined resource allocation, Each of the predetermined number of OSs includes an operation state monitoring unit that monitors an operation state of the OS itself. The action control unit allocates, during the booting process of the specified number of OSs, to the OSs before the start of the overall booting for booting all the OSs, the minimum number of virtual processor cores and the minimum number of virtual memory areas of the OSs before the start of the overall booting, which are smaller than the number of virtual processor cores and the minimum number of virtual memory areas of the OSs before the start of the overall booting set in the specified resource allocation, and partially starts and operates the action status monitoring units of the OSs from before the start of the overall booting, The operation status monitoring unit of each of the OS transmits the startup status of the corresponding OS to the operation control unit, The operation control unit sequentially starts all the startups of the OSes in the startup completion order based on the startup states of the OSes transmitted from the operation state monitoring units of the OSes, and sequentially completes the startup of the predetermined number of OSes.
[0011] The third computing device involved in the present application includes: A physical processor and memory used by the physical processor; a virtualization unit that generates a virtualized system having a plurality of virtual processor cores and virtual memories that operate using the physical processor and the memory; and an operation control unit that determines resource allocation of the number of virtual processor cores and the area of the virtual memory for each of a predetermined number of operating systems assigned to operate on the virtualization system, and causes the predetermined number of OSes to operate according to the resource allocation, After the startup of the specified number of OSs is completed, in a case where the single or multiple application systems (i.e., Apps) executed on each of the OSs include a pre-set single or multiple specific Apps, the action control unit determines the specific Apps with the highest priority (i.e., the specific Apps with the highest priority) from among the single or multiple specific Apps included, determines the resource allocation corresponding to the specific Apps with the highest priority (i.e., the priority resource allocation), sets the priority resource allocation as the resource allocation, and in a case where the single or multiple specific Apps are not included, determines a specified resource allocation as the specified resource allocation, and sets the specified resource allocation as the resource allocation, In the priority resource allocation, the number of virtual processor cores and the virtual memory area of the OS corresponding to the highest priority allocated to execute the specific apps with the highest priority, i.e., the number of virtual processor cores and the virtual memory area of the OS corresponding to the highest priority, are set to be greater than the number of virtual processor cores and the virtual memory area of the OS corresponding to the highest priority set in the prescribed resource allocation.
[0012] The first operation processing method involved in the present application enables the physical processor and the memory used by the physical processor to perform the following steps: a virtualization step of generating a virtualized system having a plurality of virtual processor cores and virtual memories that operate using the physical processor and the memory; and an action control step of determining the number of actions of OS as operating systems operating on the virtualization system, and resource allocation as the number of virtual processor cores and the area of the virtual memory allocated to each of the OS in the number of actions, and causing the OS in the number of actions to act according to the resource allocation, In the action control step, after the virtualization system is generated, two or more predetermined numbers of the OS are sequentially started up in a startup completion order. After the booting of the prescribed number of OSs is completed, the resource allocation allocated to each of the prescribed number of OSs is set to a predetermined resource allocation, During the startup process of the specified number of OSs, the number of virtual processor cores and the virtual memory area allocated to the OSs during the entire startup process of all the OSs will be set to be larger than the number of virtual processor cores and the virtual memory area of the OSs in the entire startup process set in the specified resource allocation. In the case that the started OS is a specific OS, the number of virtual processor cores and the virtual memory area allocated to the specific OS will be set to be smaller than the number of virtual processor cores and the virtual memory area of the specific OS set in the specified resource allocation, and the reduced part will be allocated to the OSs in the entire startup process.
[0013] The second operation processing method involved in the present application enables the physical processor and the memory used by the physical processor to perform the following steps: a virtualization step of generating a virtualized system having a plurality of virtual processor cores and virtual memories that operate using the physical processor and the memory; and an action control step of determining the number of actions of OS as operating systems operating on the virtualization system, and resource allocation as the number of virtual processor cores and the area of the virtual memory allocated to each of the OS in the number of actions, and causing the OS in the number of actions to act according to the resource allocation, In the action control step, after the virtualization system is generated, two or more predetermined numbers of the OS are sequentially started up in a startup completion order. After the booting of the prescribed number of OSs is completed, the resource allocation allocated to each of the prescribed number of OSs is set to a predetermined resource allocation, Each of the predetermined number of OSs includes an operation state monitoring unit that monitors an operation state of the OS itself. In the action control step, during the booting process of the specified number of OSs, the number of virtual processor cores and the area of the virtual memory of the OS before the start of the booting of all the OSs are allocated to the OS before the start of the booting of all the OSs, which are smaller than the number of virtual processor cores and the area of the virtual memory of the OS before the start of the booting of all the OSs set in the specified resource allocation, and which are the minimum number of virtual processor cores and the area of the virtual memory of the OS before the start of the booting of all the OSs, at least for the operation status monitoring unit to operate, so that the operation status monitoring unit of the OS is partially started and operated from before the start of the booting of all the OSs, Based on the activation status of each of the OS transmitted from the operation status monitoring unit of each of the OS, all of the OS are sequentially started to be activated in the activation completion order, and the activation of the predetermined number of OS is sequentially completed.
[0014] The third operation processing method involved in the present application enables the physical processor and the memory used by the physical processor to perform the following steps: a virtualization step of generating a virtualized system having a plurality of virtual processor cores and virtual memories that operate using the physical processor and the memory; and an action control step of determining resource allocation of the number of virtual processor cores and the area of the virtual memory for each of the predetermined number of operating systems assigned to operate on the virtualization system, and causing the predetermined number of OS to operate according to the resource allocation, In the action control step, after the startup of the specified number of OSs is completed, in a case where the single or multiple application systems (i.e., Apps) executed on each of the OSs include a pre-set single or multiple specific Apps, the specific Apps with the highest priority (i.e., the specific Apps with the highest priority) are determined from among the included single or multiple specific Apps, the resource allocation (i.e., the priority resource allocation) corresponding to the specific Apps with the highest priority is determined, and the priority resource allocation is set as the resource allocation; in a case where the single or multiple specific Apps are not included, a specified resource allocation as the specified resource allocation is determined, and the specified resource allocation is set as the resource allocation, In the priority resource allocation, the number of virtual processor cores and the virtual memory area of the OS corresponding to the highest priority allocated to execute the specific apps with the highest priority, i.e., the number of virtual processor cores and the virtual memory area of the OS corresponding to the highest priority, are set to be greater than the number of virtual processor cores and the virtual memory area of the OS corresponding to the highest priority set in the prescribed resource allocation. Effects of the Invention
[0015] According to the first vehicle control device and vehicle control method involved in the present application, the resources allocated to the OS in the entire startup process are more than the resources of the OS in the entire startup process set as the prescribed resource allocation. In the case where the OS that has been started is a specific OS, the resources of the specific OS that has been started are set to be less than the resources of the specific OS set as the prescribed resource allocation, and the reduced part is allocated to the OS in the entire startup process. As a result, not only for the OS that is started first, but also for the OS that is started last and in the middle, more resources than the prescribed resource allocation can be used to speed up the startup of the OS.
[0016] According to the second vehicle control device and vehicle control method involved in the present application, since the operation state monitoring units of the respective OS are started and operated in parallel before the overall startup of the respective OSes is started, the startup state of the respective OSes can be determined with high accuracy and rapidity, and the startup of the specified number of OSes can be executed with high accuracy and high speed. Since the minimum resources less than the resources allocated by the specified resource are allocated to the operation state monitoring units of the OSes before the overall startup is started, the resources of the OSes during the overall startup process can be increased compared to the resources allocated by the specified resource, and the startup of the OSes during the overall startup process can be accelerated.
[0017] According to the third vehicle control device and vehicle control method involved in the present application, after the startup of a specified number of OSes is completed, the resources of the OS that executes the specific apps with the highest priority that are to be executed first are increased compared to the resources allocated by the specified resources, thereby enabling the execution of the specific apps with the highest priority to be accelerated. BRIEF DESCRIPTION OF THE DRAWINGS
[0018] Figure 1 This is a schematic block diagram of the arithmetic processing device according to the first embodiment. Figure 2 This is a diagram for explaining the allocation of prescribed resources involved in Implementation Example 1. Figure 3 This is a diagram for explaining resource allocation during the activation of the first OS according to the first embodiment. Figure 4 This is a diagram for explaining resource allocation during the activation of the second OS according to the first embodiment. Figure 5 This is a diagram for explaining resource allocation during the activation of the third OS according to the first embodiment. Figure 6 This is a diagram for explaining another example of resource allocation during the activation of the second OS according to the first embodiment. Figure 7 This is a diagram for explaining resource allocation table data according to the first embodiment. Figure 8 This is a flowchart for explaining the processing of the arithmetic processing device according to the first embodiment. Fig. 9 This is a diagram for explaining the allocation of prescribed resources involved in Implementation Example 2. Fig.10 This is a diagram for explaining resource allocation during the activation of the first OS according to the second embodiment. Fig.11 This is a diagram for explaining resource allocation during the activation of the second OS according to the second embodiment. Fig.12 This is a diagram for explaining another example of resource allocation during the activation of the second OS according to the second embodiment. Fig.13 This is a diagram for explaining resource allocation during the activation of the third OS according to the second embodiment. Fig.14 This is a diagram for explaining another example of resource allocation during the activation of the third OS according to the second embodiment. Fig.15 This is a diagram for explaining resource allocation table data involved in Implementation Example 2. Fig.16 This is a flowchart for explaining the processing of the arithmetic processing device involved in the second embodiment. Fig.17 This is a diagram for explaining the allocation of prescribed resources involved in Implementation Example 3. Fig.18 This is a diagram for explaining resource allocation when executing specific apps, that is, the third OS according to the third embodiment. Fig.19 This is a diagram for explaining resource allocation when executing specific apps, namely, the third OS and the second OS according to the third embodiment. Fig. 20 This is a diagram for explaining resource allocation when executing specific apps, ie, the second OS according to the third embodiment. Fig.21 This is a diagram for explaining resource allocation table data involved in Implementation Example 3. Fig. 22 This is a flowchart for explaining the processing of the arithmetic processing device involved in the third embodiment. DETAILED DESCRIPTION
[0019] 1. Implementation Method 1 A calculation processing device 1 according to Embodiment 1 will be described with reference to the drawings. The calculation processing device 1 is mounted on a vehicle and serves as a calculation processing device for the vehicle. In addition to being a calculation processing device for the vehicle, the calculation processing device 1 may be a calculation processing device for various purposes.
[0020] like Figure 1 As shown, the arithmetic processing device 1 includes a physical processor 10, a memory 20 used by the physical processor 10, a virtualization unit 50, and an action control unit 60. In this embodiment, the arithmetic processing device 1 also includes other hardware 30 (also referred to as other H / W 30).
[0021] The physical processor 10, the memory 20 and other hardware 30 are hardware. The memory 20 includes a volatile memory 21 such as a RAM (Random Access Memory), and a non-volatile memory 22 such as a ROM (Read Only Memory), a SSD (Solid State Drive), and an eMMC (embedded Multi Media Card).
[0022] The virtualization unit 50, the motion control unit 60, each operating system (OS) and each application system (Apps) are functional units implemented by software. Each functional unit such as the virtualization unit 50 and the motion control unit 60 is implemented by the physical processor 10 executing the software (program) stored in the memory 20 (non-volatile memory 22) and the like, and cooperating with other hardware such as the memory 20 (volatile memory 21, non-volatile memory 22) and other hardware 30.
[0023] The other hardware 30 includes various hardware such as a GPU (Graphics Processing Unit) or a processing unit for AI (Artificial Intelligence) processing, an input / output device, and a communication device mounted on a SoC (System-on-a-chip).
[0024] The physical processor 10 includes a plurality of physical processor cores 11 (hereinafter referred to as physical cores 11). In this embodiment, four physical cores 11 are provided.
[0025] <Virtualization Unit 50> like Figure 2 As shown, the virtualization unit 50 generates a virtualized system having a plurality of virtual processor cores 51 (hereinafter referred to as virtual cores 51) and virtual memories 52 that operate using the physical processor 10 and the memory 20. The virtualization unit 50 functions by executing virtualization software such as a hypervisor.
[0026] The virtualization unit 50 uses the resources of the physical processor 10 in a time-division manner in units of clocks through the virtualization software, and operates in a manner in which multiple cores (i.e., virtual cores 51) exist virtually. The virtualization unit 50 manages the virtual cores 51 in association with threads (hereinafter referred to as logical cores 12), which are the minimum processing units executed by the physical cores 11. In this embodiment, one physical core 11 executes one logical core 12. In addition, by utilizing simultaneous multithreading technology (SMT: Simultaneous Multithreading Technology: simultaneous multithreading technology), two logical cores 12 can also be executed in parallel on one physical core 11.
[0027] In the present embodiment, two virtual cores 51 are generated for one logical core 12. Alternatively, one or three or more virtual cores 51 may be generated for one logical core 12.
[0028] The virtualization unit 50 uses the volatile memory 21 such as RAM to generate a virtual memory 52. In addition, the virtualization unit 50 allows other H / W 30 to be used in parallel with each OS.
[0029] When the vehicle is powered on, power is supplied to the arithmetic processing unit 1. Then, the virtualization unit 50 is activated. Specifically, the physical processor 10 reads and executes the virtualization software stored in the nonvolatile memory 22, activates the virtualization unit 50, and generates a virtualized system.
[0030] <Action Control Unit 60> The action control unit 60 determines the number of OS operations as operating systems operating on the virtualized system, and the resource allocation as the number of virtual cores 51 and the area of the virtual memory 52 allocated to each OS in the number of operations, and operates the OS in the number of operations according to the resource allocation. The action control unit 60 also functions by executing virtualization software such as a hypervisor. In addition, the action control unit 60 generates a virtual computer corresponding to each OS, and operates each OS on each virtual computer. As described in Embodiment 3, various application systems (Apps) are appropriately started on each OS and operate.
[0031] In addition, the operation control unit 60 determines the time occupancy rate of other H / W 30 of each OS, and makes each OS use other H / W according to the determined time occupancy rate of each OS. In this embodiment, it is assumed that the time occupancy rate of each OS is set according to the number of allocated virtual cores 51 of each OS, and the description is omitted.
[0032] As described later, after the virtualization system is generated, the action control unit 60 starts two or more prescribed numbers of OS in order of completion of the startup. Then, after the prescribed number of OSs are started, the action control unit 60 sets the resource allocation allocated to each of the prescribed number of OSs to the pre-set prescribed resource allocation.
[0033] In this embodiment, the case where the specified number is set to 3 and the first OS, the second OS, and the third OS are started will be described as an example. In addition, the specified number can also be set to any natural number greater than 2. The first OS is an RTOS as a real-time operating system. The second OS and the third OS are general-purpose OSs that are not RTOSs. The kernel may be common between virtual software such as a hypervisor and an RTOS, or it may not be common.
[0034] <Example of specifying resource allocation> Figure 2 , after the specified number of OSs have been started, resource allocation is set to the state of the specified resource allocation. In the specified resource allocation, two virtual cores 51 and a 1GB area of the virtual memory 52 are allocated to the first OS (RTOS), and the first OS (RTOS) uses these resources to operate. Four virtual cores 51 and a 2GB area of the virtual memory 52 are allocated to the second OS, and the second OS uses these resources to operate. Two virtual cores 51 and a 1GB area of the virtual memory 52 are allocated to the third OS, and the third OS uses these resources to operate.
[0035] <Resource allocation when each OS is started> After the generation of the virtualization system is completed, the action control unit 60 sequentially completes the startup of the specified number of OSes according to the startup completion order. In the present embodiment, the specified number of OSes are sequentially started according to the startup completion order. In the process of starting the specified number of OSes, the action control unit 60 sets the number of virtual cores 51 and the area of virtual memory 52 allocated to the OS in the entire startup process of starting all OSes to be larger than the number of virtual cores 51 and the area of virtual memory 52 of the OS in the entire startup process set in the prescribed resource allocation. In the case where the started OS is a specific OS, the number of virtual cores 51 and the area of virtual memory 52 allocated to the specific OS are set to be smaller than the number of virtual cores 51 and the area of virtual memory 52 of the specific OS set in the prescribed resource allocation, and the reduced portion is allocated to the OS in the entire startup process.
[0036] Here, the term "entire activation" is used to clarify the difference between the partial activation of the operation state monitoring unit 70 of each OS in Embodiment 2. In the present application, the term "entire activation" may be simply referred to as "activation".
[0037] According to this structure, the resources allocated to the OS in the whole startup process are more than the resources of the OS in the whole startup process set in the prescribed resource allocation. In the case where the OS that has been started is a specific OS, the resources of the started specific OS are less than the resources of the specific OS set in the prescribed resource allocation, and the reduced part is allocated to the OS in the whole startup process. As a result, not only the OS that is started first, but also the OS that is started last and in the middle can use more resources than the resources of the prescribed resource allocation, so that the startup of the OS is accelerated.
[0038] In this embodiment, the first OS, the second OS, and the third OS are started in this order. Since the first OS is an RTOS, the RTOS is started first. Thus, by starting the RTOS first, a process with high real-time performance required for vehicle control can be started.
[0039] Figure 3 An example of resource allocation during the overall startup of the first OS (RTOS) is shown in FIG. Figure 2 The 8 virtual cores 51 and the 4 GB area of the virtual memory 52, which are larger than the resources (2 cores, 1 GB) of the first OS set in the specified resource allocation, are allocated to the first OS (RTOS) during the overall startup, and the first OS (RTOS) is started using these resources. Resources are not allocated to the second OS and the third OS before the overall startup. Thus, all resources can be used to speed up the startup of the first OS.
[0040] Figure 4 An example of resource allocation during the overall startup of the second OS after the startup of the first OS (RTOS) is completed is shown. Figure 4 In the example of , since the first OS (RTOS) is not set as a specific OS, the first OS (RTOS) that has been started is assigned the same Figure 2 The first OS resources (2, 1 GB) set in the specified resource allocation are the same as the two virtual cores 51 and the 1 GB area of the virtual memory 52. Therefore, the RTOS can more reliably execute the high real-time processing. Figure 2 The 6 virtual cores 51 and the 3GB area of the virtual memory 52, which are larger than the resources (4 cores, 2GB) of the second OS set in the prescribed resource allocation, are allocated to the second OS (RTOS) during the overall startup, and these resources are used to start the second OS (RTOS). No resources are allocated to the third OS before the overall startup. Thus, more resources than the prescribed resource allocation can be used to speed up the startup of the second OS.
[0041] Figure 52 shows an example of resource allocation in the overall startup process of the third OS after the startup of the first OS and the second OS is completed. Figure 2 The first OS resources (2, 1 GB) set in the prescribed resource allocation are the same as the two virtual cores 51 and the 1 GB area of the virtual memory 52. Figure 5 In the example of , since the second OS is not set as a specific OS, the started second OS (RTOS) is allocated more memory than in Figure 2 The resource allocation of the second OS in the specified resource allocation is reduced by two virtual cores 51 and 1GB area of virtual memory 52. The reduced part of the resources of the second OS, which is the started specific OS, is allocated to the third OS in the overall startup process. Figure 2 The 4 virtual cores 51 and the 2GB area of the virtual memory 52 which are larger than the resources (2, 1GB) of the third OS set in the prescribed resource allocation are allocated to the third OS in the whole startup process, and the third OS is started using these resources. Thus, by allocating the reduced part of the resources of the started specific OS to the last started third OS, it is possible to accelerate the startup of the third OS by using more resources than the prescribed resource allocation. Although the resources of the second OS as the specific OS are smaller than the prescribed resource allocation, they are reduced within the range that the operation of the second OS can be continued, so there is no particular problem.
[0042] Then, after the third OS is started, enter Figure 2 The status of the specified resource allocation is shown.
[0043] In addition, both the first OS and the second OS may be set as the specific OS, or only the first OS may be set as the specific OS. Figure 6 2 shows an example of resource allocation in the overall startup process of the second OS when the first OS (RTOS) is set as the specific OS. Figure 2 The first OS resources (2, 1BG) set in the specified resource allocation are allocated to the second OS in the whole startup process. Figure 2The 7 virtual cores 51 and the 3.5 GB area of the virtual memory 52, which are larger than the resources (4 cores, 2 GB) of the second OS set in the prescribed resource allocation, are allocated to the second OS in the overall startup process, and these resources are used to start the second OS at a higher speed. In addition, although the resources of the first OS (RTOS) as a specific OS are less than the prescribed resource allocation, they are reduced within the range in which the operation of the first OS (RTOS) can be continued, so there is no particular problem.
[0044] Thus, the specific OS can be set to a single or multiple OSes other than the last OS started. As described above, by allocating the reduced portion of the resources of the started specific OS to the last OS started and the OS started after the specific OS, more resources than the specified resource allocation can be used to speed up the startup.
[0045] The action control unit 60 refers to Figure 7 The resource allocation table data shown in the figure pre-sets the specified resource allocation and the resource allocation set for each OS in the whole boot process, that is, the resource allocation in the whole boot process, reads the specified resource allocation or the resource allocation in the whole boot process corresponding to the current boot state, and sets it as the resource allocation. In detail, when the current boot state is after the boot of the specified number of OSes is completed, the action control unit 60 reads the specified resource allocation from the resource allocation table data and sets it as the resource allocation. When the current boot state is in the whole boot process of any OS, the action control unit 60 reads the resource allocation in the whole boot process corresponding to the OS in the current whole boot process, and sets it as the resource allocation. The resource allocation table data is pre-stored in the non-volatile memory 22 such as ROM.
[0046] <Flowchart> Figure 8 This is a flowchart schematically showing the processing (calculation processing method) of the calculation processing device 1 according to the present embodiment. Figure 8 The processing is performed by the physical processor 10 executing software (program) stored in the memory 20 (non-volatile memory 22) or the like.
[0047] In step S01 , when the power of the arithmetic processing device 1 is turned on by turning on the power of the vehicle, etc., the virtualization unit 50 proceeds to step S02 and starts the virtualization process.
[0048] In step S02 , as described above, the virtualization unit 50 executes a virtualization process (virtualization step) for generating a virtualized system having a plurality of virtual processor cores 51 (virtual cores 51 ) and virtual memories 52 that operate using the physical processor 10 and the memory 20 .
[0049] After the generation of the virtualization system is completed, in steps S03 to S04, as described above, the action control unit 60 determines the number of actions of the OS as the operating system performing actions on the virtualization system, and the resource allocation as the number of virtual cores 51 and the area of the virtual memory 52 allocated to each OS in the OS having the number of actions, and performs action control processing (action control step) to make the OS with the number of actions perform actions according to the resource allocation.
[0050] In step S03 , as described above, after the virtualization system is created, the operation control unit 60 sequentially completes the startup of two or more predetermined number of OSs in the startup completion order.
[0051] In the process of starting a specified number of OSs, the action control unit 60 sets the number of virtual cores 51 and the area of virtual memory 52 allocated to the OS in the entire startup process of starting all OSs to be larger than the number of virtual cores 51 and the area of virtual memory 52 of the OS in the entire startup process set in the specified resource allocation. In the case that the started OS is a specific OS, the number of virtual cores 51 and the area of virtual memory 52 allocated to the specific OS are set to be smaller than the number of virtual cores 51 and the area of virtual memory 52 of the specific OS set in the specified resource allocation, and the reduced portion is allocated to the OS in the entire startup process.
[0052] In step S04 , as described above, after the activation of the predetermined number of OSes is completed, the operation control unit 60 sets the resource allocation allocated to each of the predetermined number of OSes to the predetermined resource allocation set in advance.
[0053] 2. Implementation Method 2 Next, the operation processing device 1 involved in the second embodiment is described. The description of the same structural parts as those in the first embodiment is omitted. The basic structure and processing of the operation processing device 1 involved in this embodiment are the same as those in the first embodiment. In this embodiment, the difference from the first embodiment is that each of the specified number of OSs includes an operation status monitoring unit 70 that monitors the operation status of the OS itself, and in the process of starting the specified number of OSs, resources are allocated to the operation status monitoring unit 70 of each OS.
[0054] In this embodiment, if Fig. 9 As shown, each of the predetermined number of OSs includes an operation state monitoring unit 70 for monitoring the operation state of the OS itself.
[0055] Similar to the first embodiment, after the virtualized system is created, the operation control unit 60 starts up a predetermined number of OSes in order of completion of the startup.
[0056] Then, during the process of starting a specified number of OSes, the action control unit 60 allocates to the OS before the start of the overall startup the minimum number of virtual processor cores and virtual memory area of the OS before the start of the overall startup, which are less than the number of virtual processor cores and virtual memory area of the OS before the start of the overall startup set in the specified resource allocation, at least for the action status monitoring unit 70 to operate, and partially starts and operates the action status monitoring unit 70 of the OS from before the start of the overall startup.
[0057] The operation status monitoring unit 70 of each OS transmits the startup status of the corresponding OS to the operation control unit 60. The operation control unit 60 starts the startup of all OSes in sequence according to the startup completion order based on the startup status of each OS transmitted from the operation status monitoring unit 70 of each OS, and completes the startup of a predetermined number of OSes in sequence.
[0058] According to this structure, since the operation state monitoring units 70 of the OS are started and operated in parallel before the start of the overall startup of the OSes, the startup state of each OS can be determined with high accuracy and speed, and the startup of a specified number of OSes can be performed with high accuracy and speed. Since the minimum resources less than the resources allocated by the specified resource are allocated to the operation state monitoring units 70 of the OSes before the start of the overall startup, the resources of the OSes during the overall startup process can be increased compared to the resources allocated by the specified resource, thereby accelerating the startup of the OSes during the overall startup process.
[0059] In the process of starting a specified number of OSes, the action control unit 60 sets the number of virtual cores 51 and the area of virtual memory 52 allocated to the OSes in the entire startup process to be larger than the number of virtual cores 51 and the area of virtual memory 52 of the OSes in the entire startup process set in the specified resource allocation. In the case where the started OS is a specific OS, the number of virtual cores 51 and the area of virtual memory 52 allocated to the specific OS is made smaller than the number of virtual cores 51 and the area of virtual memory 52 of the specific OS set in the specified resource allocation, and the reduced portion is allocated to the OSes in the entire startup process.
[0060] Fig.10, an example of resource allocation during the overall startup of the first OS (RTOS) is shown. Unlike Implementation 1, the minimum resources (one virtual core 51, 0.5 GB) for the operation of the operation status monitoring unit 70 are allocated to each of the second OS and the third OS before the overall startup is started, and the operation status monitoring unit 70 is at least partially started and operated. Since the operation status monitoring units 70 of the second OS and the third OS are started and operated in parallel before the overall startup of the second OS and the third OS is started, the startup status of the second OS and the third OS can be determined with high accuracy and quickly. In addition, after the partial startup of the operation status monitoring unit 70 of each OS, the startup of the remaining OS parts can also be started using the minimum resources.
[0061] The resources other than the minimum resources for starting and operating the operation status monitoring unit 70 of the second OS and the third OS before starting the overall startup are allocated to the first OS (RTOS) during the overall startup. Fig. 9 The 6 virtual cores 51 and the 3 GB area of the virtual memory 52 which are larger than the resources (2 cores, 1 GB) of the first OS set in the specified resource allocation are allocated to the first OS (RTOS) in the overall startup process, and the first OS (RTOS) is started using these resources. Thus, the startup of the first OS can be accelerated.
[0062] Fig.11 , shows an example of resource allocation during the overall startup of the second OS after the startup of the first OS (RTOS) is completed. Unlike Implementation 1, the minimum resources (1, 0.5 GB) for the operation of the operation status monitoring unit 70 are then allocated to the third OS before the overall startup is started, and the operation status monitoring unit 70 is at least partially started and operated. Since the operation status monitoring unit 70 of the third OS is started and operated in parallel before the overall startup of the third OS is started, the startup status of the third OS can be determined with high accuracy and quickly. In addition, after the partial startup of the operation status monitoring unit 70, the startup of the remaining OS parts can be started using the minimum resources.
[0063] exist Fig.11 In the example of , since the first OS (RTOS) is set as a specific OS, the first OS (RTOS) that has been started is allocated more than Fig. 9 The first OS resources (2, 1BG) set in the specified resource allocation are allocated one virtual core 51 and 0.5GB area of the virtual memory 52. Thus, the reduced resources of the first OS and the third OS are allocated to the second OS in the whole boot process. Fig. 9Six virtual cores 51 and a 3 GB area of the virtual memory 52, which are larger than the resources (4 cores, 2 GB) of the second OS set in the prescribed resource allocation, are allocated to the second OS during all startup processes, thereby accelerating the startup of the second OS.
[0064] Or, if Fig.12 As shown, instead of setting the first OS (RTOS) as a specific OS, the same resources (2 resources, 1 GB) as those of the first OS set in the prescribed resource allocation can be allocated to the first OS (RTOS) that has been started. Even in this case, since the reduced portion of the resources of the third OS that is to be reduced compared to the prescribed resource allocation is allocated to the second OS in the entire startup process, the startup of the second OS can be accelerated.
[0065] Fig.13 2 shows an example of resource allocation in the overall startup process of the third OS after the startup of the first OS and the second OS is completed. Since the first OS (RTOS) is set as a specific OS, the first OS (RTOS) that has been started is allocated more resources than in the Fig. 9 The first OS resources (2, 1BG) set in the specified resource allocation are 1 virtual core 51 and 0.5GB area of the virtual memory 52. In addition, since the second OS is not set as a specific OS, the started second OS is allocated more resources than in Fig. 9 The resource allocation of the second OS in the specified resource allocation is reduced by one virtual core 51 and 0.5GB area of the virtual memory 52. The reduced resources of the first OS and the second OS, which are the started specific OS, are allocated to the third OS in the overall startup process. Fig. 9 Six virtual cores 51 and a 3 GB area of the virtual memory 52 that are larger than the resources (2 cores, 1 GB) of the third OS set in the predetermined resource allocation are allocated to the third OS in the entire startup process, and the third OS is started using these resources. Thus, by allocating the reduced portion of the resources of the started specific OS to the last started third OS, it is possible to use more resources than the predetermined resource allocation to speed up the startup of the third OS.
[0066] Or, if Fig.14 As shown, instead of setting the first OS and the second OS as specific OSs, the same resources as the first OS resources (2, 1 GB) and the second OS resources (4, 2 GB) set in the prescribed resource allocation can be allocated to the started first OS and the second OS.
[0067] Then, after the third OS is started, enter Fig. 9 The status of the specified resource allocation is shown.
[0068] As in the first embodiment, the action control unit 60 refers to Fig.15 The resource allocation table data shown in the figure pre-sets the specified resource allocation and the resource allocation set for each OS in the whole boot process, that is, the resource allocation in the whole boot process, and reads the specified resource allocation or the resource allocation in the whole boot process corresponding to the current boot state and sets it as the resource allocation. Different from the first embodiment, at least the minimum resource for the operation of the operation state monitoring unit 70 is also allocated to the OS before the start of the whole boot, and the OS is partially started.
[0069] <Flowchart> Fig.16 This is a schematic flowchart for explaining the processing (calculation processing method) of the calculation processing device 1 according to the present embodiment. Fig.16 The processing is performed by the physical processor 10 executing software (program) stored in the memory 20 (non-volatile memory 22) or the like.
[0070] In step S11 , when the power of the arithmetic processing device 1 is turned on by turning on the power of the vehicle or the like, the virtualization unit 50 proceeds to step S12 and starts the virtualization process.
[0071] In step S12 , similarly to the first embodiment, the virtualization unit 50 performs virtualization processing (virtualization step) to generate a virtualized system having a plurality of virtual processor cores 51 (virtual cores 51 ) and virtual memories 52 that operate using the physical processors 10 and the memories 20 .
[0072] After the generation of the virtualization system is completed, in steps S13 to S14, as in implementation mode 1, the action control unit 60 determines the number of actions of the OS as the operating system performing actions on the virtualization system, and the resource allocation of the number of virtual cores 51 and the area of the virtual memory 52 allocated to each OS with the number of actions, and performs action control processing (action control step) to cause the OS with the number of actions to perform actions based on the resource allocation.
[0073] In step S13 , as described above, after the virtualized system is created, the operation control unit 60 sequentially completes the startup of two or more predetermined number of OSs in the startup completion order.
[0074] In the present embodiment, each of the prescribed number of OSes includes an operation state monitoring unit 70 for monitoring the operation state of the OS itself. Then, during the booting process of the prescribed number of OSes, the action control unit 60 allocates the number of virtual processor cores and the area of virtual memory of the OS before the start of the overall booting, which are less than the number of virtual processor cores and the area of virtual memory of the OS before the start of the overall booting set in the prescribed resource allocation, to the OS before the start of the overall booting of all OSes, and partially starts and operates the operation state monitoring unit 70 of the OS from before the start of the overall booting. The operation state monitoring unit 70 of each OS transmits the booting state of the corresponding OS to the action control unit 60. Based on the booting state of each OS transmitted from the operation state monitoring unit 70 of each OS, the action control unit 60 sequentially starts the overall booting of each OS in the order of booting completion, and sequentially completes the booting of the prescribed number of OSes.
[0075] Similar to Implementation Example 1, during the booting process of a specified number of OSs, the action control unit 60 sets the number of virtual cores 51 and the area of virtual memory 52 allocated to the OSes in the entire booting process to be larger than the number of virtual cores 51 and the area of virtual memory 52 of the OSes in the entire booting process set in the specified resource allocation. When the booted OS is a specific OS, the action control unit 60 sets the number of virtual cores 51 and the area of virtual memory 52 allocated to the specific OS to be smaller than the number of virtual cores 51 and the area of virtual memory 52 of the specific OS set in the specified resource allocation, and allocates the reduced portion to the OSes in the entire booting process.
[0076] In step S14 , similarly to the first embodiment, after the activation of the predetermined number of OSes is completed, the operation control unit 60 sets the resource allocation allocated to each of the predetermined number of OSes to a predetermined resource allocation that is set in advance.
[0077] 3. Implementation Method 3 Next, the operation processing device 1 involved in the third embodiment is described. The description of the same components as those in the first or second embodiment is omitted. The basic structure and processing of the operation processing device 1 involved in this embodiment are the same as those in the first or second embodiment. In this embodiment, the method of setting resource allocation after the startup of a predetermined number of OSs is different from that in the first embodiment.
[0078] After the startup of a specified number of OSes is completed, the action control unit 60 determines the highest priority specific apps as the highest priority specific apps from among the included specific apps, in a case where the Apps as the single or multiple application systems executed on each OS include a pre-set single or multiple specific apps, determines the priority resource allocation as the resource allocation corresponding to the highest priority specific apps, sets the priority resource allocation as the resource allocation, and determines the prescribed resource allocation as the prescribed resource allocation, in a case where the single or multiple apps executed on each OS do not include the single or multiple specific apps, and sets the prescribed resource allocation as the resource allocation.
[0079] In priority resource allocation, the action control unit 60 sets the number of virtual processor cores and virtual memory areas of the highest priority corresponding OS allocated to the OS that executes specific apps with the highest priority to be greater than the number of virtual processor cores and virtual memory areas of the highest priority corresponding OS set in the prescribed resource allocation.
[0080] According to this configuration, the resources of the OS for executing the highest priority specific apps to be executed preferentially are increased more than the resources allocated by the predetermined resource allocation, thereby speeding up the execution of the highest priority specific apps.
[0081] For example, specific apps are set as apps for emergency vehicle driving, and the priority of apps for emergency vehicle driving is higher than other apps. For example, in emergency vehicle driving, there are emergency avoidance driving of surrounding objects, emergency vehicle stopping, and various emergency vehicle driving. Other apps include ordinary automatic driving, driving assistance control (such as lane change control, lane keeping control and vehicle distance control), and route guidance, etc., which are used to control the vehicle. Among other apps, there are various apps that improve the convenience of users on board the vehicle.
[0082] According to this structure, when executing emergency driving apps of the vehicle, the resources of the OS executing the emergency driving apps are increased compared with the prescribed resource allocation, thereby accelerating the execution of the emergency driving apps, reliably ensuring the real-time nature of emergency driving, and improving the safety of the vehicle.
[0083] For example, specific Apps are set as Parking Apps that are executed only when the vehicle is stopped, and the priority of Parking Apps is higher than other Apps that are executed other than during parking. For example, Parking Apps include Update Apps that update the OS and Apps while the vehicle is parked. Update Apps are OTA (Over The Air), etc. Other Apps that are executed other than during parking include Vehicle Driving Apps, etc.
[0084] According to this configuration, while the vehicle is parked, the resources of the OS that executes the parked apps can be increased beyond the predetermined resource allocation, thereby speeding up the execution of the parked apps and improving the convenience of the vehicle.
[0085] Fig.18 , an example of resource allocation when executing a third App set for specific Apps in a third OS is shown. Since the other Apps being executed are not specific Apps but ordinary Apps, the third App is determined to be a specific App with the highest priority. Fig.17 The 4 virtual cores 51 and the 2GB area of the virtual memory 52 which are larger than the resources (2 cores, 1GB) of the third OS set in the specified resource allocation are allocated to the third OS, and the third OS operates at a higher speed than the specified resource allocation state by using these resources. Fig.17 The 1 GB area of the virtual memory 52 and the two virtual cores 51 less than the resources (4, 2 GB) of the second OS set in the predetermined resource allocation are allocated to the second OS. However, since the reduction is within the range in which the operation of the second OS can be continued, there is no particular problem.
[0086] In addition, the use priority of the other H / W 30 of the third OS may be set higher than the use priority of the first OS and the second OS. For example, as the use priority of each OS becomes higher, the time occupancy rate of the other H / W 30 of each OS becomes higher.
[0087] Fig.19 Shown in Fig.18 , the case where the second Apps set as specific Apps in the second OS are started to be executed during the execution of the third Apps in the third OS. Fig.21 As shown in FIG. 1 , the priority of the second Apps of the second OS is lower than the priority of the third Apps of the third OS, and the third Apps of the third OS are then determined as the specific Apps with the highest priority. Fig.17 The resource allocation has not changed compared to Fig.21 The larger the priority value, the higher the priority.
[0088] Fig. 20 Shown in Fig.19 The execution of the third Apps of the third OS is terminated in the state of , and the second Apps are executed in the second OS. Therefore, the second Apps of the second OS are determined to be the specific Apps with the highest priority. Fig.17 The 6 virtual cores 51 and the 3 GB area of the virtual memory 52, which are larger than the resources (4 cores, 2 GB) of the second OS set in the specified resource allocation, are allocated to the second OS, and the second OS and the second Apps use these resources to operate at a higher speed than the state of the specified resource allocation. Fig.17 The first and third OSes are allocated one less virtual core 51 and 0.5 GB area of the virtual memory 52 than the resources (2, 1 GB) of the first and third OSes set in the prescribed resource allocation. However, since the reduction is within the range in which the first and third OSes can continue to operate, there is no particular problem.
[0089] Alternatively, the use priority of the other H / W 30 of the second OS may be set higher than the use priority of the first OS and the third OS. For example, as the use priority of each OS becomes higher, the time occupancy rate of the other H / W 30 of each OS becomes higher.
[0090] Then, after the execution of the second Apps is completed, since no other specific Apps are executed, it becomes Fig.17 The status of the specified resource allocation is shown.
[0091] The action control unit 60 refers to Fig.21 The resource allocation table data shown in the figure pre-sets the prescribed resource allocation and the priority resource allocation for each specific App, reads the prescribed resource allocation or the priority resource allocation corresponding to the execution state of the current Apps, and sets it as the resource allocation. In detail, when the currently executing Apps do not include the specific Apps, the action control unit 60 reads the prescribed resource allocation from the resource allocation table data and sets it as the resource allocation. When the currently executing Apps include the specific Apps, the action control unit 60 determines the highest priority Apps from the specific Apps, reads the priority resource allocation corresponding to the specific Apps determined to be the highest priority Apps, and sets the priority resource allocation as the resource allocation. The resource allocation table data is pre-stored in the non-volatile memory 22 such as ROM.
[0092] For example, Fig.21As shown, in the resource allocation table data, in addition to the specified resource allocation, priority resource allocation is pre-set for each of the first Apps, the second Apps, and the third Apps as specific Apps. Then, when the specific App with the highest priority is the first App executed on the first OS, the priority resource allocation corresponding to the first App is read and set as the resource allocation. When the specific App with the highest priority is the second App executed on the second OS, the priority resource allocation corresponding to the second App is read and set as the resource allocation. When the specific App with the highest priority is the third App executed on the third OS, the priority resource allocation corresponding to the third App is read and set as the resource allocation.
[0093] In each resource allocation, the use priority of the other H / W 30 of each OS is also set. As the use priority of each OS becomes higher, the time occupancy rate of the other H / W 30 of each OS becomes higher.
[0094] <Flowchart> Fig. 22 This is a schematic flowchart for explaining the processing (calculation processing method) of the calculation processing device 1 according to the present embodiment. Fig. 22 The processing is performed by the physical processor 10 executing software (program) stored in the memory 20 (non-volatile memory 22) or the like.
[0095] In implementation mode 1 Figure 8 Flowchart or implementation method 2 Fig.16 After the startup of the specified number of OSes in the flowchart is completed, in steps S21 to S23, the action control unit 60 determines the number of virtual processor cores allocated to each of the specified number of OSes to perform actions on the virtualization system and the resource allocation of the area serving as a virtual memory, and executes action control processing (action control step) to enable the specified number of OSes to perform actions based on the resource allocation.
[0096] In step S21, as described above, the action control unit 60 determines whether the single or multiple Apps executed on each OS include a pre-set single or multiple specific Apps. If the executing Apps include the specific Apps, the action control unit 60 proceeds to step S22; if the executing Apps do not include the specific Apps, the action control unit 60 proceeds to step S23.
[0097] In step S22, the operation control unit 60 determines the highest priority specific apps from the included specific apps, i.e., the highest priority specific apps, determines the resource allocation corresponding to the highest priority specific apps, i.e., the priority resource allocation, sets the priority resource allocation as the resource allocation, and operates a predetermined number of OSes according to the resource allocation. In addition, when the included specific apps are one, the one specific app is determined as the highest priority specific app.
[0098] In step S23 , the operation control unit 60 determines a predetermined resource allocation as a predetermined resource allocation, sets the predetermined resource allocation as the resource allocation, and operates a predetermined number of OSes according to the resource allocation.
[0099] In step S24, the operation control unit 60 determines whether to start the shutdown process of the arithmetic processing device 1. If it is determined that the shutdown process is started, the operation control unit 60 proceeds to step S25. If it is determined that the shutdown process is not started, the operation control unit 60 returns to step S21 to continue the process.
[0100] In step S25, the action control unit 60 determines whether to update the OS and Apps. If it is determined to update, the process proceeds to step S26. If it is determined not to update, the process proceeds to step S27. For example, the action control unit 60 inquires the management server via wireless communication and the network whether an update is required. If an update is required and the user agrees to execute the update, the process determines to update.
[0101] In step S26, the action control unit 60 starts to execute the update Apps. The update Apps are specific Apps and have a higher priority than other Apps, so they are determined to be specific Apps with the highest priority. Then, the action control unit 60 determines the priority resource allocation corresponding to the update Apps, which are specific Apps with the highest priority, sets the priority resource allocation as the resource allocation, and operates a specified number of OSs according to the resource allocation. In this way, the processing of the update Apps can be accelerated and the completion of the update can be advanced. After the update is completed, the action control unit 60 proceeds to step S27.
[0102] In step S27 , the virtualization unit 50 and the operation control unit 60 perform a shutdown process on the arithmetic processing device 1 , thereby shutting down the arithmetic processing device 1 .
[0103] <Summary of each aspect of this application> Hereinafter, each aspect of the present application will be collectively described as a supplementary note. (Note 1) An operation processing device comprises: a physical processor and a memory used by the physical processor; a virtualization unit that generates a virtualized system having a plurality of virtual processor cores and virtual memories that operate using the physical processor and the memory; and an action control unit that determines the number of OS operations that are operating systems that operate on the virtualization system, and resource allocation that is the number of virtual processor cores and the area of the virtual memory allocated to each of the OS operations, and causes the OS operations to operate based on the resource allocation. After the virtualization system is generated, the action control unit sequentially causes two or more predetermined numbers of the OS to complete startup in a startup completion order. After the booting of the prescribed number of OSs is completed, the resource allocation allocated to each of the prescribed number of OSs is set to a predetermined resource allocation, During the startup process of the specified number of OSs, the number of virtual processor cores and the virtual memory area allocated to the OSs during the entire startup process of all the OSs will be set to be larger than the number of virtual processor cores and the virtual memory area of the OSs in the entire startup process set in the specified resource allocation. In the case that the started OS is a specific OS, the number of virtual processor cores and the virtual memory area allocated to the specific OS will be set to be smaller than the number of virtual processor cores and the virtual memory area of the specific OS set in the specified resource allocation, and the reduced part will be allocated to the OSs in the entire startup process. (Note 2) The arithmetic processing device according to Supplementary Note 1, wherein the predetermined number of OSs include an RTOS which is a real-time operating system, After the virtualization system is generated, the operation control unit first starts up the RTOS. (Note 3) The arithmetic processing device according to Supplementary Note 1 or 2, wherein the specific OS is set to one or more of the OSes other than the OS that is activated last. (Note 4) The arithmetic processing device as described in any one of Supplementary Notes 1 to 3, wherein each of the predetermined number of OSs includes an operation state monitoring unit that monitors an operation state of the OS itself, The action control unit allocates, during the booting process of the specified number of OSs, to the OSs before the start of the overall booting of all the OSs, the minimum number of virtual processor cores and the minimum number of virtual memory areas of the OSs before the start of the overall booting, which are smaller than the number of virtual processor cores and the minimum number of virtual memory areas of the OSs before the start of the overall booting set in the specified resource allocation, and partially starts and operates the action status monitoring units of the OSs from before the start of the overall booting, The operation status monitoring unit of each of the OS transmits the startup status of the corresponding OS to the operation control unit, The operation control unit sequentially starts all the startups of the OSes in the startup completion order based on the startup states of the OSes transmitted from the operation state monitoring units of the OSes, and sequentially completes the startup of the predetermined number of OSes. (Note 5) An operation processing device comprises: a physical processor and a memory used by the physical processor; a virtualization unit that generates a virtualized system having a plurality of virtual processor cores and virtual memories that operate using the physical processor and the memory; and an action control unit that determines the number of OS operations that are operating systems that operate on the virtualization system, and resource allocation that is the number of virtual processor cores and the area of the virtual memory allocated to each of the OS operations, and causes the OS operations to operate based on the resource allocation. After the virtualization system is generated, the action control unit sequentially causes two or more predetermined numbers of the OS to complete startup in a startup completion order. After the booting of the prescribed number of OSs is completed, the resource allocation allocated to each of the prescribed number of OSs is set to a predetermined resource allocation, Each of the predetermined number of OSs includes an operation state monitoring unit that monitors an operation state of the OS itself. The action control unit allocates, during the booting process of the specified number of OSs, to the OSs before the start of the overall booting for booting all the OSs, the minimum number of virtual processor cores and the minimum number of virtual memory areas of the OSs before the start of the overall booting, which are smaller than the number of virtual processor cores and the minimum number of virtual memory areas of the OSs before the start of the overall booting set in the specified resource allocation, and partially starts and operates the action status monitoring units of the OSs from before the start of the overall booting, The operation status monitoring unit of each of the OS transmits the startup status of the corresponding OS to the operation control unit, The operation control unit sequentially starts all the startups of the OSes in the startup completion order based on the startup states of the OSes transmitted from the operation state monitoring units of the OSes, and sequentially completes the startup of the predetermined number of OSes. (Note 6) An operation processing device as described in any one of Notes 1 to 5, wherein the action control unit refers to the resource allocation table data that pre-sets the prescribed resource allocation and the resource allocation set for each OS in the entire startup process, i.e., the resource allocation in the entire startup process, reads the prescribed resource allocation or the resource allocation in the entire startup process corresponding to the current startup state, and sets it as the resource allocation. (Note 7) The computing processing device as described in any one of Notes 1 to 6, wherein the physical processor includes a plurality of physical processor cores, The virtualization system generates a plurality of the virtual processor cores for each of the physical processor cores. (Note 8) An operation processing device as described in any one of Notes 1 to 7, wherein, after the startup of the specified number of OSs is completed, in a case where the single or multiple application systems (i.e., Apps) executed on each of the OSs include a pre-set single or multiple specific Apps, the action control unit determines the specific Apps with the highest priority (i.e., the specific Apps with the highest priority) from among the included single or multiple specific Apps, determines the resource allocation corresponding to the specific Apps with the highest priority (i.e., the priority resource allocation), sets the priority resource allocation as the resource allocation, and determines a prescribed resource allocation as the prescribed resource allocation when the single or multiple specific Apps are not included, and sets the prescribed resource allocation as the resource allocation, In the priority resource allocation, the number of virtual processor cores and the virtual memory area of the OS corresponding to the highest priority allocated to execute the specific apps with the highest priority, i.e., the number of virtual processor cores and the virtual memory area of the OS corresponding to the highest priority, are set to be greater than the number of virtual processor cores and the virtual memory area of the OS corresponding to the highest priority set in the prescribed resource allocation. (Note 9) An operation processing device comprises: a physical processor and a memory used by the physical processor; a virtualization unit that generates a virtualized system having a plurality of virtual processor cores and virtual memories that operate using the physical processor and the memory; and an operation control unit that determines resource allocation of the number of virtual processor cores and the area of the virtual memory for each of a predetermined number of operating systems assigned to operate on the virtualization system, and causes the predetermined number of OSes to operate according to the resource allocation, After the startup of the specified number of OSs is completed, in a case where the single or multiple application systems (i.e., Apps) executed on each of the OSs include a pre-set single or multiple specific Apps, the action control unit determines the specific Apps with the highest priority (i.e., the specific Apps with the highest priority) from among the single or multiple specific Apps included, determines the resource allocation corresponding to the specific Apps with the highest priority (i.e., the priority resource allocation), sets the priority resource allocation as the resource allocation, and in a case where the single or multiple specific Apps are not included, determines a specified resource allocation as the specified resource allocation, and sets the specified resource allocation as the resource allocation, In the priority resource allocation, the number of virtual processor cores and the virtual memory area of the OS corresponding to the highest priority allocated to execute the specific apps with the highest priority, i.e., the number of virtual processor cores and the virtual memory area of the OS corresponding to the highest priority, are set to be greater than the number of virtual processor cores and the virtual memory area of the OS corresponding to the highest priority set in the prescribed resource allocation. (Note 10) An operation processing device as described in Note 8 or 9, wherein the action control unit refers to the resource allocation table data in which the prescribed resource allocation and the priority resource allocation for each of the specific Apps are pre-set, reads the prescribed resource allocation or the priority resource allocation corresponding to the current execution status of the Apps, and sets it as the resource allocation. (Note 11) The computing device as described in any one of Supplementary Notes 8 to 10, wherein the computing device is a computing device for a vehicle, The specific Apps are set as the Apps for emergency driving of the vehicle, and the priority of the Apps for emergency driving of the vehicle is set higher than that of other Apps. (Note 12) The computing device as described in any one of Supplementary Notes 8 to 11, wherein the computing device is a computing device for a vehicle, The specific Apps are set as the Apps during parking that are executed only while the vehicle is parked, and the priority of the Apps during parking is set higher than that of other Apps that are executed outside the parking process. (Note 13) As described in Note 12, the computing processing device, wherein the Apps during the parking process that are set as the specific Apps are update Apps that update the OS and the Apps before the computing processing device is shut down, and the priority of the update Apps is set higher than that of other Apps executed during the parking process.
[0104] Although the present application describes various exemplary embodiments and examples, the various features, methods and functions described in one or more embodiments are not limited to the application of specific embodiments, and can be applied to the embodiments individually or in various combinations. Therefore, it can be considered that countless variations that are not illustrated are also included in the technical scope disclosed in the present application specification. For example, it is set to include the case where at least one constituent element is deformed, added or omitted, and the case where at least one constituent element is extracted and combined with constituent elements of other embodiments. Description of symbols
[0105] 1: arithmetic processing device, 10: physical processor, 11: physical processor core (physical core), 20: memory, 21: volatile memory, 22: non-volatile memory, 50: virtualization unit, 51: virtual processor core (virtual core), 52: virtual memory, 60: action control unit, 70: action status monitoring unit.
Claims
1. A computing device, characterized in that: include: A physical processor and memory used by the physical processor; a virtualization unit that generates a virtualized system having a plurality of virtual processor cores and virtual memories that operate using the physical processor and the memory; as well as an action control unit that determines the number of OS operations that are operating systems that operate on the virtualization system, and resource allocation that is the number of virtual processor cores and the area of the virtual memory allocated to each of the OS operations, and causes the OS operations to operate based on the resource allocation. After the virtualization system is generated, the action control unit sequentially causes two or more predetermined numbers of the OS to complete startup in a startup completion order. After the booting of the prescribed number of OSs is completed, the resource allocation allocated to each of the prescribed number of OSs is set to a predetermined resource allocation, During the startup process of the specified number of OSs, the number of virtual processor cores and the virtual memory area allocated to the OSs during the entire startup process of all the OSs will be set to be larger than the number of virtual processor cores and the virtual memory area of the OSs in the entire startup process set in the specified resource allocation. In the case that the started OS is a specific OS, the number of virtual processor cores and the virtual memory area allocated to the specific OS will be set to be smaller than the number of virtual processor cores and the virtual memory area of the specific OS set in the specified resource allocation, and the reduced part will be allocated to the OSs in the entire startup process.
2. The operation processing device according to claim 1, wherein: The predetermined number of OSs include an RTOS which is a real-time operating system, After the virtualization system is generated, the operation control unit first starts up the RTOS.
3. The operation processing device according to claim 1, wherein: The specific OS is set to one or more of the OSes other than the OS that was started last.
4. The operation processing device according to claim 1, wherein: Each of the predetermined number of OSs includes an operation state monitoring unit that monitors an operation state of the OS itself. The action control unit allocates, during the booting process of the specified number of OSs, to the OSs before the start of the overall booting of all the OSs, the minimum number of virtual processor cores and the minimum number of virtual memory areas of the OSs before the start of the overall booting, which are smaller than the number of virtual processor cores and the minimum number of virtual memory areas of the OSs before the start of the overall booting set in the specified resource allocation, and partially starts and operates the action status monitoring units of the OSs from before the start of the overall booting, The operation status monitoring unit of each of the OS transmits the startup status of the corresponding OS to the operation control unit, The operation control unit sequentially starts all the startups of the OSes in the startup completion order based on the startup states of the OSes transmitted from the operation state monitoring units of the OSes, and sequentially completes the startup of the predetermined number of OSes.
5. A computing device, characterized in that: include: A physical processor and memory used by the physical processor; a virtualization unit that generates a virtualized system having a plurality of virtual processor cores and virtual memories that operate using the physical processor and the memory; as well as an action control unit that determines the number of OS operations that are operating systems that operate on the virtualization system, and resource allocation that is the number of virtual processor cores and the area of the virtual memory allocated to each of the OS operations, and causes the OS operations to operate based on the resource allocation. After the virtualization system is generated, the action control unit sequentially causes two or more predetermined numbers of the OS to complete startup in a startup completion order. After the booting of the prescribed number of OSs is completed, the resource allocation allocated to each of the prescribed number of OSs is set to a predetermined resource allocation, Each of the predetermined number of OSs includes an operation state monitoring unit that monitors an operation state of the OS itself. The action control unit allocates, during the booting process of the specified number of OSs, to the OSs before the start of the overall booting of all the OSs, the minimum number of virtual processor cores and the minimum number of virtual memory areas of the OSs before the start of the overall booting, which are smaller than the number of virtual processor cores and the minimum number of virtual memory areas of the OSs before the start of the overall booting set in the specified resource allocation, and partially starts and operates the action status monitoring units of the OSs from before the start of the overall booting, The operation status monitoring unit of each of the OS transmits the startup status of the corresponding OS to the operation control unit, The operation control unit sequentially starts all the startups of the OSes in the startup completion order based on the startup states of the OSes transmitted from the operation state monitoring units of the OSes, and sequentially completes the startup of the predetermined number of OSes.
6. The operation processing device according to any one of claims 1 to 5, characterized in that: The action control unit refers to the resource allocation table data that pre-sets the prescribed resource allocation and the resource allocation set for each OS in the entire startup process, i.e., the resource allocation in the entire startup process, reads the prescribed resource allocation or the resource allocation in the entire startup process corresponding to the current startup state, and sets it as the resource allocation.
7. The operation processing device according to any one of claims 1 to 5, characterized in that: The physical processor includes a plurality of physical processor cores. The virtualization system generates a plurality of the virtual processor cores for each of the physical processor cores.
8. The operation processing device according to any one of claims 1 to 5, characterized in that: After the startup of the specified number of OSs is completed, in a case where the single or multiple application systems (i.e., Apps) executed on each of the OSs include a pre-set single or multiple specific Apps, the action control unit determines the specific Apps with the highest priority (i.e., the specific Apps with the highest priority) from among the single or multiple specific Apps included, determines the resource allocation corresponding to the specific Apps with the highest priority (i.e., the priority resource allocation), sets the priority resource allocation as the resource allocation, and in a case where the single or multiple specific Apps are not included, determines a specified resource allocation as the specified resource allocation, and sets the specified resource allocation as the resource allocation, In the priority resource allocation, the number of virtual processor cores and the virtual memory area of the OS corresponding to the highest priority allocated to execute the specific apps with the highest priority, i.e., the number of virtual processor cores and the virtual memory area of the OS corresponding to the highest priority, are set to be greater than the number of virtual processor cores and the virtual memory area of the OS corresponding to the highest priority set in the prescribed resource allocation.
9. A computing device, characterized in that: include: A physical processor and memory used by the physical processor; a virtualization unit that generates a virtualized system having a plurality of virtual processor cores and virtual memories that operate using the physical processor and the memory; as well as an operation control unit that determines resource allocation of the number of virtual processor cores and the area of the virtual memory for each of a predetermined number of operating systems assigned to operate on the virtualization system, and causes the predetermined number of OSes to operate according to the resource allocation, After the startup of the specified number of OSs is completed, in a case where the single or multiple application systems (i.e., Apps) executed on each of the OSs include a pre-set single or multiple specific Apps, the action control unit determines the specific Apps with the highest priority (i.e., the specific Apps with the highest priority) from among the single or multiple specific Apps included, determines the resource allocation corresponding to the specific Apps with the highest priority (i.e., the priority resource allocation), sets the priority resource allocation as the resource allocation, and in a case where the single or multiple specific Apps are not included, determines a specified resource allocation as the specified resource allocation, and sets the specified resource allocation as the resource allocation, In the priority resource allocation, the number of virtual processor cores and the virtual memory area of the OS corresponding to the highest priority allocated to execute the specific apps with the highest priority, i.e., the number of virtual processor cores and the virtual memory area of the OS corresponding to the highest priority, are set to be greater than the number of virtual processor cores and the virtual memory area of the OS corresponding to the highest priority set in the prescribed resource allocation.
10. The operation processing device according to claim 9, wherein: The action control unit refers to the resource allocation table data in which the prescribed resource allocation and the priority resource allocation for each of the specific apps are pre-set, reads the prescribed resource allocation or the priority resource allocation corresponding to the current execution state of the apps, and sets it as the resource allocation.
11. The operation processing device according to claim 9 or 10, characterized in that: The processing unit is a vehicle processing unit. The specific Apps are set as the Apps for emergency driving of the vehicle, and the priority of the Apps for emergency driving of the vehicle is set higher than that of other Apps.
12. The operation processing device according to claim 9 or 10, characterized in that: The processing unit is a vehicle processing unit. The specific Apps are set as the Apps during parking that are executed only while the vehicle is parked, and the priority of the Apps during parking is set higher than that of other Apps that are executed outside the parking process.
13. The operation processing device according to claim 12, wherein: The Apps during parking set as the specific Apps are update Apps that update the OS and the Apps before the processing unit is shut down, and the priority of the update Apps is set higher than that of other Apps executed during parking.
14. A calculation processing method, characterized in that: The physical processor and the memory used by the physical processor are caused to perform the following steps: a virtualization step of generating a virtualized system having a plurality of virtual processor cores and virtual memories that operate using the physical processor and the memory; as well as an action control step of determining the number of actions of OS as operating systems operating on the virtualization system, and resource allocation as the number of virtual processor cores and the area of the virtual memory allocated to each of the OS in the number of actions, and causing the OS in the number of actions to act according to the resource allocation, In the action control step, after the virtualization system is generated, two or more predetermined numbers of the OS are sequentially started up in a startup completion order. After the booting of the prescribed number of OSs is completed, the resource allocation allocated to each of the prescribed number of OSs is set to a predetermined resource allocation, During the startup process of the specified number of OSs, the number of virtual processor cores and the virtual memory area allocated to the OSs during the entire startup process of all the OSs will be set to be larger than the number of virtual processor cores and the virtual memory area of the OSs in the entire startup process set in the specified resource allocation. In the case that the started OS is a specific OS, the number of virtual processor cores and the virtual memory area allocated to the specific OS will be set to be smaller than the number of virtual processor cores and the virtual memory area of the specific OS set in the specified resource allocation, and the reduced part will be allocated to the OSs in the entire startup process.
15. A calculation processing method, characterized in that: The physical processor and the memory used by the physical processor are caused to perform the following steps: a virtualization step of generating a virtualized system having a plurality of virtual processor cores and virtual memories that operate using the physical processor and the memory; as well as an action control step of determining the number of actions of OS as operating systems operating on the virtualization system, and resource allocation as the number of virtual processor cores and the area of the virtual memory allocated to each of the OS in the number of actions, and causing the OS in the number of actions to act according to the resource allocation, In the action control step, after the virtualization system is generated, two or more predetermined numbers of the OS are sequentially started up in a startup completion order. After the booting of the prescribed number of OSs is completed, the resource allocation allocated to each of the prescribed number of OSs is set to a predetermined resource allocation, Each of the predetermined number of OSs includes an operation state monitoring unit that monitors an operation state of the OS itself. In the action control step, during the booting process of the specified number of OSs, the number of virtual processor cores and the area of the virtual memory of the OS before the start of the booting of all the OSs are allocated to the OS before the start of the booting of all the OSs, which are smaller than the number of virtual processor cores and the area of the virtual memory of the OS before the start of the booting of all the OSs set in the specified resource allocation, and which are the minimum number of virtual processor cores and the area of the virtual memory of the OS before the start of the booting of all the OSs, at least for the operation status monitoring unit to operate, so that the operation status monitoring unit of the OS is partially started and operated from before the start of the booting of all the OSs, Based on the activation status of each of the OS transmitted from the operation status monitoring unit of each of the OS, all of the OS are sequentially started to be activated in the activation completion order, and the activation of the predetermined number of OS is sequentially completed.
16. A calculation processing method, characterized in that: The physical processor and the memory used by the physical processor are caused to perform the following steps: a virtualization step of generating a virtualized system having a plurality of virtual processor cores and virtual memories that operate using the physical processor and the memory; as well as an action control step of determining resource allocation of the number of virtual processor cores and the area of the virtual memory for each of the predetermined number of operating systems assigned to operate on the virtualization system, and causing the predetermined number of OS to operate according to the resource allocation, In the action control step, after the startup of the specified number of OSs is completed, in a case where the single or multiple application systems (i.e., Apps) executed on each of the OSs include a pre-set single or multiple specific Apps, the specific Apps with the highest priority (i.e., the specific Apps with the highest priority) are determined from among the included single or multiple specific Apps, the resource allocation (i.e., the priority resource allocation) corresponding to the specific Apps with the highest priority is determined, and the priority resource allocation is set as the resource allocation; in a case where the single or multiple specific Apps are not included, a specified resource allocation as the specified resource allocation is determined, and the specified resource allocation is set as the resource allocation, In the priority resource allocation, the number of virtual processor cores and the virtual memory area of the OS corresponding to the highest priority allocated to execute the specific apps with the highest priority, i.e., the number of virtual processor cores and the virtual memory area of the OS corresponding to the highest priority, are set to be greater than the number of virtual processor cores and the virtual memory area of the OS corresponding to the highest priority set in the prescribed resource allocation.
