Search Images Maps Play YouTube News Gmail Drive More »
Sign in
Screen reader users: click this link for accessible mode. Accessible mode has the same essential features but works better with your reader.

Patents

  1. Advanced Patent Search
Publication numberUS20020013804 A1
Publication typeApplication
Application numberUS 09/164,244
Publication dateJan 31, 2002
Filing dateSep 30, 1998
Priority dateSep 30, 1998
Also published asCA2346028A1, CA2346028C, EP1133735A1, EP1133735A4, US6377973, US6944644, US20020069246, WO2000019328A1
Publication number09164244, 164244, US 2002/0013804 A1, US 2002/013804 A1, US 20020013804 A1, US 20020013804A1, US 2002013804 A1, US 2002013804A1, US-A1-20020013804, US-A1-2002013804, US2002/0013804A1, US2002/013804A1, US20020013804 A1, US20020013804A1, US2002013804 A1, US2002013804A1
InventorsCarl A. Gideon
Original AssigneeCarl A. Gideon
Export CitationBiBTeX, EndNote, RefMan
External Links: USPTO, USPTO Assignment, Espacenet
Event management in a system with application and graphical user interface processing adapted to display predefined graphical elements resides separately on server and client machine
US 20020013804 A1
Abstract
A network-based system is provided in which application logic and business rules reside on a server to which a user attaches from a client machine. The system includes a view manager residing on the client machine for generating a graphical user interface (GUI) environment for the user. An application engine resides on the server for controlling the view manager. Events in an event queue at the client machine are parsed to determine which events require application processing. Events requiring application processing are sent to the server and other events are left in the event queue. The system also maintains stack synchronization between the client machine and the server.
Images(4)
Previous page
Next page
Claims(4)
Having thus described my invention, what I claim as new and desire to secure by Letters Patent is set forth in the following claims:
1. In an application environment wherein application logic and business rules reside on a server to which a user attaches from a client machine, an improvement comprising:
a view manager residing on the client machine for generating a graphical user interface (GUI) environment for the user;
an application engine residing on the server for controlling the view manager;
means for parsing events in an event queue at the client machine to determine which events require application processing; and
means for sending events requiring application processing to the server and leaving other events in the event queue.
2. The improvement of claim 1 further comprising means for maintaining stack synchronization between the client machine and the server.
3. A method of processing events in an application environment in which application logic and business rules reside on a server to which a user attaches from a client machine, the client machine including a view manager for generating a graphical user interface (GUI) environment for the user, the server including an application engine for controlling the view manager, the method comprising:
parsing events in an event queue at the client machine to determine which events require application processing; and
sending events requiring application processing to the server and leaving other events in the event queue.
4. The method of claim 3 further comprising maintaining stack synchronization between the client machine and the server.
Description
BACKGROUND OF THE INVENTION

[0001] 1. Technical Field

[0002] The present invention relates generally to client-server processing and, more particularly, to an application environment wherein application logic and business rules reside on a server to which users attach from client machines that have independent graphical user interface (GUI) processing.

[0003] 2. Description of the Related Art

[0004] The computer industry has changed dramatically over the past few years and that, coupled with the explosive growth of the Internet, has changed the way people interact with and access information. The growth of the Graphical User Interface (GUI) and the World Wide Web, the graphical side of the Internet, has changed users' expectations of how they interact with information.

[0005] These changes present new challenges in data processing. While data processing has traditionally been performed internally, e.g., within a company site, the new global information access infrastructure allows remote data processing.

[0006] Current remote control systems that can be adapted for remote data processing such as PCAnywhere or Citrix Servers have two significant drawbacks. First, their system overhead requirements keep them from being scaled to a large number of users. Second, keyboard interaction takes place essentially on a character by character basis. In tests of remote control systems, and character based systems such as Unix telnet, the character by character method was found unacceptable over the Internet for sustained usage of the program. With delay times typically of ¼ to ½ of a second, and sometimes more, it becomes very difficult for data entry personnel to develop any rhythm that allows for high speed entry. Using ActiveX controls and other methods based on standard Remote Procedure Call (RPC) implementations requires too much bandwidth to perform acceptably over limited speed connections such as a 28.8 kbps connection. Moreover, additional installation is needed on the client side. Web browser based implementations do not have interactive field by field validation, lookups, or help needed for large scale applications. In addition, they do not allow multiple overlapping windows.

[0007] Some operating systems (such as the Windows operating system) use an event queue to process and sequence events (such as key strokes, mouse clicks, etc.). Generally, events such as key strokes are simply delivered to the window that is currently active. This, however, becomes somewhat complicated if a key stroke is able to activate another window. As fast users often type ahead, there is no assurance that key strokes will be sent to the intended window.

BRIEF SUMMARY OF THE INVENTION

[0008] A primary object of the present invention is to provide a network-based system that allows for high speed data entry at a remote client.

[0009] A further object of the invention is to provide a network-based system for remote data processing in which substantially all application logic and business rules reside on a common server, and GUI processing is performed separately at a client machine.

[0010] A further object of the invention is to provide a network-based system providing a sophisticated user interface at a client machine controlled by a server using a low bandwidth connection (such as a 28.8 kbps modem connection) and minimal client resources.

[0011] Another object of the invention is to provide a network-based system for remote data processing that is scaleable to a large number, e.g., hundreds, of concurrent users.

[0012] These and other objectives are accomplished by a network-based system in which application logic and business rules reside on a server to which a user attaches from a client machine. The system includes a view manager residing on the client machine for generating a graphical user interface (GUI) environment for the user. An application engine resides on the server for controlling the view manager. Events in an event queue at the client machine are parsed to determine which events require application processing. Events requiring application processing are sent to the server and other events are left in the event queue. The system also maintains stack synchronization between the client machine and the server.

[0013] The inventive system allows remote high speed data entry while maintaining keystroke synchronization. The system is scaleable to a large number, e.g., hundreds, of concurrent users. It provides a sophisticated user interface at the client machine controlled by the server using a low bandwidth connection (such as a 28.8 kbps modem connection) and minimal client resources.

[0014] The foregoing has outlined some of the more pertinent objects and features of the present invention. These objects should be construed to be merely illustrative of some of the more prominent features and applications of the invention. Many other beneficial results can be attained by applying the disclosed invention in a different manner or modifying the invention as will be described. Accordingly, other objects and a fuller understanding of the invention may be had by referring to the following Detailed Description of the Preferred Embodiment.

BRIEF DESCRIPTION OF THE DRAWINGS

[0015] For a more complete understanding of the present invention and the advantages thereof, reference should be made to the following Detailed Description taken in connection with the accompanying drawings in which:

[0016]FIG. 1 shows an illustrative network environment in which the inventive system is implemented;

[0017]FIG. 2 is a simplified block diagram of the system;

[0018]FIG. 3 is a block diagram illustrating idealized keystroke processing;

[0019]FIG. 4 is a block diagram illustrating the effects of network delay in keystroke processing; and

[0020]FIG. 5 is a flow chart illustrating the event loop system in accordance with the present invention.

DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENT

[0021] A representative client-server network environment in which the present invention can be implemented is illustrated in FIG. 1. A client machine 10 is connected to an application server platform 12 via network 14. The network 14 can be the Internet, an Intranet or other network connection. It preferably comprises the Internet's World Wide Web, making information accessible remotely using view manager software. Application server platform 12 is one of a plurality of servers that are accessible by the clients, one of which is illustrated by the machine 10.

[0022] The client machine 10 includes a processor 11, an operating system 13, a graphical user interface 15, and a View Manager 16.

[0023] A representative application server platform 12 comprises a processor 18 such as, e.g., an IBM RISC System/6000 computer (a reduced instruction set or so-called RISC-based workstation) running an Operating System 20 such as, e.g., the Windows NT Operating System. The platform 12 also includes an application server program 22. The platform 12 also preferably includes a graphical user interface (GUI) 24 for management and administration. In addition, the application server 22 includes an Application Programming Interface (API) 23 that provides extensions enabling application developers to extend and/or customize the core functionality.

[0024] A representative client is a personal computer (PC) workstation that is x86-, PowerPC®- or RISC-based, that includes an operating system such as Microsoft Windows 3.1 and Windows 95 (or higher), and that includes the View Manager 16.

[0025] Briefly, in accordance with the invention, substantially all application logic and business rules reside on the common Windows NT server 12. The client 10 preferably comprises a so-called thin client (with minimal client resources) having full Graphical User Interface (GUI) functionality, but containing substantially no application level intelligence. The thin client 10 is capable of performing well using a 28.8 modem connection through the Internet. The inventive system is scaleable to large numbers, e.g., hundreds of concurrent users.

[0026] In the inventive system, the normal Windows components are separated into two distinct objects: the data model (which contains substantially all of the information about an object such as color, size, font, position, etc.) and the View Manager (which uses information from the data model to construct an actual GUI element). The data model resides on the server, and the View Manager resides on the client machine. The system includes a message passing architecture that allows the data model and the View Manager to communicate with each other. The View Manager uses information from the data model (obtained from a message) to construct a GUI element, and then sends messages to the data model if the user changes any of the view characteristics. These messages can be sent locally or over any TCP/IP connection.

[0027]FIG. 2 is a simplified block diagram illustrating system components in greater detail. The underlying architecture is based on an n-tier paradigm using a message passing IPC (InterProcess Communications) protocol. Each tier in the system is composed of one or more processes referred to as Managers. On the client side, the View Manager 16 is responsible for rendering graphical elements, interfacing with the user, and forwarding events to the server 12. On the server side, the Forms Manager 32 (using the data model) provides the control structures that manage the View Manager objects, respond to events, and interface with the application layer to provide program flow control. While the Forms Manager 32 controls the GUI elements on the View Manager 16, it preferably has no actual GUI elements itself.

[0028] At its lowest level, the system is composed of three basic components: a remote object client 10, a remote object server 12, and a dispatcher 14. The objects communicate with each other by sending messages. A message is a packet of bytes passed from one object to another. There is no predefined structure to a message except that defined by the sending and receiving objects. The dispatcher preferably uses a simple message passing structure based on the Winsock/Berkeley sockets TCP/IP interface to communicate between objects. Parameters are placed directly into a message buffer. The message is sent via the dispatcher to the remote system using standard TCP/IP socket calls. It is then passed to the target object. The arguments are removed from the message and the appropriate code is called to perform the function. A flag indicates if a response is required to the message. Not only does this approach simplify the steps needed to build the application, but it gives us complete control over the underlying communications parameters and requires no specialized software to be installed on the client or the server.

[0029] The client and server components at this lowest level are responsible for routing a message received from the dispatcher to the appropriate object. The View Manager 16 implements only the client component preferably using Windows Asynchronous Sockets to allow it to run in the Windows 3.1 and Windows 95 environments. The server software implements both the server and the client components in a multi-threaded environment preferably using a standard Berkeley sockets style interface. By implementing both server and client components, the server process can function as both a server for the View Manager 16, and as a client to other processes. This provides the foundation for the n-tier architecture.

[0030] The Forms Management layer allows GUI elements to be created and controlled by the server 12 on a remote client 10. Using the messaging system to create and manage remote objects, the server can control sophisticated user interfaces using a low bandwidth connection and minimal client resources.

[0031] Layered on top of the Forms Manager 32 is a Database Manager 34 designed to provide relational database access to information, and Application Specific Code 36 that provides the business rules and program control logic. Both of these layers execute in the multi-threaded server process and have full access to the communications layer. This provides the core functionality of the system. The View Manager 16 is a relatively small, simple Windows application that requires virtually no specialized client software aside from a standard TCP/IP interface. The server components provide all application control logic and business rules. Together they form a very powerful framework to provide sophisticated GUI applications that can run over low bandwidth communication links.

[0032] Thus, the View Manager 30, which resides on the client workstation 10, provides a full GUI environment and communicates with the Forms Manager 32 through a message architecture. It is responsible for all user input processing and output rendering. As will be described in greater detail below, through the use of intelligent event masks, only those events that require application processing are ever sent back to the server. This puts all of the user interface workload at its most appropriate location, the user's machine. It allows the server components to process data in a bulk transaction oriented fashion rather than a highly interactive event driven method.

[0033] As previously discussed, the Windows operating system uses an event queue to process and sequence events (such as key strokes, mouse clicks, etc.). Usually events, such as key strokes are delivered to a window currently in focus. However, the process becomes somewhat complicated if a key stroke causes another window to become active. As fast users often type ahead, it is critical that the proper key strokes get sent to the intended window.

[0034]FIG. 3 shows idealized keystroke processing. For example, if a user is positioned on a menu bar and presses an ‘A’, a new record is added. Also, the menu bar is disabled, and the first edit control becomes active. If the user types ‘AJohn’ rapidly, the ‘A’ disables the menu and activates the edit control. However, it is important that the ‘J’ not be removed from the event queue until the edit control has focus. If it were removed between the time the menu was disabled and the edit control was activated, it would be lost since it would be sent to the now disabled menu bar.

[0035] As shown in FIG. 4, keystrokes can become lost as a result of network delay. When the user (positioned on a menu bar) types ‘AJohn’ rapidly, the ‘A’ is sent to the active menu bar. There is however network delay before the server processes the event and disables the menu command. Because of the delay, the ‘J’ keystroke is sent to the still active menu bar. There is also a delay before the ‘J’ stroke is processed by the server. By the time the ‘J’ stroke is processed, the menu bar has been disabled (by the ‘A’ keystroke), and the ‘J’ keystroke is therefore ignored.

[0036] After the server disables the menu bar, it activates the edit control command. By this time, the ‘o’ keystroke is processed and is placed first in edit control instead of ‘J’ as intended.

[0037] To avoid this problem, an inventive event loop system is provided as shown in FIG. 5. In brief, the event loop scans the Windows event queue and only removes messages that are allowed based on an event mask. The event loop also responds to special synchronization messages to recursively call and exit the event loop to maintain stack synchronization between the View Manager and server.

[0038] At Step 50 the system looks for a message on the event queue A determination is made at Step 52 whether the event is an allowed event. If not, then at Step 54 the system determines whether there are any more events. If there are more events, the process returns to Step 50.

[0039] If at Step 52 it is found that the event is an allowed event, then at Step 56 a determination is made whether it should be processed locally. If so, a message is dispatched at Step 58 and the process moves to Step 54. If the event is not to be processed locally, it is sent to the server at Step 60, and the process moves to Step 54.

[0040] If at Step 54, a determination is made that there are no more events, then the system waits at Step 62 for user generated events or server generated events. Thereafter at Step 64, a determination is made whether an exit synchronization message has been received. If so, the process exits the event loop at 66. If not, then at Step 68, a determination is made whether the message is a layer synchronization message from the server. If so, the process recursively calls the event loop at Step 70. If not, the process returns to Step 50.

[0041] The inventive system allows remote high speed data entry while maintaining keystroke synchronization. The system is scaleable to a large number, e.g., hundreds, of concurrent users. It provides a sophisticated user interface at the client machine controlled by the server using a low bandwidth connection (such as a 28.8 kbps modem connection) and minimal client resources.

Classifications
U.S. Classification709/201, 709/203
International ClassificationH04L29/08, H04L29/06, G06F9/46, G06F9/44
Cooperative ClassificationH04L67/40, G06F9/4445, G06F9/542
European ClassificationG06F9/44W1, G06F9/54B, H04L29/06L
Legal Events
DateCodeEventDescription
Jun 10, 2014FPExpired due to failure to pay maintenance fee
Effective date: 20140423
Apr 23, 2014LAPSLapse for failure to pay maintenance fees
Nov 29, 2013REMIMaintenance fee reminder mailed
Sep 23, 2009FPAYFee payment
Year of fee payment: 8
Oct 24, 2005FPAYFee payment
Year of fee payment: 4
Sep 27, 2004ASAssignment
Owner name: EMRYS TECHNOLOGIES, LTD., TEXAS
Free format text: CHANGE OF NAME;ASSIGNOR:EMRYS PARTNERS, LTD.;REEL/FRAME:015177/0435
Effective date: 20011011
Owner name: EMRYS TECHNOLOGIES, LTD. 100 NORTH CENTRAL EXPRESS
Free format text: CHANGE OF NAME;ASSIGNOR:EMRYS PARTNERS, LTD. /AR;REEL/FRAME:015177/0435
Jul 9, 1999ASAssignment
Owner name: EMRYS PARTNERS, LTD., TEXAS
Free format text: ASSIGNMENT OF ASSIGNORS INTEREST;ASSIGNOR:EMRYS SOLUTIONS, INC.;REEL/FRAME:010083/0407
Effective date: 19990519
Dec 1, 1998ASAssignment
Owner name: EMRYS SOLUTIONS, INC., TEXAS
Free format text: ASSIGNMENT OF ASSIGNORS INTEREST;ASSIGNOR:GIDEON, CARL A.;REEL/FRAME:009657/0839
Effective date: 19981125