Method and apparatus for distributing tasks of autosar operating system
AssigneeHyundai Autron Co., Ltd.
InventorDae-Hwan Lim
Life of this patent
Estimating the term…
Abstract
Provided are a method of distributing tasks of an AUTomotive Open System Architecture (AUTOSAR) operating system and managing OsTask using OsAlarm in the AUTOSAR operating system, the method comprises, storing in Counter_BSW a value of a counter at a time when a function for setting an alarm for a basic software (BSW) module is called, storing in Counter_RTE the value of the counter at a time when a function for setting an alarm for an application software (ASW) module is called and correcting an offset value of the alarm for the ASW module using a value of Counter_BSW and a value of Counter_RTE.
Claims8
A method of distributing tasks of an AUTomotive Open System Architecture (AUTOSAR) operating system and managing OsTask using OsAlarm in the AUTOSAR operating system, the method comprising:
- storing in Counter_BSW a value of a counter at a time when a function for setting an alarm for a basic software (BSW) module is called;
- storing in Counter_RTE the value of the counter at a time when a function for setting an alarm for an application software (ASW) module is called;
- and
- correcting an offset value of the alarm for the ASW module using a value of Counter_BSW and a value of Counter_RTE.
An apparatus for distributing tasks of an AUTOSAR operating system and managing OsTask using OsAlarm in the AUTOSAR operating system, the apparatus comprising:
- a Counter_BSW storage unit which stores in Counter_BSW a value of a counter at a time when a function for setting an alarm for a BSW module is called;
- a Counter_RTE storage unit which stores in Counter_RTE the value of the counter at a time when a function for setting an alarm for an ASW module is called;
- and
- is an Offset correction unit which corrects an offset value of the alarm for the ASW module using a value of Counter_BSW and a value of Counter_RTE.
A method of correcting an alarm offset when setting two or more alarms using one counter in an embedded operating system, the method comprising:
- storing a value of a first counter at a time when a function for setting a first alarm using a relative method is called;
- storing a value of a second counter at a time when a function for setting a second alarm using the relative method is called;
- and
- correcting an offset value of the second alarm using the value of the first counter and the value of the second counter.
Dependencies are inferred from the claim text.