Monitoring system, monitoring device, monitoring method, and program

The monitoring system addresses the challenge of obtaining processing loads in multi-control unit systems by counting process executions and calculating utilization rates, thereby simplifying resource management.

JP2025085342APending Publication Date: 2025-06-05PANASONIC AUTOMOTIVE SYST CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
JP2023199149
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Filing Date
2023-11-24
Publication Date
2025-06-05

AI Technical Summary

Technical Problem

In systems where multiple control units share a physical device, it is challenging to easily obtain the processing loads of each control unit.

Method used

A monitoring system that includes an acquisition unit to count the number of times each control unit causes the physical device to execute a predetermined process, and a calculation unit to calculate the utilization rate of the physical device for each control unit based on these counter values.

Benefits of technology

Enables easy acquisition and calculation of processing loads for multiple control units sharing a physical device, facilitating efficient resource management and utilization.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 2025085342000001_ABST
    Figure 2025085342000001_ABST
Patent Text Reader

Abstract

To provide a monitoring system and the like capable of easily acquiring the processing load of multiple control units sharing physical devices.SOLUTION: A monitoring system 1 is a monitoring system for monitoring the processing load of physical devices installed in the vehicle. A vehicle includes a first control unit and a second control unit for controlling the physical devices to execute a work. The monitoring system 1 includes: an acquisition unit 210 that acquires a first counter value which is the counted number of predetermined processing which is executed by a physical device controlled by the first control unit, and a second counter value the counted number of the predetermined processing which is executed by a physical device controlled by the second control unit; and a calculation unit 220 that calculates the utilization of the physical device in the first control unit and the second control unit respectively on the basis of the acquired first counter value and the second counter value.SELECTED DRAWING: Figure 2
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present disclosure relates to a monitoring system, a monitoring device, a monitoring method, and a program. [Background technology]

[0002] Patent Document 1 discloses a performance monitoring system that determines a bottleneck in a system in which a plurality of virtual computers (controllers) share a physical device, taking into consideration the allocation policy of the physical device and the impact on software. [Prior art documents] [Patent documents]

[0003] [Patent Document 1] JP 2010-250689 A Summary of the Invention [Problem to be solved by the invention]

[0004] Incidentally, in a case where a plurality of control units share a physical device, it is desirable to easily obtain the processing loads of the plurality of control units.

[0005] In view of this, the present disclosure provides a monitoring system, a monitoring device, a monitoring method, and a program that are capable of easily acquiring the processing loads of multiple control units that share a physical device. [Means for solving the problem]

[0006] A monitoring system according to one embodiment of the present disclosure is a monitoring system that monitors the processing load of a physical device mounted on a vehicle, the vehicle including a first control unit and a second control unit that cause the physical device to execute a process, and the monitoring system includes an acquisition unit that acquires a first counter value counting the number of times that the first control unit causes the physical device to execute a predetermined process and a second counter value counting the number of times that the second control unit causes the physical device to execute the predetermined process, and a calculation unit that calculates the utilization rate of the physical device in each of the first control unit and the second control unit based on the acquired first counter value and second counter value.

[0007] A monitoring device according to one embodiment of the present disclosure is a monitoring device for monitoring the processing load of a physical device mounted on a vehicle, the vehicle including a first control unit and a second control unit that cause the physical device to execute a process, and the monitoring device including a first monitoring unit that counts the number of times that the first control unit causes the physical device to execute a predetermined process, a second monitoring unit that counts the number of times that the second control unit causes the physical device to execute the predetermined process, and an output unit that outputs a first counter value counted by the first monitoring unit and a second counter value counted by the second monitoring unit.

[0008] A monitoring method according to one aspect of the present disclosure is a monitoring method for monitoring the processing load of a physical device mounted on a vehicle, the vehicle being equipped with a first control unit and a second control unit that cause the physical device to execute a process, the monitoring method acquiring a first counter value counting the number of times that the first control unit causes the physical device to execute a predetermined process, and a second counter value counting the number of times that the second control unit causes the physical device to execute the predetermined process, and calculating a usage rate of the physical device in each of the first control unit and the second control unit based on the acquired first counter value and second counter value.

[0009] A program according to one aspect of the present disclosure is a program for causing a computer to execute the above-described monitoring method. Effect of the Invention

[0010] According to one aspect of the present disclosure, it is possible to realize a monitoring system or the like that is capable of easily acquiring the processing loads of a plurality of control units that share a physical device. [Brief description of the drawings]

[0011] [Figure 1] FIG. 1 is a diagram showing a configuration of a monitoring system according to an embodiment. [Diagram 2] FIG. 2 is a block diagram illustrating a functional configuration of the visualization processing device according to the embodiment. [Diagram 3] FIG. 3 is a flowchart showing the operation of the monitoring system according to the embodiment. [Figure 4] FIG. 4 is a diagram showing various types of information according to the embodiment. [Diagram 5] FIG. 5 is a flowchart showing a storage operation of the ECU according to the embodiment. [Figure 6] FIG. 6 is a flowchart showing the operation of the monitoring system according to the modified example of the embodiment. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0012] Hereinafter, the embodiment will be specifically described with reference to the drawings.

[0013] The embodiments described below are all comprehensive or specific examples. The numerical values, shapes, materials, components, arrangement positions and connection forms of the components shown in the following embodiments are merely examples and are not intended to limit the present disclosure.

[0014] (Embodiment) A monitoring system and the like according to an embodiment will be described below.

[0015] [1. Monitoring system configuration] 1 is a diagram showing a configuration of a monitoring system 1 according to the present embodiment. The monitoring system 1 is a system for monitoring the processing load of a physical device mounted on a vehicle.

[0016] As shown in FIG. 1, the monitoring system 1 includes an ECU (Electronic Control Unit) 10, a visualization processing device 200, and a display device 300.

[0017] The ECU 10 is a computer mounted on a vehicle and includes a processor (microprocessor) and a memory, etc. The memory is a read only memory (ROM) and a random access memory (RAM), etc., and can store a program executed by the processor.

[0018] The ECU 10 may be realized by an ECU (so-called integrated ECU) that serves as the center of the zone ECUs and controls the entire vehicle. The integrated ECU is a central ECU that integrates multiple ECUs. The integrated ECU is an ECU that integrates functions that were previously distributed across multiple ECUs in order to resolve issues of increased development time or cost as in-vehicle systems become more complex, and is an ECU that uses virtualization technology to operate multiple virtual computers (virtual machines: VMs) on one ECU. The zone ECU is arranged in the vehicle and controls resources in the area in which it is arranged. The zone ECU is connected to, for example, equipment mounted in the vehicle and controls the connected equipment.

[0019] In the ECU 10, a hypervisor 110 runs on a hardware SoC (System on Chip) 100, and multiple virtual machines are started on the hypervisor 110, with different operating systems running on each virtual machine. The SoC 100 represents a machine or device that can accept data, perform logical operations on the data, store data, and display data, and may include, but is not limited to, a processor and a memory.

[0020] The hypervisor 110 is software that serves as a virtualization infrastructure that operates one or more virtual machines (a plurality of virtual machines in the example of FIG. 1).

[0021] The multiple virtual machines include a management virtual machine 120 (management VM in FIG. 1) and multiple control virtual machines (N control virtual machines in FIG. 1) including a control virtual machine 130 (VM 1 in FIG. 1) and a control virtual machine 140 (VM N in FIG. 1, where N is a natural number equal to or greater than 2). The management virtual machine 120 is an example of a management unit or a monitoring device, the control virtual machine 130 is an example of a first control unit, and the control virtual machine 140 is an example of a second control unit.

[0022] The management virtual machine 120 is a virtual machine that runs on the hypervisor 110, and is provided to monitor the processing load of the physical devices mounted on the vehicle.

[0023] The management virtual machine 120 centrally manages access to physical devices of multiple control virtual machines. The management virtual machine 120 manages communication between the multiple control virtual machines and a GPU (Graphics Processing Unit) 150, a storage 152, and a DSP (Digital Signal Processor) 153, which are examples of physical devices. The management virtual machine 120 includes a physical device control unit 121, multiple process mediation units including a first process mediation unit 122a and an Nth process mediation unit 122n, multiple process monitoring units including a first process monitoring unit 123a and an Nth process monitoring unit 123n, an application 124 (App in the management virtual machine 120 in FIG. 1), an App process monitoring unit 125, and a system load monitoring unit 126.

[0024] The physical device control unit 121 is communicatively connected to the physical devices, and controls the physical devices based on control signals to the physical devices obtained from multiple process intermediation units or applications 124. Control signals from each control virtual machine and application 124 are input to the physical devices via the physical device control unit 121.

[0025] The multiple process mediation units including the first process mediation unit 122a and the Nth process mediation unit 122n are provided in the same number as the multiple control virtual machines (for example, provided in a one-to-one correspondence), and mediate control signals from the multiple control virtual machines to the physical devices. Specifically, the first process mediation unit 122a acquires a control signal from the control virtual machine 130, and outputs the acquired control signal to the physical device control unit 121. The first process mediation unit 122a may output a control signal to the physical device control unit 121 every time it acquires a control signal from the control virtual machine 130, or may queue the control signal acquired from the control virtual machine 130 and output a predetermined number of control signals to the physical device control unit 121 in a predetermined order.

[0026] In addition, if the ECU 10 is equipped with a shared memory (not shown) that stores control signals from multiple control virtual machines, the first processing intermediation unit 122a may obtain the control signal from the control virtual machine 130 by reading the control signal output from the control virtual machine 130 and stored in the shared memory.

[0027] The Nth process mediation unit 122n acquires a control signal from the control virtual machine 140 and outputs the acquired control signal to the physical device control unit 121. The Nth process mediation unit 122n may output a control signal to the physical device control unit 121 every time the Nth process mediation unit 122n acquires the control signal from the control virtual machine 140, or may queue the control signals acquired from the control virtual machine 140 and output a predetermined number of control signals to the physical device control unit 121 in a predetermined order.

[0028] The N-th process mediation unit 122n may obtain the control signal from the control virtual machine 140 by reading the control signal output from the control virtual machine 140 and stored in the shared memory.

[0029] The multiple process monitors including the first process monitor 123a and the Nth process monitor 123n monitor the multiple control virtual machines to calculate the processing load on the physical devices. Each of the multiple process monitors monitors the multiple process mediation units using the same program, and measures the amount of processing of a predetermined process by the multiple virtual device control units including the virtual device control units 132 and 142. The amount of processing is the number of times of processing, but is not limited to this.

[0030] The first process monitoring unit 123a monitors (for example, measures) the amount of processing of a predetermined process that the control virtual machine 130 causes a physical device to execute. In this embodiment, the first process monitoring unit 123a counts the number of times that the control virtual machine 130 causes a physical device to execute a predetermined process. For example, the first process monitoring unit 123a counts each time the first process mediation unit 122a outputs a control signal from the control virtual machine 130 or receives a control signal from the control virtual machine 130. In this embodiment, the first process monitoring unit 123a adds 1 to a counter value each time the first process mediation unit 122a outputs a control signal from the control virtual machine 130. The initial value of the counter value is, for example, zero.

[0031] Furthermore, the first process monitoring unit 123a executes a process for outputting the counted counter value to the visualization processing device 200. The first process monitoring unit 123a functions as an output unit.

[0032] The Nth process monitoring unit 123n monitors (for example, measures) the amount of processing of a predetermined process that the control virtual machine 140 causes a physical device to execute. In this embodiment, the Nth process monitoring unit 123n counts the number of times that the control virtual machine 140 causes a physical device to execute a predetermined process. For example, the Nth process monitoring unit 123n counts each time the Nth process mediation unit 122n outputs a control signal from the control virtual machine 140 or receives a control signal from the control virtual machine 140. In this embodiment, the Nth process monitoring unit 123n adds 1 to a counter value each time the Nth process mediation unit 122n outputs a control signal from the control virtual machine 140. The initial value of the counter value is, for example, zero.

[0033] Furthermore, the N-th process monitoring unit 123n executes a process for outputting the counted counter value to the visualization processing device 200. The N-th process monitoring unit 123n functions as an output unit.

[0034] The other process monitors also execute processes in a similar manner.

[0035] Here, the multiple process monitoring units count only predetermined control signals among the control signals from the multiple control virtual machines. The multiple process monitoring units perform counting based on a common monitoring content. For example, when monitoring the processing load of a specific physical device among the multiple physical devices, the common monitoring content includes counting control signals to the specific physical device. When the specific physical device is the GPU 150, that is, when monitoring the processing load of the GPU 150, the first process monitoring unit 123a counts only control signals to the GPU 150 among the control signals from the control virtual machine 130 to the physical devices. For example, the first process monitoring unit 123a adds 1 to a counter value when the first process mediation unit 122a outputs a control signal to the GPU 150, and does not add to the counter value when the first process mediation unit 122a outputs a control signal to a physical device other than the GPU 150.

[0036] Similarly, when the specific physical device is the GPU 150, the Nth process monitoring unit 123n counts only the control signals to the GPU 150 among the control signals from the control virtual machine 140 to the physical devices. For example, the Nth process monitoring unit 123n increments a counter value by 1 when the Nth process mediation unit 122n outputs a control signal to the GPU 150, and does not increment the counter value when the Nth process mediation unit 122n outputs a control signal to a physical device other than the GPU 150.

[0037] Moreover, the common monitoring content includes counting control signals for a specific physical device and a specific process. When the specific physical device is the GPU 150 and the specific process is image transfer, the first process monitoring unit 123a counts only control signals for image transfer to the GPU 150 among control signals from the control virtual machine 130 to the physical device. In this embodiment, the first process monitoring unit 123a increments the counter value by 1 when the first process mediation unit 122a outputs a control signal for image transfer to the GPU 150, and does not increment the counter value when the first process mediation unit 122a outputs a control signal for other than image transfer to the GPU 150 and when the first process mediation unit 122a outputs a control signal to the GPU 150 for a physical device other than the GPU 150. It can also be said that the first process monitoring unit 123a counts the number of image transfers from the GPU 150 to the control virtual machine 130. Image transfer is an example of a predetermined process.

[0038] Similarly, when the specific physical device is the GPU 150 and the specific process is image transfer, the Nth process monitoring unit 123n counts only the control signals for image transfer to the GPU 150 among the control signals from the control virtual machine 140 to the physical device. In this embodiment, the Nth process monitoring unit 123n increments the counter value by 1 when the Nth process mediation unit 122n outputs a control signal for image transfer to the GPU 150, and does not increment the counter value when the Nth process mediation unit 122n outputs a control signal for other than image transfer to the GPU 150 and when the Nth process mediation unit 122n outputs a control signal to a physical device other than the GPU 150. It can also be said that the Nth process monitoring unit 123n counts the number of image transfers from the GPU 150 to the control virtual machine 140.

[0039] The process to be counted may be different for each physical device. When the physical device is storage 152, that is, when the processing load of storage 152 is monitored, the process to be counted may be, for example, deleting a predetermined amount of data. When the physical device is DSP 153, that is, when the processing load of DSP 153 is monitored, the process to be counted may be, for example, filtering of digital data such as video. The process to be counted is an example of a predetermined process.

[0040] In this way, the first process monitoring unit 123a functions as a first monitoring unit that counts the number of times that the control virtual machine 130 causes a physical device to execute a specified process, and the Nth process monitoring unit 123n functions as a second monitoring unit that counts the number of times that the control virtual machine 140 causes a physical device to execute a specified process.

[0041] Note that the management virtual machine 120 is not limited to having multiple process monitors, and each control virtual machine may have a process monitor that counts its own device, for example. For example, the control virtual machine 130 may have a process monitor that counts the number of times that the virtual device control unit 132 outputs a control signal to the management virtual machine 120. Also, for example, the control virtual machine 140 may have a process monitor that counts the number of times that the virtual device control unit 142 outputs a control signal to the management virtual machine 120.

[0042] The process monitoring units may include the counted counter values ​​in a log and output the log to the in-vehicle network. For example, the output log may be stored in a storage unit (not shown) provided in the vehicle. The storage unit may be realized by, for example, a semiconductor memory, but is not limited to this.

[0043] The application 124 is an application (a normal application in a vehicle) for purposes other than management of each control virtual machine, and in this embodiment, is an application for executing processing using a physical device. The application 124 may be an application for controlling an image displayed to a person riding in the vehicle, an application for controlling data stored in the storage 152, an application for controlling an operation related to the running of the vehicle, or another application.

[0044] The application processing monitor 125 performs monitoring to calculate the processing load on the physical device of the application 124. The application processing monitor 125 monitors the application 124 using the same program as each of the multiple processing monitors, and measures the amount of processing of a predetermined process by the application 124. The amount of processing is, but is not limited to, the number of times the process is performed.

[0045] Specifically, the App processing monitoring unit 125 counts each time the application 124 outputs a control signal for controlling a physical device to the physical device control unit 121. In this embodiment, the App processing monitoring unit 125 increments the counter value by one each time the application 124 outputs a control signal to the physical device control unit 121. The initial value of the counter value is, for example, zero. The App processing monitoring unit 125 is an example of a third monitoring unit that counts the number of times a predetermined process is executed by the application 124 on a physical device.

[0046] Like the multiple process monitors, the application process monitor 125 performs counting based on a common monitoring content. That is, the application process monitor 125 and each of the multiple process monitors count the number of times a predetermined process is performed using the same monitoring method. For example, when a specific physical device is the GPU 150, that is, when monitoring the processing load of the GPU 150, the application process monitor 125 counts only control signals to the GPU 150 among control signals from the application 124 to the physical devices. For example, the application process monitor 125 adds 1 to a counter value when the application 124 outputs a control signal to the GPU 150, and does not add to the counter value when the application 124 outputs a control signal to a physical device other than the GPU 150.

[0047] Also, for example, when the specific physical device is the GPU 150 and the specific process is image transfer, the App process monitoring unit 125 counts only the control signals for image transfer to the GPU 150 among the control signals from the application 124 to the physical device. In this embodiment, the App process monitoring unit 125 increments the counter value by 1 when the application 124 outputs a control signal for image transfer to the GPU 150, and does not increment the counter value when the application 124 outputs a control signal for other than image transfer to the GPU 150 and when the application 124 outputs a control signal to the GPU 150 for a physical device other than the GPU 150. It can also be said that the App process monitoring unit 125 counts the number of image transfers from the GPU 150 to the application 124. Image transfer is an example of a predetermined process.

[0048] In this way, the App process monitor 125 monitors the application 124 using the same monitoring content (the same physical device and the same counting method) as a plurality of process monitors.

[0049] Furthermore, the App processing monitoring unit 125 executes a process for outputting the counted counter value to the visualization processing device 200. The App processing monitoring unit 125 functions as an output unit.

[0050] The system load monitor 126 monitors the usage rate of the physical devices, such as the processing load of the GPU 150, the bandwidth (i.e., communication speed) of the access network of the storage 152, and the processing load of the DSP 153.

[0051] As described above, the management virtual machine 120 also functions as an application execution unit that executes an application program. The application program may be a program for executing a process related to a vehicle. In addition, by monitoring each of the multiple process intermediation units and the application 124, the processing load of the management virtual machine 120 and the processing load of the multiple control virtual machines can be managed separately.

[0052] In the above embodiment, an example has been described in which the management virtual machine 120 includes a pair of the application 124 and the App processing monitor 125, but the management virtual machine 120 may include multiple pairs of the application 124 and the App processing monitor 125. In addition, the management virtual machine 120 does not necessarily have to include the application 124 and the App processing monitor 125.

[0053] The control virtual machines 130 and 140 cause the physical devices to execute processes via the management virtual machine 120 .

[0054] The control virtual machine 130 includes one or more applications 131 and a virtual device control unit 132 .

[0055] The application 131 is a normal application in the vehicle, and in this embodiment, is an application for executing a process using a physical device. The application 131 may be an application for controlling an image to be displayed to a person riding in the vehicle, an application for controlling data stored in the storage 152, an application for controlling an operation related to the running of the vehicle, or another application.

[0056] The virtual device control unit 132 is communicably connected to the management virtual machine 120, and outputs a control signal from the application 131 to the first process mediation unit 122a.

[0057] The control virtual machine 140 has the same configuration as the control virtual machine 130 , and includes one or more applications 141 and a virtual device control unit 142 .

[0058] A control device is configured by a plurality of control virtual machines including at least the control virtual machines 130 and 140.

[0059] The number of control virtual machines included in the ECU 10 is not limited to N. For example, when the management virtual machine 120 does not include the application 124, the ECU 10 may include two or more control virtual machines. Also, when the management virtual machine 120 includes the application 124 and the App processing monitor unit 125, the ECU 10 may include one or more control virtual machines.

[0060] The visualization processing device 200 executes processing for visualizing information on the processing load on each physical device of the management virtual machine 120 and the multiple control virtual machines based on counter values ​​counted by the App processing monitor 125 and the multiple processing monitors. The visualization processing device 200 is communicably connected to each of the ECU 10 and the display device 300, acquires counter values ​​from the ECU 10, and outputs presentation information for visualizing the processing load based on the acquired counter values ​​to the display device 300. The visualization processing device 200 is an example of a processing device.

[0061] FIG. 2 is a block diagram showing a functional configuration of the visualization processing device 200 according to this embodiment.

[0062] 2, the visualization processing device 200 includes an acquisition unit 210, a calculation unit 220, a creation unit 230, and an output unit 240. It is sufficient that the visualization processing device 200 includes at least the acquisition unit 210 and the calculation unit 220.

[0063] The acquiring unit 210 can communicate with the ECU 10, and acquires a first counter value counting the number of times that the control virtual machine 130 causes the physical device to execute a predetermined process in a predetermined period, and a second counter value counting the number of times that the control virtual machine 140 causes the physical device to execute the predetermined process. In this embodiment, the acquiring unit 210 further acquires a third counter value counting the number of times that the application 124 causes the physical device to execute the predetermined process in a predetermined period. That is, the acquiring unit 210 acquires N+1 counter values ​​in a predetermined period. The first counter value is a counter value counted by the first process monitoring unit 123a, the second counter value is a counter value counted by the Nth process monitoring unit 123n, and the third counter value is a counter value counted by the App process monitoring unit 125.

[0064] The acquisition unit 210 has a communication interface for communicating with the ECU 10, for example.

[0065] The calculation unit 220 calculates the device usage rate of each virtual machine based on the acquired counter values. In this embodiment, the calculation unit 220 calculates the device usage rate of each of the management virtual machine 120 and the multiple control virtual machines based on the N+1 counter values ​​in a predetermined period. The calculation unit 220 calculates the usage rate of each virtual machine based on the following formula 1. Note that each virtual machine includes the management virtual machine 120 and multiple control virtual machines.

[0066] Virtual machine device usage rate [%] = Physical device usage rate [%] × (Processing monitor counter value / Sum of all processing monitor counter values) (Formula 1)

[0067] In this way, the calculation unit 220 calculates the processing load of the management virtual machine 120 and each control virtual machine for the physical device by apportioning the actual usage rate of the physical device by the counter value (i.e., the number of processes). It can also be said that the calculation unit 220 calculates the processing load of each virtual machine as a value apportioned by the counter value, assuming that the total of the counter values ​​of each process monitoring unit corresponds to the load of the entire system.

[0068] The calculation of the device usage rate when the ECU 10 includes two control virtual machines 130 and 140 as the multiple control virtual machines will be described.

[0069] For example, when calculating the device usage rate of the control virtual machine 130, the first counter value is substituted for the counter value of the process monitor shown in Equation 1. That is, the calculation unit 220 calculates the device usage rate of the control virtual machine 130 by regarding the first counter value counted by the first process monitor 123a as the processing load resulting from the virtual device control unit 132 of the control virtual machine 130 requesting a physical device for processing. The calculation unit 220 similarly calculates the device usage rate of the control virtual machine 140.

[0070] For example, the calculation unit 220 calculates the usage rate of the physical device in the control virtual machine 130 (an example of a first usage rate) based on the first counter value and the sum of the counter values ​​of each control virtual machine including at least a first counter value and a second counter value, and calculates the usage rate of the physical device in the control virtual machine 140 (an example of a second usage rate) based on the sum and the second counter value. In this embodiment, the calculation unit 220 calculates the usage rate of the physical device in the control virtual machine 130 based on the sum of the first counter value, the second counter value and a third counter value of the management virtual machine 120 and the first counter value, and calculates the usage rate of the physical device in the control virtual machine 140 based on the sum and the second counter value.

[0071] Furthermore, for example, when calculating the device usage rate of the management virtual machine 120, the third counter value is substituted for the counter value of the process monitor. For example, the calculation unit 220 calculates the third usage rate of the physical device in the management virtual machine 120 based on the sum of the first counter value, the second counter value, and the third counter value, and the third counter value.

[0072] The utilization rate of the physical device may be obtained from the system load monitor 126. The sum of the counter values ​​of all the process monitors is the sum of N+1 counter values ​​for a predetermined period. In this way, the calculator 220 calculates the device utilization rate of each virtual machine based on the ratio of the counter values. The sum of the device utilization rates of each virtual machine matches the utilization rate of the physical device.

[0073] Note that the calculation unit 220 is not limited to calculating the device utilization rate using the above formula 1. For example, the calculation unit 220 may obtain the device utilization rate of the virtual machine using a lookup table in which the utilization rate of the physical device and the counter value (or the counter value and the sum of all counter values) are associated with the device utilization rate.

[0074] The creation unit 230 creates display data for visualizing the device usage rate of each virtual machine calculated by the calculation unit 220.

[0075] The output unit 240 is capable of communicating with the ECU 10 and the display device 300, and outputs the display data created by the creation unit 230 to the display device 300. The output unit 240 has a communication interface for communicating with the ECU 10 and the display device 300, for example.

[0076] In addition to the above, the visualization processing device 200 may also include a reception unit that receives input from a user, etc. The reception unit may be, but is not limited to, a button, a mouse, a touch panel, a microphone, etc.

[0077] The display device 300 displays the display data created by the visualization processing device 200. The display device 300 displays information indicating the processing load on the physical devices of at least each of a plurality of control virtual machines. Specifically, the display device 300 displays information indicating the device usage rate of at least each of a plurality of control virtual machines. In this embodiment, the display device 300 displays information indicating the device usage rate of the management virtual machine 120 and each of the plurality of control virtual machines. The display performed by the display device 300 will be described later with reference to FIG. 4. The display device 300 is realized by, for example, a liquid crystal display device. The display device 300 is an example of a display unit.

[0078] [2. Operation of the surveillance system] Next, the operation of the monitoring system 1 configured as above will be described with reference to Figs. 3 to 5. Fig. 3 is a flowchart showing the operation (monitoring method) of the monitoring system 1 according to this embodiment. Fig. 3 shows the operation executed by the visualization processing device 200. Fig. 4 shows various information according to this embodiment. The horizontal axis of the graphs shown in Figs. 4(a) to (c) is time, and each indicates the same time period (predetermined period). Note that Fig. 4 shows an example in which there are two control virtual machines, virtual machines 1 and 2, as the multiple control virtual machines. Note that the following description will be given of the case where virtual machine 1 is the control virtual machine 130, virtual machine 2 is the control virtual machine 140, and the management VM is the management virtual machine 120.

[0079] 3, the acquiring unit 210 acquires a counter value (third counter value) of the App processing monitor unit 125 for a predetermined period (S10), and acquires counter values ​​(first counter value and second counter value) of the processing monitor units of each control virtual machine (here, the control virtual machines 130 and 140) for the predetermined period (S20). For example, in step S20, the acquiring unit 210 acquires N counter values ​​counted by N processing monitor units including the first counter value and the second counter value for the predetermined period. Note that the timing at which the acquiring unit 210 acquires each counter value is not particularly limited, and the counter values ​​may be acquired periodically or based on a request from the visualization processing device 200.

[0080] The vertical axis of the graph shown in Fig. 4(a) indicates the counter value. For example, as shown in Fig. 4(a), in step S10, the acquisition unit 210 acquires time-series data of the counter values ​​of virtual machines 1 and 2 for a predetermined period. Also, as shown in Fig. 4(a), in step S10, the acquisition unit 210 acquires the counter values ​​of the apps of the management VM. Note that the example of Fig. 4(a) shows an example in which the predetermined period is divided into three sub-periods, and the counter values ​​of each of the three sub-periods are acquired. The three sub-periods of virtual machines 1 and 2 and the three sub-periods of the apps of the management VM are the same period.

[0081] 3 again, next, the acquiring unit 210 acquires the load status of the physical device for a predetermined period (S30). The acquiring unit 210 may acquire the usage rate of the physical device measured by the system load monitor 126 as the load status, or may acquire the usage rate from an input by the user, for example.

[0082] The vertical axis of the graph shown in Fig. 4(b) indicates device usage rate [%]. For example, as shown in Fig. 4(b), in step S30, the acquiring unit 210 acquires time-series data of the actual load status of the physical device for the same period as the predetermined period shown in Fig. 4(a). Note that the example of Fig. 4(b) shows an example in which the predetermined period is divided into three sub-periods, and the load status of the physical device for each of the three sub-periods is acquired. The three sub-periods of the load status of the physical device are the same period as the three sub-periods shown in Fig. 4(a).

[0083] Referring again to FIG. 3, next, the calculation unit 220 calculates the device utilization rate by a predetermined method (for example, using a predetermined formula), and the creation unit 230 creates display data to be displayed to the user based on the device utilization rate of each virtual machine (S40).

[0084] In step S40, the calculation unit 220 calculates the device utilization rate of each virtual machine based on, for example, the information acquired in steps S10 to S30 and the above formula 1. Furthermore, the creation unit 230 creates display data for visualizing the device utilization rate of each virtual machine based on the device utilization rate of each virtual machine. In the example of Fig. 1, the creation unit 230 creates display data for visualizing the load of at least one of the GPU 150, the storage 152, and the DSP 153.

[0085] The vertical axis of the graph shown in FIG. 4(c) indicates the device utilization rate [%].

[0086] 4(c), the creation unit 230 may create display data showing the load of the entire system (the actual load status of the monitored physical device, i.e., the usage rate of the physical device) and the load of each virtual machine (device usage rate) in a line graph. This makes it possible to see at a glance which virtual machine has a high load rate at each time.

[0087] In this way, the display data may be data for visualizing the processing load of the management virtual machine 120 separately from the processing load of each control virtual machine. In addition, in an in-vehicle system, the resources of the entire system are limited, and it is required to visualize not only the processing amount of each virtual machine for the physical device but also the load of each virtual machine as a whole system. The display data shown in (c) of FIG. 4 is data in which the request processing from each control virtual machine processed by the management virtual machine 120 is counted as the load of each control virtual machine, and the load of the application 124 of the management virtual machine 120 itself is visualized, and it can be seen that the data required in an in-vehicle system is visualized.

[0088] The time interval T indicates a short period of time. The time interval T is, for example, several to several hundred milliseconds, but may be several seconds.

[0089] 3 again, next, the output unit 240 outputs the display data created by the creation unit 230 to the display device 300 (S50). This enables the display device 300 to display, for example, the graph shown in (c) of FIG.

[0090] Next, the output unit 240 outputs a counter value reset signal to the ECU 10 (S60). This makes it possible to reset the counter value of each process monitoring unit of the management virtual machine 120. Each process monitoring unit includes N process monitoring units including the first process monitoring unit 123a and the Nth process monitoring unit 123n, and the App process monitoring unit 125.

[0091] Next, the visualization processing device 200 waits for a certain period of time (S70), and returns to step S10 to continue the process. The certain period of time may be, for example, the period required to measure the counter value for the next display.

[0092] Next, the operation of the ECU 10 will be described with reference to Fig. 5. Fig. 5 is a flowchart showing the storage operation (monitoring method) of the ECU 10 according to this embodiment.

[0093] 5, first, the SoC 100 starts up (S110), that is, the ECU 10 starts up.

[0094] Next, the ECU 10 determines whether or not the visualization processing device 200 is connected to the SoC 100 (S120). The ECU 10 may perform the determination of step S120 depending on whether or not communication with the visualization processing device 200 is possible.

[0095] Next, when the ECU 10 determines that the visualization processing device 200 is connected to the SoC 100 (Yes in S120), the ECU 10 acquires the storage conditions from the visualization processing device 200 (S130). The ECU 10 may store the storage conditions in a storage unit.

[0096] The storage condition is a condition when each process monitor counts the counter value, and may be, for example, the time interval T shown in Fig. 4(c), that is, the time interval (sampling interval) for measuring the counter value, or the length of a predetermined period (sampling time). The storage condition is a condition commonly used by each process monitor.

[0097] The storage conditions may be acquired periodically, or may be acquired by being transmitted from the visualization processing device 200 whenever the conditions are changed. For example, when the visualization processing device 200 is displaying display data as shown in (c) of FIG. 4 on the display device 300, if the user enlarges the graph, the time interval for displaying the counter values ​​becomes shorter. That is, the sampling interval for the counter values ​​becomes shorter. Also, when the visualization processing device 200 is displaying display data as shown in (c) of FIG. 4 on the display device 300, if the user reduces the graph, the time for displaying the counter values ​​becomes longer. That is, the sampling time for the counter values ​​for displaying one piece of display data becomes longer. Also, the settings of the sampling interval and the sampling time may be changed by the user. In step S130, when the storage conditions are changed in this way, the changed storage conditions are also acquired.

[0098] Next, each process monitor starts incrementing the counter value based on the storage condition (S140). Each process monitor starts counting the counter value based on the same storage condition. Also, the system load monitor 126 may start monitoring the usage rate of the physical device based on the storage condition. In this way, the measurement of the first counter value, the second counter value, and the third counter value is performed in cooperation with the visualization processing device 200 when the control device is connected to the visualization processing device 200.

[0099] The system load monitor 126 may obtain the actual usage rate of the physical device at time intervals T over a predetermined period indicated by the storage conditions.

[0100] Next, each process monitor stores the counter value measured based on the storage condition in the storage unit (S150), thereby obtaining counter values ​​measured using the same storage condition.

[0101] Furthermore, when it is determined that the visualization processing device 200 is not connected to the SoC 100 (No in S120), the ECU 10 determines whether the current operation mode is the development mode or the inspection mode (S160). The development mode is an operation mode during development of the ECU 10. It can be determined that the operation mode is the development mode when a physical switch for the development mode provided in the ECU 10 is installed in a pressed state, when a program dedicated to the development mode is running, when a specific command is input, etc. Furthermore, the inspection mode is an operation mode during inspection of a vehicle equipped with the ECU 10. It can be determined that the operation mode is the inspection mode when a physical switch for the inspection mode provided in the ECU 10 is installed in a pressed state, when a program dedicated to the inspection mode is running, when a specific command is input, etc.

[0102] When it is determined that the ECU 10 is in the development mode or the inspection mode (Yes in S160), the ECU 10 starts incrementing the counter value based on a predetermined condition (S170). Since the ECU 10 cannot acquire the storage condition from the visualization processing device 200, the ECU 10 starts incrementing the counter value based on a preset predetermined condition. In this way, the measurement of the first counter value, the second counter value, and the third counter value is performed when the control device is operating in the development mode or the inspection mode.

[0103] The predetermined condition is a condition commonly used by each process monitoring unit. Note that previously acquired storage conditions may be used as the predetermined condition. Also, different storage conditions may be used in the development mode and the inspection mode.

[0104] This makes it possible to measure the counter value during the development stage of the vehicle or when the vehicle is inspected.

[0105] Next, each process monitor stores the counter value measured based on the predetermined condition in the storage unit (S180), thereby obtaining the counter value measured using the same predetermined condition.

[0106] Moreover, when it is determined that the mode is not the development mode or the inspection mode (No in S160), the ECU 10 ends the process without starting the increment of the counter value.

[0107] The counter value thus measured is output to the visualization processing device 200.

[0108] The physical devices to be monitored may be changed in each of the development mode, the inspection mode, and the actual use mode after the sale of the vehicle. For example, the number of physical devices to be monitored in the actual use mode may be smaller than those in the development mode and the inspection mode. The counter values ​​acquired in the development mode are used for improvements at the development stage, the counter values ​​acquired in the inspection mode are used for vehicle inspections at dealers, etc., and the counter values ​​acquired in the actual use mode may be used for analyzing defects in the market, checking changes in device usage rates after each application is updated, etc. Each application includes applications 124, 131, and 141.

[0109] (Modification of the embodiment) The monitoring system according to this modification will be described below with reference to FIG. 6. The following description will focus on the differences from the embodiment, and description of the same or similar content as the embodiment will be omitted or simplified. The configuration of the monitoring system according to this modification may be the same as that of the monitoring system 1 according to the embodiment, and description thereof will be omitted. In the following description, the reference numerals of the monitoring system 1 according to the embodiment will be used.

[0110] 6 is a flowchart showing the operation (monitoring method) of the monitoring system 1 according to this modification. This modification is different from the monitoring system 1 according to the embodiment in that each process monitoring unit cannot reset a counter value or does not reset the counter value.

[0111] 6, the acquisition unit 210 of the visualization processing device 200 acquires a counter value (third counter value) of the App processing monitoring unit 125, and the calculation unit 220 calculates the difference between the counter value (third counter value) and the stored counter value (S310). The calculation unit 220 calculates the difference between the latest third counter value acquired by the acquisition unit 210 and a third counter value acquired in the past (for example, most recently) by the acquisition unit 210 and stored in the storage unit. The calculation unit 220 calculates the difference by subtracting the stored third counter value from the latest third counter value acquired by the acquisition unit 210. This makes it possible to know how much the counter value for the application 124 has increased during a predetermined period.

[0112] Next, the acquisition unit 210 acquires the counter value of the process monitoring unit of each control virtual machine, and the calculation unit 220 calculates the difference from the stored counter value (S320). The calculation unit 220 calculates the difference between the latest counter value acquired by the acquisition unit 210 and a counter value acquired in the past (for example, most recently) by the acquisition unit 210 and stored in the storage unit. The calculation unit 220 calculates the difference by subtracting the stored counter value from the latest counter value acquired by the acquisition unit 210. For example, taking the control virtual machine 130 as an example, the calculation unit 220 calculates the difference for the control virtual machine 130 by subtracting the most recent stored first counter value from the first counter value counted by the latest first process monitoring unit 123a acquired by the acquisition unit 210. Also, for example, taking the control virtual machine 140 as an example, the calculation unit 220 calculates the difference for the control virtual machine 140 by subtracting the most recent stored second counter value from the second counter value counted by the latest Nth processing monitoring unit 123n acquired by the acquisition unit 210.

[0113] This makes it possible to know how much the counter value for each control virtual machine has increased during a given period of time.

[0114] In step S40, the device usage rate is calculated using the difference calculated in steps S310 and S320.

[0115] Furthermore, the visualization processing device 200 stores the counter values ​​acquired in steps S310 and S320 in the storage unit (S360). The stored counter value is used to calculate the difference with the counter value acquired the next time.

[0116] By operating as described above, the visualization processing device 200 can calculate the device usage rate of each control virtual machine even if each process monitoring unit is unable to reset the counter value or does not reset the counter value.

[0117] (Other embodiments) As described above, the embodiments and the like have been described as examples of the technology according to the present disclosure. However, the technology according to the present disclosure is not limited to these, and can be applied to embodiments in which modifications, substitutions, additions, omissions, etc. are appropriately made. For example, the following modified examples are also included in the embodiments and the like of the present disclosure.

[0118] For example, in the above embodiment and the like, the calculation unit 220 has been described as using at least the counter value of each control virtual machine to calculate the usage rate of each control virtual machine (an example of the processing load of each control virtual machine) of a physical device shared by each control virtual machine, but the present invention is not limited to this. For example, the calculation unit 220 may calculate the usage rate of each control virtual machine and management virtual machine of a physical device shared by each control virtual machine and management virtual machine based on the processing amount of each control virtual machine and management virtual machine for the physical device. In other words, the calculation unit may calculate the device usage rate of each control virtual machine and management virtual machine of a physical device by using the processing amount of each control virtual machine and management virtual machine without using the counter value. Note that the method of measuring the processing amount is not particularly limited, and any known method may be used.

[0119] Such a monitoring system is a monitoring system for monitoring a processing load on a physical device mounted on a vehicle, the vehicle including a first control unit and a second control unit that control the physical device, and a management unit that manages communication between the first control unit and the second control unit and the physical device, and the monitoring system includes an acquisition unit that acquires a first processing amount of a predetermined process that the first control unit causes the physical device to execute, a second processing amount of the predetermined process that the second control unit causes the physical device to execute, and a third processing amount of the predetermined process that the management unit causes the physical device to execute, and a calculation unit that calculates utilization rates of the physical device in each of the first control unit, the second control unit, and the management unit based on the acquired first processing amount, the second processing amount, and the third processing amount. The monitoring system may be realized as a system including such an acquisition unit and a calculation unit.

[0120] This makes it possible to know the load ratio of each control virtual machine and management virtual machine relative to the load of the entire system, thereby making it possible to obtain more accurate load ratios.

[0121] In the above embodiment, the physical device, the management virtual machine 120, and the control virtual machines are mounted on a vehicle, but the present invention is not limited to this. The physical device, the management virtual machine 120, and the control virtual machines may be mounted on a moving object other than a vehicle, such as a train or an airplane, or on an electric device, such as a mobile phone or a home appliance, or on an object not included in the classifications given here, such as the Internet of Things (IoT).

[0122] In addition, in the above embodiment and the like, the example in which the ECU 10 is realized by an integrated ECU has been described, but the present invention is not limited to this and the ECU 10 may be realized by a zone ECU or another ECU.

[0123] Furthermore, for example, the visualization processing device 200 and the display device 300 in the above-described embodiments and the like may be mounted on a vehicle, or may be provided outside the vehicle.

[0124] In the above embodiments, each component may be implemented by dedicated hardware or by executing a software program suitable for each component. Each component may be implemented by a program execution unit such as a CPU or processor reading and executing a software program recorded on a recording medium such as a hard disk or semiconductor memory.

[0125] In addition, the order in which each step is performed in the flowchart is merely an example for specifically explaining the present disclosure, and an order other than the above may be used. In addition, some of the steps may be performed simultaneously (in parallel) with other steps, or some of the steps may not be performed.

[0126] In addition, the division of functional blocks in the block diagram is an example, and multiple functional blocks may be realized as one functional block, one functional block may be divided into multiple blocks, or some functions may be transferred to another functional block. Furthermore, the functions of multiple functional blocks having similar functions may be processed in parallel or in a time-sharing manner by a single piece of hardware or software.

[0127] Furthermore, the visualization processing device 200 according to the above-described embodiments and the like may be realized as a single device, or may be realized by multiple devices. When the visualization processing device 200 is realized by multiple devices, the components of the visualization processing device 200 may be distributed in any manner among the multiple devices. When the visualization processing device 200 is realized by multiple devices, the communication method between the multiple devices is not particularly limited, and may be wireless communication or wired communication. Furthermore, wireless communication and wired communication may be combined between the devices.

[0128] Moreover, each of the components described in the above embodiments may be realized as software, or may be realized as an LSI, which is typically an integrated circuit. These may be individually integrated into one chip, or may be integrated into one chip to include some or all of them. Here, LSI is used, but it may be called IC, system LSI, super LSI, or ultra LSI depending on the degree of integration. Furthermore, the method of integration is not limited to LSI, and may be realized by a dedicated circuit (a general-purpose circuit that executes a dedicated program) or a general-purpose processor. After LSI manufacture, a programmable FPGA (Field Programmable Gate Array) or a reconfigurable processor that can reconfigure the connection or setting of the circuit cells inside the LSI may be used. Furthermore, if an integrated circuit technology that replaces LSI appears due to the progress of semiconductor technology or a different derived technology, it is natural that the integration of the components may be performed using that technology.

[0129] Furthermore, one aspect of the present disclosure may be a computer program that causes a computer to execute each of the characteristic steps included in the monitoring method shown in any one of FIG. 3, FIG. 5, and FIG.

[0130] Also, for example, the program may be a program to be executed by a computer. Also, one aspect of the present disclosure may be a computer-readable non-transitory recording medium on which such a program is recorded. For example, such a program may be recorded on a recording medium and distributed or circulated. For example, the distributed program may be installed in a device having another processor, and the program may be executed by the processor, thereby making it possible to cause the device to perform each of the above processes.

[0131] In addition, the present disclosure also includes forms obtained by applying various modifications to the embodiments, etc. that a person skilled in the art may think of, and forms realized by arbitrarily combining the components and functions of the embodiments, etc., within the scope that does not deviate from the spirit of the present disclosure.

[0132] (Additional Note) The above description of the embodiments and the like discloses the following techniques.

[0133] (Technology 1) A monitoring system 1 that monitors the processing load of a physical device mounted on a vehicle, the vehicle including a first control unit and a second control unit that cause the physical device to execute a process, and the monitoring system including an acquisition unit 210 that acquires a first counter value counting the number of times that the first control unit causes the physical device to execute a predetermined process and a second counter value counting the number of times that the second control unit causes the physical device to execute the predetermined process, and a calculation unit 220 that calculates the utilization rate of the physical device in each of the first control unit and the second control unit based on the acquired first counter value and second counter value.

[0134] As a result, the usage rate of the physical device in each control unit can be calculated using the counter value. Therefore, since there is no need to measure detailed processing loads of the physical devices in the first control unit and the second control unit, the usage rate of the physical device can be easily calculated. Furthermore, for example, in the past, the processing load was measured using a dedicated measurement system (electronic circuit) embedded in the SoC 100 by hardwired logic, but according to the monitoring system 1, the usage rate of the physical device can be calculated simply by changing the program. Therefore, since there is no need to provide a measurement system embedded in the SoC 100 by hardwired logic, the usage rate of the physical device of each virtual machine can be easily calculated. Furthermore, since it is realized by a program, it is easy to update.

[0135] (Technology 2) In the monitoring system 1 of Technology 1, the calculation unit calculates a first usage rate of the physical device in the first control unit based on the first counter value and the second counter value and the first counter value, and calculates a second usage rate of the physical device in the second control unit based on the sum and the second counter value.

[0136] This makes it possible to calculate the usage rate of the physical device for each virtual machine simply by calculating the ratio of the counter values.

[0137] (Technology 3) The vehicle is equipped with the first control unit, the second control unit, and a management unit that manages communication with the physical device, and the management unit has a first monitoring unit that counts the number of times the first control unit has the physical device execute the specified processing, and a second monitoring unit that counts the number of times the second control unit has the physical device execute the specified processing, and the acquisition unit acquires the counter value counted by the first monitoring unit as a first counter value, and acquires the counter value counted by the second monitoring unit as the second counter value, in the monitoring system 1 of Technology 1 or 2.

[0138] This makes it possible to easily calculate the usage rate of the physical device using the counter value counted by the monitoring unit included in the management unit.

[0139] (Technology 4) A monitoring system 1 of Technology 3, wherein the management unit further has an application that causes the physical device to execute a process, the acquisition unit further acquires a third counter value that counts the number of times the application causes the physical device to execute the specified process, and the calculation unit further calculates the usage rate of the physical device in each of the first control unit, the second control unit, and the management unit based on the third counter value.

[0140] This allows the utilization rate of the physical device to be calculated including the number of times the management unit causes the physical device to execute a predetermined process, making it possible to accurately calculate the breakdown of the processing load of the entire system. For example, when the processing load of an application of the management unit is large, it becomes possible to detect that the management unit is a bottleneck.

[0141] (Technology 5) The monitoring system 1 of Technology 4, wherein the calculation unit calculates a third usage rate of the physical device in the management unit based on the sum of the first counter value, the second counter value, and the third counter value and the third counter value.

[0142] This makes it possible to calculate the usage rate of the physical device in the management section simply by calculating the ratio of the counter values.

[0143] (Technology 6) The monitoring system 1 according to any one of Technologies 1 to 5, further comprising a display unit (display device 300) that displays the usage rates of the physical devices in the first control unit and the second control unit, respectively, calculated by the calculation unit.

[0144] This makes it possible to visualize the calculated utilization rate of the physical device.

[0145] (Technology 7) A monitoring system 1 according to any one of Technologies 1 to 6, wherein a control device is configured to include at least the first control unit and the second control unit, a processing device is configured to include at least the acquisition unit and the calculation unit, and measurement of the first counter value and the second counter value is performed when the control device is connected to the processing device.

[0146] This makes it possible to easily obtain the usage rate of the physical device when the control device and the processing device are connected.

[0147] (Technology 8) A monitoring system 1 according to any one of Technologies 1 to 7, wherein a control device is configured to include at least the first control unit and the second control unit, and measurement of the first counter value and the second counter value is performed when the control device is operating in a development mode or an inspection mode.

[0148] This makes it possible to easily obtain the usage rate of the physical device when the control device is operating in the development mode or the inspection mode.

[0149] (Technology 9) A monitoring device for monitoring the processing load of a physical device mounted on a vehicle, the vehicle including a first control unit and a second control unit that cause the physical device to execute a process, the monitoring device including a first monitoring unit that counts the number of times that the first control unit causes the physical device to execute a predetermined process, a second monitoring unit that counts the number of times that the second control unit causes the physical device to execute the predetermined process, and an output unit that outputs a first counter value counted by the first monitoring unit and a second counter value counted by the second monitoring unit. The monitoring device is a monitoring device (e.g., a management virtual machine 120).

[0150] As a result, the utilization rate of the physical device for each virtual machine is calculated using the calculated first counter value and second counter value, making it possible to easily calculate the utilization rate of the physical device for each virtual machine without measuring the detailed processing load of the physical devices in the first control unit and the second control unit.

[0151] (Technology 10) The monitoring device of Technology 9 further includes an application that causes the physical device to execute a process, and a third monitoring unit that counts the number of times the application causes the physical device to execute the specified process, and the output unit further outputs a third counter value counted by the third monitoring unit.

[0152] In this way, the utilization rate of the physical device is calculated including the third counter value, so that the breakdown of the processing load of the entire system can be accurately calculated.

[0153] (Technology 11) A monitoring method for monitoring the processing load of a physical device mounted on a vehicle, the vehicle including a first control unit and a second control unit that cause the physical device to execute a process, the monitoring method acquiring a first counter value counting the number of times that the first control unit causes the physical device to execute a predetermined process, and a second counter value counting the number of times that the second control unit causes the physical device to execute the predetermined process, and calculating a usage rate of the physical device in each of the first control unit and the second control unit based on the acquired first counter value and second counter value.

[0154] As a result, the same effects as those of the above-mentioned monitoring system 1 can be achieved.

[0155] (Technology 12) A program for causing a computer to execute the monitoring method of Technology 11.

[0156] As a result, the same effects as those of the above-mentioned monitoring system 1 can be achieved. [Industrial Applicability]

[0157] The present disclosure can be applied to monitoring systems used in vehicles, etc. [Explanation of symbols]

[0158] 1. Surveillance System 10 ECU (monitoring device) 100 SoC 110 Hypervisor 120 Management Virtual Machine (Management) 121 Physical Device Control Unit 122a First Processing Intermediary Department 122n Nth Processing Intermediary Department 123a First Processing Monitoring Unit 123n Nth Processing Monitoring Department 124, 131, 141 Applications 125 App Processing Monitoring Unit 126 System Load Monitoring Unit 130 Control virtual machine (first control unit) 132, 142 Virtual device control unit 140 Control virtual machine (second control section) 150 GPU (physical device) 152 Storage (physical devices) 153 DSP (physical device) 200 Visualization processing device 300 Display device (display section)

Claims

1. A monitoring system for monitoring a processing load of a physical device mounted on a vehicle, comprising: the vehicle includes a first control unit and a second control unit that cause the physical device to execute a process; The monitoring system includes: an acquisition unit that acquires a first counter value obtained by counting the number of times that the first control unit causes the physical device to execute a predetermined process, and a second counter value obtained by counting the number of times that the second control unit causes the physical device to execute the predetermined process; a calculation unit that calculates a usage rate of the physical device in each of the first control unit and the second control unit based on the acquired first counter value and the acquired second counter value. Surveillance system.

2. The calculation unit calculates a first usage rate of the physical device in the first control unit based on the first counter value and the sum of the first counter value and the second counter value, and calculates a second usage rate of the physical device in the second control unit based on the sum and the second counter value. The monitoring system of claim 1 .

3. the vehicle includes a management unit that manages communication between the first control unit, the second control unit, and the physical device; the management unit includes a first monitoring unit that counts the number of times that the first control unit causes the physical device to execute the predetermined process, and a second monitoring unit that counts the number of times that the second control unit causes the physical device to execute the predetermined process, The acquisition unit acquires a counter value counted by the first monitoring unit as a first counter value, and acquires a counter value counted by the second monitoring unit as the second counter value.

3. A monitoring system according to claim 1 or 2.

4. the management unit further includes an application that causes the physical device to execute a process; The acquiring unit further acquires a third counter value obtained by counting the number of times that the application causes the physical device to execute the predetermined process; The calculation unit further calculates a usage rate of the physical device in each of the first control unit, the second control unit, and the management unit based on the third counter value. The monitoring system according to claim 3.

5. The calculation unit calculates a third usage rate of the physical device in the management unit based on the sum of the first counter value, the second counter value, and the third counter value and on the third counter value. The monitoring system according to claim 4.

6. a display unit that displays the usage rates of the physical devices in the first control unit and the second control unit, the usage rates being calculated by the calculation unit; 3. A monitoring system according to claim 1 or 2.

7. A control device is configured including at least the first control unit and the second control unit, A processing device is configured including at least the acquisition unit and the calculation unit, The measurement of the first counter value and the second counter value is performed when the control device is connected to the processing device.

3. A monitoring system according to claim 1 or 2.

8. A control device is configured including at least the first control unit and the second control unit, The measurement of the first counter value and the second counter value is performed when the control device is operating in a development mode or an inspection mode.

3. A monitoring system according to claim 1 or 2.

9. A monitoring device for monitoring a processing load of a physical device mounted on a vehicle, comprising: the vehicle includes a first control unit and a second control unit that cause the physical device to execute a process; The monitoring device includes: a first monitoring unit that counts the number of times that the first control unit causes the physical device to execute a predetermined process; a second monitoring unit that counts the number of times that the second control unit causes the physical device to execute the predetermined process; an output unit that outputs a first counter value counted by the first monitoring unit and a second counter value counted by the second monitoring unit. monitoring equipment.

10. moreover, an application that causes the physical device to execute a process; a third monitoring unit that counts the number of times that the application causes the physical device to execute the predetermined process; The output unit further outputs a third counter value counted by the third monitoring unit.

10. The monitoring device of claim 9.

11. A monitoring method for monitoring a processing load of a physical device mounted on a vehicle, comprising: the vehicle includes a first control unit and a second control unit that cause the physical device to execute a process; The monitoring method includes: obtaining a first counter value obtained by counting the number of times that the first control unit causes the physical device to execute a predetermined process, and a second counter value obtained by counting the number of times that the second control unit causes the physical device to execute the predetermined process; Calculating the usage rate of the physical device in each of the first control unit and the second control unit based on the acquired first counter value and second counter value. Monitoring method.

12. A program for causing a computer to execute the monitoring method according to claim 11.

Citation Information

Patent Citations

  • Performance monitoring system, bottleneck detection method, and management computer

    JP2010250689A