Information streaming in a multi-process system using shared memory
First Claim
Patent Images
1. A method comprising:
- sharing an information stream in a shared memory located in an inter-process communication (IPC) channel between a producer and at least one of N consumers, the IPC channel having a client mask to represent a bitmask indicating which consumer from the N consumers is being connected;
generating the information stream into the shared memory by a producer-side interface, the producer-side interface interfacing between the producer and the IPC channel;
notifying a consumer-side interface of arrival of the information stream via at least one of N mail slots, the consumer-side interface interfacing between the at least one of the N consumers and the IPC channel; and
receiving the information stream from the shared memory by the consumer-side interface.
1 Assignment
0 Petitions
Accused Products
Abstract
The present invention discloses a method and system for streaming an information stream from a producer to N consumers in a multi-process environment. An inter-process communication (IPC) channel containing a shared memory is provided between the producer and at least one of N consumers. The information stream is written into the shared memory by way of a producer-side interface. The information stream is read from the shared memory by way of a consumer-side interface.
-
Citations
30 Claims
-
1. A method comprising:
-
sharing an information stream in a shared memory located in an inter-process communication (IPC) channel between a producer and at least one of N consumers, the IPC channel having a client mask to represent a bitmask indicating which consumer from the N consumers is being connected;
generating the information stream into the shared memory by a producer-side interface, the producer-side interface interfacing between the producer and the IPC channel;
notifying a consumer-side interface of arrival of the information stream via at least one of N mail slots, the consumer-side interface interfacing between the at least one of the N consumers and the IPC channel; and
receiving the information stream from the shared memory by the consumer-side interface. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10)
-
-
11. A system comprising:
-
a shared memory to share an information stream from a producer to N consumers, the shared memory being located in an inter-process communication (IPC) channel between the producer and at least one of the N consumers, the IPC having at least one mail slot, the IPC channel having a client mask to represent a bitmask indicating which consumer of the N consumers is being connected;
a producer-side interface coupled to the IPC channel and the producer for generating the information stream into the shared memory; and
a consumer-side interface coupled to the IPC channel and the at least one of the N consumers for receiving the information stream from the shared memory upon being notified, by the at least one mail slot of arrival of the information stream. - View Dependent Claims (12, 13, 14, 15, 16, 17, 18, 19, 20)
-
-
21. A computer program product comprising:
-
a computer usable medium having computer program code embodied therein for streaming an information stream from a producer to N consumers the computer program product having;
computer readable program code for sharing the information stream in a shared memory located in an inter-process communication (IPC) channel between the producer and at least one of the N consumers, the IPC channel having a client mask to represent a bitmask indicating which consumer of the N consumers is being connected;
computer readable program code for generating the information stream into the shared memory by a producer-side interface, the producer-side interface interfacing between the producer and the IPC channel;
computer readable program code for notifying a consumer-side interface of arrival of the information stream via at least one of N mail slots, the consumer-side interface interfacing between the at least one of the N consumers and the IPC channel; and
computer readable program code for receiving the information stream from the shared memory by the consumer-side interface. - View Dependent Claims (22, 23, 24, 25, 26, 27, 28, 29, 30)
-
Specification