Method and apparatus for unifield control and data event...

Electrical computers and digital processing systems: multicomput – Computer-to-computer data routing – Least weight routing

Reexamination Certificate

Rate now

  [ 0.00 ] – not rated yet Voters 0   Comments 0

Details

C709S241000

Reexamination Certificate

active

06671742

ABSTRACT:

FIELD OF THE INVENTION
The present invention relates generally to software systems, and, more particularly, to communication between modules in a software system.
BACKGROUND OF THE INVENTION
Software systems often consist of a number of independent modules, otherwise referred to as components or processes, etc. The modules comprising the system may be part of the same address space or may be partitioned across different address spaces. Each module typically consists of one or more threads. Modules, although independent of each other, often need to exchange data and control events so that they can work together in concert. Two well known methods for communication between modules are the use of procedure calls and message passing.
Procedure calls can be used when modules are in the same address space. The advantage of procedure calls is simplicity and efficiency. Procedure calls, however, are unsuitable in many situations. The use of procedure calls to effect event exchange between modules causes unnecessarily tight coupling among modules. Procedure calls have to be resolved at build time and therefore modules cannot be easily added or removed from the system. Moreover, the synchronous nature of the procedure call mechanism implies that events are processed in the context of the calling module leading to temporal coupling between event generating and consuming modules. This is undesirable in real-time embedded systems since a higher priority activity in a module can miss its deadline if it calls procedures in an unrelated module. In addition, procedure calls are unsuitable when multiple modules are required to consume an event, or when the sending module cannot—or need not—know which other modules need to see the event. An alternative to procedures statically linked at compile time are dynamically linked libraries (“DLLs”). Although DLLs allow procedures to be updated after compile time, they do not allow the fundamental interconnection between modules to be modified after compile time. In addition, the other difficulties associated with procedures described above remain.
An alternative is to use message queues per module to decouple the sending module from the receiving module. However, simple message passing creates its own problems. The sender has to know the address of the receiver to send messages to the appropriate receive queue. Having a single queue per receiver, can cause priority inversion because higher priority messages could be queued behind low priority ones in the receiver's message queue. In addition, most message passing implementations copy data twice—once from the sender to an intermediate buffer and once more from the buffer to the receiver. Since memory copies are expensive, this can cause performance problems, especially in resource-limited environments such as embedded systems.
One could use more sophisticated forms of message passing based on ideas such as remote procedure calls, remote method invocations, and distributed object technology. However, all of these are meant for large applications that are distributed on multiple machines. These systems are meant to scale to large applications and have a lot of heavyweight mechanisms. These systems, in short, impose too much overhead for embedded systems and resource constrained environments.
SUMMARY OF THE INVENTION
An event exchange mechanism is disclosed that utilizes a receiver-driven, publisher-subscriber model to overcome various problems in the prior art. The event exchange has a flexible addressing scheme so that a sending module need not be aware of its receiving modules. In addition, the event exchange provides the ability to multicast messages to interested receivers. Mechanisms for flow control are also provided so that a receiver can exert backpressure on a sender, which is especially useful for the transfer of multimedia data. The system provides a uniform mechanism for control and data exchange.
In one aspect of the present invention, the idea of “blindcasting” is adapted and utilized to address individual software modules. A sending module need not be aware of its receivers and merely posts an event at a sending port, and the event exchange delivers the event to one or more receiving ports. The event exchange enables arbitrary inter-connections between the modules. It supports one-to-many and many-to-one communication. Furthermore, moving the inter-connection of modules to the event exchange has the advantage of permitting the fundamental inter-connection of modules in a system to be modified after compile time. Zero-copy reference count-based mechanisms can be utilized for efficiency. In one embodiment of the invention, the connectivity between ports of different modules is specified in a connection table; in another, smart modules may be utilized to ascertain and establish the connectivity; in yet another, one or more modules may be responsible for establishing connections between modules.


REFERENCES:
patent: 4369494 (1983-01-01), Bienvenu et al.
patent: 5434975 (1995-07-01), Allen
patent: 5448734 (1995-09-01), Hrabik et al.
patent: 5485617 (1996-01-01), Stutz et al.
patent: 5828882 (1998-10-01), Hinckley
patent: 5881315 (1999-03-01), Cohen
patent: 5887168 (1999-03-01), Bahls et al.
patent: 5905890 (1999-05-01), Seaman et al.
patent: 5999986 (1999-12-01), McCauley III et al.
patent: 6212676 (2001-04-01), Seaman et al.
patent: 6363435 (2002-03-01), Fernando et al.
patent: 2002/0144014 (2002-10-01), West
Rothwell, Charlie. “COOL C++ Library Overview.” Internet publication. 1995.*
Schmidt, Douglas C. “An OO Encapsulation of Lightweight OS Concurrency Mechanisms in the ACE Toolkit.” 1995.*
Hall, Martin et al. “Windows Sockets, An Open Interface for Network Programming under Microsoft Windows.” Version 1.1. Jan. 20, 1993.*
Stevens, W. Richard. “Unix Network Programming”. Prentice-Hall Software Series. 1990.

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 and apparatus for unifield control and data event... 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 and apparatus for unifield control and data event..., we encourage you to share that experience with our LandOfFree.com community. Your opinion is very important and Method and apparatus for unifield control and data event... will most certainly appreciate the feedback.

Rate now

     

Profile ID: LFUS-PAI-O-3143534

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