CA2400808A1 - A system and method for providing real-time information to a web browser - Google Patents
A system and method for providing real-time information to a web browser Download PDFInfo
- Publication number
- CA2400808A1 CA2400808A1 CA002400808A CA2400808A CA2400808A1 CA 2400808 A1 CA2400808 A1 CA 2400808A1 CA 002400808 A CA002400808 A CA 002400808A CA 2400808 A CA2400808 A CA 2400808A CA 2400808 A1 CA2400808 A1 CA 2400808A1
- Authority
- CA
- Canada
- Prior art keywords
- rpc
- web
- server
- browser
- update
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Abandoned
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/34—Network arrangements or protocols for supporting network services or applications involving the movement of software or configuration parameters
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/95—Retrieval from the web
- G06F16/958—Organisation or management of web site content, e.g. publishing, maintaining pages or automatic linking
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/02—Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L69/00—Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
- H04L69/30—Definitions, standards or architectural aspects of layered protocol stacks
- H04L69/32—Architecture of open systems interconnection [OSI] 7-layer type protocol stacks, e.g. the interfaces between the data link level and the physical level
- H04L69/322—Intralayer communication protocols among peer entities or protocol data unit [PDU] definitions
- H04L69/329—Intralayer communication protocols among peer entities or protocol data unit [PDU] definitions in the application layer [OSI layer 7]
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Databases & Information Systems (AREA)
- Theoretical Computer Science (AREA)
- Computer Security & Cryptography (AREA)
- Data Mining & Analysis (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Information Transfer Between Computers (AREA)
Abstract
A web browser having hidden frames to transfer events and receive page updates. In order to improve performance multiple updates are streamed into a single frame as a single ongoing HTTP response. In one aspect of the invention, there is included in each update certain script code that is dynamically executed after the update is received, transferring control to an update routine, thus providing real time multiplexing over a single HTTP response.
Description
A System and Method for Providing Real Time Information to a Web Browser The present invention relates to the field of data communications and in particular to a system and method for providing real time updates from a host system to a web based client.
BACKGROUND OF THE INVENTION
The growth of the Internet can be attributed to popularity of the World Wide Web ("the Web"). The Web is actually an application program which runs on individual computers and that creates connections to multiple different host computers over one or more networks. Most Web computer files are formatted using Hypertext Markup Language (HTML) and Web communication among computers occurs using the Hypertext Transfer Protocol (HTTP). A computer file formatted in HTML is generally referred to as a "web page".
Application programs generally known as Web browsers, such as Internet ExplorerTM by Microsoft Corp., allows a file formatted in HTML/HTTP format (i.e. "web pages") to be displayed on a computer screen. The web pages are displayed as a collection of text, images, sound, or other visual objects, which can appear as highlighted texts or graphics.
Furthermore, modern browsers have additional embedded applications, which are automatically activated when needed. Examples of such embedded applications include File Transfer Protocol (FTP) for transferring files, Gopher for remotely viewing files on another system, and Telnet for remotely accessing computer systems. Web browsers thus provide a powerful graphical environment for accessing information and communicating between networked computers.
The Hypertext Transfer Protocol (HTTP) is the set of rules for exchanging files (text, graphic images, sound, video, and other multimedia files) on the Web. Relative to the TCP/IP suite of protocols (which are the basis for information exchange on the Internet), HTTP is an application protocol. Essential concepts that are part of HTTP
include the idea that lilts can ccmtain references to rather tile, whose selection will elicit aclclitien;il SUBSTITUTE SHEET (RULE 26) WO 01/63466 cA o24ooaoa 2oo2-oa-2i pCT/CA01/00219 transfer requests. Any Web server machine contains, in addition to the HTML
and other files it can serve, an HTTP daemon. A daemon is a program that is designed to wait for and service HTTP requests.
The Web browser is an HTTP client, sending requests to server machines. When the browser user enters file requests by either "opening" a Web file by typing in a Uniform Resource Locator (URL) or clicking on a hypertext link, the browser builds an HTTP
request and sends it to an Internet Protocol address indicated by the URL. The HTTP
daemon in the destination server machine receives and processes the request and, returns the requested file.
Legacy back-end databases running computers, such as the IBM AS/400 were introduced prior to 1989, and hence pre-dated the Web and Internet revolution. In addition, such systems also antedated the open systems revolution that accompanied the Web/Internet revolution. Consequently, although these older system had a great deal of flexibility and networking capability built into them, much of the software written for them has been designed for the actual physical hardware of the system rather than being designed for conceptual network communication layers of present. Users have traditionally accessed these systems via actual, physical terminals, which are physically connected to and designed for the system.
The ubiquity of the modern personal computer has required that Internet/Web compatible machines be given the capability to replace the actual physical terminals connected to these legacy systems. The cost and risk to replace the legacy systems, particularly implementing new software for existing business rules is extremely high.
Telnet is a Transmission Control Protocol/Internet protocol (TCP/IP) standard network virtual terminal protocol that is used for remote terminal connection service.
Telnet allows a user at one site to interact with systems at other sites as if that user terminal were directly connected to computers at those other sites. Unfortunately, when designers
BACKGROUND OF THE INVENTION
The growth of the Internet can be attributed to popularity of the World Wide Web ("the Web"). The Web is actually an application program which runs on individual computers and that creates connections to multiple different host computers over one or more networks. Most Web computer files are formatted using Hypertext Markup Language (HTML) and Web communication among computers occurs using the Hypertext Transfer Protocol (HTTP). A computer file formatted in HTML is generally referred to as a "web page".
Application programs generally known as Web browsers, such as Internet ExplorerTM by Microsoft Corp., allows a file formatted in HTML/HTTP format (i.e. "web pages") to be displayed on a computer screen. The web pages are displayed as a collection of text, images, sound, or other visual objects, which can appear as highlighted texts or graphics.
Furthermore, modern browsers have additional embedded applications, which are automatically activated when needed. Examples of such embedded applications include File Transfer Protocol (FTP) for transferring files, Gopher for remotely viewing files on another system, and Telnet for remotely accessing computer systems. Web browsers thus provide a powerful graphical environment for accessing information and communicating between networked computers.
The Hypertext Transfer Protocol (HTTP) is the set of rules for exchanging files (text, graphic images, sound, video, and other multimedia files) on the Web. Relative to the TCP/IP suite of protocols (which are the basis for information exchange on the Internet), HTTP is an application protocol. Essential concepts that are part of HTTP
include the idea that lilts can ccmtain references to rather tile, whose selection will elicit aclclitien;il SUBSTITUTE SHEET (RULE 26) WO 01/63466 cA o24ooaoa 2oo2-oa-2i pCT/CA01/00219 transfer requests. Any Web server machine contains, in addition to the HTML
and other files it can serve, an HTTP daemon. A daemon is a program that is designed to wait for and service HTTP requests.
The Web browser is an HTTP client, sending requests to server machines. When the browser user enters file requests by either "opening" a Web file by typing in a Uniform Resource Locator (URL) or clicking on a hypertext link, the browser builds an HTTP
request and sends it to an Internet Protocol address indicated by the URL. The HTTP
daemon in the destination server machine receives and processes the request and, returns the requested file.
Legacy back-end databases running computers, such as the IBM AS/400 were introduced prior to 1989, and hence pre-dated the Web and Internet revolution. In addition, such systems also antedated the open systems revolution that accompanied the Web/Internet revolution. Consequently, although these older system had a great deal of flexibility and networking capability built into them, much of the software written for them has been designed for the actual physical hardware of the system rather than being designed for conceptual network communication layers of present. Users have traditionally accessed these systems via actual, physical terminals, which are physically connected to and designed for the system.
The ubiquity of the modern personal computer has required that Internet/Web compatible machines be given the capability to replace the actual physical terminals connected to these legacy systems. The cost and risk to replace the legacy systems, particularly implementing new software for existing business rules is extremely high.
Telnet is a Transmission Control Protocol/Internet protocol (TCP/IP) standard network virtual terminal protocol that is used for remote terminal connection service.
Telnet allows a user at one site to interact with systems at other sites as if that user terminal were directly connected to computers at those other sites. Unfortunately, when designers
2 WO 01/63466 cA o24ooaoa 2oo2-oa-2i pCT/CA01/00219 attempted to implement the Telnet application to allow the newer machines to interact with the AS/400s, they found that standard Telnet was not adequate for the job.
One conventional method for providing a terminal session is to execute a terminal emulator application on a client system that is directly connected to a host legacy system using a TCP/IP socket connection. Another conventional method is to provide a connection through a web browser application by translating standard legacy data flows into HTML pages. However, such conventional web browser methods suffer from an inability to handle real-time host updates to user screens as well as other significant problems. For example, forms-based HTML/TN3270 packages are unable to overcome a range of problems associated with common HTML implementations such as real-time host updates to user screens or finding a user's browser platform address on the network.
U.S. Patent No.5,754,830 ('830) describes an interface to legacy data flows, such as 1 ~ telnet (TN) data flows, across persistent TCP/IP socket connections to give users persistent bidirectional access to legacy host system data in terminal sessions, such as 3270, 5250, NVT and VT220 type terminal sessions. Terminal emulation is partially provided by applet executable code downloaded from a web/emulation server. The user can select the uniform resource locator (URL) of the legacy host system via a web browser package, and transparently receive the applet code, which is executed and invokes an appropriate terminal session.
Thus, users of the client system access to real-time legacy host system data and applications using a web browser The web/emulator server system converts standard legacy data flows into web/emulator data flows and vice versa permitting multi-session, multi-protocol access to legacy data and applications. The applet process converts the web/emulator data flows into a terminal session for display to the user.
Essentially, the web/emulator server, client thread and applet process form a web browser terminal emulator providing a persistent bidirectional connection between the client system and the legacy host system. This system has disadvantages in that it may have browser Java compatibility problems and restrictions with the use of firewalls.
One conventional method for providing a terminal session is to execute a terminal emulator application on a client system that is directly connected to a host legacy system using a TCP/IP socket connection. Another conventional method is to provide a connection through a web browser application by translating standard legacy data flows into HTML pages. However, such conventional web browser methods suffer from an inability to handle real-time host updates to user screens as well as other significant problems. For example, forms-based HTML/TN3270 packages are unable to overcome a range of problems associated with common HTML implementations such as real-time host updates to user screens or finding a user's browser platform address on the network.
U.S. Patent No.5,754,830 ('830) describes an interface to legacy data flows, such as 1 ~ telnet (TN) data flows, across persistent TCP/IP socket connections to give users persistent bidirectional access to legacy host system data in terminal sessions, such as 3270, 5250, NVT and VT220 type terminal sessions. Terminal emulation is partially provided by applet executable code downloaded from a web/emulation server. The user can select the uniform resource locator (URL) of the legacy host system via a web browser package, and transparently receive the applet code, which is executed and invokes an appropriate terminal session.
Thus, users of the client system access to real-time legacy host system data and applications using a web browser The web/emulator server system converts standard legacy data flows into web/emulator data flows and vice versa permitting multi-session, multi-protocol access to legacy data and applications. The applet process converts the web/emulator data flows into a terminal session for display to the user.
Essentially, the web/emulator server, client thread and applet process form a web browser terminal emulator providing a persistent bidirectional connection between the client system and the legacy host system. This system has disadvantages in that it may have browser Java compatibility problems and restrictions with the use of firewalls.
3 WO 01/63466 cA o24ooaoa 2oo2-oa-2i pCT/CA01/00219 In general, there is a need for terminal emulators that are thin clients and which are (a) HTML-based for broad reach, ease of implementation and portability; (b) support real time host updates; and (c) provide Virtual Terminal emulation.
Java and ActiveX-based emulators as typically described in the '830 Patent above, provide benefits (b) and (c), but not (a). These emulators will not function in network environments that prohibit JavaTM or ActiveXTM. Client machines require Java or ActiveXTM support. In many cases JavaTM and ActiveXTM are not suitable for the Internet or even a corporate extranet. Conversely, current HTML-based emulators which provide benefit (a) do not provide benefits (b) and (c). Thus, host information can be lost, so the emulation is not complete.
It has been recognized that there is a need for an HTML gateway to these legacy or host systems because it provides ease of access and implementation. Other approaches require the installation of customer software onto the user's machine. This software may not be available for the user's operating system. It may take too long to download the application to the user's machine. The user may not want to install an unknown application for fear of it being a virus. The user may be behind a firewall that does not allow the application to be downloaded. There may be a corporate policy prohibiting the installation of unapproved applications. Users may not be allowed to install applications themselves, and the rollout time for a new application across a large site can be prohibitive. The training time for a new application is also a factor.
Furthermore for large Intranets, extranets, and the Internet, where ease of access and broad reach are critical, a thin client solution is desirable. In a thin client solution one of the objectives is to reduce total cost of ownership through a solution that is easier to rollout and easier to maintain. Usually an application is not installed onto the user's machine since it is hard to rollout and maintain. Rather configuration files are stored on a server machine. The files are easier to change since they're in one place and not on ten thousand desktops.
Java and ActiveX-based emulators as typically described in the '830 Patent above, provide benefits (b) and (c), but not (a). These emulators will not function in network environments that prohibit JavaTM or ActiveXTM. Client machines require Java or ActiveXTM support. In many cases JavaTM and ActiveXTM are not suitable for the Internet or even a corporate extranet. Conversely, current HTML-based emulators which provide benefit (a) do not provide benefits (b) and (c). Thus, host information can be lost, so the emulation is not complete.
It has been recognized that there is a need for an HTML gateway to these legacy or host systems because it provides ease of access and implementation. Other approaches require the installation of customer software onto the user's machine. This software may not be available for the user's operating system. It may take too long to download the application to the user's machine. The user may not want to install an unknown application for fear of it being a virus. The user may be behind a firewall that does not allow the application to be downloaded. There may be a corporate policy prohibiting the installation of unapproved applications. Users may not be allowed to install applications themselves, and the rollout time for a new application across a large site can be prohibitive. The training time for a new application is also a factor.
Furthermore for large Intranets, extranets, and the Internet, where ease of access and broad reach are critical, a thin client solution is desirable. In a thin client solution one of the objectives is to reduce total cost of ownership through a solution that is easier to rollout and easier to maintain. Usually an application is not installed onto the user's machine since it is hard to rollout and maintain. Rather configuration files are stored on a server machine. The files are easier to change since they're in one place and not on ten thousand desktops.
4 The web is inherently page based. A browser is directed to a site and a page is returned.
Clicking on a link or submitting a form results in a new page. Therefore, the Web may be described as a slide show as compared to a movie. Other HTML gateways use this request/response, page by page model. This is the standard web model. However, this is not typically how host applications work. Host applications can (a) update only a portion of the host screen and (b) update the host screen independent of user input.
If the standard web model is applied then it is possible to (a) miss screen updates, (b) not display updates in real time when they truly occur, and (c) be unable to implement VT
(UNIX applications), which is not request/response based on all.
To improve the experience by adding more interactivity, it is required to use active content. In order to achieve this, program code is embedded into a web page.
When the page is loaded the browser runs the program. Depending upon browser security settings the program can modify the web page, connected to other servers, or even format a hard drive. There are basically two types of programs - (a) executable code such as ActiveXTM controls or JavaTM applets, and (b) scripts such as JavaScriptTM.
Program code is a problem since this is just a web deployed application and has all the problems associated with applications. There are doubts as to whether it will run on a given platform, whether it can get through a firewall, or whether it is desirable to install an application at all. It is possible that it will have a virus. Therefore, some corporate sites prohibit the use of JavaTM or ActiveXTM. Furthermore, many using the code typically requires some control or plug-in that has to be downloaded and installed.
Although code is avoided, it there is still a possibility to use script. There are two types of script, signed and unsigned. Signed scripts have additional capabilities.
Although it is possible for signed scripts to format your hard drive, a user has to explicitly accept the script before the browser will execute it. "Signed" refers to the digital signature that is applied to a script. The signature reliably identifies the author of the script. So the user is effectively asked "Do you want to run this signed script from Corporation X
that
Clicking on a link or submitting a form results in a new page. Therefore, the Web may be described as a slide show as compared to a movie. Other HTML gateways use this request/response, page by page model. This is the standard web model. However, this is not typically how host applications work. Host applications can (a) update only a portion of the host screen and (b) update the host screen independent of user input.
If the standard web model is applied then it is possible to (a) miss screen updates, (b) not display updates in real time when they truly occur, and (c) be unable to implement VT
(UNIX applications), which is not request/response based on all.
To improve the experience by adding more interactivity, it is required to use active content. In order to achieve this, program code is embedded into a web page.
When the page is loaded the browser runs the program. Depending upon browser security settings the program can modify the web page, connected to other servers, or even format a hard drive. There are basically two types of programs - (a) executable code such as ActiveXTM controls or JavaTM applets, and (b) scripts such as JavaScriptTM.
Program code is a problem since this is just a web deployed application and has all the problems associated with applications. There are doubts as to whether it will run on a given platform, whether it can get through a firewall, or whether it is desirable to install an application at all. It is possible that it will have a virus. Therefore, some corporate sites prohibit the use of JavaTM or ActiveXTM. Furthermore, many using the code typically requires some control or plug-in that has to be downloaded and installed.
Although code is avoided, it there is still a possibility to use script. There are two types of script, signed and unsigned. Signed scripts have additional capabilities.
Although it is possible for signed scripts to format your hard drive, a user has to explicitly accept the script before the browser will execute it. "Signed" refers to the digital signature that is applied to a script. The signature reliably identifies the author of the script. So the user is effectively asked "Do you want to run this signed script from Corporation X
that
5
6 cA o24ooaoa 2oo2-oa-2i pCT/CA01/00219 requires extra privileges?" Users and IT managers dislike signed scripts because they are a security risk. Also it is difficult to get signed scripts to run reliably (if at all) on all platforms.
There is a need for a system that can provide real time updates without the use of code or signed scripts.
SUMMARY OF THE INVENTION
The invention seeks to provide an HTML-based system and method for presenting real time data updates from a server. In accordance with this invention there is provided a web browser having hidden frames to transfer events and receive page updates.
In order to improve performance multiple updates are streamed into a single frame as a single ongoing HTTP response. In one aspect of the invention, there is included in each update certain script code that is dynamically executed after the update is received, transferring control to an update routine, thus providing real time multiplexing over a single HTTP
response.
BRIEF DESCRIPTION OF THE DRAWINGS
The present invention will now be described by way of example only, with reference to the following drawings in which:
Figure 1 is a schematic diagram illustrating a data processing system in which the methods and apparatus of the present invention may be embodied;
Figure 2 is a schematic diagram of an information update flow for the system in figure l; and Figure 3 is a schematic diagram of an architecture used by the system of figure 1.
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
In the following description, like numerals will refer to like structures in the drawings.
Referring to figure 1, there is shown generally by the numeral 100 a block diagram of a computer system in which the methods and apparatus of the present invention can be embodied. A network 102 includes a client or remote computer 104, e.g. a personal WO 01/63466 cA o24ooaoa 2oo2-oa-2i pCT/CA01/00219 computer including such components as a central processing unit (CPU), a display and user input devices such as a keyboard and a mouse. The client computer 104 is coupled to a server 106 over the network 102, and possibly to a host computer 110.
Those skilled in the art will appreciate that the client may take other forms than the personal computer illustrated. For example, the client computer may include a so-called "network computer", i.e. a Web-enabled terminal with little or no local disk storage, or other computing device such as a personal digital assistant (PDA), personal communications system (PCS), or the like. Those skilled in the art will also appreciate that the server 106 may take various forms including conventional personal computer type servers or similar devices which may be addressable as locations in a network and have the capability to store information. Although the host computer 110 may take the form of a traditional mainframe computer running a conventional terminal application such as a 3270 application, those skilled in the art will appreciate that the host computer 104 may comprise various other apparatus that runs applications that conduct input and output using a terminal-type interface.
Furthermore, although the particular embodiment is described in relation to a client/server architecture, embodiments of the invention may be equally well applied to network systems used to provide a terminal interface to a host-based computer application from a remote terminal using terminal emulation information stored on a server external to the remote computer.
The client includes a web browse, which is frame enabled. Frames is the use of multiple, independently controllable sections on a Web presentation. This effect is achieved by building each section as a separate HTML file and having one "master" HTML
file identify all of the sections. When a user requests a Web page that uses frames, the address requested is actually that of the "master" file that defines the frames; the result of the request is that multiple HTML files are returned, one for each visual section. Links in one frame can request another file that will appear in another (or the same) frame.
There is a need for a system that can provide real time updates without the use of code or signed scripts.
SUMMARY OF THE INVENTION
The invention seeks to provide an HTML-based system and method for presenting real time data updates from a server. In accordance with this invention there is provided a web browser having hidden frames to transfer events and receive page updates.
In order to improve performance multiple updates are streamed into a single frame as a single ongoing HTTP response. In one aspect of the invention, there is included in each update certain script code that is dynamically executed after the update is received, transferring control to an update routine, thus providing real time multiplexing over a single HTTP
response.
BRIEF DESCRIPTION OF THE DRAWINGS
The present invention will now be described by way of example only, with reference to the following drawings in which:
Figure 1 is a schematic diagram illustrating a data processing system in which the methods and apparatus of the present invention may be embodied;
Figure 2 is a schematic diagram of an information update flow for the system in figure l; and Figure 3 is a schematic diagram of an architecture used by the system of figure 1.
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
In the following description, like numerals will refer to like structures in the drawings.
Referring to figure 1, there is shown generally by the numeral 100 a block diagram of a computer system in which the methods and apparatus of the present invention can be embodied. A network 102 includes a client or remote computer 104, e.g. a personal WO 01/63466 cA o24ooaoa 2oo2-oa-2i pCT/CA01/00219 computer including such components as a central processing unit (CPU), a display and user input devices such as a keyboard and a mouse. The client computer 104 is coupled to a server 106 over the network 102, and possibly to a host computer 110.
Those skilled in the art will appreciate that the client may take other forms than the personal computer illustrated. For example, the client computer may include a so-called "network computer", i.e. a Web-enabled terminal with little or no local disk storage, or other computing device such as a personal digital assistant (PDA), personal communications system (PCS), or the like. Those skilled in the art will also appreciate that the server 106 may take various forms including conventional personal computer type servers or similar devices which may be addressable as locations in a network and have the capability to store information. Although the host computer 110 may take the form of a traditional mainframe computer running a conventional terminal application such as a 3270 application, those skilled in the art will appreciate that the host computer 104 may comprise various other apparatus that runs applications that conduct input and output using a terminal-type interface.
Furthermore, although the particular embodiment is described in relation to a client/server architecture, embodiments of the invention may be equally well applied to network systems used to provide a terminal interface to a host-based computer application from a remote terminal using terminal emulation information stored on a server external to the remote computer.
The client includes a web browse, which is frame enabled. Frames is the use of multiple, independently controllable sections on a Web presentation. This effect is achieved by building each section as a separate HTML file and having one "master" HTML
file identify all of the sections. When a user requests a Web page that uses frames, the address requested is actually that of the "master" file that defines the frames; the result of the request is that multiple HTML files are returned, one for each visual section. Links in one frame can request another file that will appear in another (or the same) frame.
7 WO 01/63466 cA o24ooaoa 2oo2-oa-2i pCT/CA01/00219 Using frames it is possible to present information in a more flexible and useful fashion.
Each visual section, or frame, has several features. It can be given an individual URL, so it can load information independent of the other frames on the page. It can be given a NAME, allowing it to be targeted by other URLs. It can resize dynamically if the user changes the window's size. (Resizing can also be disabled, ensuring a constant frame size.) These properties offer new possibilities. Elements that the user should always see, such as control bars, copyright notices, and title graphics can be placed in a static, individual frame. As the user navigates the site in "live" frames, the static frame's contents remain fixed, even though adjoining frames redraw. Table of contents (TOCs) are more functional. One frame can contain TOC links that, when clicked, display results in an adjoining frame. Frames "side-by-side" design allows queries to be posed and answered on the same page, with one frame holding the query form, and the other presenting the results.
It is possible to use frames to remotely monitor web page events and dynamically modify web page content, as illustrated in figure 2 by the numeral 200. This is referred to as Remote Page Control (RPC). RPC uses hidden frames to transfer events and receive page updates. Only the changed content is transmitted across the network, and only the changed content is redisplayed. This yields sufficient performance to implement a wide range of HTML-based web applications, with a high level of responsiveness and interactively.
The RPC architecture, illustrated in figure 3 by the numeral 300, consists of the following components. An RPC Target is a given web page that is to be RPC-enabled. An RPC
Web Page is an RPC-enabled web page, consisting of an RPC Container, RPC
Display, RPC Controller and RPC Transport. An RPC Client is client side web browser or emulator that hosts the RPC web page. An RPC server is a server side component that receives events from multiple RPC web pages and issues updates to these pages.
The RPC Container is a frameset web page that hosts the RPC target. The RPC
Display is the
Each visual section, or frame, has several features. It can be given an individual URL, so it can load information independent of the other frames on the page. It can be given a NAME, allowing it to be targeted by other URLs. It can resize dynamically if the user changes the window's size. (Resizing can also be disabled, ensuring a constant frame size.) These properties offer new possibilities. Elements that the user should always see, such as control bars, copyright notices, and title graphics can be placed in a static, individual frame. As the user navigates the site in "live" frames, the static frame's contents remain fixed, even though adjoining frames redraw. Table of contents (TOCs) are more functional. One frame can contain TOC links that, when clicked, display results in an adjoining frame. Frames "side-by-side" design allows queries to be posed and answered on the same page, with one frame holding the query form, and the other presenting the results.
It is possible to use frames to remotely monitor web page events and dynamically modify web page content, as illustrated in figure 2 by the numeral 200. This is referred to as Remote Page Control (RPC). RPC uses hidden frames to transfer events and receive page updates. Only the changed content is transmitted across the network, and only the changed content is redisplayed. This yields sufficient performance to implement a wide range of HTML-based web applications, with a high level of responsiveness and interactively.
The RPC architecture, illustrated in figure 3 by the numeral 300, consists of the following components. An RPC Target is a given web page that is to be RPC-enabled. An RPC
Web Page is an RPC-enabled web page, consisting of an RPC Container, RPC
Display, RPC Controller and RPC Transport. An RPC Client is client side web browser or emulator that hosts the RPC web page. An RPC server is a server side component that receives events from multiple RPC web pages and issues updates to these pages.
The RPC Container is a frameset web page that hosts the RPC target. The RPC
Display is the
8 WO 01/63466 cA o24ooaoa 2oo2-oa-2i pCT/CA01/00219 RPC target embedded as a frame of the RPC container. The RPC Controller is script code that manages event dispatch and update processing. The RPC Transport is responsible for sending events and receiving updates. It also manages RPC send buffers and RPC receive buffers. The RPC Send Buffers are hidden frames of the RPC
container that dispatch events to the RPC server process. The RPC Receive Buffers are hidden frames of the RPC container that receive updates from the RPC server process.
Event processing in an RPC web page operates as follows. An event is generated from the RPC display. An example of such an event is a key press event. Through an event binding defined by RPC container, the event is dispatched to the RPC
controller. The RPC controller performs optional client side event filtering and processing.
If the RPC
controller determines the event should be sent to the RPC server then the event is passed to the RPC transport.
The RPC transport issues an HTTP GET or POST request to the next available RPC
send buffer, where the request URL is the URL of the RPC server. In the case of an HTTP
GET request the event is encoded in the query string of the request URL. In the case of an HTTP POST request the event is encoded in the body of the request. Optional sequencing or timestamp data can also be encoded. This allows the order or time sequence of the events to be preserved. Session information can also be included in the request.
The RPC server receives and decodes the HTTP GET or POST request. Events are sequenced as necessary, and server side event processing occurs. This may include RPC
update processing, which is described below in greater detail. The RPC server sends an HTTP response to the RPC client. This will usually be a null response, and is required only to satisfy the HTTP protocol. However optional out of band data could be returned in the response.
Update processing in an RPC web page operates as follows. When an RPC
container is initialized (loaded into an RPC client) the RPC controller requests the RPC
transport to
container that dispatch events to the RPC server process. The RPC Receive Buffers are hidden frames of the RPC container that receive updates from the RPC server process.
Event processing in an RPC web page operates as follows. An event is generated from the RPC display. An example of such an event is a key press event. Through an event binding defined by RPC container, the event is dispatched to the RPC
controller. The RPC controller performs optional client side event filtering and processing.
If the RPC
controller determines the event should be sent to the RPC server then the event is passed to the RPC transport.
The RPC transport issues an HTTP GET or POST request to the next available RPC
send buffer, where the request URL is the URL of the RPC server. In the case of an HTTP
GET request the event is encoded in the query string of the request URL. In the case of an HTTP POST request the event is encoded in the body of the request. Optional sequencing or timestamp data can also be encoded. This allows the order or time sequence of the events to be preserved. Session information can also be included in the request.
The RPC server receives and decodes the HTTP GET or POST request. Events are sequenced as necessary, and server side event processing occurs. This may include RPC
update processing, which is described below in greater detail. The RPC server sends an HTTP response to the RPC client. This will usually be a null response, and is required only to satisfy the HTTP protocol. However optional out of band data could be returned in the response.
Update processing in an RPC web page operates as follows. When an RPC
container is initialized (loaded into an RPC client) the RPC controller requests the RPC
transport to
9 WO 01/63466 cA o24ooaoa 2oo2-oa-2i pCT/CA01/00219 initialize itself. The RPC transport issues an HTTP GET request to an RPC
receive buffer, where the request URL is the URL of the RPC server. The query string of the request URL encodes that this an initial request to establish a streaming update channel.
The RPC server receives and decodes the HTTP GET request, and determines that this is a request to establish an update connection. The RPC server keeps the request open, pending updates to the RPC web page. Client and server pings are used to prevent timeouts of the underlying TCP/IP connection. At some later point the RPC
server may determine an update is necessary to the RPC web page in question. In this case the RPC
server streams the update to the client within the ongoing HTTP response. The update includes script code that transfers control to the RPC transport immediately after the update is received by the RPC client.
The RPC client receives and processes the update. The RPC transport passes control to the RPC controller. The RPC controller uses available script APIs to dynamically update the RPC target as required by the update message. Additional updates are performed as required. To reclaim resources the RPC receive buffer is periodically flushed.
In certain RPC clients this can be achieved with scripting APIs that will not terminate the update connection. Otherwise the RPC client can request the RPC server to send future updates to a newly created RPC receive buffer.
Upon receipt of this request the RPC server will complete the HTTP response to the original RPC receive buffer and begin to stream updates to the new buffer.
When the RPC client receives the completed HTTP response it can delete the original buffer.
RPC pushes the envelop with unsigned scripts, making the script code do things previously unthinkable, such as allowing the web server to take a screen update from the host and push it to the browser, where the web page is dynamically modified to display the changed content.
An example of the above implementation is presented below for illustration.
The user wants to run an order entry application. The user browses to a web page, http://www.server.com/OrderEntry.html either by typing in the URL, choosing a bookmark, or clicking a hyperlink on a page listing various corporate applications that are available. The web server delegates the request to a server process. The server process could be a CGI script, ASP process, Java servlet, etc. Any web server extension will suffice. Note the term "process" is used in a generic sense, not in the technical sense of a process created by an operating system.
The server process establishes a persistent connection to a certain host application, in this case the order entry application. The page request determines which host application to contact. The server process returns the OrderEntry.html web page to the browser. The OrderEntry.html web page may look something like:
<html>
<head>
<title>Order Entry Application</title>
</head>
<frameset rows--"*, 0, 0">
<frame name--"Display" src="about:blank">
</frame>
<frame name="SendBuffer" src="about:blank">
</frame>
<frame name="ReceiveBuffer"src="http://www.server.com/GetUpdates.html">
</frame>
</frameset>
</html>
This page is a frameset document containing three frames, dividing the page into three rows. The first frame, the Display frame, is visible and is where an application will appear. This frame is initially blank. The second frame (SendBuffer) is hidden and is used to send user input to the web server. The third frame (ReceiveBuffer), is hidden and is used to receive screen updates. The technique of hidden frames is well known in the art and need not be described in further detail.
Since the ReceiveBuffer has a source URL the browser automatically requests the web page, http://www.server.com/GetUpdates.html, from the web server. The browser will load this web page into the ReceiveBuffer frame, but since the frame is hidden the web page will not be visible to the user.
Again, the web server delegates the request to the server process. The server process begins to return the GetUpdates.html web page to the browser, but does not finish the page. Initially all that is returned is the start of a generic HTML document:
<html>
<head>
<title>Update Stream</title>
</head>
<body>
Note this HTML page is not complete. It's missing </body> and </html> tags.
The web browser receives the start of the GetUpdates.html page and keeps the connection to the web server open, waiting to receive the rest of the page. At some time later the application updates the host screen and sends an update message to the server process.
For example, the host screen simply says "Hi Kevin, what's your order for today?"
The server process receives the host screen update and encodes it into the ongoing GetUpdate.html page response:
<script language--"JavaScript">
process("Hi Kevin, what's your order for today");
</script>
Note the GetUpdate.html page is still not complete. The web browser is still loading the GetUpdate.html page, and receives the above HTML fragment. The script code is executed "on the fly", and the process function is called.
In an actual application the process function can vary. It can be whatever makes sense for the application, the web browser, and the particular scripting language.
For example for Internet Explorer we could use:
top.Display.document.body.innertext = "Hi Kevin, what's your order for today";
which would update the Display frame with the specified text.
Repeat steps from the updating of the host screen with information to the presentation of the information on a user's screen as necessary in order to stream updates into the web page.
Therefore, it can be seen that RPC allows a web server to push arbitrary script code to a web browser, in real time, for a wide variety of applications.
Although the invention has been described with reference to certain specific embodiments, various modifications thereof will be apparent to those skilled in the art without departing from the spirit and scope of the invention as outlined in the claims appended hereto.
receive buffer, where the request URL is the URL of the RPC server. The query string of the request URL encodes that this an initial request to establish a streaming update channel.
The RPC server receives and decodes the HTTP GET request, and determines that this is a request to establish an update connection. The RPC server keeps the request open, pending updates to the RPC web page. Client and server pings are used to prevent timeouts of the underlying TCP/IP connection. At some later point the RPC
server may determine an update is necessary to the RPC web page in question. In this case the RPC
server streams the update to the client within the ongoing HTTP response. The update includes script code that transfers control to the RPC transport immediately after the update is received by the RPC client.
The RPC client receives and processes the update. The RPC transport passes control to the RPC controller. The RPC controller uses available script APIs to dynamically update the RPC target as required by the update message. Additional updates are performed as required. To reclaim resources the RPC receive buffer is periodically flushed.
In certain RPC clients this can be achieved with scripting APIs that will not terminate the update connection. Otherwise the RPC client can request the RPC server to send future updates to a newly created RPC receive buffer.
Upon receipt of this request the RPC server will complete the HTTP response to the original RPC receive buffer and begin to stream updates to the new buffer.
When the RPC client receives the completed HTTP response it can delete the original buffer.
RPC pushes the envelop with unsigned scripts, making the script code do things previously unthinkable, such as allowing the web server to take a screen update from the host and push it to the browser, where the web page is dynamically modified to display the changed content.
An example of the above implementation is presented below for illustration.
The user wants to run an order entry application. The user browses to a web page, http://www.server.com/OrderEntry.html either by typing in the URL, choosing a bookmark, or clicking a hyperlink on a page listing various corporate applications that are available. The web server delegates the request to a server process. The server process could be a CGI script, ASP process, Java servlet, etc. Any web server extension will suffice. Note the term "process" is used in a generic sense, not in the technical sense of a process created by an operating system.
The server process establishes a persistent connection to a certain host application, in this case the order entry application. The page request determines which host application to contact. The server process returns the OrderEntry.html web page to the browser. The OrderEntry.html web page may look something like:
<html>
<head>
<title>Order Entry Application</title>
</head>
<frameset rows--"*, 0, 0">
<frame name--"Display" src="about:blank">
</frame>
<frame name="SendBuffer" src="about:blank">
</frame>
<frame name="ReceiveBuffer"src="http://www.server.com/GetUpdates.html">
</frame>
</frameset>
</html>
This page is a frameset document containing three frames, dividing the page into three rows. The first frame, the Display frame, is visible and is where an application will appear. This frame is initially blank. The second frame (SendBuffer) is hidden and is used to send user input to the web server. The third frame (ReceiveBuffer), is hidden and is used to receive screen updates. The technique of hidden frames is well known in the art and need not be described in further detail.
Since the ReceiveBuffer has a source URL the browser automatically requests the web page, http://www.server.com/GetUpdates.html, from the web server. The browser will load this web page into the ReceiveBuffer frame, but since the frame is hidden the web page will not be visible to the user.
Again, the web server delegates the request to the server process. The server process begins to return the GetUpdates.html web page to the browser, but does not finish the page. Initially all that is returned is the start of a generic HTML document:
<html>
<head>
<title>Update Stream</title>
</head>
<body>
Note this HTML page is not complete. It's missing </body> and </html> tags.
The web browser receives the start of the GetUpdates.html page and keeps the connection to the web server open, waiting to receive the rest of the page. At some time later the application updates the host screen and sends an update message to the server process.
For example, the host screen simply says "Hi Kevin, what's your order for today?"
The server process receives the host screen update and encodes it into the ongoing GetUpdate.html page response:
<script language--"JavaScript">
process("Hi Kevin, what's your order for today");
</script>
Note the GetUpdate.html page is still not complete. The web browser is still loading the GetUpdate.html page, and receives the above HTML fragment. The script code is executed "on the fly", and the process function is called.
In an actual application the process function can vary. It can be whatever makes sense for the application, the web browser, and the particular scripting language.
For example for Internet Explorer we could use:
top.Display.document.body.innertext = "Hi Kevin, what's your order for today";
which would update the Display frame with the specified text.
Repeat steps from the updating of the host screen with information to the presentation of the information on a user's screen as necessary in order to stream updates into the web page.
Therefore, it can be seen that RPC allows a web server to push arbitrary script code to a web browser, in real time, for a wide variety of applications.
Although the invention has been described with reference to certain specific embodiments, various modifications thereof will be apparent to those skilled in the art without departing from the spirit and scope of the invention as outlined in the claims appended hereto.
Claims (2)
PROPERTY OR PRIVILEGE IS CLAIMED ARE DEFINED AS FOLLOWS:
1. A method for providing realtime updates in a web browser comprising the steps of:
(a) running a frame enabled web browser on a client computer;
(b) establishing an HTTP based connection between said web browser and a server;
and (c) providing at said server a process for multiplexing on said HTTP
connection data to be displayed on said browser.
(a) running a frame enabled web browser on a client computer;
(b) establishing an HTTP based connection between said web browser and a server;
and (c) providing at said server a process for multiplexing on said HTTP
connection data to be displayed on said browser.
2. A method for updating a client browser from a server, said method comprising the steps of:
(a) establishing an HTTP based connection between said web-browser and server computer; and (b) keeping said HTTP connection open after an HTML page has been fetched, while fresh data is pushed to said client.
(a) establishing an HTTP based connection between said web-browser and server computer; and (b) keeping said HTTP connection open after an HTML page has been fetched, while fresh data is pushed to said client.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CA002400808A CA2400808A1 (en) | 2000-02-23 | 2001-02-23 | A system and method for providing real-time information to a web browser |
Applications Claiming Priority (4)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CA2,299,150 | 2000-02-23 | ||
CA002299150A CA2299150A1 (en) | 2000-02-23 | 2000-02-23 | A system and method for providing real-time information to a web browser |
CA002400808A CA2400808A1 (en) | 2000-02-23 | 2001-02-23 | A system and method for providing real-time information to a web browser |
PCT/CA2001/000219 WO2001063466A2 (en) | 2000-02-23 | 2001-02-23 | A system and method for providing real-time information to a web browser |
Publications (1)
Publication Number | Publication Date |
---|---|
CA2400808A1 true CA2400808A1 (en) | 2001-08-30 |
Family
ID=25681558
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CA002400808A Abandoned CA2400808A1 (en) | 2000-02-23 | 2001-02-23 | A system and method for providing real-time information to a web browser |
Country Status (1)
Country | Link |
---|---|
CA (1) | CA2400808A1 (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP2337331A3 (en) * | 2008-09-30 | 2011-09-07 | Brother Kogyo Kabushiki Kaisha | Printer having web server function |
-
2001
- 2001-02-23 CA CA002400808A patent/CA2400808A1/en not_active Abandoned
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP2337331A3 (en) * | 2008-09-30 | 2011-09-07 | Brother Kogyo Kabushiki Kaisha | Printer having web server function |
US8836972B2 (en) | 2008-09-30 | 2014-09-16 | Brother Kogyo Kabushiki Kaisha | Printer having web server function |
US9049316B2 (en) | 2008-09-30 | 2015-06-02 | Brother Kogyo Kabushiki Kaisha | Printer having web server function |
US9131082B2 (en) | 2008-09-30 | 2015-09-08 | Brother Kogyo Kabushiki Kaisha | Printer having web server function |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US20030093585A1 (en) | System and method for providing real-time information to a web browser | |
US5764916A (en) | Method and apparatus for real time communication over a computer network | |
CA2353359C (en) | A system and method for abbreviating information sent to a viewing device | |
US5778372A (en) | Remote retrieval and display management of electronic document with incorporated images | |
EP1109371B1 (en) | System and method for dynamically limiting information sent to a handheld device | |
US6795848B1 (en) | System and method of reading ahead of objects for delivery to an HTTP proxy server | |
US6029245A (en) | Dynamic assignment of security parameters to web pages | |
US6941562B2 (en) | Method of <script> based remote JavaScript function call of web page | |
US5961586A (en) | System and method for remotely executing an interpretive language application | |
US6912573B2 (en) | Method for acquiring content information, and software product, collaboration system and collaboration server for acquiring content information | |
US6701374B2 (en) | Method and apparatus for dynamic proxy insertion in network traffic flow | |
US6256669B1 (en) | Method and apparatus for bandwidth characterization and reporting in web browsers | |
US6862625B1 (en) | Method and apparatus for real time network communication | |
KR20000005694A (en) | Method and apparatus for transparently accessing multiple data stream types from an HTML browser | |
US20040168122A1 (en) | System, method and computer readable medium for transferring and rendering a web page | |
US6748448B1 (en) | High performance internet storage access scheme | |
IL156525A (en) | Method and system of fulfilling request for information from a network client | |
EP0981884B1 (en) | System and method for managing the connection between a server and a client node | |
US8201238B1 (en) | Remote directory browsing through a secure gateway of a virtual private network | |
US6854006B1 (en) | System and method for merging web based on-demand SNA application selection and TN3270 client launching | |
CA2400808A1 (en) | A system and method for providing real-time information to a web browser | |
EP0998097A2 (en) | Computer implemented method and apparatus for providing a logical point of access to one or more files | |
CA2563488C (en) | A system and method for abbreviating information sent to a viewing device | |
AU726335B2 (en) | System and method for transmitting data from a server application to more than one client node | |
CA2474220C (en) | Apparatus and method for dynamically limiting information sent to a viewing device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
FZDE | Discontinued | ||
FZDE | Discontinued |
Effective date: 20060223 |