System and method for eliminating Streams framework overhead in data communications
First Claim
1. An automated method of establishing a communication path through a protocol stack implemented within a Streams framework, the method comprising:
- (a) establishing a first tight embrace between a first protocol layer and a second protocol layer by;
(a1) at the first protocol layer, issuing a first request to the second protocol layer, said first request identifying an entry point for a read function of the first protocol layer;
(a2) at the second protocol layer;
receiving said first request; and
issuing a first response to the first request, said first response identifying an entry point for a write function of the second protocol layer; and
(a3) at the first protocol layer, receiving said first response; and
(b) establishing one or more additional tight embraces between other protocol layers.
2 Assignments
0 Petitions
Accused Products
Abstract
A system and method for improving the efficiency with which data communications are passed through a protocol stack. Protocol layer modules within a protocol stack built upon the Streams framework are modified to establish tight embraces between adjacent modules. A tight embrace may be established by passing from one, upper, protocol layer module to its adjacent lower protocol layer module a pointer or reference to the upper module'"'"'s functionality (e.g., rput) for reading a data communication into the upper module from the lower module. Similarly, the lower module passes the upper module a pointer or reference to its functionality (e.g., wput) for writing a data communication into the lower module from the upper module. After a tight embrace is established, the protocol layer modules can directly invoke each other'"'"'s functionality, without incurring the overhead associated with the Streams framework'"'"'s “canputnext” and “putnext” messages.
16 Citations
16 Claims
-
1. An automated method of establishing a communication path through a protocol stack implemented within a Streams framework, the method comprising:
-
(a) establishing a first tight embrace between a first protocol layer and a second protocol layer by; (a1) at the first protocol layer, issuing a first request to the second protocol layer, said first request identifying an entry point for a read function of the first protocol layer; (a2) at the second protocol layer; receiving said first request; and issuing a first response to the first request, said first response identifying an entry point for a write function of the second protocol layer; and (a3) at the first protocol layer, receiving said first response; and (b) establishing one or more additional tight embraces between other protocol layers. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8)
-
-
9. A computer readable medium storing instructions that, when executed by a computer, cause the computer to perform a method of establishing a communication path through a protocol stack implemented within a Streams framework, the method comprising:
-
(a) establishing a first tight embrace between a first protocol layer and a second protocol layer by; (a1) at the first protocol layer, issuing a first request to the second protocol layer, said first request identifying an entry point for a read function of the first protocol layer; (a2) at the second protocol layer; receiving said first request; and issuing a first response to the first request, said first response identifying an entry point for a write function of the second protocol layer; and (a3) at the first protocol layer, receiving said first response; and (b) establishing one or more additional tight embraces between other protocol layers.
-
-
10. A computer-implemented method of establishing a tight embrace between a first protocol layer and a second protocol layer within a protocol stack implemented within a Streams framework, the method comprising:
-
(a) at the first protocol layer, issuing a first request to the second protocol layer, said first request identifying an entry point for a receive message function of the first protocol layer; (b) at the second protocol layer; receiving said first request; and issuing a first response to the first request, said first response identifying an entry point for a write message function of the second protocol layer; (c) at the first protocol layer; receiving said first response; and determining whether said first response was issued by the second protocol layer; and (d) exchanging a communication between the first protocol layer and the second protocol layer without invoking a putnext function of the Streams framework.
-
-
11. A computer readable medium storing instructions that, when executed by a computer, cause the computer to perform a method of establishing a tight embrace between a first protocol layer and a second protocol layer within a protocol stack implemented within a Streams framework, the method comprising:
-
(a) at the first protocol layer, issuing a first request to a second protocol layer, said first request identifying an entry point for a receive message function of the first protocol layer; (b) at the second protocol layer; receiving said first request; and issuing a first response to the first request, said first response identifying an entry point for a write message function of the second protocol layer; (c) at the first protocol layer; receiving said first response; and determining whether said first response was issued by the second protocol layer; and (d) exchanging a communication between the first protocol layer and the second protocol layer without invoking a putnext function of the Streams framework.
-
-
12. An apparatus for conveying data communications, the apparatus comprising:
-
a first protocol module configured to; implement a first data communication protocol; and issue a first tight embrace request to a second protocol module, said first tight embrace request comprising a reference to a read communication function of the first protocol module; the second protocol module, configured to; implement a second data communication protocol; respond to said first tight embrace request with a first response comprising a reference to a write communication function of the second protocol module; and issue a second tight embrace request to a third protocol module, said second tight embrace request comprising a reference to a read communication function of the second protocol module; and a Streams framework configured to provide a putnext function for passing a communication between protocol modules. - View Dependent Claims (13, 14, 15, 16)
-
Specification