|Publication number||US6618754 B1|
|Application number||US 08/546,808|
|Publication date||Sep 9, 2003|
|Filing date||Oct 23, 1995|
|Priority date||Oct 23, 1995|
|Also published as||CA2188375A1, CN1119752C, CN1154514A, EP0770965A1, EP1271356A2, EP1271356A3|
|Publication number||08546808, 546808, US 6618754 B1, US 6618754B1, US-B1-6618754, US6618754 B1, US6618754B1|
|Inventors||James A. Gosling|
|Original Assignee||Sun Microsystems, Inc.|
|Export Citation||BiBTeX, EndNote, RefMan|
|Patent Citations (13), Non-Patent Citations (40), Referenced by (62), Classifications (15), Legal Events (4)|
|External Links: USPTO, USPTO Assignment, Espacenet|
The present invention relates generally to networks of clients and servers, and particularly to networks where clients are allowed to control the operation of some of the servers.
The present invention is an improvement over compound document transmission capabilities provided by current networks.
For the purposes of this document, a “network” is understood to be a plurality of interconnected, computer-controlled devices that are capable of cooperative interactions. In most networks (for example, the Internet), the networked devices are either clients (users of documents) or servers (providers of documents). In such a network architecture, a client is able to download documents and have services performed remotely by sending appropriate messages to the particular “server(s)” that is(are) responsible for performing the service or storing the desired documents. Of course, for the client to be able to do anything with downloaded documents, those documents must be provided in a format that allows the client to display or execute the document.
At the Internet's inception, this compatibility did not pose a great challenge. Many of the documents stored on servers were simple flat text (i.e., ASCII) files which, after being downloaded using a standard protocol such as TCP/IP, could be displayed on a client with a common text editor or viewer. Later, flat image files of various formats (TIFF, GIF, JPEG, etc.) became available on Internet servers, which required special graphics viewers to be available on the client. Over time, as the number of documents stored on the Internet and the variety of document formats grew, it became clear that there was a need for an Internet document transmission facility that would allow a user painlessly to view Internet documents of various, even mixed formats (e.g., compound documents that incorporate ASCII text and differently-formatted graphics), and easily find and view other documents related to the document just downloaded. This need was addressed by the World-Wide Web.
The World-Wide Web (“WWW”) links many of the servers making up the Internet, each storing documents identified by unique universal resource locators (URLs). Many of the documents stored on Web servers are written in a standard document description language called HTML (hypertext markup language). Using HTML, a designer of Web documents can associate hypertext links or annotations with specific words or phrases in a document (these hypertext links identify the URLs of other Web documents or other parts of the same document providing information related to the words or phrases ) and specify visual aspects and the content of a Web page.
A user accesses documents stored on the WWW using a Web browser (a computer program designed to display HTML documents and communicate with Web servers) running on a Web client connected to the Internet. Typically, this is done by the user entering the URL of a desired document or selecting a hypertext link (displayed by the Web browser as a highlighted word or phrase) within a document being viewed with the Web browser. The Web browser then issues a HTTP (hypertext transfer protocol) request for the requested document to the Web server identified by the requested document's URL. In response, the designated Web server returns the requested document to the Web browser, also using the HTTP, and the Web browser displays the document locally, including any text and images associated with the document. The document delivery capabilities and ease of use features provided by the Web and Web browsers are invaluable. However, HTML and the Web would be even more useful if they provided support for embedded applications in HTML documents.
Currently, there is no way to imbed executable code fragments, or links to executable code fragments, within an HTML Web page so that the code fragments are executable on a Web client. Such a capability would be very useful as the embedded code fragments could range from simulations, sound clips or video clips interactively running within a Web page, to communications routines or application programs that could be triggered by a user of the Web browser from the embedding compound document. Moreover, these capabilities could be used to allow a user to download data from a Web server without being concerned that the appropriate type of handler is resident on their Web client. That is, a Web document embedding a particular type of data could also include an address to the appropriate handler for the data so that, if needed, the user's Web browser could find, download and execute the needed handler on the data.
Aside from the use of embedded applications in Web pages, other uses for embedded documents within networks of computer controlled devices are apparent. For example, in home entertainment systems, where there are multiple components, each with a unique command set (sometimes very complex) and unique user interfaces (typically unintuitive), documents with embedded application capabilities could be adapted to provide a highly adaptable universal remote control. Such a system would allow a user to interact with the various components using a visually-oriented remote control device that displays user control options (about which the remote is ignorant) and other information, such as context sensitive help messages and graphics that are downloaded from the component being controlled. I.e., such a universal remote would be able to control devices about whose functionality it has no pre-programmed knowledge.
Thus, there is a need for a system and method for embedding applications, or code fragments, in documents transmitted over a network between computer-controlled network devices. This system and method should allow the client to request and receive from a server an executable program that the client can then execute in the context of the document in which the application was embedded. The executable programs should be of at least four types: (1) output code that, when executed, produces a visual or audible manifestation (e.g, graphical or sound simulations), (2) meta-knowledge code that can advise a user regarding legal interactions with the document in which the code fragment was embedded, (3) contextual code that can sense and indicate the processing context of the compound document in which the code fragment was embedded; and (4) handlers for embedded data.
In summary, the present invention is a system and method for transmission of embedded documents over a computer network that meets the needs set out above.
More particularly, the present invention is a system for transmitting embedded documents over a network that includes at least one server and at least one client, each server and client including a computer controller and a memory and having a unique network ID. The system includes a requestor that is executable on a client's computer controller, which is configured to control messages issued by the client on the network. One of these messages is a document request message that instructs a particular one of the servers to transmit to the client a particular compound document, where a compound document is a document that references or includes a plurality of embedded documents that can be executable code fragments, flat documents or other compound documents.
Another aspect of the present invention is a provider that is executable on a server's computer controller. The provider is responsive to messages directed to the server. For example, the provider is configured to respond to the document request message by causing the server to transmit to the client the particular requested compound document. Upon receiving a particular compound document, the requestor is configured to retrieve at least a subset of the embedded documents referenced by the particular compound document that are not stored in the client's memory and form an assembled compound document including the flat documents and the executable code fragments.
The present invention is also a method for transmitting embedded documents over a network that includes at least one server and at least one client coupled to the network, each server and client including a computer controller and a memory and having a unique network ID. As the first step in the method, a client issues a document request message on the network to a particular server, where the document request message designates a particular compound document to be returned to the client by the particular server. Next, in response to the document request message, the particular server returns the particular compound document to the client. This compound document includes references to a plurality of embedded documents, each of which has a type selected from executable code fragments, flat documents and other compound documents. Upon receiving the compound document from the server, the client issues a plurality of document request messages to retrieve via the network any flat documents and executable code fragments referenced by the compound document that are not stored in the client's memory. Finally, the client forms an assembled compound document including the retrieved flat documents and executable code fragments.
Additional objects and features of the invention will be more readily apparent from the following detailed description and appended claims when taken in conjunction with the drawings, in which:
FIG. 1 is a block diagram of a preferred embodiment.
FIG. 2 is a more detailed block diagram of the preferred embodiment of FIG. 1.
FIG. 3 is a data flow diagram showing how the preferred embodiment responds to a user's selection of device control and initialization options from a displayed default document.
FIG. 4 is a data flow diagram showing how the preferred embodiment transforms a compound document into an assembled document then into output documents with embedded applications.
FIG. 5 is a flow chart showing the steps of the preferred embodiment.
FIG. 6 is a depiction of an alternative embodiment where the clients, servers and network of FIG. 1 are Web clients, Web servers and the Internet, respectively.
Referring to FIG. 1, there is shown a block diagram of the preferred embodiment, in which a multiplicity of device enclosures 110 a-c (hereinafter referred to as “enclosures”) are networked with a remote control device 120 using RF transmissions received and transmitted via a radio frequency (RF) receiver/transmitter 118 a-c, 128 provided in each respective enclosure 110 a-c and the remote control device 120. In the preferred embodiment, the remote control device 120 acts as the network client (i.e. a user of documents) and the enclosures 110 a-c the network servers (i.e., providers of documents), each of which has a unique network address.
Each of the enclosures corresponds to a typical piece of equipment in a home entertainment system. For example, the enclosures 110 a, 110 b correspond to a TV set and a VCR unit, respectively. Other types of enclosure are represented in FIG. 1 by the generic enclosure 110 c. In addition to the RF receiver/transmitter 118, each of the enclosures 110 a-c includes a computer controller 112 a-c, a characteristic device 114 a-c and memory 116 a-c (some of which is nonvolatile), all of which are coupled to the controller 112.
Each characteristic device performs the function that people identify with the enclosure. For example, where the enclosures 110 a, 110 b are a TV enclosure and a VCR enclosure, the respective characteristic devices are a TV tuner/display 114 a and a VCR tuner/recorder/player 114 b. Typically, each of these devices can be manually controlled via a front panel provided in the enclosure 110. Alternatively, in the remote control mode addressed by the preferred embodiment, each characteristic device 114 is controlled by the device's local controller 112 based on appropriate control messages issued over the RF network by the remote control device 120. One of the keys to the present invention is that these control messages and the knowledge of how to control a particular device are not prestored in the remote control device 120. Rather the remote control device 120 dynamically downloads whatever information it needs, including executable code fragments and flat files, from the enclosure 110 to be controlled. For each enclosure 110 a-c, this control information and an operating system for the controller 112 a-c, are non-volatilely stored in a memory 116 a-c. The remote control device 120 (hereinafter referred to as the “remote” or “remote control”) is an adaptable, universal remote that can control any of the enclosures 110 a-c and guide a user through the procedures for controlling the enclosures 110 a-c. Principal elements of the remote control device 120 include the RF transmitter/receiver 128, a computer controller 122, a memory 126 (some of which is non-volatile), a multimode output device 130, a user input device 132 and a name server 134, which is a piece of software that runs in the controller 122, all of which are interconnected. The computer controller 122 coordinates all operations of the elements of the remote control 120 device in conjunction with the memory 126, which stores an operating system for the controller 122, initialization programs and files, and information downloaded from the enclosures 110 a-c. A user interacts with the remote 120 via the user input device 132 and the output device 130, which can display still or video images and output audio. The user input device 132 can be physically distinct from the output device 130 (e.g, a keypad), or can be a touch sensitive matrix overlaying the display and video sections of the output device 130, which allows the user to interact with the images on the output device. Based on the user inputs, the controller 122 issues different control messages to the enclosures, these messages and the process of determining which message to issue having been previously downloaded by the remote control device 120 from the enclosure being controlled. Additional details of the enclosures 110, remote control 120, and information exchanged between them, are now discussed in reference to FIG. 2.
Referring to FIG. 2, there is shown a detailed block diagram of the preferred embodiment in which the remote control device 120 is interacting with a single device enclosure 110. This figure shows additional details of the output device 130 and the memories 126, 116, which are now described.
The output device 130 includes two distinct sections, a display section 130 a, which can display video or still images, and an audio section 130 b, which can play sound clips. These two different output modalities are provided by the output device 130 so that all features of the output document 170 provided by the controller 122 can be fully realized. volatile storage capabilities, the non-volatile storage capabilities being provided to store program and data items that the remote control device 120 requires at initialization. These non-volatilely-stored items include an initialization program 126.1, default documents 126.2, name server registry 126.3 (i.e, network addresses of the devices 110 a-c) and an operating system 126.5, which incorporates a real-time operating system kernel 126.4. The operating system 126.5 is a program that executes in the controller 122 whenever the remote control device 120 is up and running. Its duties include handling the controller 122's interactions with external devices, such as the user input device 132, display 130 and the RF transmitter/receiver 128, and managing programs being executed by the controller 122 (e.g., loading programs into the memory 126 for execution and handling program requests for access to external devices). The operating system 126.5 can operate in at least one of two modes. When the operating system 126.5 is functioning in a single-tasking mode, software jobs are performed to completion one at a time, with no consideration given to external time-constraints. The operating system 126.5 can also function in a multi-tasking, real-time mode, in which multiple jobs are performed simultaneously and under externally-imposed time constraints. These real-time capabilities are provided by the real-time kernel 126.4, which determines how the operating system allocates processing time in the controller 122 among multiple jobs so that each of the jobs runs in real-time. As will be explained later, these real-time capabilities are desirable in the preferred embodiment, where multiple code fragments, some of which provide user interactability, could be running simultaneously on the controller 122. We will now describe how the controller 122 is initialized, which process is driven by the initialization program 126.1.
Referring to FIG. 3, there is shown a data flow diagram depicting data transformation/transmission actions performed by the controllers 112 and 122 in response to some typical user interactions with the initialization program 126.1. This diagram shows data objects as rectangles and components that act on the data objects as diamonds. Some of the diamonds appear multiple times, representing components, such as the remote controller 122, that perform multiple actions. The initialization program 126.1, which is executed by the operating system 126.5 whenever the remote 120 is powered up, performs some housekeeping routines before handing off control of the remote 120 to a user. Among these housekeeping duties, the initialization program 126.1 causes the controller 122 to output the default document(s) 126.2 to the multimodal output device 130, making available to the user a set of selectable remote options. This default document 126.2 defines a set of user-selectable enclosure control options 210 (linked to the displayed control options 210′) and remote setup options 212 (linked to the displayed setup options 212′) that can be executed by the controller 122 without first issuing messages on the network. In the preferred embodiment, each enclosure control option 210 includes a first field specifying a local name of a device 110 to be controlled, which local name is correlated with the name of a device registered in the name server registry 126.3, and a second field specifying the name of a message to be issued to the device named in the first field when the control option is selected by a user from the display 130. For example, referring to FIG. 3, the two fields of the default document entry 210 a are:
This particular entry 210 a is linked to a user-selectable enclosure control option displayed by the controller 122 as “control TV” 210 a′.
When the user selects one of the control options 210′ from the display 130, the controller 122 determines the network ID of the appropriate device by consulting the name server registry 126.3 and then issues the associated message 150 to the specified device. For example, as shown in FIG. 3, when the user selects the displayed option 210 a′ (“control TV”), the controller 122 determines that the TV enclosure has the network address 110 a and then issues to that address a document request message 150 for the “control_TV” document. Upon receiving a document request message, a controller 112, under control of its operation system 116.1, processes the message and responds accordingly. This response could be to implement an action, such as tuning in a TV channel, or returning a compound document 140 to the remote control 120. For example, in the situation of FIG. 3, the TV controller 112 a simply returns to the controller 122 the contents of the compound document “control_TV” 140 a, which specifies a basic set of operations for controlling the TV 114 a that the controller 122 displays on the multimode display 130.
As stated above, the default document 126.1 also provides a list of system configuration options 212 (linked to displayed system options 212′) that can be selected by a user from the user input device 132. Note that these options do not include an option that allows a user to “install new network devices.” This is because the preferred embodiment performs network installations automatically. In this automatic installation process, as soon as the user plugs in a new enclosure 110, the new enclosure's controller 112 “wakes up” and begins operating under control of its operating system 116.1. Recognizing its “new” status, the operating system 116.1 asks its associated name server 119 to register the enclosure. In response, that name server 119 broadcasts on the network the name and address of the new enclosure to the other enclosures connected to the network. Upon receiving this message, the name servers running on the controllers 112 and 122 in the other enclosures register the new enclosure by updating their name server registries with the new device's network address and name. For example, if a user adds a laser disc player 110 c, a tuner 110 d and a CD player 110 e to the network, the name server running on the controller 122 would add laser disc, tuner and CD player entries to the name server registry 126.3 as shown in FIG. 3. After registering the new enclosures 110 c-d, the controller 122 downloads from each the name of an initial message (such as the control_TV message), references to which it adds to the default document 126.2 as the control options 210 c-e′.
If the remote 120 loses its memory (including the name server registry 126.4) or if a new remote 120 is added to the network, the blank or new remote 120 is programmed to broadcast a request message asking the enclosures 110 to register themselves if that would be appropriate (some of the enclosures might not be compatible with the remote). In response, the enclosures would register themselves as described above. Collision avoidance procedures, which are well known in the art of networks, ensure that each of the registering enclosures is allowed to access the network.
In addition to storing addresses of all enclosures on the network, each name server 119, 134 lists the names and internal address of all of the documents (including compound documents, flat files and code fragments) that are stored in its memory 116, 126 and possible other relevant documents stored on other network nodes. This information allows the controller 122 to easily locate documents (for sending or displaying). Additional information on these and other aspects of name servers are provided in Sanjay Radia, Michael N. Nelson, and Michael L. Powell, The Spring Name Service, from: A Spring Collection, A Collection of Papers on the Spring Distributed Object-Oriented Operating System, SunSoft, September 1994, which is incorporated herein by reference.
Referring again to FIG. 2, the memory 116 of a device 110 includes compound documents 140, flat files 142, code fragments 144 and an operating system 116.1 that controls operations of the controller 112 whenever the device 110 is powered up. These objects 140, 142 and 144 encapsulate all of the information required by the remote 120 to control the operation of the device 110 on which the objects are stored. In the preferred embodiment, each compound document 140 contains references to flat files (FF_refs), code fragments (CF_refs) and other compound documents (CD_refs) that are meant to be displayed/executed by the controller 122 in a coordinated fashion, typically in a single window on the display 130. For example, a root compound document, such as the control_TV document mentioned above, contains references to objects 140, 142, 144 that, when displayed together by the controller 122, present a top-level listing of the TV's basic control options. In this approach, the flat file references (FF_refs) refer to text, graphics, or audio files to be output by the controller 122 and the code fragment references (CF_refs) refer to embedded applications to be executed by the controller 122 while displaying the compound document 140 or to handlers for the flat files 142 referenced in the compound document 140.
In the preferred embodiment, each CD_ref, FF_ref or CF_ref includes two fields:
“addr” (a document address); and
“posn” (a display position-not used for audio files).
The “addr” field specifies the unique address of the referenced object in the manner of a WWW hyperlink, except that in the preferred embodiment the object being referenced is generally stored on the same network node as the referencing document. The “posn” field indicates to the controller 122 where the object is to be positioned when the controller 122 displays the compound document 140.
A flat file 142 encapsulates two types of information, content and attributes. Content is the data that corresponds to what the flat file expresses, such as text, sound or image data. The attributes define meta-knowledge about the content, including how the data is formatted (which implies the type of its handler) and should appear/sound. For example, typical flat file attributes might indicate that the content is ASCLL-, HTML- or Postscript-formatted text, MIDI or WAV-formatted sound, or GIF-or JPEG-formatted graphics. This attribute information is necessary as it indicates to the controller 122 how the content should be processed before being output to the multimode output device 130.
A code fragment 144 also encapsulates two types of information, binary code for an embedded application that is executable on the controller 122 and attributes related to the binary code. For example, assuming that the code fragment 144 a is a program that visually simulates some device control process, the attributes for that code fragment might define the attributes of the window in the referencing compound document in which the fragment 144 a should run. In the preferred embodiment, embedded applications might include a program that runs an animated sequence showing the user how to select a complex device function using options displayed on the display 130, a program that determines a sequence of document request messages to be issued when a user selects a particular option, or even an expert system that can answer user questions about programming the devices 110.
However, the most typical embedded applications 144 transferred from an enclosure 110 to the remote 120 are handlers that are compatible with flat files 142 transferred from the same enclosure 110 to the remote 120, generally in the context of a common compound document 140. This is because, to promote true universality (the idea that the remote 120 is able to display/execute any information provided by any enclosure 110), the preferred embodiment assumes that the controller 122 knows nothing about displaying any type of flat file provided by the different enclosures 110. Operating under this assumption, for a referenced flat file 142 to be displayed on the remote display 130, the controller 122 must have access to a handler code fragment that is compatible with the referenced flat file 142. Once loaded by the controller 122, this handler will display/process the referenced flat file 142 and manage the real estate on the display 130 where the flat file is to be displayed.
For example, a button-type flat file might include a digitized, JPEG image of the cover of the novel, “War and Peace” and the network address of a flat file that contains the entire text of the novel. This flat file's associated handler would be required to display the cover in an appropriate size and at an appropriate screen position on the display 130. This flat file's handler might also contain a method that is triggered whenever a user selects the region of the display 130 on which the cover is displayed, causing the controller 122 to issue a network message requesting the text of “War and Peace” using the address contained in the flat file.
In the preferred embodiment, a handler's executable code is not packaged along with the flat file(s) it is meant to handle, but is often referenced via a CF_ref in the compound document referencing its associated flat files. Alternatively, no CF_ref to the handler is required when a handler's identity can unambiguously be implied by the attributes of the referenced flat file alone (e.g, if the file is MIDI audio, to play the file, the controller 122 will simply request a MIDI device driver on the network). One advantage of this approach (where data and handler executable code are separated) is that the remote control 120 retains backward compatibility with data files as they are typically constituted (i.e., data files, such as .WAV files, are generally not packaged with their handlers); while being able to handle seamlessly all manner of unknown data files. This arrangement also avoids the inefficiency of requiring the remote 120 to unnecessarily download the same handler multiple times.
In the preferred embodiment, even the simplest type of flat files (e.g, scrolling ASCII text) requires a corresponding handler code fragment running on the remote 120. Assuming that none of the corresponding handlers are locally available to the controller 122, in the case of a complex compound document that references many flat files of different formats this fact could result in much downloading of handler code fragments. The preferred embodiment significantly reduces this risk by pre-storing in the memory 126 handler code fragments for common flat file data formats, such as .WAV and MIDI audio, ASCII text and JPEG graphics.
Referring to FIG. 4, there is shown a data flow diagram illustrating how a particular compound document 140 a requested by the controller is processed before being output to the multimodal display 130. As in FIG. 3, this diagram shows data objects as rectangles and components that act on the data objects as diamonds. Some of the diamonds appear multiple times, representing components, such as the remote controller 122, that perform multiple actions on the data flow.
Assume that, as discussed previously in reference to FIG. 3, a user has selected an option such as “control_TV”, that triggered the controller 122 to request the “control_TV” document 140 a from the TV enclosure 110 a, and that, in response, the TV device has returned the compound document 140 a depicted in FIG. 4. This document 140 a includes references 140.1 to two flat files, 142 a, 142 b, the first of which is to be positioned at point P1 on a window corresponding to the displayed compound document (note the document 142 b has no associated position as it is an audio file). The document 140 a also includes references 140.2 to the code fragments 144 a and 144 b, with respective display positions of P3 and P4, respectively, and to the code fragments 144 c, 144 d, which are handlers for the flat files 142 a, 142 b, respectively. Finally, the document 140 a includes a reference 140.3 to the compound document 140 b, which is to be positioned at position P5 on the display 130. The compound document 140 b includes references a flat file 142 c and the handler 144 c for that file, which is identical to a handler already referenced in the compound document 140 a.
From the compound document 140 a, the controller 122 builds an assembled document 160, which is stored by the controller 122 in a volatile section of the memory 126 as a stored assembled document 126.7 (FIG. 2). Generally, an assembled document 160 is an internal representation of a compound document 140 in which all of the references have been recursively resolved, either to a code fragment or to a flat file/handler pair. For example, in the case of the compound document 140 a from FIG. 1, the assembled document 160 includes assembled versions 142 a′, 142 b′, 142 c′ of the flat files 142 a, 142 b, 142 c; and assembled versions 144 a′-d′ of the code fragments 144 a-d. Note that an assembled version of an object combines information from the actual object (e.g., in the case of a flat file, the contents and attributes) and the object's output position, where relevant. This information allows the controller 122 (using the appropriate handlers) to convert the assembled compound document 160 to a formatted output document 170 that can be directly output on the multimodal output device 130 in the manner envisioned by the designers of the particular device 110 being controlled.
For example, in FIG. 4, the output document 170 b, corresponding to a image that can be output on the display section 130 a, defines windows at positions P1, P3, P4 and P5 where the output flat files 142 a″, 142 c″ and executing codes fragments 144 a″, 144 b″ are simultaneously output by the controller 122. Each of these windows is under the control of a code fragment 144 a″-c″. For example, the displayed flat files 142 a″, 142 c″ are both displayed under the control of the executable code fragment/text handler 144 c″. The executing code fragments 144 a″-d″ can be one of four types: (1) output code that, when executed, produces a visual or audible manifestation (e.g, graphical or sound simulations), (2) meta-knowledge code that can advise a user regarding legal interactions with the document in which the code fragment was embedded, (3) contextual code that can sense and indicate the processing context of the compound document in which the code fragment was embedded, and (4) handlers for embedded data (described above). One example of the first type of executable code fragment is an animation that shows a user how to connect their cable to the back of the TV enclosure 110 a. An example of the second type of code fragment is a smart help application that can tell the user how to select the functions displayed in the flat file 142 a″. Finally, an example of the third type of code fragment is a smart icon, or cartoon, that monitors controller traffic to and from the remote control 120 and then signals a user, for example, by waving an animated hand, that transmissions are underway.
Because multiple code fragments and flat files might need to be output to the output device 130 simultaneously, the real-time kernel 126.5 is required to achieve perceptibly real-time output and to avoid user frustration. Finally, because the flat file 142 b″ is a sound file (e.g., a .WAV file) the controller 122 processes it with an appropriate handler 144 d″ and outputs the resulting real-time sound 170 b to the audio section 130 a of the multimodal output device.
The method by which the controller builds an assembled document is illustrated in FIG. 5, which is a flow chart of the method of the preferred embodiment.
As mentioned above in reference to FIG. 3, the first step in the method of the preferred embodiment is to display the default document(s) 126.2, from which the user can select a number of basic options (250). Once a user has selected one of these options, the controller 122 fetches from the network the appropriate document (252). For example, as mentioned above, when the user selects the control-TV option, the controller 122 issues a document request message for the control_TV document to the TV 110 a. Upon receiving the compound document 140, the controller 122 determines whether it has local access to all of the documents that are needed to process the first compound document (254). If not (254-NO), the controller 122 pulls in from the network all of the needed documents that are not locally available (256). For example, in the case illustrated in FIG. 4, prior to displaying the control_TV document, the controller 122 downloads from the TV enclosure 110 a the referenced flat files 142 a-c and the code fragments 144 a-d. Each of these objects are temporarily stored in the memory 126 as the temporarily stored downloaded objects 126.6 (258).
In the preferred embodiment, the required documents discussed in reference to FIG. 5 could encompass two different classes of information. First, a required document might be an object (flat file, code fragment or other compound document) that is explicitly referenced in a downloaded compound document. These explicitly referenced objects are included in the assembled document 160. This inclusion process is recursive and can proceed until a leaf level object (i.e, one with no referenced compound documents objects) is finally retrieved by the controller 122.
Second, a required document could be an unreferenced handler for the particular type of file just retrieved, where the identity of a required handler is determined by an embedded document's attribute field. For example, if the flat file 142 b were a .WAV audio file, and the controller 122 did not currently have local access to a .WAV audio file handler and one was not referenced in the compound document 140 a, the controller 122 would issue a request to all of the networked devices 110 for an appropriate audio handler. Upon receiving the handler, the controller 122 would then install the handler and begin executing the handler on the contents of the related flat file 142. Alternatively, the controller 122 can temporarily store the handler in the memory space 126.7 with the related flat file and play the flat file when the rest of the assembled document 160 is ready to be output.
After all of the embedded compound documents have been recursively retrieved (i.e., after building the assembled document 160), the controller 122 generates the complete output document 170, which it outputs to the multimodal output device 130 (260). Based on the types of the files, different parts of output document 170 are directed to different sections of the output device. For example, in the case where the flat file is an audio file, its corresponding output document 170 b is directed to the audio section 130 b of the output device 130. The other embedded documents of the document 140 a, all of which are graphically-oriented, are included in an output document 170 a that is output to the display section 130 a of the output device 130. In the case were some of the flat files 142 and/or executable code fragments 144 involve the generation of video data, those objects are also output to the display section 130 a. Alternatively, the controller 122 can output to the output device completed parts of the assembled document 160 as soon as they are ready.
Once the completed assembled document has been output to the output device 130, the controller 122 provides for user interaction whereby the user can select various options (260) from the user input device 132. If the user selects an option requiring the controller to fetch a document over the network, the aforementioned steps of the method are all repeated. Of course, in some situations, such as illustrated in FIG. 3, the user can select options, such as “set time” 212 a, “set display params” 212 b′ or “set audio params” 212 c′, that are local to the remote control device 120.
The preferred embodiment is directed to networked, computer-controlled, home entertainment equipment and a compatible, computer-controlled remote control device that can be used to operate the various components based on downloaded compound documents. However, the system and method of the preferred embodiment is also applicable to networks of computers.
For example, in one alternative embodiment, illustrated in FIG. 6, the device enclosures 110 are exchanged for Web servers 310 and the remote control 120 for a Web client 320. A Web browser 322 running on the Web client performs the various compound document file retrieval, processing and output operations ascribed above to the controller 122. Some of the controller's actions, such as downloading uniquely specified documents as a result of a user selecting a reference are already performed by many Web browsers. However, unlike the alternative embodiment, no Web browsers are configured to download then run (optionally, in real time), executable code fragments that are referenced or embedded in Web documents. These capabilities are provided by the alternative embodiment in three different contexts.
First, a reference to a code fragment can be embedded in an HTML (compound) document so that the reference is displayed by the Web browser as a hyperlink, the selection of which causes the browser to download and run the code fragment. Second, a reference to a code fragment can be embedded in an HTML document so that the code fragment is automatically retrieved and run by the Web browser upon receiving the Web page that includes the code fragment. This type of included code fragment is useful for providing dynamic knowledge that is always associated with a particular page no matter what browser is being used. For example, a Web page that makes use of this aspect of the present invention might provide an embedded application that selects the best (i.e., least busy) server for a referenced document from among several alternatives based on known (to the embedded program) network activity patterns and the time of day. Finally, as in the situation of the audio file mentioned above, a Web browser operating in accordance with the alternative embodiment can download appropriate handlers based on the attributes of a previously received data file or when the handler's URL is specified in the same HTML-like document that references a compatible flat file.
One aspect of the preferred embodiment that would function differently in the WWW environment is server registration, which is the process whereby servers make their presence known to the client. In the WWW environment, server and client connections are not direct. Consequently, new Web servers' name servers cannot simply register their names and addresses with the Web clients' name servers. However, another simple registration process can be implemented wherein the Web servers automatically register with an appropriate directory, such as Yahoo, upon going online or changing their Internet address. The client's name server can then periodically register new servers from that directory.
In summary, the alternative embodiment of FIG. 6 is a Web browser and a set of compatible HTML-like compound documents that implement the method and system of the present invention. Specifically, the alternative Web browser 322 can process HTML-like documents in which executable code fragments are explicitly referenced or implied in an attribute field associated with a data file. In the alternative embodiment, few modifications are required to existing Web servers 310, the only real change on the Web server side being the form of the HTML documents that are stored on the various servers. That is, in the alternative embodiment, new fields are added to the HTML documents to embed executable code fragments and to provide any additional file attributes that might be needed for appropriate handlers to be downloaded by the Web browsers 322, thereby allowing Web browsers to display/process any type of flat file without any prior knowledge of file formats nor local access to an appropriate handler.
While the present invention has been described with reference to a few specific embodiments, the description is illustrative of the invention and is not to be construed as limiting the invention. Various modifications may occur to those skilled in the art without departing from the true spirit and scope of the invention as defined by the appended claims.
|Cited Patent||Filing date||Publication date||Applicant||Title|
|US4903258 *||Aug 19, 1988||Feb 20, 1990||Klaus Kuhlmann||Modularly structured digital communications system|
|US5050071 *||Nov 4, 1988||Sep 17, 1991||Harris Edward S||Text retrieval method for texts created by external application programs|
|US5109484 *||Apr 9, 1986||Apr 28, 1992||International Business Machines Corporation||Self configuring terminal which polls loop network and generates list of connected devices for use in selectively downloading control programs|
|US5347632||Jul 28, 1989||Sep 13, 1994||Prodigy Services Company||Reception system for an interactive computer network and method of operation|
|US5619250 *||Jun 7, 1995||Apr 8, 1997||Microware Systems Corporation||Operating system for interactive television system set top box utilizing dynamic system upgrades|
|US5640592 *||Sep 30, 1994||Jun 17, 1997||Mitsubishi Kasei America, Inc.||System for transferring utility algorithm stored within a peripheral device to a host computer in a format compatible with the type of the host computer|
|US5712638 *||May 26, 1995||Jan 27, 1998||Directed Electronics, Inc.||Multiple transmission channel group transmitter|
|US5742238 *||Sep 1, 1995||Apr 21, 1998||Emtrak, Inc.||System for communication between a central controller and items in a factory using infrared light|
|US5787281 *||Apr 28, 1995||Jul 28, 1998||Digital Equipment Corporation||Computer network providing transparent operation on a compute server and associated method|
|US5838906 *||Oct 17, 1994||Nov 17, 1998||The Regents Of The University Of California||Distributed hypermedia method for automatically invoking external application providing interaction and display of embedded objects within a hypermedia document|
|US5922050 *||Jul 2, 1996||Jul 13, 1999||Sun Microsystems, Inc.||Method and apparatus for controlling a device on a network|
|EP0674280A2 *||Mar 20, 1995||Sep 27, 1995||NCR International, Inc.||Launching computer program upon download of data created by program|
|WO1996017306A2 *||Nov 21, 1995||Jun 6, 1996||Oracle Corp||Media server|
|1||"A Brief Overview of the VIOLA Engine, and its Applications" by Pei Y. Wei, R&D, Digital Media Group, O'Reilly & Associates. email@example.com Undated/Unpublished (previously on the WWW) 14 pages.|
|2||"An Updated Quick Look at ViolaWWW"Bulletin Board Posting, May 10, 1992, by "Tim BL".|
|3||"Browser Implementation of Active Images", Bulletin Board Thread, Jul. 13, 1994, author: "bp", firstname.lastname@example.org.|
|4||"Eolas Acquires Milestone Internet Software Patent", Bulletin Board Theard, Aug. 21, 1995, Pei Wei, email@example.com.|
|5||"Eolas Acquires Milestone Internet Software Patent", Bulletin Board Thread, Aug. 21, 1995, firstname.lastname@example.org.|
|6||"Eolas Acquires Milestone Internet Software Patent", Bulletin Board Thread, Aug. 21, 1995, Larry Masinter, email@example.com.|
|7||"Eolas Acquires Millstone Internet Software Patent", Bulletin Board Thread, Aug. 21, 1995, Michael D. Doyle, Ph.D., Eolas Technologies Incorporated.|
|8||"Release of Viola WWW 3.3", Bulletin Board Posting, Pei Wei, Apr. 17, 1995, release dated Apr. 10, 1995, firstname.lastname@example.org, O'Reilly & Associates, Inc.|
|9||"The Java Language Specification", Release 1.0 Alpha3, May 11, 1995, Sun Microsystems Computer Corporation.|
|10||"The spring collection:" (A collection of papers on the spring distributed object-oriented operating system), SunSoft, (1994).|
|11||"Viola-WWW Interface", Bulletin Board Theard, Tim Berners-Lee, timbl, Jan. 24, 1992.|
|12||"Weblet Patent", Bulletin Board Thread, Aug. 21, 1995, Benjamin Franz, email@example.com.|
|13||*||A. Laursen, et al, "Oracle Media Server: Providing Consumer Based Interactive Access to Multimedia Data", ACM, pp. 470-477, May, 1994.*|
|14||Alsop, Stewart "HotJava could become a lot hotter than just a Web browser of animations." InfoWorld (1995) 17:94.|
|15||Author Unknown, "Internet access: Sun unveils most complete set of Internet business solutions available today; Internet pioneer delivers on challenge of electronic commerce." EDGE: Work-Group computing report (1995) 6;47-49.|
|16||Author Unknown, "MEMEX information engines." Database and Network Journal 15:15-16.|
|17||Author Unknown. "OSF opens software web mall for JAVA." Newsbytes (1995).|
|18||Gene McDaniel, "An Analysis of a Mesa Instruction Set," Association for Computing Machinery, May 1982.|
|19||Gilder, George "The coming software shift." Forbes ASAP (1995) 147-162.|
|20||Gosling et al., "The Java language envirnoment." Sun Microsystems A White Paper (1996) 1-95.|
|21||Goulde, M., "Sun Microsystems bringing interactive technology to the WWW." Open Information Systems (1995) 10:29-33.|
|22||Grossman, E., "OSF adds ingredients to operating system." PC Week (1989) 29,33.|
|23||*||Hardware-Software Co Design of Embedded System, Chisdo et al., IEEE Micro, pp. 26-36, Aug. 1994.*|
|24||HP "The common object request broker: architecture and specification." COBRA V2. Revision 2.0 (1995).|
|25||*||James Gosling & Henry McGilton, "The Java Language Environment A White Paper", Oct. 1995, Sun Microsystems, pp. 1-88.*|
|26||Ken Thompson, "Regular Expression Search Algorithm," Communications of the ACM, Jun. 1968, vol. 11, No. 6, pp. 419-422.|
|27||Kenneth A. Pier, "A Retrospective on the Dorado, A High-Performance Personal Computer," IEEE Computer Society, 10th Annual Intl. Symposium on Computer Architecture, 1983, pp. 252-269.|
|28||Kin-Man Chung and Herbert Yuen, "A "Tiny' Pascal Compiler; Part 1: The P-Code Interpreter," BYTE Publications, Inc., Sep. 1978.|
|29||Kin-Man Chung and Herbert Yuen, "A "Tiny' Pascal Compiler; Part 2: The P-Compiler," BYTE Publications, Inc., Oct. 1978.|
|30||Kin-Man Chung and Herbert Yuen, "A ‘Tiny’ Pascal Compiler; Part 1: The P-Code Interpreter," BYTE Publications, Inc., Sep. 1978.|
|31||Kin-Man Chung and Herbert Yuen, "A ‘Tiny’ Pascal Compiler; Part 2: The P-Compiler," BYTE Publications, Inc., Oct. 1978.|
|32||*||Object Linking & Embedding, Programmers Reference, Version 1.0, Microsoft Press, pp. 4-10, 1992.*|
|33||Raynovich, R. Scott, "Complex browsers seek to expand role." Lan Times (1995) 12:1-3.|
|34||Raynovich, R. Scott, "Sun, Netscape to wake up web users." LAN Times (1995) 12:44-45.|
|35||Schwartz, G., "Hi-resolution"PC-computing (1995) 8:77-78.|
|36||Snell, Jason "The Internet becomes multi-media savvy: Macromedia, Sun nab Netscape Navigator." MacUser (1995) 11:31.|
|37||Tanenbaum et al., "A practical tool kit for making portable compilers", Communications of the ACM (1983) 26:654-660.|
|38||Teitelman et al., "The interlisp programming enviroment", IEEE (1981) 25-33.|
|39||Van Hoff, Arthur, "Java and internet programming." Dr. Dobb's Journal (1995) 56,58-60; 101-102.|
|40||Walker et al. "The LOCUS distributed operating system." ACM (1983) 49-70.|
|Citing Patent||Filing date||Publication date||Applicant||Title|
|US6848076 *||Jun 22, 2000||Jan 25, 2005||International Business Machines Corporation||Automatic fetching and storage of requested primary and related documents or files at receiving web stations after repeated failures to access such documents or files from the World Wide Web|
|US6892143||May 22, 2003||May 10, 2005||Ecolab Inc.||Controlling chemical dispense operations based on conductivity offset|
|US6922807 *||Jan 28, 2000||Jul 26, 2005||Canon Kabushiki Kaisha||Object editing apparatus and method, and recording medium storing computer-readable program|
|US6990411||Dec 3, 2004||Jan 24, 2006||Ecolab, Inc.||Controlling chemical dispense operations based on conductivity offset considerations|
|US7010580 *||Oct 10, 2000||Mar 7, 2006||Agile Software Corp.||Method and apparatus for exchanging data in a platform independent manner|
|US7058693 *||Mar 13, 2000||Jun 6, 2006||Schneider Automation Inc.||System for programming a programmable logic controller using a web browser|
|US7085623||Aug 15, 2002||Aug 1, 2006||Asm International Nv||Method and system for using short ranged wireless enabled computers as a service tool|
|US7092793 *||Oct 31, 2003||Aug 15, 2006||Ecolab Inc||Method and system for installation and control of a utility device|
|US7146408 *||Nov 8, 1999||Dec 5, 2006||Schneider Automation Inc.||Method and system for monitoring a controller and displaying data from the controller in a format provided by the controller|
|US7170422 *||Jun 24, 2002||Jan 30, 2007||Matsushita Electric Industrial Co., Ltd.||Personal programmable universal remote control|
|US7251778 *||Jan 10, 2000||Jul 31, 2007||Microsoft Corporation||Method and system for dynamically adapting the layout of a document to an output device|
|US7293236 *||Apr 15, 2002||Nov 6, 2007||Samsung Electronics Co., Ltd.||System and method for controlling devices in home network environment|
|US7293269 *||Jan 24, 2005||Nov 6, 2007||Microsoft Corporation||Method and system for identifying program module functionality needed by a computer when disconnected from a network|
|US7490138 *||Oct 3, 2003||Feb 10, 2009||Schneider Automation Inc.||System for distributed programmable control|
|US7644366 *||Jul 30, 1999||Jan 5, 2010||Computer Associates Think, Inc.||Method and system for displaying a plurality of discrete files in a compound file|
|US7696905||Sep 8, 2004||Apr 13, 2010||Qualcomm Incorporated||Method and apparatus for controlling the operational mode of electronic devices in response to sensed conditions|
|US7853955||Dec 14, 2004||Dec 14, 2010||Microsoft Corporation||Method and system for identifying program module functionality needed by a computer when disconnected from a network|
|US7882197||Oct 30, 2007||Feb 1, 2011||Invensys Systems, Inc.||Control system methods that transfer control apparatus information over IP networks in web page-less transfers|
|US7899070||Oct 30, 2007||Mar 1, 2011||Invensys Systems, Inc.||Control system apparatus with change updates|
|US7925423||Aug 31, 2007||Apr 12, 2011||Embarq Holdings Company, Llc||System and method for traffic condition detection|
|US8081584 *||Oct 30, 2007||Dec 20, 2011||Invensys Systems, Inc.||Control system apparatus and systems using value-based transfers|
|US8082293||Nov 2, 2006||Dec 20, 2011||The Regents Of The University Of California||Distributed hypermedia method and system for automatically invoking external application providing interaction and display of embedded objects within a hypermedia document|
|US8086662||Oct 26, 2006||Dec 27, 2011||The Regents Of The University Of California||Distributed hypermedia method and system for automatically invoking external application providing interaction and display of embedded objects within a hypermedia document|
|US8090702 *||Sep 12, 2006||Jan 3, 2012||International Business Machines Corporation||Analyzing web site traffic|
|US8091040||Dec 9, 2009||Jan 3, 2012||Computer Associates Think, Inc.||Method and system for displaying a plurality of discrete files in a compound file|
|US8126450||Sep 24, 2008||Feb 28, 2012||Embarq Holdings Company Llc||System and method for key free access to a vehicle|
|US8224313||Sep 24, 2008||Jul 17, 2012||Centurylink Intellectual Property Llc||System and method for controlling vehicle systems from a cell phone|
|US8321123||Feb 24, 2011||Nov 27, 2012||Centurylink Intellectual Property Llc||System and method for traffic condition communications|
|US8418194||Aug 31, 2007||Apr 9, 2013||Centurylink Intellectual Property Llc||System and method for dynamic bandwidth allocation|
|US8458748 *||Apr 20, 2010||Jun 4, 2013||Time Warner Cable, Inc.||System and method for commanding a controlled device|
|US8468567 *||Jun 11, 2007||Jun 18, 2013||Motive Television Plc||Place-shifting apparatus and system|
|US8538408||Apr 20, 2012||Sep 17, 2013||Centurylink Intellectual Property Llc||System and method for controlling vehicle systems from a cell phone|
|US8601513||May 31, 2013||Dec 3, 2013||Time Warner Cable, Inc.||System and method for commanding a controlled device|
|US8819182||Sep 24, 2008||Aug 26, 2014||Centurylink Intellectual Property Llc||System and method for updating vehicle media content|
|US8838671 *||Mar 5, 2002||Sep 16, 2014||Immersion Corporation||Defining force sensations associated with graphical images|
|US9015777||Mar 19, 2013||Apr 21, 2015||Centurylink Intellectual Property Llc||System and method for dynamic bandwidth allocation|
|US20010025307 *||May 22, 2001||Sep 27, 2001||Chandrasekar Venkatraman||Embedding web access functionality into a device for user interface functions|
|US20010034777 *||May 23, 2001||Oct 25, 2001||Chandrasekar Venkatraman||Embedding web access functionality into a device for user interface functions|
|US20010034778 *||May 23, 2001||Oct 25, 2001||Chandrasekar Venkatraman||Embedding web access functionality into a device for user interface functions|
|US20010034779 *||May 23, 2001||Oct 25, 2001||Chandrasekar Venkatraman||Embedding web access functionality into a device for user interface functions|
|US20010034780 *||May 24, 2001||Oct 25, 2001||Chandrasekar Venkatraman||Embedding web access functionality into a device for user interface functions|
|US20010034781 *||May 24, 2001||Oct 25, 2001||Chandrasekar Venkatraman||Embedding web access functionality into a device for user interface functions|
|US20010044836 *||May 22, 2001||Nov 22, 2001||Chandrasekar Venkatraman||Embedding web access functionality into a device for user interface functions|
|US20010056351 *||Jun 26, 2001||Dec 27, 2001||Byobroadcast, Inc.||Networked audio posting method and system|
|US20020023008 *||Feb 23, 2001||Feb 21, 2002||Hisao Haji||Method for providing web page and apparatus for providing web page|
|US20020075316 *||May 29, 2001||Jun 20, 2002||Dardick Technologies||System and method for a field type intelligent web portal|
|US20020133636 *||May 24, 2001||Sep 19, 2002||Chandrasekar Venkatraman||Embedding web access functionality into a device for user interface functions|
|US20020138562 *||Mar 5, 2002||Sep 26, 2002||Immersion Corporation||Defining force sensations associated with graphical images|
|US20040068749 *||Oct 3, 2003||Apr 8, 2004||Control Technology Corp||Distributed interface architecture for programmable industrial control systems|
|US20040143368 *||Jan 21, 2003||Jul 22, 2004||May Robert E.||Operating utility devices in a master-agent network environment|
|US20040236522 *||May 22, 2003||Nov 25, 2004||Howes Ronald Bruce||Controlling chemical dispense operations based on a conductivity offset|
|US20050024501 *||Sep 8, 2004||Feb 3, 2005||John Ellenby||Method and apparatus for controlling the operational mode of electronic devices in response to sensed conditions|
|US20050096788 *||Oct 31, 2003||May 5, 2005||Peterson Jeff W.||Method and system for installation and control of a utility device|
|US20050116835 *||Mar 21, 2003||Jun 2, 2005||Bernard Grehant||Remote control device for an actuator|
|US20050132063 *||Jan 24, 2005||Jun 16, 2005||Microsoft Corporation||Method and system for identifying program module functionality needed by a computer when disconnected from a network|
|US20050149273 *||Dec 3, 2004||Jul 7, 2005||Ecolab Inc.||Controlling chemical dispense operations based on conductivity offset considerations|
|US20050153688 *||Jan 12, 2004||Jul 14, 2005||International Business Machines Corporation||Displaying help resources associated with prioritized help messages|
|US20050160422 *||Dec 14, 2004||Jul 21, 2005||Microsoft Corporation|
|US20050193324 *||Feb 26, 2004||Sep 1, 2005||International Business Machines Corporation||Method and apparatus for displaying embedded content in documents|
|US20090094326 *||Dec 12, 2008||Apr 9, 2009||Invensys Systems, Inc.||Control system methods and apparatus with services|
|US20100146527 *||Jun 11, 2007||Jun 10, 2010||Glenn Ritchie Gordon Craib||Place-Shifting Apparatus and System|
|US20110258660 *||Apr 20, 2010||Oct 20, 2011||Jay Thomas||System and Method for Commanding a Controlled Device|
|U.S. Classification||709/220, 707/E17.01|
|International Classification||G06F17/30, H04L12/28, G06F15/16, G06F13/00, G06F9/445|
|Cooperative Classification||H04L12/281, H04L12/2803, H04L2012/2849, G06F17/30067, H04L12/282|
|European Classification||H04L12/28H, H04L12/28H3B, G06F17/30F|
|Oct 23, 1995||AS||Assignment|
Owner name: SUN MICROSYSTEMS, INC., CALIFORNIA
Free format text: ASSIGNMENT OF ASSIGNORS INTEREST;ASSIGNOR:GOSLING, JAMES A.;REEL/FRAME:007743/0637
Effective date: 19951023
|Feb 9, 2007||FPAY||Fee payment|
Year of fee payment: 4
|Feb 10, 2011||FPAY||Fee payment|
Year of fee payment: 8
|Feb 25, 2015||FPAY||Fee payment|
Year of fee payment: 12