Control unit and program for same
First Claim
Patent Images
1. A control unit for a vehicle comprising:
- a first non-volatile memory for storing a control program and a reference table, the control program controlling a controlled object and detecting an abnormality, the reference table including possible events generated by the controlled object and event codes representing the possible events as an event code group, the possible events being the abnormality of the controlled object, and the event codes being data regarding the abnormality to be stored;
a second non-volatile memory for storing an event code corresponding to an event generated by the controlled object;
a discrepancy check unit for determining whether the event code stored in the second non-volatile memory does not match any one of the event codes of the event code group in the reference table that is stored in the first non-volatile memory when the control program for detecting the abnormality and the reference table stored in the first non-volatile memory are updated under an instruction from an external device, wherein the event code that does not match any one of the event codes in the reference table that is stored in the first non-volatile memory represents that the abnormality is no longer detected by the control program, which is updated;
a determination unit for determining an unnecessary event code as the event code determined as not matching by the discrepancy check unit, wherein the unnecessary event code is not required to be stored in the second non-volatile memory; and
a result notification unit for notifying a determination result by the determination unit.
1 Assignment
0 Petitions
Accused Products
Abstract
The first memory of a control unit has a control program stored therein, and an update of the control program is performed at a predetermined timing. After the update of the control program, the second memory in the control unit is referred to, and an event code stored in the second memory is extracted if the event code does not correspond to any one of event code group respectively associated with events that can possibly be generated by the updated control program. Due to the decreased necessity for use as reference data, the extracted event code may be considered as un-necessary and may be deleted, for example, from the memory.
10 Citations
26 Claims
-
1. A control unit for a vehicle comprising:
-
a first non-volatile memory for storing a control program and a reference table, the control program controlling a controlled object and detecting an abnormality, the reference table including possible events generated by the controlled object and event codes representing the possible events as an event code group, the possible events being the abnormality of the controlled object, and the event codes being data regarding the abnormality to be stored; a second non-volatile memory for storing an event code corresponding to an event generated by the controlled object; a discrepancy check unit for determining whether the event code stored in the second non-volatile memory does not match any one of the event codes of the event code group in the reference table that is stored in the first non-volatile memory when the control program for detecting the abnormality and the reference table stored in the first non-volatile memory are updated under an instruction from an external device, wherein the event code that does not match any one of the event codes in the reference table that is stored in the first non-volatile memory represents that the abnormality is no longer detected by the control program, which is updated; a determination unit for determining an unnecessary event code as the event code determined as not matching by the discrepancy check unit, wherein the unnecessary event code is not required to be stored in the second non-volatile memory; and a result notification unit for notifying a determination result by the determination unit. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13)
-
-
14. A control unit comprising:
-
a first non-volatile memory for storing a control program and a reference table, the control program controlling a controlled object and detecting an abnormality, the reference table including possible events generated by the controlled object and event codes representing the possible events as an event code group, the possible events being the abnormality of the controlled object, and the event codes being data regarding the abnormality to be stored; a second non-volatile memory for storing an event code corresponding to an event generated by the controlled object; a discrepancy check unit for determining whether the event code stored in the second non-volatile memory does not match any one of the event codes of the event code group in the reference table that is stored in the first non-volatile memory when the control program for detecting the abnormality and the reference table stored in the first non-volatile memory are updated under an instruction from an external device, wherein the event code that does not match any one of the event codes in the reference table that is stored in the first non-volatile memory represents that the abnormality is no longer detected by the control program, which is updated; a determination unit for determining an unnecessary event code as the event code determined as not matching by the discrepancy check unit, wherein the unnecessary event code is not required to be stored in the second non-volatile memory; and a code delete unit for deleting the unnecessary event code determined by the determination unit from among the event codes stored in the second non-volatile memory. - View Dependent Claims (15, 16, 17)
-
-
18. A non-transitory computer-readable storage medium storing instructions for controlling a computer to perform steps comprising:
-
storing, in a first non-volatile memory, a control program and a reference table, wherein the control program controls a controlled object and detects an abnormality, the reference table includes possible events generated by the controlled object and event codes represents the possible events as an event code group, the possible events being the abnormality of the controlled object, and the event codes being data regarding the abnormality; storing, in a second non-volatile memory, an event code that corresponds to an event generated by the controlled object; performing a discrepancy check including checking if the event code in the second non-volatile memory does not match any one of the event codes of the event code group in the reference table that is stored in the first non-volatile memory when the control program and the reference table stored in the first non-volatile memory are updated under an instruction from an external device, wherein the event code that does not match any one of the event codes in the reference table that is stored in the first non-volatile memory represents that the abnormality is no longer detected by the control program that is updated; determining the event code that is determined as not matching by the discrepancy check as an unnecessary event code that is not required to be stored in the second non-volatile memory; and providing a notification of a determination result of determining the event code as not matching. - View Dependent Claims (19, 20, 21)
-
-
22. A non-transitory computer-readable storage medium storing instructions for controlling a computer to perform steps comprising:
-
storing, in a first non-volatile memory, a control program and a reference table, wherein the control program controls a controlled object and detects an abnormality, the reference table includes possible events generated by the controlled object and event codes represents the possible events as an event code group, the possible events being the abnormality of the controlled object, and the event codes being data regarding the abnormality; storing, in a second non-volatile memory, an event code that corresponds to an event generated by the controlled object; performing a discrepancy check including checking if the event code in the second non-volatile memory does not match any one of the event codes of the event code group in the reference table that is stored in the first non-volatile memory when the control program and the reference table stored in the first non-volatile memory are updated under an instruction from an external device, wherein the event code that does not match any one of the event codes in the reference table that is stored in the first non-volatile memory represents that the abnormality is no longer detected by the control program that is updated; determining the event code that is determined as not matching by the discrepancy check as an unnecessary event code that is not required to be stored in the second non-volatile memory; and deleting the unnecessary event code from the second non-volatile memory. - View Dependent Claims (23, 24, 25, 26)
-
Specification