Object-oriented discovery framework
First Claim
1. A computer-implemented method for causing an object-oriented application to become discoverable on a network employing a discovery protocol, the computer-implemented method comprising:
- creating a generic discoverable base class that implements the discovery protocol;
embedding the generic discoverable base class in a class of the object-oriented application;
defining an attribute of the generic discoverable base class to identify the object-oriented application on the network; and
introducing the attribute of the generic discoverable base class to a method of the object-oriented application,wherein;
the class of the object-oriented application is created when the object-oriented application is instantiated on a computer,the created class of the object-oriented application is based on the generic discoverable class such that the generic discoverable base class is instantiated when the object-oriented application is instantiated,a discovery object particular to the object-oriented application is created upon instantiation of the generic discoverable base class, the discovery object comprising an instance of the generic discoverable base class that provides discovery identification information based on the defined attribute of the generic discoverable base class for allowing another application or device connected to the network to discover the object-oriented application,a value of the attribute is announced to the network, andthe discovery object announces the unavailability of the object-oriented application to the network upon destruction of the object-oriented application.
2 Assignments
0 Petitions
Accused Products
Abstract
An object-oriented programming framework allows developers to write applications for services and devices that are automatically “discoverable” by applications associated with other devices and services on a network. An attribute is added to a class in an application or web service object and an associated, generic discoverable base class is appended to the application to make the application discoverable on the network. The discovery framework imposes minimal requirements on the application in which it is embedded, so nearly every application can be converted into a “discoverable” application. The discovery protocol-dependent details are hidden from the application itself, so exchanging the discovery protocol can be done without affecting the application.
-
Citations
20 Claims
-
1. A computer-implemented method for causing an object-oriented application to become discoverable on a network employing a discovery protocol, the computer-implemented method comprising:
-
creating a generic discoverable base class that implements the discovery protocol; embedding the generic discoverable base class in a class of the object-oriented application; defining an attribute of the generic discoverable base class to identify the object-oriented application on the network; and introducing the attribute of the generic discoverable base class to a method of the object-oriented application, wherein; the class of the object-oriented application is created when the object-oriented application is instantiated on a computer, the created class of the object-oriented application is based on the generic discoverable class such that the generic discoverable base class is instantiated when the object-oriented application is instantiated, a discovery object particular to the object-oriented application is created upon instantiation of the generic discoverable base class, the discovery object comprising an instance of the generic discoverable base class that provides discovery identification information based on the defined attribute of the generic discoverable base class for allowing another application or device connected to the network to discover the object-oriented application, a value of the attribute is announced to the network, and the discovery object announces the unavailability of the object-oriented application to the network upon destruction of the object-oriented application. - View Dependent Claims (2, 3, 4, 5, 6)
-
-
7. A computer-implemented method for implementing a discovery framework on a network comprising:
-
basing a class of an object-oriented application on a generic discoverable base class that implements a discovery protocol by embedding the generic discoverable base class in the class of the object-oriented application; configuring a method of the object-oriented application to define an attribute of the generic discoverable base class for identifying the object-oriented application on the network; creating the class of the object-oriented application when the object-oriented application is instantiated on a computer, the created class of the object-oriented application being based on the generic discoverable base class; instantiating the generic discoverable base class upon instantiating the object-oriented application; creating a discovery object particular to the object-oriented application as an instance of the generic discoverable base class upon instantiation of the generic discoverable base class, the discovery object providing discovery identification information based on the defined attribute of the generic discoverable base class for allowing another application or device connected to the network to discover the object-oriented application; reading a value of the attribute of the generic discoverable base class from the method of the object-oriented application; broadcasting the value of the attribute over the network; handling discovery requests over the network to and from the object-oriented application via the discovery object; and upon termination of the object-oriented application, announcing the unavailability of the object-oriented application to the network and destructing the discovery object. - View Dependent Claims (8, 9, 10, 11, 12, 13, 14)
-
-
15. A computer-implemented method of communicating between a first application on a first client device on a network and a second application on a second client device on the network using a discovery protocol, the computer-implemented method comprising:
-
instantiating the first application on the first client device; creating a class of the first application based on a generic discoverable base class that is embedded in the class of the first application and that implements the discovery protocol; instantiating the generic discoverable base class on the first client device when the first application is instantiated; creating a discovery object particular to the first application on the first client device upon instantiation of the generic discoverable base class, wherein; a method of the first application includes an attribute of the generic discoverable base class defined to identify the first application, the discovery object comprises an instance of the generic discoverable base class that provides discovery identification information based on the defined attribute of the generic discoverable base class for allowing another application or device connected to the network to discover the object-oriented application; reading a value of an attribute of the first application to determine a characteristic of the first application to announce; announcing the availability of the first application over the network to the second application; and announcing the unavailability of the first application over the network to the second application upon termination of the first application. - View Dependent Claims (16, 17, 18, 19, 20)
-
Specification