Method to manage multiple communication queues in an 8-bit...

Electrical computers and digital processing systems: memory – Storage accessing and control – Control technique

Reexamination Certificate

Rate now

  [ 0.00 ] – not rated yet Voters 0   Comments 0

Details

C711S154000

Reexamination Certificate

active

06654861

ABSTRACT:

BACKGROUND OF INVENTION
1. Field of Invention
This invention relates to the handling of FIFO communication queues in a low processing power 8-bit microcontroller.
2. Discussion of Prior Art
The programming of a given process or algorithm in a low processing power 8-bit microcontroller (8-BMC), consisting of receiving an input data and executing a process over such data to obtain a result, can contain the elements shown on FIG.
1
.
An 8-BMC
110
is progranmied with a bi-directional process
112
. Such process uses a banked RAM
114
, which consists of a series of memory banks B
1
, B
2
, B
3
. . . Bn controlled by the process. The RAM (random access memory)
114
comprises the internal 8-bit registers available in the microcontroller, any external RAM, or any combination of both. In any case, each bank is considered a memory buffer. Two interfaces (
116
a
,
116
b
) connect the 8-BMC
110
to external systems or microprocessors not shown on the figure. The process
112
takes a size-defined packet of bytes coming from the interface
116
a
and stores it in any of the memory banks available in the RAM
114
to finally apply the process itself and return a result through the interface
116
b.
In the same manner, any information coming from, the interface
116
b
goes through a similar mechanism with an inverse process to obtain an output at interace
116
a.
Those skilled in the art can assume such interfaces as any kind of communication standards widely used in microcomputers, like an asynchronous serial port or a synchronous SPI (Serial Peripheral Interface) port, an I
2
C master-slave port, a parallel slave port or any other user-defined method of communication. It is very common to find the above communication standards implemented on the hardware itself on an 8-BMC. A hardware implementation avoids the need of programming the standard, increasing the device's general performance. Rather, the sending and receiving mechanism is made through some specialized memory positions accessible by the program.
Due to the possible use of different interfaces, the time needed to transfer an information packet through the interface
116
a
won't be the same as a transfer at interface
116
b
. For example, a serial transfer will last longer than a parallel information transfer. Furthermore, the size of the information could be different from interface
116
a
to interface
116
b
, since there is a process
112
involved. Such process could be for example a communication protocol encoder-decoder or a security verification algorithm, so the information coming in from one interface could be larger or smaller than the information coming out to the second interface.
Furthermore, the systems behind each interface could have different processing power and speed, and usually the faster one could handle more information by time unit than the slower one. Additionally, the amount of information sent or received by those systems can vary dynamically according to its own program or process.
Thus the interface speed, the size of the information packets, the involved kind of process and the behavior of the external systems determine the amount of information passing through the 8-BMC. In order to handle the information going from interface
116
a
to interface
116
b
or vice versa, two different memory queues are needed to temporally store and process each packet.
A static assignment of memory buffers to each queue is a simple solution. However, any variation on the mentioned factors could increase or decrease in a given moment the traffic of packets traveling in any direction. Since the buffers assignment is static, those assigned to the low traffic transfer would be unused, while the high traffic transfer could not be assisted because of the lack of memory space.
In the recent past there have been different approaches to the queue management mechanism (e.g. U.S. Pat. No. 6,137,807). That invention proposes a temporal buffering of data in the form of logical queues to supply a series of output ports. However, such invention is oriented to data buffering and queue control only, without the possibility of including any kind of data processing or data transformation. That invention also proposes the use of a specialized ASIC (application specific integrated circuit) to physically implement the memory controller. Even when an ASIC optimizes the performance, it does not offer the programmable flexibility of a microcontroller. Furthermore, that implementation considers unidirectional data flow by defining an input-only source and an output-only destination.
It is the intention of this invention to overcome such limitations providing an efficient method to handle multiple communication queues capable of transporting information packets between two or more communication interfaces with a bidirectional communication.
SUMMARY OF INVENTION
The present invention comprises a method for handling multiple logical communication queues sharing one physical memory space. Having a banked RAM, each bank is used as an individual memory buffer independent of the existing type of queues. Since there is no static memory buffer assignment to each type of queue, all banks are available for all queues, making efficient use of memory resources even when the traffic generated by each queue can vary dynamically.
The hardware platform is an 8-bit microcontroller which contains both a programmed process to be applied to any incoming packet and the queue management mechanism needed to temporarily store each packet.
A simple mechanism to handle the available memory and queues has been created in accordance to the processing power of the microcontroller, by reducing the complexity of the involved algorithm and the amount of memory needed to control the queues.
OBJECTS AND ADVANTAGES
Accordingly, several objects and advantages of the present invention are: a) To provide a memory management method capable of handling multiple queues needed to accomplish a process of receiving input information to generate an output result.
b) To provide the concurrent handling of logical queues sharing the same physical banked memory.
c) To provide an efficient mechanism to handle each logical memory queue, suitable to a low processing power 8-bit microcontroller.
Other objects and advantages of this invention will become apparent from a consideration of the ensuing description and drawings.


REFERENCES:
patent: 3876979 (1975-04-01), Winn et al.
patent: 5218670 (1993-06-01), Sodek et al.
patent: 5265257 (1993-11-01), Simcoe et al.
patent: 5764938 (1998-06-01), White et al.
patent: 5826053 (1998-10-01), Witt
patent: 5892979 (1999-04-01), Shiraki et al.
patent: 6038621 (2000-03-01), Gale et al.
patent: 6137807 (2000-10-01), Rusu et al.

LandOfFree

Say what you really think

Search LandOfFree.com for the USA inventors and patents. Rate them and share your experience with other people.

Rating

Method to manage multiple communication queues in an 8-bit... does not yet have a rating. At this time, there are no reviews or comments for this patent.

If you have personal experience with Method to manage multiple communication queues in an 8-bit..., we encourage you to share that experience with our LandOfFree.com community. Your opinion is very important and Method to manage multiple communication queues in an 8-bit... will most certainly appreciate the feedback.

Rate now

     

Profile ID: LFUS-PAI-O-3139684

  Search
All data on this website is collected from public sources. Our data reflects the most accurate information available at the time of publication.