Vehicle-mounted device, information processing method, and information processing program
A vehicle-mounted device includes a processor capable of setting three or more authority levels related to memory access, wherein a higher authority level than authority levels of an OS and an application is set for an abnormality notification function of notifying a memory access violation to an outside of the vehicle-mounted device.
1 . A vehicle-mounted device comprising:
a processor comprising a core is capable of:
setting three or more authority levels related to memory access, wherein a higher authority level than authority levels of an operating system (OS) and an application is set for an abnormality notification function of notifying a memory access violation to an outside of the vehicle-mounted device; and
detecting the memory access violation by the OS or the application and starting the abnormality notification function to notify the memory access violation, wherein after notifying the memory access violation, the abnormality notification function selects whether to stop the abnormality notification function or restart the processor based on a determination result of a notification destination regarding the memory access violation, wherein the determination result provided to the vehicle-mounted device that has notified the memory access violation indicates restart of the processor if the vehicle-mounted device is an infotainment vehicle-mounted device, and indicates stop of the abnormality notification function if the vehicle-mounted device is not the infotainment vehicle-mounted device.
2 . The vehicle-mounted device according to claim 1 , wherein the processor is capable of setting a first authority level, a second authority level higher than the first authority level, and a third authority level higher than the second authority level, and
the first authority level is set for the application, the second authority level is set for the OS, and the third authority level is set for the abnormality notification function.
3 . The vehicle-mounted device according to claim 2 , wherein in the processor, the third authority level is further set for a boot loader.
4 . An information processing method in a vehicle-mounted device that includes a processor capable of setting three or more authority levels related to memory access, the information processing method comprising:
a step in which the processor sets a higher authority level than authority levels of an operating system (OS) and an application for an abnormality notification function of notifying a memory access violation to an outside of the vehicle-mounted device; and
a step in which the processor detects the memory access violation by the OS or the application and starts the abnormality notification function to notify the memory access violation, wherein after notifying the memory access violation and based on a determination result of a notification destination regarding the memory access violation, the abnormality notification function selects at least one of to: stop the abnormality notification function or restart the processor,
wherein the determination result provided to the vehicle-mounted device that has notified the memory access violation indicates restart of the processor when the vehicle-mounted device is an infotainment vehicle-mounted device, and indicates stop of the abnormality notification function when the vehicle-mounted device is not the infotainment vehicle-mounted device.
5 . The information processing method according to claim 4 , wherein the processor is capable of setting a first authority level, a second authority level higher than the first authority level, and a third authority level higher than the second authority level, and
Wherein the first authority level is set for the application, the second authority level is set for the OS, and the third authority level is set for the abnormality notification function.
6 . The information processing method according to claim 5 , wherein in the processor, the third authority level is further set for a boot loader.
7 . A non-transitory computer-readable storage medium comprising an information processing program executable in a vehicle-mounted device that includes a processor capable of setting three or more authority levels related to memory access, the information processing program being executed by a computer to:
set a higher authority level than authority levels of an operating system (OS) and an application for an abnormality notification function of notifying a memory access violation to an outside of the vehicle-mounted device; and
detect the memory access violation by the OS or the application and start the abnormality notification function to notify the memory access violation, wherein after notifying the memory access violation, the abnormality notification function selects whether to stop the abnormality notification function or restart the processor based on a determination result of a notification destination regarding the memory access violation, wherein the determination result provided to the vehicle-mounted device that has notified the memory access violation indicates restart of the processor if the vehicle-mounted device is an infotainment vehicle-mounted device, and indicates stop of the abnormality notification function if the vehicle-mounted device is not the infotainment vehicle-mounted device.
8 . The non-transitory computer-readable storage medium according to claim 7 , wherein the processor is capable of setting a first authority level, a second authority level higher than the first authority level, and a third authority level higher than the second authority level, and
Wherein the first authority level is set for the application, the second authority level is set for the OS, and the third authority level is set for the abnormality notification function.
9 . The non-transitory computer-readable storage medium according to claim 8 , wherein in the processor, the third authority level is further set for a boot loader.