Unlock instant, AI-driven research and patent intelligence for your innovation.

Method of allocating stack in multi-threaded sensor operating system environment

a sensor operating system and multi-threaded technology, applied in the field of multi-threaded sensor operating system environment, can solve the problems of wasting stack space, unable to fully utilize wireless sensor networks, and platforms with very limited memory space, so as to reduce the amount of used memory space and efficiently use an entire memory space

Inactive Publication Date: 2008-06-12
ELECTRONICS & TELECOMM RES INST
View PDF7 Cites 12 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Benefits of technology

[0013]The present invention is also directed to a stack allocation method capable of considerably reducing the amount of used memory space in a multi-threaded sensor operating system environment, in comparison with a conventional static thread stack allocation method.
[0014]The present invention is also directed to a space-efficient thread stack allocation method capable of performing multi-tasks in real time while efficiently using an entire memory space.

Problems solved by technology

Such stack space allocation causes a significant problem in a sensor platform having very limited memory space.
When a thread does not use an entire allocated stack space, remaining stack space is wasted.
Therefore, static allocation and restoration of stack memory space in a space-limited wireless sensor platform may cause a serious problem in resource management.
Such a problem actually results in memory shortage of a system and causes a malfunction of an entire wireless sensor network.
Thus far, there has been no method of solving the problem in the multi-threaded task management technique.
However, such an event-driven structure does not provide a preoccupation function for real-time processing.

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method of allocating stack in multi-threaded sensor operating system environment
  • Method of allocating stack in multi-threaded sensor operating system environment
  • Method of allocating stack in multi-threaded sensor operating system environment

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0024]Hereinafter, exemplary embodiments of the present invention will be described in detail. However, the present invention is not limited to the embodiments disclosed below, but can be implemented in various forms. The following embodiments are described in order to enable those of ordinary skill in the art to embody and practice the present invention.

[0025]First, terminologies used in the present invention will be described in brief.

[0026]The term “thread” refers to an execution unit in one program. For example, according to Java language, each task is expressed as a thread, and several threads can be used at a time, thereby enabling multi-tasking.

[0027]The term “function” refers to one unit, such as a standardized subroutine independently performing a specific operation and deriving a result in a program. When a required argument is transferred to a function, the function returns a result value corresponding to the argument.

[0028]FIG. 1 is a flowchart schematically showing a me...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

Provided is a method of allocating a stack in a multi-threaded sensor operating system environment. The method dynamically allocates as much stack space as is required by a thread, thereby enabling efficient use of stack space. The method includes the steps of: whenever a function is called while a thread is performing an operation, dynamically allocating a stack space to be used by the called function; and when execution of the function is finished, returning the allocated stack space.

Description

CROSS-REFERENCE TO RELATED APPLICATION[0001]This application claims priority to and the benefit of Korean Patent Application Nos. 2006-0126390, filed Dec. 12, 2006 and 2007-0029595, filed Mar. 27, 2007, the disclosures of which are incorporated herein by reference in their entirety.BACKGROUND[0002]1. Field of the Invention[0003]The present invention relates to a method of allocating a stack in a multi-threaded sensor operating system environment, and more particularly, to a stack allocation method dynamically allocating as much stack space as is required by a thread, and thereby enabling efficient use of stack space in a multi-threaded sensor operating system environment.[0004]2. Discussion of Related Art[0005]In general, wireless sensor networks sense various pieces of environmental information, process it in forms desired by users, and perform real-time communication. Such a wireless sensor network comprises several hundreds or thousands of wireless sensor nodes, each of which mus...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
IPC IPC(8): G06F12/00
CPCG06F9/4425G06F12/023G06F9/5016G06F9/4484
Inventor KIM, SANG CHEOLSHIN, CHANG MINCHANG, JIN HOKIM, HAE YONGCHO, YOO KUNHONG, JI MANHEO, JUN YOUNGYI, SANG HOGU, BON CHEOLMIN, HONGLEE, SEUNG WOO
Owner ELECTRONICS & TELECOMM RES INST