Method and apparatus for operating system event notification mechanism using file system interface
First Claim
Patent Images
1. An apparatus, comprising:
- a central processing unit (CPU); and
a memory including instructions for an event notification mechanism in an operating system being executed by said CPU, said operating system comprising a kernel and an application layer wherein applications execute in a user mode, said operating system event notification mechanism comprising one or more filesystem interface that is standard for said operating system, for event consumers to use for one or more of;
registering for an event notification;
receiving an event notification when a registered event occurs; and
getting details of an event that has occurred,wherein said registered events comprise events as detected in said kernel,wherein said operating system event notification mechanism comprises a file tree representation of a list of events available for said event notification,wherein said file tree representation comprises;
naming conventions to explicitly identify event producers and event instances; and
nodes in the tree to help an event consumer identify a file pathname of a specific event instance the event consumer is interested in monitoring, andwherein said naming conventions comprises;
identifying event producers by adding a “
.monFactory”
extension to a directory name; and
identifying event instances by adding a “
.mon”
extension to a filename.
2 Assignments
0 Petitions
Accused Products
Abstract
A method and structure for notifying operating system events, includes standard filesystem interfaces provided for event consumers to use for one or more of registering for event notifications of a set of events, receiving an event notification when each event occurs, and getting details of events that have occurred.
69 Citations
17 Claims
-
1. An apparatus, comprising:
-
a central processing unit (CPU); and a memory including instructions for an event notification mechanism in an operating system being executed by said CPU, said operating system comprising a kernel and an application layer wherein applications execute in a user mode, said operating system event notification mechanism comprising one or more filesystem interface that is standard for said operating system, for event consumers to use for one or more of; registering for an event notification; receiving an event notification when a registered event occurs; and getting details of an event that has occurred, wherein said registered events comprise events as detected in said kernel, wherein said operating system event notification mechanism comprises a file tree representation of a list of events available for said event notification, wherein said file tree representation comprises; naming conventions to explicitly identify event producers and event instances; and nodes in the tree to help an event consumer identify a file pathname of a specific event instance the event consumer is interested in monitoring, and wherein said naming conventions comprises; identifying event producers by adding a “
.monFactory”
extension to a directory name; andidentifying event instances by adding a “
.mon”
extension to a filename. - View Dependent Claims (2, 3, 4, 5, 6)
-
-
7. A method of notifying an operating system event, said operating system comprising a kernel and an application layer wherein applications execute in a user mode, said method comprising:
-
providing a standard filesystem interface for an event consumer to use for one or more of; registering for an event notification; receiving an event notification when each event occurs; and getting details of an event that has occurred; and providing a file tree representation of a list of events available for event notifications, wherein said registered events comprise events as detected in said kernel, wherein said file tree representation comprises; predetermined naming conventions to explicitly identify event producers and event instances; and predetermined special nodes in the tree to help an event consumer identify a file pathname of a specific event instance the event consumer is interested in monitoring, wherein said naming conventions comprises; identifying event producers by adding a predetermined extension to a directory name; and identifying event instances by adding a predetermined extension to a filename, and wherein said predetermined directory name extension comprises “
.monFactory” and
said predetermined filename extension comprises “
.mon”
. - View Dependent Claims (8, 9, 10, 11, 12, 13, 14, 15, 16, 17)
-
Specification