IP Library Granted Patent US 10,452,432
Granted Patent B2
US 10,452,432 · App. 15/473,507 · Granted Oct 22, 2019

Method and apparatus for distributing tasks of AUTOSAR operating system

Inventor: Dae-Hwan Lim (Seongnam-si, KR)
Assignee: Hyundai Autron Co., Ltd.
G06F9/4881G06F3/0659G06F9/48G06F9/4806G06F9/4825G06F9/4837G06F13/1689H04J3/06H04L12/40H04L12/407H04L2012/40273
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 10,452,432
App. No.
15/473,507
Granted
Oct 22, 2019
Kind
B2
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.

Claims (30)

1. 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.

2. The method of claim 1 , wherein the function for setting the alarm for the BSW module is a SchM_Init function, the function for setting the alarm for the ASW module is an Rte_Start function, and the SchM_Init function is executed before the Rte_Start function.

3. The method of claim 1 , wherein the correcting of the offset value comprises:

comparing the value of Counter_RTE with a value of (Counter_BSW+Offset); and

setting a new offset when the value of Counter_RTE is greater than the value of (Counter_BSW+Offset),

wherein the new offset is set by

new Offset=(Cycle−((Counter_RTE−(Counter_BSW+Offset)) % Cycle)), where Cycle is a cycle of the counter.

4. The method of claim 1 , wherein the correcting of the offset value comprises:

comparing the value of Counter_RTE with a value of (Counter_BSW+Offset); and

setting a new offset when the value of Counter_RTE is smaller than the value of (Counter_BSW+Offset),

wherein the new offset is set by

new Offset=(Cycle−(((Counter_BSW+Offset)−Counter_RTE) % Cycle)), where Cycle is a cycle of the counter.

5. 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

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.

6. A method of correcting an alarm offset when setting two or more alarms using a counter in an embedded operating system, the method comprising:

storing in a first variable a value of the counter at a time when a function for setting a first alarm for a basic software (BSW) module is called;

storing in a second variable a value of the counter at a time when a function for setting a second alarm for an application software (ASW) module is called; and

correcting an offset value of the second alarm using a value of the first variable and a value of the second variable.

7. The method of claim 6 , wherein the correcting of the offset value of the second alarm comprises:

comparing the value of the second variable with (the value of the first variable+the offset value); and

setting a new offset when the value of the second variable is greater than (the value of the first variable+the offset value), wherein the new offset is set by new offset=(counter cycle−(value of the second variable−(value of the first variable)+offset value)) % counter cycle)).

8. The method of claim 6 , wherein the correcting of the offset value of the second alarm comprises:

comparing the value of the second variable with (the value of the first variable+the offset value); and

setting a new offset when the value of the second variable is smaller than (the value of the first variable+the offset value), wherein the new offset is set by

new offset=(counter cycle−(((value of the first variable+offset value)−value of the second variable) % counter cycle)).

Assignments (2)
MERGER Recorded Oct 18, 2021
From: HYUNDAI AUTRON CO., LTD.
To: HYUNDAI AUTOEVER CORP.
Reel/Frame 057842/0221 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Jun 26, 2017
From: LIM, DAE HWAN
To: HYUNDAI AUTRON CO., LTD.
Reel/Frame 042817/0451 →
Priority Claims (1)
KR 10-2016-0037473 · Mar 29, 2016 · national
Continuity (1)
Related Publication 20170286161A1 · Oct 5, 2017
Cited By (1)
US 12,333,333