IP Library Granted Patent US 7,152,145
Granted Patent B2
US 7,152,145 · App. 10/421,414 · Granted Dec 19, 2006

Method for optimizing system performance by transferring a stack in a real time operating system

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 7,152,145
App. No.
10/421,414
Granted
Dec 19, 2006
Kind
B2
Abstract

The present invention provides a method of improving the speed of processing of a system and optimizing system performance in RTOS by searching for a task on which occupancy time is the longest in a system mode and transferring a stack from an armored memory to an embedded memory, and by reallocating the stack pointers. According to the present invention, since a microprocessor which has an expensive and large embedded memory does not have to be mounted, costs of manufacturing in mass production can be lowered.

Claims (13)

1. A method for optimizing system performance by transferring a stack in a real time operating system comprising: a microcomputer ( 1 ) having an embedded RAM ( 11 ), a flash memory ( 13 ) and EEPROM (electrically erasable and programmable read only memory) ( 12 ) to generally control the system through a certain program; input/output parts ( 2 ); a power supply ( 3 ) to provide power supply voltage to each part; a display ( 4 ) to indicate results of operation of the system; an interface ( 5 ) for data communication with external devices; and an armored RAM ( 6 ) in which various data and programs are memorized,

wherein the method comprises the steps of:

continuously detecting whether it is time to change stack pointers (SP) of a task by means of a task management program which is memorized in the microcomputer ( 1 ), wherein, if it is not time to change the stack pointers (SP), the task management program continues to check the task;

if it is time to change stack pointers (SP), performing a subroutine to search for a task on which occupancy time is the longest in operating a program;

if the task on which occupancy time is the longest is found, transferring the stack of the task to a reserved area of the embedded RAM ( 11 );

finding tasks to be processed by means of a task scheduler in a memory map of the transferred stack; and

processing the tasks found.

2. The method as claimed in claim 1 , wherein the subroutine to search for the task on which occupancy time is the longest comprises:

memorizing a current time (a) of a timer of the task (n) in a buffer;

performing a corresponding task by increasing the operating time of the task (n) by “1” each time when the task (n) is operated;

memorizing a current time (b) of the timer of the task (n) in the buffer;

subtracting the time (a) from the time (b) to obtain an operating time of the task (n); and

multiplying the operating time of the task (n) by the operating times to obtain the occupancy time of the task (n), so that the task on which occupancy time is the longest can be searched for each task.

Assignments (5)
COMPREHENSIVE ASSIGNMENT Recorded Sep 14, 2020
From: NATIONAL IT INDUSTRY PROMOTION AGENCY (NIPA)
To: NATIONAL RESEARCH FOUNDATION OF KOREA (NRF)
Reel/Frame 053771/0149 →
MERGER Recorded Jul 23, 2020
From: INSTITUTE FOR INFORMATION TECHNOLOGY ADVANCEMENT (IITA)
To: KOREA (KEIT)
Reel/Frame 053287/0347 →
MERGER Recorded Jul 23, 2020
From: INSTITUTE FOR INFORMATION TECHNOLOGY ADVANCEMENT (IITA)
To: KOREA EVALUATION INSTITUTE OF INDUSTRIAL TECHNOLOGY (KEIT)
Reel/Frame 053287/0816 →
COMPREHENSIVE ASSIGNMENT Recorded Jul 23, 2020
From: KOREA EVALUATION INSTITUTE OF INDUSTRIAL TECHNOLOGY (KEIT)
To: NATIONAL IT INDUSTRY PROMOTION AGENCY (NIPA)
Reel/Frame 053482/0374 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Jul 21, 2003
From: KIM, LANG KI; CHOI, KYEONG CHANG
To: HOSEOTELNET CO. LTD.; INSTITUTE OF INFORMATION TECHNOLOGY ASSESSMENT
Reel/Frame 014304/0614 →