WO1991009365A2 - Computer-assisted software engineering for cooperative processing - Google Patents

Computer-assisted software engineering for cooperative processing Download PDF

Info

Publication number
WO1991009365A2
WO1991009365A2 PCT/US1990/007490 US9007490W WO9109365A2 WO 1991009365 A2 WO1991009365 A2 WO 1991009365A2 US 9007490 W US9007490 W US 9007490W WO 9109365 A2 WO9109365 A2 WO 9109365A2
Authority
WO
WIPO (PCT)
Prior art keywords
window
data
application
user
computer
Prior art date
Application number
PCT/US1990/007490
Other languages
French (fr)
Other versions
WO1991009365A3 (en
Inventor
Steven G. Steinberg
Elizabeth A. Zucker
Yannis S. Arvanitis
Anil R. Bakshi
Matthew W. Olenich
Thomas G. Werner
Carl G. Longnecker, Jr.
Bart Schutte
William D. Reynolds
Original Assignee
Andersen Consulting
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Andersen Consulting filed Critical Andersen Consulting
Publication of WO1991009365A2 publication Critical patent/WO1991009365A2/en
Publication of WO1991009365A3 publication Critical patent/WO1991009365A3/en

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/20Software design
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y10TECHNICAL SUBJECTS COVERED BY FORMER USPC
    • Y10STECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y10S715/00Data processing: presentation processing of document, operator interface processing, and screen saver display processing
    • Y10S715/961Operator interface with visual structure or function dictated by intended use
    • Y10S715/964CAD or CAM, e.g. interactive design tools

Definitions

  • This invention relates generally to computer- assisted software engineering (CASE) systems.
  • CASE computer- assisted software engineering
  • This invention is directed to a CASE system for developing applications for execution in cooperative processing environments.
  • the FOUNDATION® CASE sys em ⁇ g corri p r j_ sec i 0 f three major modules: the METHOD/1® software system, the DESIGN/l® software system, and the INSTALL/1 software system.
  • the METHOD/1 software system optimizes systems development through an automated methodology and project management system.
  • METHOD/l helps a systems user prepare a management plan or blueprint of future activities that can be modified as priorities change.
  • the systems designer can plan, schedule and scope projects accurately prior to moving to the design phase.
  • the DESIGN/l software system automates systems design task techniques to facilitate improved productivity and enhance design quality.
  • the DESIGN/l software system includes systems for data and process modeling, functional decomposition and prototyping.
  • the DESIGN/l software system automates and integrates these techniques through the use of a plurality of software tools, including word processing, modeling, screen and report designing, data design and prototyping tools. These tools are integrated through a shared repository, thus providing the ability to share design specifications among designers. Further information on the DESIGN/l software system can be found in the Andersen Consulting brochure entitled FOUNDATION - DESIGN/l®, General Description, Version 4.1, 1988, which brochure is hereby incorporated by reference.
  • the INSTALL/l software system provides a set of software facilities that allows software designers to create and support application systems.
  • Prior art INSTALL/1 software systems were mainframe-based and designed especially for DB2 development environments .
  • the INSTALL/1 software system addresses all areas of application generation, including screen and conversation design, code generation, test data management, production systems report, database administration and technical support.
  • the INSTALL/1® software system uses the repository built by the DESIGN/l software system, thus providing a centralized location for all design specifications.
  • the INSTALL/l software system simplifies coding by generating all of the programming required for basic application components. Automated code generation improves programmer productivity and helps ensure standardized software. Further information on the INSTALL/l software system can be found in the Andersen Consulting brochure entitled FOUNDATION ® -INSTALL/l ® , General Description, Version 1.2, 1989, which brochure is hereby incorporated by reference.
  • the present invention comprises a computer- assisted software engineering (CASE) system for facilitating the design, implementation, and execution of applications in cooperative processing environments.
  • Design tools are provided for creating, storing, retrieving, and editing system specifications in a repository.
  • Construction tools are provided for generating applications from the systems specification created by the design tools.
  • a run-time execution architecture is provided for executing the applications on a plurality of computer hardware platforms.
  • the run ⁇ time execution architecture is comprised of pre ⁇ programmed presentation services for managing the user- interface functions for the application, pre-programmed distribution services for routing and transferring messages, and user-programmed application services for implementing user-defined functions.
  • Figure 2 illustrates a run-time execution architecture for executing applications on a plurality of computer hardware platforms
  • Figure 3 illustrates a preferred relationship of the different parts of the run-time execution architecture and the tools used to develop application components that use these different parts;
  • Figure 4 describe.: a preferred logical relationship of the presentation services to an operating system and a client application;
  • Figure 5 illustrates a preferred use of a memory model in the Window Editing Services;
  • Figure 6 is a simple example of a window in the preferred embodiment
  • Figure 7 is an example of a simple listbox window in the preferred embodiment
  • FIGS 8A and 8B describe the data structures used by the preferred presentation services
  • Figure 9 is a block diagram describing the preferred structure of the window instance structure
  • Figures 10A, 10B, and IOC are block diagrams describing the preferred structure of the WES control table
  • Figure 11 is a block diagram describing the preferred structure of the command table
  • Figure 12 is a block diagram describing the preferred structure of the widget dispatch table
  • Figure 13 is a block diagram describing the preferred structure of the window dispatch table
  • Figure 14 is a block diagram describing the preferred structure of the window definition table
  • Figure 15 is a block diagram describing the preferred structure of the message header
  • Figures 16A and 16B illustrate a preferred relationship between the design tools, the repository, the construction tools, and the user application
  • Figure 17 is a block diagram describing the preferred structure of the window definition
  • Figure 18 is a block diagram describing the preferred structure of the window-menu relationship
  • Figure 19 is a block diagram describing the preferred structure of the window-widget relationship
  • Figure 20 is a block diagram describing the preferred structure of the window-widget-callback relationship
  • Figure 21 is a block diagram describing the preferred structure of the window-callback relationship
  • Figure 22 is a block diagram describing the preferred structure of the listbox definition
  • Figure 23 is a block diagram describing the preferred structure of the listbox-element relationship
  • Figure 24 is a block diagram describing the preferred structure of the push button definition
  • Figure 25 is a block diagram describing the preferred structure of the menu definition
  • Figure 26 is a block diagram describing the preferred structure of the icon definition;
  • Figures 27, 28, and 29 show the preferred structure of the generated code shells;
  • Figure 30 describes a preferred embodiment of a Shared Data Manager which provides facilities for applications to access a common pool of information and register interest in the pool's objects;
  • Figure 31 describes a preferred embodiment of a codes table which is used by applications to reference commonly used data and provide validation therefor.
  • the preferred embodiment of the present invention described herein is a computer-assisted software engineering system that facilitates the design, implementation, and execution of cooperative processing applications.
  • the preferred embodiment provides design tools for creating, storing, retrieving, and editing system specifications in an electronic data format.
  • the preferred embodiment also provides construction tools for taking the systems specification created by the design tools and generating an application for execution by a run-time execution architecture.
  • the run-time execution architecture is an environment for executing applications on a plurality of computer hardware platforms.
  • the run-time execution architecture provides pre-programmed presentation services for interacting with the user and pre-programmed distribution services for routing and transferring messages among applications.
  • FIG. 1 illustrates one example of a cooperative processing environment, including workstations 102 for interacting with users, servers 104, and gateways 106.
  • the servers 104 and gateways 106 are typically connected to the workstations 102 via a local area network (LAN) 108.
  • the servers 104 manage a database 110 of information.
  • the gateways 106 provide for communication 116 between the workstations 102 and remote systems, for example, host computer 112.
  • the workstations 102 could be directly connected to the host computer 112.
  • the host computer 112 also manages a database 114 of information.
  • Those skilled in the art will readily recognize that any combination of workstations 102, servers 104, gateways 106, host computers 112, and communication links 116 could be substituted for the configuration shown.
  • the preferred embodiment includes a run-time execution architecture for executing applications on a plurality of computer hardware platforms.
  • Figure 2 describes the preferred components of the run-time execution architecture services for user applications.
  • the pre-programmed services of the run-time execution architecture insulate the user applications from the detailed implementation of the presentation services for managing the user interface and the distribution services for managing message traffic.
  • a client application 216 executing on a workstation 202 is typically comprised of pre-programmed presentation services 218, application functions 220, and pre-programmed distribution services 222. In the preferred embodiment, only the design of the user- interface and the application functions 220 are user- specified.
  • a server application 224 executing on the server 204 i ⁇ typically comprised of a pre-programmed server front-end 226, pre-programmed distribution services 228, application functions 230, and pre ⁇ programmed database access services 232.
  • application functions 230 pre ⁇ programmed database access services 232.
  • a server application 238 executing on the host computer 212 is typically comprised of a pre-programmed server front-end 240, pre-programmed distribution services 242, application functions 244, and pre- programmed database access services 246.
  • pre-programmed server front-end 240 pre-programmed distribution services 242, application functions 244, and pre- programmed database access services 246.
  • application functions 244 are user- 8 specified.
  • server applications 224 and 238 on the two platforms 204 and 212 are functionally similar. Those skilled in the art will recognize that similar embodiments can be provided on any platform.
  • a message manager 234 executing on the gateway 206 and a message manager 236 executing on the host computer 212 are preferably pre-programmed modules.
  • the message managers 234 and 236 automatically route and transfer messages from an application on a first platform, for example, client application 216, to an application on a second platform, for example, server application 238.
  • client application 216 an application on a first platform
  • server application 238 an application on a second platform
  • Figure 3 generally illustrates the preferred relationship of the different parts of the run-time execution architecture.
  • Windows and other display items are created by using a Window Painter/Generator 304 to define and generate the user interface.
  • the pre-programmed presentation services 302 are comprised typically of Window Editing Services 306 and Window Widgets 308 that manage the windows and display items.
  • the functions 310 are client-resident functions which are typically specified by the user with the Structure Chart Editor 312 and generated by the user with the Code Generator 314 of the DESIGN/l® software system.
  • the users can write their own code in a standard language such a ⁇ C, COBOL, etc., using standard programming tools 318, and embed this code in client applications.
  • the functions are comprised typically of process control and error handling routines 320.
  • the pre-programmed distribution services 322 are not changed by the user.
  • the user does specify the configuration of hardware and software in the cooperative processing environment.
  • the pre-programmed Message Manager 324 uses this information to determine how to route message traffic.
  • the functions 326 are server-resident functions which are typically specified by the user with the Structure Chart Editor 328 and Code Generator 330 of the DESIGN/l software system. In addition, the users can write their own code in a standard language such as C, COBOL, etc., using standard programming tools 334, and embed this code in the server applications.
  • the functions 326 are comprised typically of common business functions and error handling routines 336.
  • the pre-programmed database access services 338 manage databases created by users with a Data Modeler
  • the Data Modeler 340 defines and generates the database access services 338.
  • the users can write their own version of database access services 338 in a standard language such as C, COBOL, etc., using standard programming tools 334.
  • the user also has a repertoire of supporting tools including a Data Flow Diagrammer 344 from the DESIGN/l software system, document editors 346, compiler ⁇ 348, debuggers 350, copy member generators 354, etc.
  • the specifications and designs output from all the development tools are stored in a repository database 352.
  • Figure 4 describes the preferred relationship of the pre-programmed presentation services 402 to the operating system 404 and the client application 406.
  • the presentation services 402 are a pre-programmed collection of services designed to provide a user-interface layer for the run-time execution architecture. The purpose of this layer is to reduce the amount of effort the programmer must put into dealing with the user-interface 408 and allow the programmer to concentrate more on the functions being implemented.
  • Presentation services 402 support a form- filling style of user-interface 408, as well as interfaces 408 that make use of direct object manipulation, graphics, images, and sound.
  • the Window Editing Services (WES) of the presentation services 402 provide a common validation and formatting service so that applications 406 only have to deal with valid data (e.g., a number field is numeric, a date field is valid, etc. ) , and do not have to write routines to format and verify certain types of data.
  • WES can transfer control to application functions in response to widget and window events 414, for example, such as the user entering a field. These events are defined by the user. Services to enable and disable end-user commands, to reflect the state of data entry or the application 406, are also provided since these are common user-interface features found in applications 406.
  • WES also provides a link to an on-line help manager and provides standard mouse, arrow, and cursor reporting services.
  • a dialogue box is a type of window used primarily for presenting or gathering information in a form-filling style.
  • Widget ⁇ are objects used by dialogue boxes to interact with a user, for example, entry fields, push buttons, check boxes, etc.
  • Widgets are self-contained objects which interact with the user in a predetermined manner and interact with their "owner window," usually the dialogue box, in a predetermined manner, for example, notifying the owner window of changes to the contents of a window, notifying the owner window of field exits, etc.
  • widgets and dialogue boxes are the primary interaction mechanisms in the presentation services 402.
  • a callback function 420 is invoked at the widget level.
  • a different callback function 420 is invoked at the window level, for example, when all required fields are entered, and all widget contents are valid.
  • widget and window level events 414 there are two types of events that invoke callback functions 420 in applications 406: widget and window level events 414.
  • Widget level events include field entry and exit, depressing or clicking of buttons, the selection of an item in a list box, the alteration of the contents of an entry field, the change in a field's status from valid to invalid, etc.
  • Window level events include interfield validation requests wherein all widgets are invalid when a "major state" change has occurred, for example, a 5 field exit with new data. Window level events can also occur when the window enters an invalid state, when a window is initialized, when a window is closed, or when the user requests a command. Window level events also occur when the application registers 418 an interest in
  • the presentation services of the preferred embodiment provide the application with a memory model that represents the contents of the screen.
  • Figure 5 illustrates a preferred use of this memory model. For each window 502 and 504 on the screen, WES provides a
  • WESMaps 25 portion of memory 506 and 508, called WESMaps.
  • WES fills the WESMap with the current data values, attributes, etc. , for the widgets before calling an application callback function.
  • the application can change values, attribute ⁇ , etc. , directly in the WESMap
  • the preferred structure of the WESMap comprises a window header, a group status, data values, and field control areas.
  • the window header contains window-level information that an application may manipulate, for example, the title of the window, the window size, etc.
  • the group status is an area intended as a statu ⁇ field for field groups defined within the window. This allows user commands to be tied dependently to a field group status so that when the field group is valid the command is enabled.
  • Field values are the data items on the screen.
  • the field control area is a control structure for each field in the window. This structure allows user applications to control the field display attributes, status, access rights, message id, field cursor, and other attributes which may be unique to a particular widget type.
  • the display attributes are concerned with visual attributes.
  • a value of - 1 in this field indicates that the application is dealing directly with the widget and that WES should not do anything with it.
  • the field status is set every time the field data changes, and thus can be used as a change indicator. It also ensures that valid data is entered into the field.
  • the field access rights determine whether a field is enabled, disabled, hidden, etc.
  • the field message id is the identifier of the message displayed in the message area when the user is in this field, for example, a brief explanation of the field, a warning message, etc.
  • the field cursor is used by WES to indicate which field the cursor was in when the callback function was invoked, even though the field id is also pa ⁇ sed as a parameter to the callback function.
  • the application may use this structure to identify and set the current field. If more than one field has this structure set, then the first one is made the current field. Since the WESMap represents a window, no application programmer interface (API) calls are required in the preferred embodiment to retrieve or set the contents of a window. A callback function simply sets the various fields in the WESMap to whatever values it needs and WES will handle the display events.
  • API application programmer interface
  • the WESMAP is represented by a copy member or include file, which those skilled in the art will recognize as a good technique for multiple functions or programs to use the same data structure.
  • the copy member generator tool of the DESIGN/l software system generates the WESMap for each window.
  • user commands are preferably not tied to a particular type of widget, for example, pu ⁇ h buttons, pull-down menus, etc.
  • the presentation services 402 allow an abstraction to be made so that the application 406 does not have to worry about the presentation format. Thus, the preferred embodiment provides for a ⁇ eparation of the presentation from the meaning of the command.
  • the application 406 need not know what type of widget it is working with, instead, an application 406 simply refers to a command for a window and the presentation services 402 take care of the details. If a command needs to move from a menu to a button or vice versa, the application 406 does not have to be modified; only a WES control table 412 and a resource file 410 need to be updated.
  • Hide is used if an application 406 does not want a user to know an option exists, for example, if the user security level is not appropriate.
  • the Show command is used where the command becor_.es available for ⁇ ome reason.
  • the Disable command continues to show the command on the screen but makes it unavailable for use. In most graphical user interfaces, this means that the push button or menu item corresponding to the command would be "greyed" to indicate that under the proper conditions, for example, all fields containing valid input, this command would be available.
  • the Enable function i ⁇ used to indicate to the user that the command is available.
  • the Attribute function is used for attribute ⁇ like active/inactive status, for example, when a check mark is used next to an active menu item.
  • FIG. 6 is a simple example of a window.
  • an application's view of thi ⁇ window i ⁇ a WESMap data area ⁇ tructured as follows: WESMAPHEADER Custlnfo; byte WindowGroupStatus; long Cu ⁇ tNumData; char CustNameData[33]; float CreditLimitData; byte FriendOfCEOData; short BillingPrefData; char ShippingPrefData[5];
  • the WESMAPHEADER structure contains the global fields WindowTitle, WindowSize, etc.
  • the WindowGroupStatus field is a status field for the window-level group.
  • the CustNumData field 602 assumes the data type for the field is a two word integer.
  • the CustNameData field 604 has 32 bytes for an alphanumeric character string, plu ⁇ an extra byte to null terminate the ⁇ tring (corresponding to the standard null terminated string in the C language; if generated in another language, for example COBOL, the null terminator would not be generated) .
  • the CreditLimitData field 606 as ⁇ ume ⁇ the data type for the field i ⁇ a floating point value.
  • the FriendOfCEOData checkbox 608 only need ⁇ a ⁇ ingle byte to represent checked/unchecked.
  • the BillingPrefData field 610 use ⁇ an integer to repre ⁇ ent the various values corresponding to the radio buttons.
  • the ShippingPrefData field 612 has 5 bytes for representing the length 4 character string ⁇ each radio button represents.
  • the WESFLDCTL structure contains control vectors for each field above.
  • the members of the standard WESFLDCTL structure are: "Attr” - logical field attribute; “Status” - field status; “Rights” - field rights; “Msg” - mes ⁇ age ID for thi ⁇ field; "Cursor” - cursor control.
  • Some examples of the values for the various field control vectors include:
  • Attr AT_N0RMAL (e.g., use default display attributes for the field), AT_SELECTED (e.g., highlighted) , AT_ATTENTION (e.g., red) , AT_NONDISPLAY (e.g., hide field contents).
  • STS_WESVALID e.g., valid WES data
  • STS_VALID e.g., valid data
  • STS_INCOMPLETE e.g., incomplete
  • STS_INDETERMINATE e.g., status indeterminate due to asynchronous validation
  • STS_INVALID e.g., field invalid
  • Rights - RGT_DISABLED e.g., field disabled
  • RGT_PROTECTED e.g. protected mode
  • RGT_STANDARD e.g. , standard modes
  • CUR_CURRENT e.g., current position
  • CUR_MAKECURRENT e.g., ⁇ et cursor position
  • BillingPrefData LT_BILLINGPREF_HOME
  • the complete field-control structure can be referenced (i.e., for passing to a function) by using the field name without any qualifier (i.e., data, attr).
  • qualifier i.e., data, attr.
  • An example of passing the customer number field to a validation routine is:
  • Example ListBox Window and WESMap Figure 7 is an example of a simple listbox window.
  • the window 702 has 5 rows visible at any one time.
  • An application may have, for example, 50 rows defined in its "master li ⁇ t.”
  • the Li ⁇ tbox name is "CustList" (which is used for field control declaration ⁇ ) .
  • the memory model WESMap would present to the application is: WESMAPHEADER CustList; byte CustListSelData[50]; int CustNumData[50]; char CustNameData[33] [50] ; WESFLDCTL CustListSelCtl[50] ; WESFLDCTL Cu ⁇ tNumCtl[50] ;
  • the Cu ⁇ tListData structure is a selection indicator comprising 50 occurrences of the CustListSelData field containing a ⁇ election indicator, the Cu ⁇ tNu Data field containing the cu ⁇ tomer number, and the Cu ⁇ tNameData field containing each row of a cu ⁇ tomer name, wherein each row compri ⁇ es 32 characters.
  • the Cu ⁇ tListCtl structure is the control vector for the complete listbox.
  • the CustListRowFldCtl structure is the control vector for the rows of the listbox.
  • CustListSelCtl field is the control vector for ⁇ election of a particular row.
  • the CustNumCtl field is the control vector for each entry in the "CustNum” column.
  • the Cu ⁇ tNameCtl structure is the control vector for each entry in the "CustName” column.
  • Figure ⁇ 8A and 8B de ⁇ cribe the data structures used by the presentation service ⁇ in the preferred embodiment.
  • a li ⁇ t of all defined window ⁇ available to the system is maintained in a Window Definition Table 818.
  • Each window 804 and 806 is identified on a screen 802 by a window handle, "927" and "1115" respectively.
  • a list of all active windows and an "instance" number as ⁇ ociated therewith i ⁇ maintained in an Active Instance Table 816.
  • a list of window handles and the associated pointers 810 and 814 to the specific "instance data" associated with a window is maintained in an Instance Table 812.
  • a data pointer 810 is shown, which pointer is associated with window 804 whose handle is "927".
  • the data pointer 810 points at the Window Instance Structure 808.
  • the Window Instance Structure 808 is the structure WES creates and associates with a window. This structure contains all the data required by WES for handling and dispatching events.
  • the Window Instance Structure 808 is comprised of pointers to an Application WESMap 826, a Master WESMap 824, a WES Control Table 820, a Command Table 822, a Widget Dispatch Table 832, a Window Dispatch Table 830, a Window Context Data area 828, a Busine ⁇ Function Context Data area 836, an Execution Architecture Info area 838, and an Error Handler Parameter Block 840.
  • a Window Instance Structure 808 is further described in Figure 9.
  • the Application WESMap 902 is a memory area passed to application program, and includes header information, widget data and widget control attributes.
  • the Master WESMap 904 is a second copy of WESMap used by WES to detect changes made by application.
  • the WES Control Table 906 is a list of widget, widget types and associated data.
  • the Command Table 908 is a list of user commands and associated data.
  • the Widget Dispatch Table 910 is a list of widgets, events and callback routines.
  • the Window Dispatch Table 912 is a list of windows and callback routines.
  • the Window Context Data 914 contains data unique to each instance of a window.
  • the String- Constant ⁇ Pointer 916 i ⁇ a pointer to ⁇ trings used for widget values.
  • the Busines ⁇ Function Context Data 918 contain ⁇ data ⁇ hared across all windows of the same Business function.
  • the Execution Architecture Information Area Pointer 920 is a pointer to Execution Architecture specific data.
  • the Error Handler Parameter Block Pointer 922 is a pointer to common error handler interface data.
  • a WES Control Table (WCT) 820 is described in Figures 10A, 10B, and IOC, and contains the following fields.
  • the Window ID 1002 identifies the class of the window.
  • the Instance ID 1004 is used to distinguish between multiple instances within a class of window.
  • the Number Of Widgets 1006 is the number of widget definitions a ⁇ sociated with the window.
  • the Number Of Fields 1008 i ⁇ the number of field ⁇ in WESMap.
  • the Size Of WESMap 1010 is the size of WESMap in bytes.
  • the Current Field 1012 identifies the field where the cursor is position.
  • the Mouse Pointer Cursor 1014 is the shape of pointer when it is positioned in this window.
  • the Modality 1016 is the modality of this window (i.e., application modal, sy ⁇ tem modal, or modele ⁇ ).
  • the Language Type 1018 identifie ⁇ the programming language used to write the application.
  • the Window Help Link 1020 identifies the window-level "help" text.
  • the Array Of Widget Definition Structures 1022 is described in Figure 10B and contains the following fields.
  • the Widget Type 1024 identifies a type of widget (e.g., text field, date field, radio button, etc.).
  • the Off ⁇ et Of Field Control Data In WESMap 1032 identifies the location of the field control structure.
  • the Help Link 1034 identifies the "help" text for the widget.
  • the structures used for the Widget Specific Information 1036 are described in Figure 10C and contain the following fields.
  • the Radio Button Structure Definition 1038 contains the following fields.
  • the Parent Radio Group Widget ID 1046 identifie ⁇ the group of which the button is a member.
  • the Radio Button Value Constant 1048 identifies the value of the radio button.
  • the Radio Group Structure Definition 1038 contains the following fields .
  • the Widget ID Of First Radio Button 1050 identifies the first radio button in the group.
  • the Widget ID Of Last Radio Button 1052 identifies the last radio button in the group.
  • the Listbox Structure Definition 1042 contains the following fields.
  • the Required Field Flag 1054 indicates that a selection must be made.
  • the Widget ID Of First Column 1056 identifies the widget for the first column in the listbox.
  • the Number of Rows In Master List Array 1058 is the predefined size of the memory allocated for the list.
  • the Number Of Columns In Li ⁇ tbox 1060 i ⁇ the predefined number of column ⁇ in the listbox displayed on the screen.
  • the Multiple Selection Flag 1062 indicates whether multiple rows can be selected.
  • the Listbox Column Definition 1044 contains the Parent ID 1064 which identifies the widget that owns the column of the listbox.
  • a Command Table 822 is described in Figure 11, and contains the following fields.
  • the Number of Commands 1002 identifie ⁇ the number of entrie ⁇ in the table.
  • the Array Of Command Definition ⁇ Structures 1004 contains the following fields.
  • the Command ID 1006 uniquely identifies the command.
  • the Widget ID 1008 identifies the widget associated with the command.
  • the Widget Type 1010 identifies the type of widget (e.g., push button, menu item, etc.).
  • the Preemptive Command Flag 1012 indicates whether the command i ⁇ alway ⁇ enabled or is dependent on the statu ⁇ of the window or group of field ⁇ .
  • the Command Right ⁇ 1014 are the current rights and availability of command (i.e., enabled, hidden, etc).
  • the Command Attribute 1016 identifies the current command attributes.
  • the Help- Link 1018 identifies the "help" text for the command.
  • a Widget Dispatch Table 832 is described in Figure 12, and contains the following fields.
  • the Number Of Entries 1202 gives the number of entries in the table.
  • the Widget Dispatch Structure Definition 1204 contains the following fields.
  • the Widget ID 1206 identifies the widget.
  • the Event ID 1208 identifies the event that occurs with the widget (i.e., field exit, field change, etc).
  • the Callback Function Pointer 1210 identifies the function that should be invoked when the event occurs for the widget.
  • a Window Dispatch Table 830 is described in Figure 13, and contains the following fields.
  • the Number Of Entries In Table 1302 is the number of entries in the dispatch table.
  • the Window Dispatch Structure Definition 1304 contains the following fields.
  • the Event ID 1306 identifies the event that occurs (i.e., pre-display, interfield validation, etc) .
  • the Callback Function Pointer 1308 identifies the function that should be invoked when the event occurs for the window.
  • a Window Definition Table 818 is described in
  • the Number Of Windows 1402 is the number of window types in the client application.
  • the Window Information Structure Definition 1404 contains the following fields.
  • the Version 1406 identifies the version of the data structure.
  • the Window ID 1408 is the Presentation Services window ID.
  • the Window Clas ⁇ Name 1410 i ⁇ the window class for non-WES windows.
  • the Window Type 1412 may be WES, native Pre ⁇ entation Manager, or some other type.
  • the Default Modality 1414 indicates whether the window is application modal, modeless or system modal.
  • the Create At Startup 1416 is a flag indicating a window should be created when the application fir ⁇ t ⁇ tarts.
  • the Create Options 1418 can create a window as an icon, hidden, maximized, etc.
  • the Dialogue Resource ID 1420 identifies the resource to be used to display the window.
  • the Menu ID 1422 is the menu identifier to u ⁇ e for the window.
  • the Icon ID 1424 de ⁇ cribe ⁇ the bit mapped icon graphic to u ⁇ e for the window when ⁇ hrunk to icon size.
  • the Widget Dispatch Table 1426 is a pointer to the Widget Dispatch Table (see Figure 12).
  • the Window Dispatch Table 1428 is a pointer to the Window Dispatch Table (see Figure 13).
  • the Class Style 1430 includes the Class Style registration options for native Presentation Manager windows.
  • the PM Create Options 1432 include the Default Frame creation options for native Presentation Manager windows.
  • the Distribution Services 322 are preferably pre-programmed modules and processes that provide for the automatic routing and transferring of messages based on the function or service being requested.
  • the Distribution Service ⁇ 322 provide for the automatic routing and tran ⁇ ferring of me ⁇ age ⁇ based on a direct address.
  • the Distribution Services 322 determine the location of the service, route the request to that location, handle exceptions (such as time-outs, routing errors, transmission errors, and other abnormal conditions), and return an optional reply from the service to the client-requester.
  • Distribution Services modules 222, 228, and 242, and Message Manager processes 234 and 236, reside on all supported hardware platforms 202, 204, 206 and 212. This means that the
  • Distribution Service ⁇ 322 in the preferred embodiment, re ⁇ ide on all hardware platforms running OS/2 and CICS.
  • the Distribution Services 322 are functionally divided into four (4) layer ⁇ : (1) Transmission Services (TS); (2) Message Services (MS); and (3) Guaranteed
  • GD Delivery Delivery
  • Figure 15 describes a Message Header 1500 that is used by the Distribution Services 322 when transferring message ⁇ .
  • the Message Header precedes 1500 all data transmitted between nodes.
  • the Message Header 1500 is preferably comprised 26 of the following fields.
  • the VERSION field 1502 indicates which version of the software generated the Message Header 1500, thereby permitting revision ⁇ a ⁇ required.
  • the SOURCE-ADDRESS field 1504 indicates the routing location of the sender of this message. Within the SOURCE-ADDRESS field 1504, the SOURCE-SERVICE-ID field 1506 indicates the service type of the sender, the SOURCE-NODE field 1514 indicates the node that the mes ⁇ age came from, and the SOURCE-PORT field 1524 indicate ⁇ the local source address of the mes ⁇ age (i.e., a queue, a unique process identifier, etc) .
  • the SOURCE-SERVICE-NAME field 1510 identifies the name of the sending service
  • the SOURCE-SERVICE-VER ⁇ ION field 1510 identifies the version of the service
  • the ⁇ OURCE-SERVICE-INSTANCE field 1512 identifies a particular instance of the service.
  • the SOURCE-NODE field 1514 the SOURCE- MAJOR-NODE-NAME field 1516 and the SOURCE-MINOR-NODE- NAME field 1522 identify the node where the service re ⁇ ide ⁇ .
  • the SOURCE-NODE-AREA field 1518 identifies the area where the node resides and the SOURCE-NODE-NUM field 1520 identifies the unique node number within the particular area.
  • the DEST-ADDRESS field 1526 indicates the routing location of the receiver of this message.
  • the DEST-SERVICE-ID field 1528 indicates the service type requested
  • the DEST-NODE field 1536 indicates the node that the message is destined for
  • the DEST-PORT field 1546 indicates the local destination address of the message (i.e., a queue, a unique process identifier, etc).
  • the DEST-SERVICE-NAME field 1530 identifies the name of the requested service
  • the DEST-SERVICE-VERSION field 1532 identifies the version of the service
  • the DEST-SERVICE-INSTANCE field 1534 identifie ⁇ a particular instance of the service.
  • the DEST-MAJOR-NODE-NAME field 1538 and the DEST-MINOR-NODE-NAME field 1544 identify the node where the service resides.
  • the DEST-NODE-AREA field 1540 identifies the area where the node resides and the DEST-NODE-NUM field 1542 identifies the unique node number within the particular area.
  • the MSG-IDENTIFIER field 1548 is a unique identifier for the message being sent, generated by the source-side mes ⁇ age services.
  • the ENVIRONMENT field 1550 indicates the operating environment of the message.
  • the DATA-LENGTH field 1552 indicates the length of the data area that follows the Message Header 1500.
  • the STATUS field 1554 is used between two platforms to indicate the internal return code from an operation.
  • the ROUTING-CONTROL field 1556 provides control over the sending and re-sending of mes ⁇ age ⁇ between node ⁇ .
  • the MSG-TYPE field 1558 indicate ⁇ whether this mes ⁇ age i ⁇ a request or a reply.
  • the PROCESSING-TYPE field 1560 indicates whether a reply is requested, no reply is requested, or guaranteed delivery is to be used.
  • the Transmission Services (TS) layer preferably uses vendor-provided communications access methods, ⁇ uch as LU 6.2 and the OS/2 LAN Manager, to provide network- wide connectivity.
  • the functionality provided by the TS layer preferably includes: o Insulating the Message Services layer from awareness of the underlying communications access method(s).
  • the Me ⁇ sage Services (MS) layer preferably works with the Transmission Services to implement the client/server model.
  • the functionality provided by the MS layer preferably includes: o Intranode vs . internode routing deci ⁇ ion ⁇
  • MS sends messages from a source node to the peer MS component residing within a destination node.
  • source and destination node ⁇ are adjacent and hence no intermediary MS nodes are involved.
  • intermediary MS components i.e., Message Managers residing on one or more intermediary node ⁇ .
  • MS Because of the intermediary routing function, for each message received MS compares the DEST-ADDRESS 1526 of the Message Header 1500 in Figure 15 with that of its own node, and if they match, places the message on the client or server application queue. Otherwise, MS routes the message to the destination MS.
  • Each workstation node obtains their addresses their respective MS Configuration Files.
  • Host node ⁇ obtain their addre ⁇ e ⁇ from their respective MS Configuration Files.
  • An alternative embodiment could use a gateway resident MS Address Server to dynamically assign an address to each workstation node during MS connection establishment.
  • MS will route replies to request mes ⁇ age ⁇ if so requested, but typically the application is not blocked while the reply is out ⁇ tanding. Matching of replie ⁇ to reque ⁇ ts allows MS to deliver a reply to the proper requestor and to filter out replies destined for application ⁇ that have already been released from their wait for the reply through the operation of a timeout.
  • Timeout intervals are assigned to each MS request message that expects a reply. If the timeout interval expires before a corre ⁇ ponding reply i ⁇ received, MS call ⁇ the error logging subsystem to log the error and builds a reply message containing a REQUEST-TIMEOUT code in a Status field of a Parameter Block which is returned to the requesting application. If the reply appears subsequent to these actions, an error will be logged and the reply will be discarded.
  • MS typically determines whether a given service request can be satisfied at the local node (i.e., a local server) or must be shipped to some remote node for servicing (i.e., a remote server).
  • Local server requests bypas ⁇ TS and are sent directly to the appropriate server.
  • MS translates the service identifier, i.e., DEST-SERVICE-ID 1528 of the Message Header 1500 in Figure 15, received from the application to the correct physical address, i.e., DEST-NODE 1536 of the Message Header 1500 in the Figure 15. All of these fields need not be specified . The address is then mapped to a virtual circuit and the proper TS line handler. For applications needing a direct addressing capability, a DEST-NODE field 1536 of the Mes ⁇ age Header 1500 in Figure 15 can be specified in place of the DEST-SERVICE- ID 1528.
  • MS determines the local server configuration and availability. This information is then sent in an MS control mes ⁇ age to all other (remote) MS node ⁇ in the network. Each remote MS that receives this message uses it to update the server records in its own Node Availability Table, and replies with information concerning the current availability of its own local servers; this information is used by the originating MS to update its Node Availability Table. After thi ⁇ exchange of control me ⁇ age ⁇ , MS initialization i ⁇ complete. These tables can also be configured ⁇ tatically prior to ⁇ tartup if de ⁇ ired. The MS must also monitor the current availability of all local servers and notify all other MS nodes about statu ⁇ changes within its node.
  • MS is typically responsible for translating incoming data into the format appropriate for the local hardware.
  • an application requests that MS send a message, it pas ⁇ e ⁇ a Tran ⁇ lation Control Block to MS, which describes the format of the fields in the mes ⁇ age.
  • MS on the sending node and MS and the receiving node work together to translate the mes ⁇ age.
  • the Translation Control Block is generated by a tool in the DESIGN/l® software sy ⁇ tem.
  • Example ⁇ of format tran ⁇ lation include ASCII to EBCDIC and inverted byte binary to non-inverted byte binary.
  • MS node ⁇ are characterized as: o Workstation (Workstation MS); o Gateway (Gateway MS) ; or o Host (Host MS) .
  • each node type differ somewhat. Ho ⁇ t MS function ⁇ con ⁇ ist of those general function ⁇ de ⁇ cribed above. Divergence from general functionality for each of the other node type ⁇ in the preferred embodiment i ⁇ described below.
  • Workstation MS maintains a very limited Routing Table in the preferred embodiment. Following node initialization, a
  • Workstation Routing Table typically contains one entry for each server residing on that node, and one entry for the gateway-resident addres ⁇ server.
  • Gateway MS receives service availability information from: o Workstation MS; o Host MS; and o Gateway-resident services. Gateway MS exchanges LAN-based service availability information with all Host MS's and Gateway MS's in the network. Rather than propagating Host MS and Workstation MS service availability information to locally attached Workstation MS's, preferably the Gateway MS makes the information available through a gateway-re ⁇ ident address server.
  • a service is characterized by a set of service attributes. These attributes are kept and maintained by the Message Services. They are obtained from service descriptor entries residing either in the local MS configuration file (locally resident service ⁇ ), or from service descriptor entries passed from MM to MM via through service resource exchange messages . In the preferred embodiment, attributes may be clas ⁇ ified a ⁇ either permanent or transient.
  • the instance opcode and instance operand When qualified by a service name, the instance opcode and instance operand identify a specific server process. This process provides the service indicated by server name.
  • a service may have either local, global, or LAN scope. Services with local scope are known and available only to clients residing on the same node as the service. Thus, MS does not exchange information regarding these services with remote MS nodes. Globally scoped service ⁇ , by far the more common, are available to clients residing on any node of the network. A LAN scoped service is available only to nodes residing on the same LAN as the service.
  • Transient Attributes As their name implies, transient attributes in the preferred embodiment tend to vary 'frequently' over time, some changing more often than others.
  • MS Service availability or status is probably the most frequently changing of all attributes.
  • One of MS's main responsibilities is tracking the availability of all locally resident services, and exchanging thi ⁇ information with remote MS nodes.
  • the Guaranteed Delivery service in the preferred embodiment provides guaranteed store-and- forward message delivery between two applications.
  • the guaranteed in 'Guaranteed Delivery' refers to the use of vendor-supplied transaction services to provide: o Protected resources; o Atomic transactions (logical unit of work) : start transaction; commit transaction; rollback transaction; o Recovery/restart.
  • the above vendor-provided services provide, in the preferred embodiment, the functionality and degree of reliability defined for the Guaranteed Delivery service.
  • the Server Front End is a pre-programmed service which manages server applications in the preferred embodiment. Its purpose is to make it easier for programmers to build applications and to standardize programming interfaces.
  • An embodiment of the Server Front End exist ⁇ on all platform ⁇ which can run the de ⁇ cribed run-time execution architecture.
  • the Server Front End i ⁇ customized on each of these platforms to run properly on that platform. By being so built, it enables application functions to be similar or identical on all platforms, thereby enabling portability of application functions between platforms.
  • the Server Front End preferably performs the services of: o Receiving mes ⁇ ages from the Di ⁇ tribution Services, which were sent by another application.
  • the other application could be on any computer which can communicate with the SFE.
  • o Dispatching the message to the appropriate application function, o Handling errors and abnormal terminations.
  • o Providing acce ⁇ to a databa ⁇ e, including connection, open, and/or log on, for the application functions. However, the application functions issue the input and output commands.
  • o Issuing rollback or commit commands to the database, o Coordinating between the application function ⁇ and the guaranteed delivery component of Di ⁇ tribution Service ⁇ .
  • routing the reply me ⁇ age (if any) from the application to the ⁇ ender of the original reque ⁇ t message o Optimizing the performance of the server application by appropriate techniques for the hardware and operating sy ⁇ tem on which the SFE i ⁇ running.
  • Design Tools Figures 16A and 16B illustrate a preferred relation ⁇ hip between the de ⁇ ign tool ⁇ 1602, 1604, and 1606, the repository 1608, the construction tools 1610, 1612, 1614, 1630, 1632, 1634, and 1644, and the user application 1646.
  • the preferred embodiment provide ⁇ a plurality of de ⁇ ign tools 1602, 1604, and 1606 for building applications for the run-time execution architecture.
  • These design tool ⁇ include the standard tools familiar to those skilled in the art, for example, a Structure Chart Editor 1604, a General Document Editor 1606, etc. The functions performed by the design tools were discussed in more detail hereinbefore in conjunction with Figure 3. Further information is also available in the FOUNDATION ® DESIGN/l ® manual.
  • the definitions created by these design tools are stored in a repo ⁇ itory 1608.
  • the repository 1608 provides means for categorizing, indexing, and cross- referencing the specifications for user applications.
  • the repository 1608 support ⁇ the informational entities necessary to define the operations to be performed by the Presentation Services, Distribution Services, and Databa ⁇ e Access Services.
  • a Window Painter 1602 defines user interfaces in windowing systems, so that the applications may take advantage of windowing features comprising entry fields, static text, group boxes, radio buttons, check boxes, list boxes, lines, icons, and rectangles.
  • the Window Painter 1602 stores these user interface definitions in the repository 1608.
  • Figure 17 describes the preferred structure of a Window Definition entity 1700.
  • the Window Painter 1602 creates this entity 1700 to store window and dialogue box attribute ⁇ .
  • the Window Definition entity 1700 is comprised of the field ⁇ Window Name 1702, Window Cla ⁇ s Name 1704, Default Modality 1706, Create On Startup Flag 1708, Menu Indicator 1707, Icon Name 1712, Title 1714, Default Origin 1716, Size 1718, PM Style
  • Figure 18 describe ⁇ the preferred structure of a Window - Menu Relationship entity 1800.
  • the Window Painter 1602 creates this entity 1800 to establish the relationship between a window and it ⁇ pull-down menu ⁇ or menu item ⁇ .
  • the Window - Menu Relationship entity 1800 is comprised of the fields of Window Name 1802, Sequence 1804, Menu Type (pull-down or menu item) 1806, and the Name Of The Pull-Down Menu Or Menu Item 1808.
  • Figure 19 describe ⁇ the preferred structure of a Window - Widget Relationship entity 1900.
  • the Window Painter 1602 creates this entity 1900 to establi ⁇ h a relationship between a window and its widgets.
  • the Window - Widget Relationship entity 1900 is comprised of the fields of Window Name 1902, Widget Name 1902, Widget Origin 1906, Widget Size Override 1908, Widget PM Style Attributes Override 1910, Default Attribute, Status, and State 1912, Default Color and Font 1914, Default Message ID 1916, On-Line Help Link 1918, Widget Specific Attributes and Overrides 1920, and C Variable Name Override 1922.
  • Figure 20 describes the preferred structure of a Window - Widget - Callback Relationship entity 2000.
  • the Window Painter 1602 create ⁇ thi ⁇ entity 2000 to establish a tie between a callback function and widget- level events for a specific window.
  • the Window - Widget - Callback Relationship entity 2000 is comprised of the fields of Window Name 2002, Widget Name 2004, Widget Event ID 2006, and Callback Function Pointer 2008.
  • Figure 21 de ⁇ cribe ⁇ the preferred structure of a Window - Callback Relationship entity 2100.
  • the Window Painter 1602 creates this entity 2100 to establish a tie between a callback function and a widget-level event.
  • the Window - Callback Relationship entity 2100 is comprised of the field ⁇ of Window Name 2102, Window Event ID 2104, and Callback Function Pointer 2106.
  • Figure 22 describes the preferred structure of a Listbox Definition entity 2200.
  • the Window Painter 1602 creates this entity 2200 to define a listbox and its default attributes.
  • the Listbox Definition entity 2200 is comprised of the fields of Listbox Name 2202, Default Size 2204, Default PM Style Attributes 2206, Multiple Selection Flag 2208, Required Field Flag 2210, the Number Of Rows in the "master list” array 2212, and a Default C Variable Name 2214.
  • Figure 23 describes the preferred structure of a Listbox - Element Relationship entity 2300.
  • the Window Painter 1602 creates thi ⁇ entity 2300 to establish a tie between the listbox and the element definitions for its columns.
  • Relationship entity 2300 is comprised of the fields of Listbox Name 2302 and Element Name 2304.
  • FIG. 24 describes the preferred structure of a Push-Button Definition entity 2400.
  • the Window Painter 1602 creates thi ⁇ entity 2400 to define a push ⁇ button and i ⁇ similar to a function key definition.
  • the Push-Button Definition entity 2400 is comprised of the fields of Push-Button Name 2402, Default Size 2404, Default PM Style Attribute ⁇ 2406, Push-Button Text 2408, Mnemonic Character 2410, Function/Event ID 2412, Preemptive Function Flag 2414, and Default Function State and Attribute 2416.
  • Figure 25 describe ⁇ the preferred structure of a Menu Definition entity 2500.
  • the Window Painter 1602 creates this entity 2500 to define a menu item.
  • the Menu Definition entity 2500 is comprised of the fields of Menu Name 2502, Default PM Style Attributes 2504, Menu Text 2506, Mnemonic Character 2508, Command/Event ID 2510, Preemptive Command Flag 2512, Default Command State and Attribute 2514, Accelerator Character 2516, and Parent Menu Name 2518.
  • Figure 26 de ⁇ cribe ⁇ the preferred ⁇ tructure of an Icon Definition entity 2600.
  • the Window Painter 1602 creates this entity 2600 to define a icon.
  • the Icon Definition entity 2608 is comprised of the fields of Icon Type 2602, Resource ID 2604, Filename 2606, and Loading Option 2610.
  • the Icon Type field 2602 identifies the icon.
  • the Resource ID field 2604 is a numeric identifier for the icon.
  • the Filename field 2606 identifies the phy ⁇ ical file containing the bit mapped graphic for di ⁇ play.
  • the Loading Option field 2608 specifies dynamic or static linking.
  • the Window Painter 1602 i ⁇ used to define, during the design phase, the window layout, window attributes, literal attributes, widget attributes and callback functions for user applications.
  • the preferred embodiment provides Construction Tools 1610, 1612, 1614, 1630, 1632, 1634 and 1644 for generating code shells, executable object modules, and table ⁇ for the client and server applications 1646.
  • a Window Generator 1610 reads window and widget definition ⁇ , and other entitie ⁇ , (previously de ⁇ cribed in Figures 17 through 26) from the repository 1608 and generates a number of tables for use by the pre ⁇ programmed presentation services, including a Dialogue file 1618, a WES Control Table 1620 (previously described in Figures 10A, 10B, and IOC), and a WESMap, Window Dispatch Table (previously described in Figure 13), Widget Dispatch Table (previously described in Figure 12), and a Window Definition Table entry (previously described in Figure 14), all of which are identified by reference number 1622.
  • the Window Generator 1610 generates tables in a format specific to each targeted platform, whereas the Window Painter 1602 creates definitions for the repository 1608 independent of the targeted platform.
  • the Dialogue file 1618 i ⁇ preferably a free- form text file containing English-like descriptions of the windows.
  • the descriptions are, in fact, a command language used to define the window.
  • the Dialogue file 1618 contains the OS/2 Presentation Manager resource file definition and control information for each window.
  • the Dialogue file 1618 contains formatting information for the window as a whole and for each of the items painted on the window, including position, size, default behavior, font information, and other formatting data.
  • the command language is comprised of mnemonics for defining the window title, window id, x and y coordinates on the screen for initial placement, width and height of the window, and other attributes. Those skilled in the art will recognize that other means of generating such resource files could also be used.
  • the Dialogue file 1618 is used to generate a resource file 1636, which wa ⁇ described hereinbefore by reference number 410 in Figure 4.
  • resource files are well known to those knowledgeable about the IBM OS/2 Presentation Manager operating sy ⁇ tem and will not be discussed further herein.
  • other environments may use other techniques in place of the resource file 1636.
  • the preferred embodiment will ⁇ upport analogous techniques appropriate for each particular environment.
  • the Window Generator 1610 use ⁇ the Window
  • the Window Definition entity 1700 of Figure 17 provides the Window Definition Table 1400 of Figure 14 with the fields of Window Name 1702 (Window ID 1408 of Figure 14), Window Class Name 1704 (Window Class Name 1410 of Figure 14), Default Modality 1706 (Modality 1414 of Figure 14), Create On Startup Flag 1708 (Create At Startup 1416), Menu Indicator 1710 (Menu ID 1422 of Figure 14), and Icon Name 1712 (Icon ID 1424 of Figure 14).
  • the remaining fields, Title 1714, Default Origin 1716, Size, 1718, PM Style Bit ⁇ 1720, and Frame Creation Flag ⁇ 1722, are u ⁇ ed to build command ⁇ in the dialogue file 1618 of Figure 16A.
  • the Window Generator 1610 uses the Window -
  • Menu Relationship entity 1800 of Figure 18 to create the corresponding fields of the Command Table 1100 of Figure 11.
  • the Window - Menu Relationship entity 1800 provides the fields of Sequence 1804 (Widget ID 1108 of Figure 11) and Menu Type 1086 (Widget Type 1110 of Figure 11).
  • the remaining fields, Window Name 1802 and Name Of Pull Down Menu Or Menu Item 1808, are used to build commands in the dialogue file 1618 of Figure 16A.
  • the Window Generator 1610 uses the Window - Widget Relationship entity 1900 of Figure 19 to create the corresponding field ⁇ of the WES Control Table 1000 of Figures 10A, 10B, and IOC.
  • the Window - Widget Relationship entity 1900 provides the fields of Window Name 1902 (Window ID 1002 of Figure 10A) , Widget Name 1904 (Widget Type 1024 of Figure 10B) , and On-Line Help Link 1918 (Help Link 1034 of Figure 10B) .
  • Default Color And Font Information 1914 Default Message ID 1916, and Widget Specific Attributes And Overrides 1920, are used to build commands in the dialogue file 1618 of Figure 16A.
  • the C Variable Name Override 1922 is used within a WESMap to identify a data location therein.
  • the Window Generator 1610 uses the Window - Widger - Callback Relationship entity 2000 of Figure 20 to create the corresponding fields of the Widget
  • the Window - Widget - Callback Relationship entity 2000 provides the fields of Widget Name 2004 (Widget ID 1206 of Figure 12), Widget Event ID 2006 (Event ID 1208 of
  • the Window Name 2002 of the Window - Widget - Callback Relationship entity 2000 provides the link between a Window Definition Table 1400 of Figure 14 and the Widget Dispatch Table 1200 of Figure 12.
  • the Window Generator 1610 uses the Window - Callback Relationship entity 2100 of Figure 21 to create the corresponding fields of the Window Dispatch Table 1300 of Figure 13, which is pointed to by the Window Definition Table 1400 of Figure 14.
  • the Window - Callback Relationship entity 2100 provides the fields of Window Event ID 2104 (Event ID 1306 of Figure 13) and Callback Function Pointer 2106 (Callback Function Pointer 1308 of Figure 13).
  • the Window Name 2102 of the Window - Callback Relationship entity 2100 provides the link between a Window Definition Table 1400 of Figure 14 and the Window Dispatch Table 1300 of Figure 13.
  • the Window Generator 1610 uses the Listbox Definition entity 2200 of Figure 22 to create the corresponding fields of the WES Control Table 1000 of Figures 10A, 10B, and IOC.
  • the Listbox Definition entity 2200 provides the fields of Listbox Name 2202 (Widget Type 1024 of Figure 10B) , Default Size 2204 (WESMap Length 1028 of Figure 10A) , Multiple Selection Flag 2208 (Multiple Selection Flag 1062 of Figure 10C), Required Field Flag 2210 (Required Field Flag 1054 of Figure 10C), and the Number Of Rows In Master List Array 2212 (Number Of Rows In Master List Array 1058 of Figure 10C).
  • the remaining fields, Default Size 2204 and Default PM Style Attribute ⁇ 2206, are used to build commands in the dialogue file 1618 of Figure 16A.
  • the Default C Variable Name 2214 is used within a WESMap to identify a data location therein.
  • the Window Generator 1610 uses the Listbox - Element Relationship entity 2300 of Figure 23 to create corresponding fields in the dialogue file 1618 of Figure 16A.
  • the Listbox Name 2302 provides a link to the Listbox Definition entity 2200 of Figure 22.
  • the Element Name 2304 provides a name for the entry in the dialogue file 1618 of Figure 16A.
  • the Window Generator 1610 uses the Push-Button
  • the Push-Button Definition entity 2400 of Figure 24 to create the corresponding fields of the Command Table 1100 of Figure 11.
  • the Push-Button Definition entity 2400 provides the fields of Push-Button Name 2402 (Widget ID 1108 of Figure 11), Preemptive Command Flag 2414 (Preemptive Command Flag 1112 of Figure 11) , and Default Command State and Attribute 2416 (Command Attribute 1116 of Figure 11).
  • the remaining field ⁇ , Default Size 2404, Default PM Style Attribute ⁇ 2406, Pu ⁇ h-Button Text 2408, and Mnemonic Character 2410, are used to build commands in the dialogue file 1618 of Figure 16A.
  • the Window Generator 1610 uses the Menu Definition entity 2500 of Figure 25 to create the corresponding fields of the Command Table 1000 of Figure 11.
  • the Menu Definition entity 2500 provides the fields of Menu Name 2502 (Widget ID 1108 of Figure 11), Command/Event ID 2510 (Command Id 1106 of Figure 11), Preemptive Command Flag 2512 (Preemptive Command Flag 1112 of Figure 11), and Default Command State and Attribute 2514 (Command Attribute 1116 of Figure 11) .
  • the Menu Parent Name 2518 provides link for the different levels of menus, sub-menus, etc.
  • the Window Generator 1610 uses the Icon Definition entity 2800 of Figure 28 to create the corresponding fields of the Window Definition Table 1400 of Figure 14.
  • the Icon Definition entity 2800 provides the fields of Icon Type 2802 (Icon ID 1424 of Figure 14) and Resource ID 2804 (Dialogue Resource ID 1420 of Figure 14).
  • the remaining field ⁇ , Filename 2806 and Loading Option 2808, are used to build commands in the dialogue file 1618 of Figure 16A.
  • the native source code for these functions can be generated.
  • the process of generating native source code consists of reading the Structure Chart definitions from the repository 1608, then translating those definitions using a Spec-Language Translator.
  • the Translator function ⁇ logically within the Code Generator 1612 according to Figure 16A, but in the preferred embodiment actually i ⁇ a physically distinct program.
  • the Spec- Language Translator generates a standard language equivalent, e.g., C, COBOL, etc.
  • the output file of the Code Generator 1612 is the source file for the user application.
  • users may enter native source code manually.
  • By building functions using a standard programming language such as COBOL, C, etc. users thus eliminate the need for the Spec-Language Translator.
  • the specification ⁇ for data structures are created by the FOUNDATION ®
  • a Copybook Generator 1614 read ⁇ data structure specifications and other entities from the repository 1608 and generates language-specific copybook ⁇ 1628.
  • the ⁇ e copybook ⁇ 1628 contain the source code structures for using the Mes ⁇ age Header, data structures, etc.
  • a Backbone Generator 1632 combines the Window Dispatch Table, Widget Dispatch Table, Window Definition Table and a WESMap ⁇ tructure, together referred to a ⁇ 1622, the application callback source code 1624, and the copybooks 1628 to create the command files used to create the actual executable code.
  • the output files of Backbone Generator are the source file with include references and a 'make' file (on work ⁇ tations and other platforms where they are used) for compiling each module of the program, which is input to the Compiler 1634 and an application resource file 1616.
  • a standard Compiler 1634 takes the output file from the Backbone Generator and creates the program object code 1638 for the user application.
  • a Resource Compiler 1630 uses the application resource file 1616 and dialogue file 1618 to create an Resource File 1636.
  • the application resource file 1616 indicates which window definitions should be extracted from the dialogue file 1618 for inclusion in the
  • the dialogue file 1618 contains formatting information for the window as a whole and for each of the items painted on the window. As described above, formatting information includes position, size, default behavior, font information, and other formatting data.
  • the Resource Compiler 1630 is used only for applications which have a user interface, i.e., a client application. For some application ⁇ which do not have a user interface, e.g., server applications, the Resource Compiler 1630 may not be required.
  • a standard Linker 1644 joins the program object 1638, a shell object 1640, and an application library object 1642 into an application executable object module 1646.
  • the shell object 1640 is a standard object module containing the "main" procedure of the application and global data pointer ⁇ .
  • the application library object 1642 is a standard object module containing commonly- used function ⁇ .
  • the executable object module 1646 include ⁇ the modules or routines to access them described hereinbefore in Figure 3, including the pre-programmed presentation services (if a client application), the user-specified functions, the pre ⁇ programmed distribution ⁇ ervices, the pre-programmed server-front end (if a server application), and the database access services (if a server application).
  • Figures 27, 28, and 29 shows the preferred structure of the user applications as they are generated by the construction tools.
  • Figure 27 shows the preferred run-time structure for a client application 2702.
  • the client application 2702 is comprised of headers 2704, data 2706, initialization 2708, processing loop 2710, callback functions 2712, common functions 2714, error handlers 2716, and cleanup 2718.
  • the header ⁇ 2704 are declaration ⁇ of constants and data structures. These declarations come primarily from the copybooks.
  • the data 2706 is working storage variables.
  • the initialization 2708 is comprised of setup routines.
  • the proces ⁇ ing loop 2710 i ⁇ a loop which performs two functions: (1) retrieving messages from the Distribution Services, and (2) dispatching messages based on the function reque ⁇ ted.
  • the callback functions 2712 are the functions called by WES or by the run-time execution architecture in response to events not originating from the user interface.
  • the common functions 2714 are functions not directly called by the user interface, i.e., WES.
  • the error handlers 2716 are functions which perform error processing.
  • the cleanup 2718 performs variou ⁇ cleanup routines pending the termination of a client 2702.
  • Figure 28 describe ⁇ the preferred run-time ⁇ tructure 2802 for an OS/2 server application.
  • the run-time structure 2802 comprises headers 2804, data 2806, initialization 2808, proce ⁇ ing loop 2809, reque ⁇ t handler ⁇ 2810, common functions 2812, error handlers
  • the processing loop 2810 reads a request queue and invokes a procedure based on the type of request received.
  • the request handlers 2812 are the functions called by the proce ⁇ ing loop 2810 u ⁇ ed on the type of request.
  • the common functions 2814 are functions not directly called by the processing loop 2810.
  • Figure 29 describes the preferred run-time ⁇ tructure 2902 for a CICS server application.
  • the run ⁇ time structure 2902 include ⁇ header ⁇ 2904, data 2906, initialization 2908, proce ⁇ request ⁇ 2910, reque ⁇ t handler ⁇ 2912, common functions 2914, error handlers
  • Thi ⁇ run-time ⁇ tructure 2902 is similar in function to the OS/2 run-time structure 2702 described in Figure 27.
  • FIG. 30 describes a Shared Data Manager (SDM) 3002 facility, which in the preferred embodiment provides applications 3004 in the execution architecture with an ability to access a common pool of information.
  • SDM 3002 stores information in the form of Objects' classified by a business function, class and instance.
  • applications 3004 can also register interest in them so that if an object data is updated or deleted, the interested applications are notified of the change.
  • SDM de ⁇ cribed herein is just one pos ⁇ ible implementation, and those skilled in the art will readily recognize that other implementations could be used.
  • the SDM 3002 is a 'server' application.
  • Objects and the associated data are maintained internally in the SDM 3002 in various tables and linked list ⁇ . These tables and liked lists preferably comprise an object table 3008, an interest table 3010, and an active application list 3012.
  • the object table 3008 typically maintains a copy of the desired data object.
  • the interest table 3010 typically maintains an indicator of an application's interest in a particular object.
  • the active application table 3012 typically maintains a list of all active applications 3004 having access to the SDM 3002.
  • the tables and lists 3008, 3010, and 3012 are organized into a key-sequenced hierarchical data access structure. Those skilled in the art will recognize that other data access structures may be substituted therefor.
  • the tables and lists 3008, 3010, and 3012 are resident in memory, thus permitting fast access to object data.
  • the SDM 3002 also preferably makes an efficient use of the available memory by initially allocating only enough memory to hold a limited number of objects and then dynamically resizing its internal tables 3008, 3010, and 3012 to hold more data if necessary.
  • the SDM 3002 take ⁇ sufficient precautions to maintain the integrity of the internal tables 3008, 3010, and 3012, and to prevent data from being manipulated by multiple reque ⁇ ts at the same time.
  • each object in the object table 3008 is uniquely identified by bu ⁇ iness function, cla ⁇ and instance.
  • the SDM 3002 may also permit objects to be identified non-uniquely.
  • operations may be performed on multiple objects at a time, thu ⁇ eliminating the need for the application to identify an object by it ⁇ unique identification.
  • Thi ⁇ alternative embodiment could support operations on multiple objects by accepting partial identification of classes of objects.
  • an application 3004 communicates with the SDM 3002 by sending it a mes ⁇ age via the SDM queue 3006.
  • a return message 3016 is sent by the SDM 3002 to the requesting application 3004 upon completion of the request. This return message 3016 tells the application 3004 whether the SDM 3002 was able to carry out the requested service successfully.
  • the return message 3016 also contains any data 3018 requested by the application 3004, if the service performed was succe ⁇ ful.
  • a me ⁇ sage between an application 3004 and the SDM 3002 preferably consists of two parts: (1) a parameter block which identifies the service to be performed by SDM, and (2) an area containing additional information (e.g., object data) required to perform the requested ⁇ ervice.
  • the SDM 3002 can perform a number of operation ⁇ on it ⁇ table of object ⁇ including: Read, Write, Rewrite, Delete, and Unregister Interest.
  • An object in the object table 3008 is uniquely identified by its Business Function, Class and Instance key. If the requested object is present in the object table 3008, a copy of the object data is sent to the requesting application 3004.
  • the application 3004 also becomes implicitly 'interested' in that object, wherein that interest is recorded in the interest table 3010.
  • the Write service allows applications 3004 to add an object to the object table 3008. If the object doe ⁇ not already exist in the object table 3008, it is added thereto.
  • the requesting application 3004 also becomes automatically 'interested' in that object, wherein that interest is recorded in the interest table 3010.
  • the Rewrite service permits an existing object to be modified in the object table 3008. Note that all interested applications 3004 are notified of this change, except for the requesting application 3004. Applications 3004 are notified by receiving a message from the SDM 3002, with the mes ⁇ age indicating the object' ⁇ new value. Alternative embodiments could use alternative techniques of notification.
  • the Delete service allows an object to be deleted from the object table 3008. As with the Rewrite service, all interested applications 3004 are notified of this change, except for the requesting application 3004.
  • the Unregister Interest service permits an application 3004 which is no longer 'interested' in a particular object to 'unregister' itself from the interest table 3010.
  • the application 3004 will not receive any further notification of change in that particular object in the object table 3008. If there are no interested applications 3004 in an object, then the object is deleted from the object table 3010.
  • Applications 3004 can also unregister themselves from all the objects they are interested in by specifying a 'null' Business Function, Class and Instance with thi ⁇ ⁇ ervice, thereby signifying all objects.
  • a Browser Tool is provided to allow a programmer to open a window to the SDM internal tables 3008, 3010, and 3012 and view the contents thereof.
  • the Browser Tool can retrieve a list of user applications 3012, intere ⁇ ts of the application ⁇ 3010, and data objects 3008 from the SDM 3002.
  • the Browser Tool allows a programmer to change data values dynamically during execution using a modify function. Such an action trigger ⁇ the notification facilities of the SDM so that all interested applications 3004 are notified of the change.
  • the Browser Tool communicates with the SDM 3002 in a manner similar to user applications 3004.
  • the run-time execution architecture also has a feature for parameterizing applications.
  • a data item is identified as an element of a "codes table” wherein values of the element are maintained in the code ⁇ table ⁇ .
  • An application requests a "decode” by pa ⁇ sing an identifier of the element to the codes table and a function to be performed thereon.
  • the codes table performs thd- desired operation.
  • the codes table provides a central control point for message ⁇ , data and validation operation ⁇ . Any number of code ⁇ table ⁇ can be automatically invoked by the application during the editing and validation of data.
  • the preferred embodiment also provides tools for maintaining the code ⁇ table ⁇ .
  • codes tables 3104 are typically used by applications 3102 to "decode" requests for commonly used data and provide validation. Some typical uses of a codes table 3104 are: o Informational messages o Warning messages o Error messages o Validation of abbreviations o Range validation o Validation of combinations o Abbreviation lookup
  • Get Unique Returns desired element Get Next Returns next element. Get Multiple If full key exi ⁇ ts, the element identified thereby will be returned. Otherwise, the next element is returned. Get Decode Returns decode field. Write Insert new element.
  • a return code i ⁇ ⁇ et by the code ⁇ table ⁇ facility to the ⁇ tatus of the operation. For example, a successive ⁇ ful completion would be given a 0, warnings a 4, etc.
  • error messages may be sent to an operator's console.
  • the timestamp of the code ⁇ table may be automatically checked and a new codes table copied over it if necessary. This would avoid having to request the decode from a remote server residing on another computer system for every decode request.
  • the decision to place all of the codes table information on the local computer ⁇ y ⁇ tem where the application re ⁇ ide ⁇ depends on the size of the table.
  • the codes table facility is called by the application program and based on the requested decode, it is determine whether a remote server should be accessed to perform the decode.
  • the Code ⁇ Table Maintenance facility provide ⁇ an interface to the elements of the codes table.
  • Each decode record or element of the code ⁇ table preferably contains the following fields: decode value - An integer value uniquely identifying the element.
  • re ⁇ ident flag - A boolean flag indicating whether the decode record should be considered to be locally resident.
  • description Text describing the purpose of the decode record, decode string - The text associated with a particular decode record including the sub ⁇ titution place markers (%1, %2, . . .) for the substitution of parameters into the decode string, parameter count - The maximum number of sub ⁇ titution parameter ⁇ allowed, parameter list - The type of data (string, integer, byte, word, pointer . . ) and a required parameter flag associated with each parameter.
  • the Codes Table Maintenance Facility provides a way for users to modify codes tables. For example, a list of codes table decode elements and their associated descriptions can be scrolled through on a display screen. Selecting a modify function allows the attributes of a decode element in a codes table to be changed.
  • a different workstation environment such as UNIX could be substituted for the OS/2 environment described.
  • a different mainframe or minicomputer environment could also be substituted for the IBM CICS environment described.
  • a computer-as ⁇ i ⁇ ted ⁇ oftware engineering system which facilitates the design, implementation, and execution of applications in cooperative processing environments.
  • Design tools are provided for creating, storing, retrieving, and editing system specification ⁇ in a repository.
  • Construction tools are provided for generating applications from the systems specification created by the design tools.
  • a run-time execution architecture is provided for executing the applications on a plurality of computer hardware and operating system platforms and for ea ⁇ ily porting application ⁇ between different platforms.
  • the run-time execution architecture comprises pre-programmed presentation services for interacting with the user and pre ⁇ programmed distribution services for routing and transferring mes ⁇ age ⁇ between applications.

Abstract

A computer-assisted software engineering system facilitates the design, implementation, and execution of applications in cooperative processing environments. Design tools create, store, retrieve, and edit system specifications in a repository. Construction tools generate applications from the systems specification created by the design tools. A run-time execution architecture is provided for executing the applications on a plurality of computer hardware platforms. The run-time execution architecture includes pre-programmed presentation services for interacting with the user and pre-programmed distribution services for routing and transferring messages.

Description

COMPUTER-ASSISTED SOFTWARE ENGINEERING FOR COOPERATIVE PROCESSING
BACKGROUND OF THE INVENTION l. Field Of The Invention
This invention relates generally to computer- assisted software engineering (CASE) systems. In particular, it is directed to a CASE system for developing applications for execution in cooperative processing environments.
2. Description Of Related Art
The level of automation used in software development and design is below the level of automation currently used in the mechanical and electrical arts.
Most software applications are developed manually, using conventional third-generation languages such as C, COBOL or FORTRAN. Applications developed manually require a great deal of time and effort to design and implement, are very expensive to maintain, and often do not meet the needs of computer system users. An important trend in the industry is the development of CASE tools to automate and support the software application development process. Currently, there is a trend to move CASE tools from mainframe environments to workstations to take advantage of the workstation's lower cost, faster response time, and processing power. In addition, the integration of mainframes, minicomputers and workstations into a seamless distributive computing environment creates the need for CASE tools that support the development of software applications in this environment. Integration of workstations, minicomputers and mainframes is termed a "cooperative processing environment," wherein applications can be distributed among the different hardware platforms to optimize performance, while high¬ speed communication links facilitate the transfer of messages between applications.
Andersen Consulting, the Assignee of the 2 present invention, has offered the FOUNDATION® CASE system for a number of years. The FOUNDATION® CASE sys em ^g corriprj_seci 0f three major modules: the METHOD/1® software system, the DESIGN/l® software system, and the INSTALL/1 software system.
The METHOD/1 software system optimizes systems development through an automated methodology and project management system. METHOD/l helps a systems user prepare a management plan or blueprint of future activities that can be modified as priorities change. The systems designer can plan, schedule and scope projects accurately prior to moving to the design phase. The DESIGN/l software system automates systems design task techniques to facilitate improved productivity and enhance design quality. The DESIGN/l software system includes systems for data and process modeling, functional decomposition and prototyping. The DESIGN/l software system automates and integrates these techniques through the use of a plurality of software tools, including word processing, modeling, screen and report designing, data design and prototyping tools. These tools are integrated through a shared repository, thus providing the ability to share design specifications among designers. Further information on the DESIGN/l software system can be found in the Andersen Consulting brochure entitled FOUNDATION - DESIGN/l®, General Description, Version 4.1, 1988, which brochure is hereby incorporated by reference.
The INSTALL/l software system provides a set of software facilities that allows software designers to create and support application systems. Prior art INSTALL/1 software systems were mainframe-based and designed especially for DB2 development environments . The INSTALL/1 software system addresses all areas of application generation, including screen and conversation design, code generation, test data management, production systems report, database administration and technical support. The INSTALL/1® software system uses the repository built by the DESIGN/l software system, thus providing a centralized location for all design specifications. The INSTALL/l software system simplifies coding by generating all of the programming required for basic application components. Automated code generation improves programmer productivity and helps ensure standardized software. Further information on the INSTALL/l software system can be found in the Andersen Consulting brochure entitled FOUNDATION®-INSTALL/l®, General Description, Version 1.2, 1989, which brochure is hereby incorporated by reference.
SUMMARY OF THE INVENTION
The present invention comprises a computer- assisted software engineering (CASE) system for facilitating the design, implementation, and execution of applications in cooperative processing environments. Design tools are provided for creating, storing, retrieving, and editing system specifications in a repository. Construction tools are provided for generating applications from the systems specification created by the design tools. A run-time execution architecture is provided for executing the applications on a plurality of computer hardware platforms. The run¬ time execution architecture is comprised of pre¬ programmed presentation services for managing the user- interface functions for the application, pre-programmed distribution services for routing and transferring messages, and user-programmed application services for implementing user-defined functions.
DESCRIPTION OF THE DRAWINGS Figure 1 illustrates a cooperative processing environment;
Figure 2 illustrates a run-time execution architecture for executing applications on a plurality of computer hardware platforms;
Figure 3 illustrates a preferred relationship of the different parts of the run-time execution architecture and the tools used to develop application components that use these different parts;
Figure 4 describe.: a preferred logical relationship of the presentation services to an operating system and a client application; Figure 5 illustrates a preferred use of a memory model in the Window Editing Services;
Figure 6 is a simple example of a window in the preferred embodiment;
Figure 7 is an example of a simple listbox window in the preferred embodiment;
Figures 8A and 8B describe the data structures used by the preferred presentation services;
Figure 9 is a block diagram describing the preferred structure of the window instance structure; Figures 10A, 10B, and IOC are block diagrams describing the preferred structure of the WES control table;
Figure 11 is a block diagram describing the preferred structure of the command table; Figure 12 is a block diagram describing the preferred structure of the widget dispatch table;
Figure 13 is a block diagram describing the preferred structure of the window dispatch table;
Figure 14 is a block diagram describing the preferred structure of the window definition table; Figure 15 is a block diagram describing the preferred structure of the message header;
Figures 16A and 16B illustrate a preferred relationship between the design tools, the repository, the construction tools, and the user application;
Figure 17 is a block diagram describing the preferred structure of the window definition; Figure 18 is a block diagram describing the preferred structure of the window-menu relationship;
Figure 19 is a block diagram describing the preferred structure of the window-widget relationship; Figure 20 is a block diagram describing the preferred structure of the window-widget-callback relationship;
Figure 21 is a block diagram describing the preferred structure of the window-callback relationship; Figure 22 is a block diagram describing the preferred structure of the listbox definition;
Figure 23 is a block diagram describing the preferred structure of the listbox-element relationship;
Figure 24 is a block diagram describing the preferred structure of the push button definition;
Figure 25 is a block diagram describing the preferred structure of the menu definition;
Figure 26 is a block diagram describing the preferred structure of the icon definition; Figures 27, 28, and 29 show the preferred structure of the generated code shells;
Figure 30 describes a preferred embodiment of a Shared Data Manager which provides facilities for applications to access a common pool of information and register interest in the pool's objects; and
Figure 31 describes a preferred embodiment of a codes table which is used by applications to reference commonly used data and provide validation therefor.
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENT In the following detailed description of the preferred embodiment of the present invention, reference is made to the drawings which form a part hereof and which show by way of illustration a specific embodiment in which the invention may be practiced. It is to be understood that other embodiments may be utilized and structural changes may be made without departing from the scope of the present invention.
General Description The preferred embodiment of the present invention described herein is a computer-assisted software engineering system that facilitates the design, implementation, and execution of cooperative processing applications. The preferred embodiment provides design tools for creating, storing, retrieving, and editing system specifications in an electronic data format. The preferred embodiment also provides construction tools for taking the systems specification created by the design tools and generating an application for execution by a run-time execution architecture. The run-time execution architecture is an environment for executing applications on a plurality of computer hardware platforms. The run-time execution architecture provides pre-programmed presentation services for interacting with the user and pre-programmed distribution services for routing and transferring messages among applications.
Cooperative Processing Environment A. Overview Figure 1 illustrates one example of a cooperative processing environment, including workstations 102 for interacting with users, servers 104, and gateways 106. The servers 104 and gateways 106 are typically connected to the workstations 102 via a local area network (LAN) 108. The servers 104 manage a database 110 of information. The gateways 106 provide for communication 116 between the workstations 102 and remote systems, for example, host computer 112. Alternatively, the workstations 102 could be directly connected to the host computer 112. The host computer 112 also manages a database 114 of information. Those skilled in the art will readily recognize that any combination of workstations 102, servers 104, gateways 106, host computers 112, and communication links 116 could be substituted for the configuration shown.
Run-Time Execution Architecture
The preferred embodiment includes a run-time execution architecture for executing applications on a plurality of computer hardware platforms. Figure 2 describes the preferred components of the run-time execution architecture services for user applications. The pre-programmed services of the run-time execution architecture insulate the user applications from the detailed implementation of the presentation services for managing the user interface and the distribution services for managing message traffic.
A client application 216 executing on a workstation 202 is typically comprised of pre-programmed presentation services 218, application functions 220, and pre-programmed distribution services 222. In the preferred embodiment, only the design of the user- interface and the application functions 220 are user- specified.
A server application 224 executing on the server 204 iε typically comprised of a pre-programmed server front-end 226, pre-programmed distribution services 228, application functions 230, and pre¬ programmed database access services 232. In the preferred embodiment, only the design of the database 210 and the application functions 230 are user- specified.
A server application 238 executing on the host computer 212 is typically comprised of a pre-programmed server front-end 240, pre-programmed distribution services 242, application functions 244, and pre- programmed database access services 246. In the preferred embodiment, only the design of the database 214 and the application functions 244 are user- 8 specified.
It should be noted that the separate components of the server applications 224 and 238 on the two platforms 204 and 212 are functionally similar. Those skilled in the art will recognize that similar embodiments can be provided on any platform.
A message manager 234 executing on the gateway 206 and a message manager 236 executing on the host computer 212 are preferably pre-programmed modules. The message managers 234 and 236 automatically route and transfer messages from an application on a first platform, for example, client application 216, to an application on a second platform, for example, server application 238. In the preferred embodiment, only the configuration of processes in the cooperative processing environment is supplied by the user to the message managers 234 and 236.
Figure 3 generally illustrates the preferred relationship of the different parts of the run-time execution architecture.
Windows and other display items are created by using a Window Painter/Generator 304 to define and generate the user interface. The pre-programmed presentation services 302 are comprised typically of Window Editing Services 306 and Window Widgets 308 that manage the windows and display items.
The functions 310 are client-resident functions which are typically specified by the user with the Structure Chart Editor 312 and generated by the user with the Code Generator 314 of the DESIGN/l® software system. In addition, the users can write their own code in a standard language such aε C, COBOL, etc., using standard programming tools 318, and embed this code in client applications. The functions are comprised typically of process control and error handling routines 320.
In the preferred embodiment, the pre-programmed distribution services 322 are not changed by the user. The user, however, does specify the configuration of hardware and software in the cooperative processing environment. The pre-programmed Message Manager 324 uses this information to determine how to route message traffic.
The functions 326 are server-resident functions which are typically specified by the user with the Structure Chart Editor 328 and Code Generator 330 of the DESIGN/l software system. In addition, the users can write their own code in a standard language such as C, COBOL, etc., using standard programming tools 334, and embed this code in the server applications. The functions 326 are comprised typically of common business functions and error handling routines 336.
The pre-programmed database access services 338 manage databases created by users with a Data Modeler
(ft)
340 of the DESIGN/1 software system. In addition, the users can write their own database access services in a standard language such as C, COBOL, etc., using standard programming tools 334, and embed this code in the server applications. The Data Modeler 340 defines and generates the database access services 338. In addition, the users can write their own version of database access services 338 in a standard language such as C, COBOL, etc., using standard programming tools 334. In addition to the development tools described above, the user also has a repertoire of supporting tools including a Data Flow Diagrammer 344 from the DESIGN/l software system, document editors 346, compilerε 348, debuggers 350, copy member generators 354, etc. The specifications and designs output from all the development tools are stored in a repository database 352. Pre-Proqrammed Presentation Services
A. General Description
Figure 4 describes the preferred relationship of the pre-programmed presentation services 402 to the operating system 404 and the client application 406. In the preferred embodiment, the presentation services 402 are a pre-programmed collection of services designed to provide a user-interface layer for the run-time execution architecture. The purpose of this layer is to reduce the amount of effort the programmer must put into dealing with the user-interface 408 and allow the programmer to concentrate more on the functions being implemented. Presentation services 402 support a form- filling style of user-interface 408, as well as interfaces 408 that make use of direct object manipulation, graphics, images, and sound.
B. Window Editing Services
In the preferred embodiment, the Window Editing Services (WES) of the presentation services 402 provide a common validation and formatting service so that applications 406 only have to deal with valid data (e.g., a number field is numeric, a date field is valid, etc. ) , and do not have to write routines to format and verify certain types of data. WES can transfer control to application functions in response to widget and window events 414, for example, such as the user entering a field. These events are defined by the user. Services to enable and disable end-user commands, to reflect the state of data entry or the application 406, are also provided since these are common user-interface features found in applications 406. WES also provides a link to an on-line help manager and provides standard mouse, arrow, and cursor reporting services. In the preferred embodiment, there are two major features of the presentation services 402: dialogue boxes and widgets. A dialogue box is a type of window used primarily for presenting or gathering information in a form-filling style. Widgetε are objects used by dialogue boxes to interact with a user, for example, entry fields, push buttons, check boxes, etc. Widgets are self-contained objects which interact with the user in a predetermined manner and interact with their "owner window," usually the dialogue box, in a predetermined manner, for example, notifying the owner window of changes to the contents of a window, notifying the owner window of field exits, etc.
In the preferred embodiment, widgets and dialogue boxes are the primary interaction mechanisms in the presentation services 402. There may be a plurality of "callback" functions 420 in the application 406. These callback functions 420 are invoked for certain events 414 as specified by the user or the architecture. At the widget level, for example, when the contents of the widget are valid and the event occurs, a callback function 420 is invoked. At the window level, for example, when all required fields are entered, and all widget contents are valid, a different callback function 420 is invoked. There are also callback functions 420 for transitions to invalid states, i.e., when a widget no longer contains valid data or when a required field is blank and when a directly manipulable object is moved to a defined position, etc. This allows the application 406 to clear the fields, diεable functions, and notify the parent window of any change. For example, an application 406 may want to disable a "place an order" function when the contents of the order window are invalid.
In the preferred embodiment, there are two types of events that invoke callback functions 420 in applications 406: widget and window level events 414. Widget level events include field entry and exit, depressing or clicking of buttons, the selection of an item in a list box, the alteration of the contents of an entry field, the change in a field's status from valid to invalid, etc. Window level events include interfield validation requests wherein all widgets are invalid when a "major state" change has occurred, for example, a 5 field exit with new data. Window level events can also occur when the window enters an invalid state, when a window is initialized, when a window is closed, or when the user requests a command. Window level events also occur when the application registers 418 an interest in
10 an object with the Shared Data Manager (discussed below) and a message is received from the Shared Data Manager. Window level events also occur when a message is received from the Message Manager (discussed below), whether unsolicited or as the result of an asynchronous
15 message sent earlier to some server or other client.
C. Programming Model
Rather than provide a number of calls for interacting with the various widgets in a dialogue box,
20 the presentation services of the preferred embodiment provide the application with a memory model that represents the contents of the screen. Figure 5 illustrates a preferred use of this memory model. For each window 502 and 504 on the screen, WES provides a
25 portion of memory 506 and 508, called WESMaps. WES fills the WESMap with the current data values, attributes, etc. , for the widgets before calling an application callback function. The application can change values, attributeε, etc. , directly in the WESMap
30 with simple assignment statements. When the application returns the WESMap to WES, WES checks the changes in the WESMap and updates the widgets accordingly.
In the preferred embodiment, there is only one copy of each WESMap per window to prevent integrity
35 problems due to concurrent updates caused by multiple threads. Thus, all other threads in a procesε are suspended when one thread requests the WESMap. The
Figure imgf000014_0001
other threads are released when the WESMap is released. Those skilled in the art will recognize that alternative embodiments could use semaphores or other means to prevent concurrent updates to the WESMap.
D. WESMap
The preferred structure of the WESMap comprises a window header, a group status, data values, and field control areas. The window header contains window-level information that an application may manipulate, for example, the title of the window, the window size, etc. The group status is an area intended as a statuε field for field groups defined within the window. This allows user commands to be tied dependently to a field group status so that when the field group is valid the command is enabled. Field values are the data items on the screen. The field control area is a control structure for each field in the window. This structure allows user applications to control the field display attributes, status, access rights, message id, field cursor, and other attributes which may be unique to a particular widget type. The display attributes are concerned with visual attributes. However, a value of - 1 in this field indicates that the application is dealing directly with the widget and that WES should not do anything with it. The field status is set every time the field data changes, and thus can be used as a change indicator. It also ensures that valid data is entered into the field. The field access rights determine whether a field is enabled, disabled, hidden, etc. The field message id is the identifier of the message displayed in the message area when the user is in this field, for example, a brief explanation of the field, a warning message, etc. The field cursor is used by WES to indicate which field the cursor was in when the callback function was invoked, even though the field id is also paεsed as a parameter to the callback function. In addition, the application may use this structure to identify and set the current field. If more than one field has this structure set, then the first one is made the current field. Since the WESMap represents a window, no application programmer interface (API) calls are required in the preferred embodiment to retrieve or set the contents of a window. A callback function simply sets the various fields in the WESMap to whatever values it needs and WES will handle the display events.
In the preferred embodiment, the WESMAP is represented by a copy member or include file, which those skilled in the art will recognize as a good technique for multiple functions or programs to use the same data structure. The copy member generator tool of the DESIGN/l software system generates the WESMap for each window.
E. User Commands Referring again to Figure 4, user commands are preferably not tied to a particular type of widget, for example, puεh buttons, pull-down menus, etc. The presentation services 402 allow an abstraction to be made so that the application 406 does not have to worry about the presentation format. Thus, the preferred embodiment provides for a εeparation of the presentation from the meaning of the command. The application 406 need not know what type of widget it is working with, instead, an application 406 simply refers to a command for a window and the presentation services 402 take care of the details. If a command needs to move from a menu to a button or vice versa, the application 406 does not have to be modified; only a WES control table 412 and a resource file 410 need to be updated. Similarly, as new widgets are developed, applications 406 can take advantage of them without changes to the application 406 itself. There are some presentation serviceε 402 functions used in dealing with user commands, including Hide, Show, Disable, Enable, and Attribute. The Hide function is used if an application 406 does not want a user to know an option exists, for example, if the user security level is not appropriate. The Show command is used where the command becor_.es available for εome reason. The Disable command continues to show the command on the screen but makes it unavailable for use. In most graphical user interfaces, this means that the push button or menu item corresponding to the command would be "greyed" to indicate that under the proper conditions, for example, all fields containing valid input, this command would be available. The Enable function iε used to indicate to the user that the command is available. The Attribute function is used for attributeε like active/inactive status, for example, when a check mark is used next to an active menu item.
F. Widget Memory Model
Below are listed various widget types, and some of their internal formats, preferably supported in the WESMap:
Entry field o String of characters of field size
Numeric field o Signed integer o Unsigned integer o Signed double word integer o Unsigned double word integer o Single precision float o Double precision float Date field o Julian date o Integer date Checkbox o Character field ( 'N'=uncnecked;
Υ'=checked) o Byte field (0=unchecked/no; l=checked/yes) Radio button group o Character εtring (radio buttons correspond ro different values) o Integer field (radio buttons correspond to different values) Listbox o Maps to a repeating group of entry field references. The first entry in group iε alwayε a one byte 'selected' flag, o Subsequent entries represent the columns of each row. Each column can be any data type supported by WES (i.e. , text, numeric, date, decode, etc. ) . o The number of occurrences in a 'master list' is specified in the WES Control Table (WCT) . This is not necessarily the number of occurrences visible in the liεtbox (e.g., 5 viεible entries, but a master liεt of 50 entrieε) . o WES provides the scrolling featureε through maεter list. o The application is notified via a callback if the user attempts to scroll above the top of list or beyond the end of list. Thiε allowε the application to refill the master list (i.e., to page up or down).
G. Example Window and WESMap
Figure 6 is a simple example of a window. In the preferred embodiment an application's view of thiε window iε a WESMap data area εtructured as follows: WESMAPHEADER Custlnfo; byte WindowGroupStatus; long CuεtNumData; char CustNameData[33]; float CreditLimitData; byte FriendOfCEOData; short BillingPrefData; char ShippingPrefData[5];
WESFLDCTL CustNumCtl; WESFLDCTL CustNameCtl;
WESFLDCTL CreditLimitCtl;
WESFLDCTL FriendOfCEOCtl;
WESFLDCTL BillingPrefCtl;
WESFLDCTL ShippingPrefCtl; The WESMAPHEADER structure contains the global fields WindowTitle, WindowSize, etc. The WindowGroupStatus field is a status field for the window-level group. The CustNumData field 602 assumes the data type for the field is a two word integer. The CustNameData field 604 has 32 bytes for an alphanumeric character string, pluε an extra byte to null terminate the εtring (corresponding to the standard null terminated string in the C language; if generated in another language, for example COBOL, the null terminator would not be generated) . The CreditLimitData field 606 asεumeε the data type for the field iε a floating point value. The FriendOfCEOData checkbox 608 only needε a εingle byte to represent checked/unchecked. The BillingPrefData field 610 useε an integer to repreεent the various values corresponding to the radio buttons. The ShippingPrefData field 612 has 5 bytes for representing the length 4 character stringε each radio button represents.
The WESFLDCTL structure contains control vectors for each field above. The members of the standard WESFLDCTL structure are: "Attr" - logical field attribute; "Status" - field status; "Rights" - field rights; "Msg" - mesεage ID for thiε field; "Cursor" - cursor control. Some examples of the values for the various field control vectors include:
Attr AT_N0RMAL (e.g., use default display attributes for the field), AT_SELECTED (e.g., highlighted) , AT_ATTENTION (e.g., red) , AT_NONDISPLAY (e.g., hide field contents).
Status - STS_WESVALID (e.g., valid WES data), STS_VALID (e.g., valid data), STS_INCOMPLETE (e.g., incomplete), STS_INDETERMINATE (e.g., status indeterminate due to asynchronous validation) , STS_INVALID (e.g., field invalid) .
Rights - RGT_DISABLED (e.g., field disabled), RGT_PROTECTED (e.g. protected mode) , RGT_STANDARD (e.g. , standard modes) .
o Cursor - CUR_CURRENT (e.g., current position), CUR_MAKECURRENT (e.g., εet cursor position). The structure of the WCT and the packaging of the pre-programmed services makes it posεible to support additional control vectors in the field control structure that may be unique to a particular type of widget.
H. Affecting the Contents of a Window Since the WESMap representε a window in the preferred embodiment, no procedure callε are required to retrieve or set the contents of a window. A callback function in the application simply sets the various fields to whatever values desired, and WES provides the formatting and displaying functions. In Figure 6, callback functions would be invoked for "field exits" or when the push-buttonε 614, 616, and 618 are clicked. The programmer could insert any programming desired at these callback functions.
For example, in Figure 6, assume a programmer decided that customer numbers greater than 1000 should only be billed at home. The following code in the "field exit" callback for the CuεtNumData field 602 would do the following:
if (CustNumData > 1000) BillingPrefData = LT_BILLINGPREF_HOME;
Additional examples of code for accessing the members of the field-control structure are provided below:
CustNumAttr = AT_ATTENTION; ShippingPrefRights = RGT_DISABLED; CustNameMsg = MSG_HIM0M; FriendOfCEOCursor = CUR MAKECURRENT;
The complete field-control structure can be referenced (i.e., for passing to a function) by using the field name without any qualifier (i.e., data, attr). An example of passing the customer number field to a validation routine is:
ValidateCustNum (CustNumData, SeCustNumCtl) ;
I. Example ListBox Window and WESMap Figure 7 is an example of a simple listbox window. The window 702 has 5 rows visible at any one time. An application, however, may have, for example, 50 rows defined in its "master liεt." The Liεtbox name is "CustList" (which is used for field control declarationε) . The memory model WESMap would present to the application is: WESMAPHEADER CustList; byte CustListSelData[50]; int CustNumData[50]; char CustNameData[33] [50] ; WESFLDCTL CustListSelCtl[50] ; WESFLDCTL CuεtNumCtl[50] ;
WESFLDCTL CuεtNameCt1[50] ; The CuεtListData structure is a selection indicator comprising 50 occurrences of the CustListSelData field containing a εelection indicator, the CuεtNu Data field containing the cuεtomer number, and the CuεtNameData field containing each row of a cuεtomer name, wherein each row compriεes 32 characters. The CuεtListCtl structure is the control vector for the complete listbox. The CustListRowFldCtl structure is the control vector for the rows of the listbox. The
CustListSelCtl field is the control vector for εelection of a particular row. The CustNumCtl field is the control vector for each entry in the "CustNum" column. The CuεtNameCtl structure is the control vector for each entry in the "CustName" column.
J. Presentation Services Data Structures
Figureε 8A and 8B deεcribe the data structures used by the presentation serviceε in the preferred embodiment. A liεt of all defined windowε available to the system is maintained in a Window Definition Table 818. Each window 804 and 806 is identified on a screen 802 by a window handle, "927" and "1115" respectively. A list of all active windows and an "instance" number asεociated therewith iε maintained in an Active Instance Table 816. A list of window handles and the associated pointers 810 and 814 to the specific "instance data" associated with a window is maintained in an Instance Table 812. In Figure 8A, a data pointer 810 is shown, which pointer is associated with window 804 whose handle is "927". The data pointer 810 points at the Window Instance Structure 808. The Window Instance Structure 808 is the structure WES creates and associates with a window. This structure contains all the data required by WES for handling and dispatching events. The Window Instance Structure 808 is comprised of pointers to an Application WESMap 826, a Master WESMap 824, a WES Control Table 820, a Command Table 822, a Widget Dispatch Table 832, a Window Dispatch Table 830, a Window Context Data area 828, a Busineεε Function Context Data area 836, an Execution Architecture Info area 838, and an Error Handler Parameter Block 840. A Window Instance Structure 808 is further described in Figure 9. The Application WESMap 902 is a memory area passed to application program, and includes header information, widget data and widget control attributes. The Master WESMap 904 is a second copy of WESMap used by WES to detect changes made by application. The WES Control Table 906 is a list of widget, widget types and associated data. The Command Table 908 is a list of user commands and associated data. The Widget Dispatch Table 910 is a list of widgets, events and callback routines. The Window Dispatch Table 912 is a list of windows and callback routines. The Window Context Data 914 contains data unique to each instance of a window. The String- Constantε Pointer 916 iε a pointer to εtrings used for widget values. The Businesε Function Context Data 918 containε data εhared across all windows of the same Business function. The Execution Architecture Information Area Pointer 920 is a pointer to Execution Architecture specific data. The Error Handler Parameter Block Pointer 922 is a pointer to common error handler interface data. A WES Control Table (WCT) 820 is described in Figures 10A, 10B, and IOC, and contains the following fields. The Window ID 1002 identifies the class of the window. The Instance ID 1004 is used to distinguish between multiple instances within a class of window. The Number Of Widgets 1006 is the number of widget definitions aεsociated with the window. The Number Of Fields 1008 iε the number of fieldε in WESMap. The Size Of WESMap 1010 is the size of WESMap in bytes. The Current Field 1012 identifies the field where the cursor is position. The Mouse Pointer Cursor 1014 is the shape of pointer when it is positioned in this window. The Modality 1016 is the modality of this window (i.e., application modal, syεtem modal, or modeleεε). The Language Type 1018 identifieε the programming language used to write the application. The Window Help Link 1020 identifies the window-level "help" text. The Array Of Widget Definition Structures 1022 is described in Figure 10B and contains the following fields. The Widget Type 1024 identifies a type of widget (e.g., text field, date field, radio button, etc.). The WESMap Offεet 1026 iε the offεet for the widget data value. The WESMap Length 1028 iε the length of the widget data value. The WESMap Data Type 1030 iε the internal format of the widget data value (e.g., floating point, character, etc.). The Offεet Of Field Control Data In WESMap 1032 identifies the location of the field control structure. The Help Link 1034 identifies the "help" text for the widget. The structures used for the Widget Specific Information 1036 are described in Figure 10C and contain the following fields. The Radio Button Structure Definition 1038 contains the following fields. The Parent Radio Group Widget ID 1046 identifieε the group of which the button is a member. The Radio Button Value Constant 1048 identifies the value of the radio button. The Radio Group Structure Definition 1038 contains the following fields . The Widget ID Of First Radio Button 1050 identifies the first radio button in the group. The Widget ID Of Last Radio Button 1052 identifies the last radio button in the group. The Listbox Structure Definition 1042 contains the following fields. The Required Field Flag 1054 indicates that a selection must be made. The Widget ID Of First Column 1056 identifies the widget for the first column in the listbox. The Number of Rows In Master List Array 1058 is the predefined size of the memory allocated for the list. The Number Of Columns In Liεtbox 1060 iε the predefined number of columnε in the listbox displayed on the screen. The Multiple Selection Flag 1062 indicates whether multiple rows can be selected. The Listbox Column Definition 1044 contains the Parent ID 1064 which identifies the widget that owns the column of the listbox.
A Command Table 822 is described in Figure 11, and contains the following fields. The Number of Commands 1002 identifieε the number of entrieε in the table. The Array Of Command Definitionε Structures 1004 contains the following fields. The Command ID 1006 uniquely identifies the command. The Widget ID 1008 identifies the widget associated with the command. The Widget Type 1010 identifies the type of widget (e.g., push button, menu item, etc.). The Preemptive Command Flag 1012 indicates whether the command iε alwayε enabled or is dependent on the statuε of the window or group of fieldε. The Command Rightε 1014 are the current rights and availability of command (i.e., enabled, hidden, etc). The Command Attribute 1016 identifies the current command attributes. The Help- Link 1018 identifies the "help" text for the command. A Widget Dispatch Table 832 is described in Figure 12, and contains the following fields. The Number Of Entries 1202 gives the number of entries in the table. The Widget Dispatch Structure Definition 1204 contains the following fields. The Widget ID 1206 identifies the widget. The Event ID 1208 identifies the event that occurs with the widget (i.e., field exit, field change, etc). The Callback Function Pointer 1210 identifies the function that should be invoked when the event occurs for the widget.
A Window Dispatch Table 830 is described in Figure 13, and contains the following fields. The Number Of Entries In Table 1302 is the number of entries in the dispatch table. The Window Dispatch Structure Definition 1304 contains the following fields. The Event ID 1306 identifies the event that occurs (i.e., pre-display, interfield validation, etc) . The Callback Function Pointer 1308 identifies the function that should be invoked when the event occurs for the window. A Window Definition Table 818 is described in
Figure 14, and contains the following fields . The Number Of Windows 1402 is the number of window types in the client application. The Window Information Structure Definition 1404 contains the following fields. The Version 1406 identifies the version of the data structure. The Window ID 1408 is the Presentation Services window ID. The Window Clasε Name 1410 iε the window class for non-WES windows. The Window Type 1412 may be WES, native Preεentation Manager, or some other type. The Default Modality 1414 indicates whether the window is application modal, modeless or system modal. The Create At Startup 1416 is a flag indicating a window should be created when the application firεt εtarts. The Create Options 1418 can create a window as an icon, hidden, maximized, etc. The Dialogue Resource ID 1420 identifies the resource to be used to display the window. The Menu ID 1422 is the menu identifier to uεe for the window. The Icon ID 1424 deεcribeε the bit mapped icon graphic to uεe for the window when εhrunk to icon size. The Widget Dispatch Table 1426 is a pointer to the Widget Dispatch Table (see Figure 12). The Window Dispatch Table 1428 is a pointer to the Window Dispatch Table (see Figure 13). The Class Style 1430 includes the Class Style registration options for native Presentation Manager windows. The PM Create Options 1432 include the Default Frame creation options for native Presentation Manager windows.
Pre-Programmed Disτ.r?..ution Services A. General Description
Referring again to Figure 3, the Distribution Services 322 are preferably pre-programmed modules and processes that provide for the automatic routing and transferring of messages based on the function or service being requested. Alternatively, the Distribution Serviceε 322 provide for the automatic routing and tranεferring of meεεageε based on a direct address. The Distribution Services 322 determine the location of the service, route the request to that location, handle exceptions (such as time-outs, routing errors, transmission errors, and other abnormal conditions), and return an optional reply from the service to the client-requester.
As illustrated in Figure 2, the Distribution Services modules 222, 228, and 242, and Message Manager processes 234 and 236, reside on all supported hardware platforms 202, 204, 206 and 212. This means that the
Distribution Serviceε 322, in the preferred embodiment, reεide on all hardware platforms running OS/2 and CICS.
The Distribution Services 322 are functionally divided into four (4) layerε: (1) Transmission Services (TS); (2) Message Services (MS); and (3) Guaranteed
Delivery (GD) . Each of the layers is described in more detail below.
Figure 15 describes a Message Header 1500 that is used by the Distribution Services 322 when transferring messageε. The Message Header precedes 1500 all data transmitted between nodes.
The Message Header 1500 is preferably comprised 26 of the following fields. The VERSION field 1502 indicates which version of the software generated the Message Header 1500, thereby permitting revisionε aε required. The SOURCE-ADDRESS field 1504 indicates the routing location of the sender of this message. Within the SOURCE-ADDRESS field 1504, the SOURCE-SERVICE-ID field 1506 indicates the service type of the sender, the SOURCE-NODE field 1514 indicates the node that the mesεage came from, and the SOURCE-PORT field 1524 indicateε the local source address of the mesεage (i.e., a queue, a unique process identifier, etc) . Within the SOURCE-SERVICE-ID field 1506, the SOURCE-SERVICE-NAME field 1510 identifies the name of the sending service, the SOURCE-SERVICE-VERΞION field 1510 identifies the version of the service, and the ΞOURCE-SERVICE-INSTANCE field 1512 identifies a particular instance of the service. Within the SOURCE-NODE field 1514, the SOURCE- MAJOR-NODE-NAME field 1516 and the SOURCE-MINOR-NODE- NAME field 1522 identify the node where the service reεideε. Within the SOURCE-MAJOR-NODE-NAME field 1516, the SOURCE-NODE-AREA field 1518 identifies the area where the node resides and the SOURCE-NODE-NUM field 1520 identifies the unique node number within the particular area. The DEST-ADDRESS field 1526 indicates the routing location of the receiver of this message.
Within the DEST-ADDRESS field 1526, the DEST-SERVICE-ID field 1528 indicates the service type requested, the DEST-NODE field 1536 indicates the node that the message is destined for, and the DEST-PORT field 1546 indicates the local destination address of the message (i.e., a queue, a unique process identifier, etc). Within the DEST-SERVICE-ID field 1528, the DEST-SERVICE-NAME field 1530 identifies the name of the requested service, the DEST-SERVICE-VERSION field 1532 identifies the version of the service, and the DEST-SERVICE-INSTANCE field 1534 identifieε a particular instance of the service. Within the DEST-NODE field 1536, the DEST-MAJOR-NODE-NAME field 1538 and the DEST-MINOR-NODE-NAME field 1544 identify the node where the service resides. Within the DEST- MAJOR-NODE-NAME field 1538, the DEST-NODE-AREA field 1540 identifies the area where the node resides and the DEST-NODE-NUM field 1542 identifies the unique node number within the particular area. The MSG-IDENTIFIER field 1548 is a unique identifier for the message being sent, generated by the source-side mesεage services. The ENVIRONMENT field 1550 indicates the operating environment of the message. The DATA-LENGTH field 1552 indicates the length of the data area that follows the Message Header 1500. The STATUS field 1554 is used between two platforms to indicate the internal return code from an operation. The ROUTING-CONTROL field 1556 provides control over the sending and re-sending of mesεageε between nodeε. The MSG-TYPE field 1558 indicateε whether this mesεage iε a request or a reply. The PROCESSING-TYPE field 1560 indicates whether a reply is requested, no reply is requested, or guaranteed delivery is to be used.
B. Transmisεion Services.
The Transmission Services (TS) layer preferably uses vendor-provided communications access methods, εuch as LU 6.2 and the OS/2 LAN Manager, to provide network- wide connectivity. The functionality provided by the TS layer preferably includes: o Insulating the Message Services layer from awareness of the underlying communications access method(s).
C. Message Services.
The Meεsage Services (MS) layer preferably works with the Transmission Services to implement the client/server model. The functionality provided by the MS layer preferably includes: o Intranode vs . internode routing deciεionε
( 'thin layer' ) ; o Indirect request routing by the service identifier, i.e., DEST-SERVICE-ID 1528, of the Message Header 1500 in Figure 15; o Direct request routing by the physical address, i.e., DEST-NODE 1536, of the Message Header 1500 in Figure 15; o Request/reply matching; o Reply timeout monitoring; o Server attribute management; o Server addreεs services; o Server version verification; o Application data translation; and o Access method independent, network wide node addressing; o Dynamic address assignment; o Permit multiple virtual circuits between pairε of network nodes; and o Message segmentation and reassembly.
MS sends messages from a source node to the peer MS component residing within a destination node. For host-to-host communications, source and destination nodeε are adjacent and hence no intermediary MS nodes are involved.
Messages sent between a workstation and a remote host, or between workstations residing on different LANs, paεε through one or more intermediary MS components, i.e., Message Managers residing on one or more intermediary nodeε.
Because of the intermediary routing function, for each message received MS compares the DEST-ADDRESS 1526 of the Message Header 1500 in Figure 15 with that of its own node, and if they match, places the message on the client or server application queue. Otherwise, MS routes the message to the destination MS.
Each workstation node obtains their addresses their respective MS Configuration Files. Host nodeε obtain their addreεεeε from their respective MS Configuration Files. An alternative embodiment could use a gateway resident MS Address Server to dynamically assign an address to each workstation node during MS connection establishment.
The following paragraphs provide a description of MS functions in the preferred embodiment. Functional differences between host, LAN gateway and workstation implementations are discussed later.
MS will route replies to request mesεageε if so requested, but typically the application is not blocked while the reply is outεtanding. Matching of replieε to requeεts allows MS to deliver a reply to the proper requestor and to filter out replies destined for applicationε that have already been released from their wait for the reply through the operation of a timeout.
Timeout intervals are assigned to each MS request message that expects a reply. If the timeout interval expires before a correεponding reply iε received, MS callε the error logging subsystem to log the error and builds a reply message containing a REQUEST-TIMEOUT code in a Status field of a Parameter Block which is returned to the requesting application. If the reply appears subsequent to these actions, an error will be logged and the reply will be discarded.
MS typically determines whether a given service request can be satisfied at the local node (i.e., a local server) or must be shipped to some remote node for servicing (i.e., a remote server). Local server requests bypasε TS and are sent directly to the appropriate server.
MS translates the service identifier, i.e., DEST-SERVICE-ID 1528 of the Message Header 1500 in Figure 15, received from the application to the correct physical address, i.e., DEST-NODE 1536 of the Message Header 1500 in the Figure 15. All of these fields need not be specified . The address is then mapped to a virtual circuit and the proper TS line handler. For applications needing a direct addressing capability, a DEST-NODE field 1536 of the Mesεage Header 1500 in Figure 15 can be specified in place of the DEST-SERVICE- ID 1528.
At node initialization rime, MS determines the local server configuration and availability. This information is then sent in an MS control mesεage to all other (remote) MS nodeε in the network. Each remote MS that receives this message uses it to update the server records in its own Node Availability Table, and replies with information concerning the current availability of its own local servers; this information is used by the originating MS to update its Node Availability Table. After thiε exchange of control meεεageε, MS initialization iε complete. These tables can also be configured εtatically prior to εtartup if deεired. The MS must also monitor the current availability of all local servers and notify all other MS nodes about statuε changes within its node.
MS is typically responsible for translating incoming data into the format appropriate for the local hardware. When an application requests that MS send a message, it pasεeε a Tranεlation Control Block to MS, which describes the format of the fields in the mesεage. MS on the sending node and MS and the receiving node work together to translate the mesεage. The Translation Control Block is generated by a tool in the DESIGN/l® software syεtem. Exampleε of format tranεlation include ASCII to EBCDIC and inverted byte binary to non-inverted byte binary.
1. MS Nodeε In the preferred embodiment, MS nodeε are characterized as: o Workstation (Workstation MS); o Gateway (Gateway MS) ; or o Host (Host MS) .
The functions implemented within each node type differ somewhat. Hoεt MS functionε conεist of those general functionε deεcribed above. Divergence from general functionality for each of the other node typeε in the preferred embodiment iε described below.
Unlike Host MS and Gateway MS, Workstation MS maintains a very limited Routing Table in the preferred embodiment. Following node initialization, a
Workstation Routing Table typically contains one entry for each server residing on that node, and one entry for the gateway-resident addresε server.
When a request arrives for a service not represented in the workstation routing table,
Workstation MS generates and sends an addresε reεolution request to the gateway-resident address server. The returned address information updates the Workstation Routing Table and the original request is now sent. In the preferred embodiment, Gateway MS receives service availability information from: o Workstation MS; o Host MS; and o Gateway-resident services. Gateway MS exchanges LAN-based service availability information with all Host MS's and Gateway MS's in the network. Rather than propagating Host MS and Workstation MS service availability information to locally attached Workstation MS's, preferably the Gateway MS makes the information available through a gateway-reεident address server.
In the preferred embodiment, a service is characterized by a set of service attributes. These attributes are kept and maintained by the Message Services. They are obtained from service descriptor entries residing either in the local MS configuration file (locally resident serviceε), or from service descriptor entries passed from MM to MM via through service resource exchange messages . In the preferred embodiment, attributes may be clasεified aε either permanent or transient.
2. Permanent Attributes a. Service Name
This is the character string name of an abstract service. It doeε not identify a specific process.
b. Instance Opcode and Operand
When qualified by a service name, the instance opcode and instance operand identify a specific server process. This process provides the service indicated by server name.
c. Scope
A service may have either local, global, or LAN scope. Services with local scope are known and available only to clients residing on the same node as the service. Thus, MS does not exchange information regarding these services with remote MS nodes. Globally scoped serviceε, by far the more common, are available to clients residing on any node of the network. A LAN scoped service is available only to nodes residing on the same LAN as the service.
3. Transient Attributes As their name implies, transient attributes in the preferred embodiment tend to vary 'frequently' over time, some changing more often than others.
a. Service Version The MS permits a application to specify a DEST-
SERVICE-VERSION field 1532 of the Meεεage Header 1500 in Figure 15. If the application exercises this option, MS will send the message only to a service with a matching version. If no such service exists, an error code will be returned to the application.
b. Availability
Service availability or status is probably the most frequently changing of all attributes. One of MS's main responsibilities is tracking the availability of all locally resident services, and exchanging thiε information with remote MS nodes.
D. Guaranteed Delivery.
The Guaranteed Delivery service in the preferred embodiment provides guaranteed store-and- forward message delivery between two applications. The guaranteed in 'Guaranteed Delivery' refers to the use of vendor-supplied transaction services to provide: o Protected resources; o Atomic transactions (logical unit of work) : start transaction; commit transaction; rollback transaction; o Recovery/restart. The above vendor-provided services provide, in the preferred embodiment, the functionality and degree of reliability defined for the Guaranteed Delivery service. Thus, once a message has been accepted for delivery, it will eventually be delivered to itε deεtination and it will be delivered exactly once. In most cases, it will be delivered in the order in which it was accepted for delivery.
Server Front End The Server Front End (SFE) is a pre-programmed service which manages server applications in the preferred embodiment. Its purpose is to make it easier for programmers to build applications and to standardize programming interfaces. An embodiment of the Server Front End existε on all platformε which can run the deεcribed run-time execution architecture. The Server Front End iε customized on each of these platforms to run properly on that platform. By being so built, it enables application functions to be similar or identical on all platforms, thereby enabling portability of application functions between platforms. The Server Front End preferably performs the services of: o Receiving mesεages from the Diεtribution Services, which were sent by another application. The other application could be on any computer which can communicate with the SFE. o Dispatching the message to the appropriate application function, o Handling errors and abnormal terminations. o Providing acceεε to a databaεe, including connection, open, and/or log on, for the application functions. However, the application functions issue the input and output commands. o Issuing rollback or commit commands to the database, o Coordinating between the application functionε and the guaranteed delivery component of Diεtribution Serviceε. o Upon completion of the application function, routing the reply meεεage (if any) from the application to the εender of the original requeεt message, o Optimizing the performance of the server application by appropriate techniques for the hardware and operating syεtem on which the SFE iε running. Examples of these techniques are: on OS/2, multi-threading; spawning a new thread to procesε each incoming message - on Unix, multi-tasking; starting a new task to process each incoming message Those skilled in the art will recognize that other techniques may be used on these platforms and that other platforms may have analogous techniques. The
Service Front End does not provide all these serviceε on all platforms.
Design Tools Figures 16A and 16B illustrate a preferred relationεhip between the deεign toolε 1602, 1604, and 1606, the repository 1608, the construction tools 1610, 1612, 1614, 1630, 1632, 1634, and 1644, and the user application 1646. The preferred embodiment provideε a plurality of deεign tools 1602, 1604, and 1606 for building applications for the run-time execution architecture. These design toolε include the standard tools familiar to those skilled in the art, for example, a Structure Chart Editor 1604, a General Document Editor 1606, etc. The functions performed by the design tools were discussed in more detail hereinbefore in conjunction with Figure 3. Further information is also available in the FOUNDATION® DESIGN/l® manual.
The definitions created by these design tools are stored in a repoεitory 1608. The repository 1608 provides means for categorizing, indexing, and cross- referencing the specifications for user applications. In the preferred embodiment, the repository 1608 supportε the informational entities necessary to define the operations to be performed by the Presentation Services, Distribution Services, and Databaεe Access Services. A Window Painter 1602 defines user interfaces in windowing systems, so that the applications may take advantage of windowing features comprising entry fields, static text, group boxes, radio buttons, check boxes, list boxes, lines, icons, and rectangles. The Window Painter 1602 stores these user interface definitions in the repository 1608.
Figure 17 describes the preferred structure of a Window Definition entity 1700. The Window Painter 1602 creates this entity 1700 to store window and dialogue box attributeε. The Window Definition entity 1700 is comprised of the fieldε Window Name 1702, Window Claεs Name 1704, Default Modality 1706, Create On Startup Flag 1708, Menu Indicator 1707, Icon Name 1712, Title 1714, Default Origin 1716, Size 1718, PM Style
Bits 1720, Frame Creation Flags 1722, and Initial Focus Widget ID 1724.
Figure 18 describeε the preferred structure of a Window - Menu Relationship entity 1800. The Window Painter 1602 creates this entity 1800 to establish the relationship between a window and itε pull-down menuε or menu itemε . The Window - Menu Relationship entity 1800 is comprised of the fields of Window Name 1802, Sequence 1804, Menu Type (pull-down or menu item) 1806, and the Name Of The Pull-Down Menu Or Menu Item 1808.
Figure 19 describeε the preferred structure of a Window - Widget Relationship entity 1900. The Window Painter 1602 creates this entity 1900 to establiεh a relationship between a window and its widgets. The Window - Widget Relationship entity 1900 is comprised of the fields of Window Name 1902, Widget Name 1902, Widget Origin 1906, Widget Size Override 1908, Widget PM Style Attributes Override 1910, Default Attribute, Status, and State 1912, Default Color and Font 1914, Default Message ID 1916, On-Line Help Link 1918, Widget Specific Attributes and Overrides 1920, and C Variable Name Override 1922. Figure 20 describes the preferred structure of a Window - Widget - Callback Relationship entity 2000. The Window Painter 1602 createε thiε entity 2000 to establish a tie between a callback function and widget- level events for a specific window. The Window - Widget - Callback Relationship entity 2000 is comprised of the fields of Window Name 2002, Widget Name 2004, Widget Event ID 2006, and Callback Function Pointer 2008.
Figure 21 deεcribeε the preferred structure of a Window - Callback Relationship entity 2100. The Window Painter 1602 creates this entity 2100 to establish a tie between a callback function and a widget-level event. The Window - Callback Relationship entity 2100 is comprised of the fieldε of Window Name 2102, Window Event ID 2104, and Callback Function Pointer 2106.
Figure 22 describes the preferred structure of a Listbox Definition entity 2200. The Window Painter 1602 creates this entity 2200 to define a listbox and its default attributes. The Listbox Definition entity 2200 is comprised of the fields of Listbox Name 2202, Default Size 2204, Default PM Style Attributes 2206, Multiple Selection Flag 2208, Required Field Flag 2210, the Number Of Rows in the "master list" array 2212, and a Default C Variable Name 2214.
Figure 23 describes the preferred structure of a Listbox - Element Relationship entity 2300. The Window Painter 1602 creates thiε entity 2300 to establish a tie between the listbox and the element definitions for its columns. The Listbox - Element
Relationship entity 2300 is comprised of the fields of Listbox Name 2302 and Element Name 2304.
Figure 24 describes the preferred structure of a Push-Button Definition entity 2400. The Window Painter 1602 creates thiε entity 2400 to define a push¬ button and iε similar to a function key definition. The Push-Button Definition entity 2400 is comprised of the fields of Push-Button Name 2402, Default Size 2404, Default PM Style Attributeε 2406, Push-Button Text 2408, Mnemonic Character 2410, Function/Event ID 2412, Preemptive Function Flag 2414, and Default Function State and Attribute 2416.
Figure 25 describeε the preferred structure of a Menu Definition entity 2500. The Window Painter 1602 creates this entity 2500 to define a menu item. The Menu Definition entity 2500 is comprised of the fields of Menu Name 2502, Default PM Style Attributes 2504, Menu Text 2506, Mnemonic Character 2508, Command/Event ID 2510, Preemptive Command Flag 2512, Default Command State and Attribute 2514, Accelerator Character 2516, and Parent Menu Name 2518. Figure 26 deεcribeε the preferred εtructure of an Icon Definition entity 2600. The Window Painter 1602 creates this entity 2600 to define a icon. The Icon Definition entity 2608 is comprised of the fields of Icon Type 2602, Resource ID 2604, Filename 2606, and Loading Option 2610. The Icon Type field 2602 identifies the icon. The Resource ID field 2604 is a numeric identifier for the icon. The Filename field 2606 identifies the phyεical file containing the bit mapped graphic for diεplay. The Loading Option field 2608 specifies dynamic or static linking.
Thuε, the Window Painter 1602 iε used to define, during the design phase, the window layout, window attributes, literal attributes, widget attributes and callback functions for user applications.
Construction Tools
Referring again to Figures 16A and 16B, the preferred embodiment provides Construction Tools 1610, 1612, 1614, 1630, 1632, 1634 and 1644 for generating code shells, executable object modules, and tableε for the client and server applications 1646.
A Window Generator 1610 reads window and widget definitionε, and other entitieε, (previously deεcribed in Figures 17 through 26) from the repository 1608 and generates a number of tables for use by the pre¬ programmed presentation services, including a Dialogue file 1618, a WES Control Table 1620 (previously described in Figures 10A, 10B, and IOC), and a WESMap, Window Dispatch Table (previously described in Figure 13), Widget Dispatch Table (previously described in Figure 12), and a Window Definition Table entry (previously described in Figure 14), all of which are identified by reference number 1622. Note that the Window Generator 1610 generates tables in a format specific to each targeted platform, whereas the Window Painter 1602 creates definitions for the repository 1608 independent of the targeted platform.
The Dialogue file 1618 iε preferably a free- form text file containing English-like descriptions of the windows. The descriptions are, in fact, a command language used to define the window. In the preferred embodiment, the Dialogue file 1618 contains the OS/2 Presentation Manager resource file definition and control information for each window. The Dialogue file 1618 contains formatting information for the window as a whole and for each of the items painted on the window, including position, size, default behavior, font information, and other formatting data. The command language is comprised of mnemonics for defining the window title, window id, x and y coordinates on the screen for initial placement, width and height of the window, and other attributes. Those skilled in the art will recognize that other means of generating such resource files could also be used.
The Dialogue file 1618 is used to generate a resource file 1636, which waε described hereinbefore by reference number 410 in Figure 4. Such resource files are well known to those knowledgeable about the IBM OS/2 Presentation Manager operating syεtem and will not be discussed further herein. Similarly, other environments may use other techniques in place of the resource file 1636. The preferred embodiment will εupport analogous techniques appropriate for each particular environment. The Window Generator 1610 useε the Window
Definition entity 1700 of Figure 17 to create the corresponding fields of the Window Definition Table 1400 of Figure 14. The Window Definition entity 1700 of Figure 17 provides the Window Definition Table 1400 of Figure 14 with the fields of Window Name 1702 (Window ID 1408 of Figure 14), Window Class Name 1704 (Window Class Name 1410 of Figure 14), Default Modality 1706 (Modality 1414 of Figure 14), Create On Startup Flag 1708 (Create At Startup 1416), Menu Indicator 1710 (Menu ID 1422 of Figure 14), and Icon Name 1712 (Icon ID 1424 of Figure 14). The remaining fields, Title 1714, Default Origin 1716, Size, 1718, PM Style Bitε 1720, and Frame Creation Flagε 1722, are uεed to build commandε in the dialogue file 1618 of Figure 16A. The Window Generator 1610 uses the Window -
Menu Relationship entity 1800 of Figure 18 to create the corresponding fields of the Command Table 1100 of Figure 11. The Window - Menu Relationship entity 1800 provides the fields of Sequence 1804 (Widget ID 1108 of Figure 11) and Menu Type 1086 (Widget Type 1110 of Figure 11). The remaining fields, Window Name 1802 and Name Of Pull Down Menu Or Menu Item 1808, are used to build commands in the dialogue file 1618 of Figure 16A.
The Window Generator 1610 uses the Window - Widget Relationship entity 1900 of Figure 19 to create the corresponding fieldε of the WES Control Table 1000 of Figures 10A, 10B, and IOC. The Window - Widget Relationship entity 1900 provides the fields of Window Name 1902 (Window ID 1002 of Figure 10A) , Widget Name 1904 (Widget Type 1024 of Figure 10B) , and On-Line Help Link 1918 (Help Link 1034 of Figure 10B) . The remaining fields, Widget Origin 1906, Widget Size Override 1908, Widget PM Style Attributes Override 1910, Default Attribute, Status, and State 1912, . Default Color And Font Information 1914, Default Message ID 1916, and Widget Specific Attributes And Overrides 1920, are used to build commands in the dialogue file 1618 of Figure 16A. The C Variable Name Override 1922 is used within a WESMap to identify a data location therein.
The Window Generator 1610 uses the Window - Widger - Callback Relationship entity 2000 of Figure 20 to create the corresponding fields of the Widget
Dispatch Table 1200 of Figure 12, which is pointed to by the Window Definition Table 1400 of Figure 14. The Window - Widget - Callback Relationship entity 2000 provides the fields of Widget Name 2004 (Widget ID 1206 of Figure 12), Widget Event ID 2006 (Event ID 1208 of
Figure 12), and Callback Function Pointer 2008 (Callback Function Pointer 1210 of Figure 12). The Window Name 2002 of the Window - Widget - Callback Relationship entity 2000 provides the link between a Window Definition Table 1400 of Figure 14 and the Widget Dispatch Table 1200 of Figure 12.
The Window Generator 1610 uses the Window - Callback Relationship entity 2100 of Figure 21 to create the corresponding fields of the Window Dispatch Table 1300 of Figure 13, which is pointed to by the Window Definition Table 1400 of Figure 14. The Window - Callback Relationship entity 2100 provides the fields of Window Event ID 2104 (Event ID 1306 of Figure 13) and Callback Function Pointer 2106 (Callback Function Pointer 1308 of Figure 13). The Window Name 2102 of the Window - Callback Relationship entity 2100 provides the link between a Window Definition Table 1400 of Figure 14 and the Window Dispatch Table 1300 of Figure 13.
The Window Generator 1610 uses the Listbox Definition entity 2200 of Figure 22 to create the corresponding fields of the WES Control Table 1000 of Figures 10A, 10B, and IOC. The Listbox Definition entity 2200 provides the fields of Listbox Name 2202 (Widget Type 1024 of Figure 10B) , Default Size 2204 (WESMap Length 1028 of Figure 10A) , Multiple Selection Flag 2208 (Multiple Selection Flag 1062 of Figure 10C), Required Field Flag 2210 (Required Field Flag 1054 of Figure 10C), and the Number Of Rows In Master List Array 2212 (Number Of Rows In Master List Array 1058 of Figure 10C). The remaining fields, Default Size 2204 and Default PM Style Attributeε 2206, are used to build commands in the dialogue file 1618 of Figure 16A. The Default C Variable Name 2214 is used within a WESMap to identify a data location therein.
The Window Generator 1610 uses the Listbox - Element Relationship entity 2300 of Figure 23 to create corresponding fields in the dialogue file 1618 of Figure 16A. The Listbox Name 2302 provides a link to the Listbox Definition entity 2200 of Figure 22. The Element Name 2304 provides a name for the entry in the dialogue file 1618 of Figure 16A. The Window Generator 1610 uses the Push-Button
Definition entity 2400 of Figure 24 to create the corresponding fields of the Command Table 1100 of Figure 11. The Push-Button Definition entity 2400 provides the fields of Push-Button Name 2402 (Widget ID 1108 of Figure 11), Preemptive Command Flag 2414 (Preemptive Command Flag 1112 of Figure 11) , and Default Command State and Attribute 2416 (Command Attribute 1116 of Figure 11). The remaining fieldε, Default Size 2404, Default PM Style Attributeε 2406, Puεh-Button Text 2408, and Mnemonic Character 2410, are used to build commands in the dialogue file 1618 of Figure 16A.
The Window Generator 1610 uses the Menu Definition entity 2500 of Figure 25 to create the corresponding fields of the Command Table 1000 of Figure 11. The Menu Definition entity 2500 provides the fields of Menu Name 2502 (Widget ID 1108 of Figure 11), Command/Event ID 2510 (Command Id 1106 of Figure 11), Preemptive Command Flag 2512 (Preemptive Command Flag 1112 of Figure 11), and Default Command State and Attribute 2514 (Command Attribute 1116 of Figure 11) . The Menu Parent Name 2518 provides link for the different levels of menus, sub-menus, etc.
The Window Generator 1610 uses the Icon Definition entity 2800 of Figure 28 to create the corresponding fields of the Window Definition Table 1400 of Figure 14. The Icon Definition entity 2800 provides the fields of Icon Type 2802 (Icon ID 1424 of Figure 14) and Resource ID 2804 (Dialogue Resource ID 1420 of Figure 14). The remaining fieldε, Filename 2806 and Loading Option 2808, are used to build commands in the dialogue file 1618 of Figure 16A. Referring again to Figure 16A, a Code Generator
1612 uses the structure charts stored in the repository 1608 to generate the functionε found in the application callback source code 1624. Alternatively, users may also manually program functions into the application callback source code at point 1626 in Figure 16A. Functions are typically designed using the FOUNDATION ®
Structure Chart Editor. Once the user has completed the
Structure Charts for the required functions, the native source code for these functions can be generated. The process of generating native source code consists of reading the Structure Chart definitions from the repository 1608, then translating those definitions using a Spec-Language Translator. The Translator functionε logically within the Code Generator 1612 according to Figure 16A, but in the preferred embodiment actually iε a physically distinct program. The Spec- Language Translator generates a standard language equivalent, e.g., C, COBOL, etc. Thus, it is the responsibility of the Code Generator 1612 to build the file used to create the actual executable code. The output file of the Code Generator 1612 is the source file for the user application. Alternatively, users may enter native source code manually. By building functions using a standard programming language such as COBOL, C, etc., users thus eliminate the need for the Spec-Language Translator. As is well known in the art, the specificationε for data structures are created by the FOUNDATION ®
Dataflow Diagrammer and then stored in the repository
1608. Alternatively, the specificationε for data structures can be created using a general document editor without diagramming.
A Copybook Generator 1614 readε data structure specifications and other entities from the repository 1608 and generates language-specific copybookε 1628. Theεe copybookε 1628 contain the source code structures for using the Mesεage Header, data structures, etc.
A Backbone Generator 1632 combines the Window Dispatch Table, Widget Dispatch Table, Window Definition Table and a WESMap εtructure, together referred to aε 1622, the application callback source code 1624, and the copybooks 1628 to create the command files used to create the actual executable code. The output files of Backbone Generator are the source file with include references and a 'make' file (on workεtations and other platforms where they are used) for compiling each module of the program, which is input to the Compiler 1634 and an application resource file 1616.
A standard Compiler 1634, for example, a C or COBOL compiler, takes the output file from the Backbone Generator and creates the program object code 1638 for the user application.
A Resource Compiler 1630 uses the application resource file 1616 and dialogue file 1618 to create an Resource File 1636. The application resource file 1616 indicates which window definitions should be extracted from the dialogue file 1618 for inclusion in the
Resource File 1636. The dialogue file 1618 contains formatting information for the window as a whole and for each of the items painted on the window. As described above, formatting information includes position, size, default behavior, font information, and other formatting data. Generally, the Resource Compiler 1630 is used only for applications which have a user interface, i.e., a client application. For some applicationε which do not have a user interface, e.g., server applications, the Resource Compiler 1630 may not be required.
A standard Linker 1644 joins the program object 1638, a shell object 1640, and an application library object 1642 into an application executable object module 1646. The shell object 1640 is a standard object module containing the "main" procedure of the application and global data pointerε. The application library object 1642 is a standard object module containing commonly- used functionε. Once linked, the executable object module 1646 includeε the modules or routines to access them described hereinbefore in Figure 3, including the pre-programmed presentation services (if a client application), the user-specified functions, the pre¬ programmed distribution εervices, the pre-programmed server-front end (if a server application), and the database access services (if a server application). Figures 27, 28, and 29 shows the preferred structure of the user applications as they are generated by the construction tools. Figure 27 shows the preferred run-time structure for a client application 2702. The client application 2702 is comprised of headers 2704, data 2706, initialization 2708, processing loop 2710, callback functions 2712, common functions 2714, error handlers 2716, and cleanup 2718. The headerε 2704 are declarationε of constants and data structures. These declarations come primarily from the copybooks. The data 2706 is working storage variables. The initialization 2708 is comprised of setup routines. The procesεing loop 2710 iε a loop which performs two functions: (1) retrieving messages from the Distribution Services, and (2) dispatching messages based on the function requeεted. The callback functions 2712 are the functions called by WES or by the run-time execution architecture in response to events not originating from the user interface. The common functions 2714 are functions not directly called by the user interface, i.e., WES. The error handlers 2716 are functions which perform error processing. The cleanup 2718 performs variouε cleanup routines pending the termination of a client 2702.
Figure 28 describeε the preferred run-time εtructure 2802 for an OS/2 server application. The run-time structure 2802 comprises headers 2804, data 2806, initialization 2808, proceεεing loop 2809, requeεt handlerε 2810, common functions 2812, error handlers
2814, and cleanup 2816. These functions are εimilar to those described in the client run-time structure 2702 of Figure 27. The differences are in the processing loop 2810, request handlers 2812, and common functions 2814. The processing loop 2810 reads a request queue and invokes a procedure based on the type of request received. The request handlers 2812 are the functions called by the proceεεing loop 2810 uεed on the type of request. The common functions 2814 are functions not directly called by the processing loop 2810.
Figure 29 describes the preferred run-time εtructure 2902 for a CICS server application. The run¬ time structure 2902 includeε headerε 2904, data 2906, initialization 2908, proceεε requestε 2910, requeεt handlerε 2912, common functions 2914, error handlers
2916, and cleanup 2918. Thiε run-time εtructure 2902 is similar in function to the OS/2 run-time structure 2702 described in Figure 27.
Shared Data Manager
A. Overview
Figure 30 describes a Shared Data Manager (SDM) 3002 facility, which in the preferred embodiment provides applications 3004 in the execution architecture with an ability to access a common pool of information. The SDM 3002 stores information in the form of Objects' classified by a business function, class and instance. In addition to being able to manipulate these objects, applications 3004 can also register interest in them so that if an object data is updated or deleted, the interested applications are notified of the change. The implementation of SDM deεcribed herein is just one posεible implementation, and those skilled in the art will readily recognize that other implementations could be used.
B. SDM Viewpoint
In the preferred embodiment, the SDM 3002 is a 'server' application. Objects and the associated data are maintained internally in the SDM 3002 in various tables and linked listε. These tables and liked lists preferably comprise an object table 3008, an interest table 3010, and an active application list 3012. The object table 3008 typically maintains a copy of the desired data object. The interest table 3010 typically maintains an indicator of an application's interest in a particular object. The active application table 3012 typically maintains a list of all active applications 3004 having access to the SDM 3002.
The tables and lists 3008, 3010, and 3012 are organized into a key-sequenced hierarchical data access structure. Those skilled in the art will recognize that other data access structures may be substituted therefor. Preferably, the tables and lists 3008, 3010, and 3012 are resident in memory, thus permitting fast access to object data. The SDM 3002 also preferably makes an efficient use of the available memory by initially allocating only enough memory to hold a limited number of objects and then dynamically resizing its internal tables 3008, 3010, and 3012 to hold more data if necessary.
In some operating systems environments, for example OS/2, it is possible to spawn an asynchronous thread to process every application request received. Thus, in the preferred embodiment, the SDM 3002 takeε sufficient precautions to maintain the integrity of the internal tables 3008, 3010, and 3012, and to prevent data from being manipulated by multiple requeεts at the same time.
C. Application Viewpoint
In the preferred embodiment, each object in the object table 3008 is uniquely identified by buεiness function, claεε and instance. In an alternative embodiment, the SDM 3002 may also permit objects to be identified non-uniquely. Thus, in the alternative embodiment, operations may be performed on multiple objects at a time, thuε eliminating the need for the application to identify an object by itε unique identification. Thiε alternative embodiment could support operations on multiple objects by accepting partial identification of classes of objects.
In the preferred embodiment, an application 3004 communicates with the SDM 3002 by sending it a mesεage via the SDM queue 3006. A return message 3016 is sent by the SDM 3002 to the requesting application 3004 upon completion of the request. This return message 3016 tells the application 3004 whether the SDM 3002 was able to carry out the requested service successfully. The return message 3016 also contains any data 3018 requested by the application 3004, if the service performed was succeεεful.
A meεsage between an application 3004 and the SDM 3002 preferably consists of two parts: (1) a parameter block which identifies the service to be performed by SDM, and (2) an area containing additional information (e.g., object data) required to perform the requested εervice.
In the preferred embodiment, the SDM 3002 can perform a number of operationε on itε table of objectε including: Read, Write, Rewrite, Delete, and Unregister Interest.
The Read service c_llows an application 3004 to read an existing object 3008 from the SDM 3002. An object in the object table 3008 is uniquely identified by its Business Function, Class and Instance key. If the requested object is present in the object table 3008, a copy of the object data is sent to the requesting application 3004. The application 3004 also becomes implicitly 'interested' in that object, wherein that interest is recorded in the interest table 3010. The Write service allows applications 3004 to add an object to the object table 3008. If the object doeε not already exist in the object table 3008, it is added thereto. The requesting application 3004 also becomes automatically 'interested' in that object, wherein that interest is recorded in the interest table 3010.
The Rewrite service permits an existing object to be modified in the object table 3008. Note that all interested applications 3004 are notified of this change, except for the requesting application 3004. Applications 3004 are notified by receiving a message from the SDM 3002, with the mesεage indicating the object'ε new value. Alternative embodiments could use alternative techniques of notification.
The Delete service allows an object to be deleted from the object table 3008. As with the Rewrite service, all interested applications 3004 are notified of this change, except for the requesting application 3004.
The Unregister Interest service permits an application 3004 which is no longer 'interested' in a particular object to 'unregister' itself from the interest table 3010. The application 3004 will not receive any further notification of change in that particular object in the object table 3008. If there are no interested applications 3004 in an object, then the object is deleted from the object table 3010. Applications 3004 can also unregister themselves from all the objects they are interested in by specifying a 'null' Business Function, Class and Instance with thiε εervice, thereby signifying all objects.
Those skilled in the art will recognize that this list of functions could be added to or modified without significantly affecting the overall workings of the SDM 3002.
D. Browser Tool
In the preferred embodiment, a Browser Tool is provided to allow a programmer to open a window to the SDM internal tables 3008, 3010, and 3012 and view the contents thereof. Thus, the Browser Tool can retrieve a list of user applications 3012, intereεts of the applicationε 3010, and data objects 3008 from the SDM 3002. The Browser Tool allows a programmer to change data values dynamically during execution using a modify function. Such an action triggerε the notification facilities of the SDM so that all interested applications 3004 are notified of the change. The Browser Tool communicates with the SDM 3002 in a manner similar to user applications 3004.
Codes Tables
In the preferred embodiment, the run-time execution architecture also has a feature for parameterizing applications. To parameterize an application, a data item is identified as an element of a "codes table" wherein values of the element are maintained in the codeε tableε. An application requests a "decode" by paεsing an identifier of the element to the codes table and a function to be performed thereon. The codes table performs thd- desired operation. The codes table provides a central control point for messageε, data and validation operationε. Any number of codeε tableε can be automatically invoked by the application during the editing and validation of data. The preferred embodiment also provides tools for maintaining the codeε tableε.
A. Overview
Aε illuεtrated in Figure 31, codes tables 3104 are typically used by applications 3102 to "decode" requests for commonly used data and provide validation. Some typical uses of a codes table 3104 are: o Informational messages o Warning messages o Error messages o Validation of abbreviations o Range validation o Validation of combinations o Abbreviation lookup
B. Application Programming Interface
The typical functions available for use with the codes table 3104 are listed below along with a brief description:
Function Results
Get Unique Returns desired element. Get Next Returns next element. Get Multiple If full key exiεts, the element identified thereby will be returned. Otherwise, the next element is returned. Get Decode Returns decode field. Write Insert new element.
Rewrite Modify the specified element. Delete Delete the εpecified element. Additional functions could be added without departing from the scope of the invention.
For all of the functionε, a return code iε εet by the codeε tableε facility to the εtatus of the operation. For example, a succesεful completion would be given a 0, warnings a 4, etc. In addition, error messages may be sent to an operator's console.
It may be desirable to have all or some of the codes table information loaded onto the computer system where an application resides during initialization. The timestamp of the codeε table may be automatically checked and a new codes table copied over it if necessary. This would avoid having to request the decode from a remote server residing on another computer system for every decode request. The decision to place all of the codes table information on the local computer εyεtem where the application reεideε depends on the size of the table.
It iε also possible to keep only the most frequently requested decodes with the application. The codes table facility is called by the application program and based on the requested decode, it is determine whether a remote server should be accessed to perform the decode.
F. Codes Table Maintenance Facility
The Codeε Table Maintenance facility provideε an interface to the elements of the codes table. Each decode record or element of the codeε table preferably contains the following fields: decode value - An integer value uniquely identifying the element. reεident flag - A boolean flag indicating whether the decode record should be considered to be locally resident. description - Text describing the purpose of the decode record, decode string - The text associated with a particular decode record including the subεtitution place markers (%1, %2, . . .) for the substitution of parameters into the decode string, parameter count - The maximum number of subεtitution parameterε allowed, parameter list - The type of data (string, integer, byte, word, pointer . . ) and a required parameter flag associated with each parameter.
Thus, the Codes Table Maintenance Facility provides a way for users to modify codes tables. For example, a list of codes table decode elements and their associated descriptions can be scrolled through on a display screen. Selecting a modify function allows the attributes of a decode element in a codes table to be changed.
CONCLUSION This concludes the description of the preferred embodiment of the invention. The following paragraphs describe some alternative methods of accomplishing the same invention.
A different workstation environment such as UNIX could be substituted for the OS/2 environment described. A different mainframe or minicomputer environment could also be substituted for the IBM CICS environment described.
In summary, a computer-asεiεted εoftware engineering system has been described which facilitates the design, implementation, and execution of applications in cooperative processing environments. Design tools are provided for creating, storing, retrieving, and editing system specificationε in a repository. Construction tools are provided for generating applications from the systems specification created by the design tools. A run-time execution architecture is provided for executing the applications on a plurality of computer hardware and operating system platforms and for eaεily porting applicationε between different platforms. The run-time execution architecture comprises pre-programmed presentation services for interacting with the user and pre¬ programmed distribution services for routing and transferring mesεageε between applications.
The foregoing description of the preferred embodiment of the invention has been presented for the purposes of illustration and deεcription. It is not intended to be exhaustive or to limit the invention to the precise form disclosed. Many modifications and variations are possible in light of the above teaching. It is intended that the scope of the invention be limited not by this detailed description, but rather by the claims appended hereto.

Claims

WHAT IS CLAIMED IS:
1. A computer-assisted software engineering system for cooperative processing environments, comprising: (a) design means for creating, storing, retrieving, and editing specifications describing a first user application in an electronic data format;
(b) construction means for generating the first user application from the specifications, the first user application being capable of execution on one of a plurality of computer hardware platforms; and
(c) run-time execution architecture means for executing the first user application on the computer hardware platforms, the run-time execution architecture means comprising:
(i) pre-programmed presentation serviceε means for managing a plurality of user- interface functions for the first user application; (ϋ) pre-programmed distribution services means for routing and transferring messages from the first user application to a second user application; and
(iii) user-programmed application services means for implementing user-defined functions in the first user application.
2. The software engineering system of claim 1, wherein the design means further comprises window painter means for defining and storing a user-interface comprising push-buttons, pull down menus, resizable windows, and text entry fields.
3. The software engineering system of claim 2, wherein the construction means comprises window generator means, responsive to the user-interface generated by the window painter means, for generating tables for use by the run- time presentation services means in the display and management of the user interface.
4. The computer-assisted software engineering system of claim 1, further comprising:
(a) means for storing at least one data item in a global pool of data;
(b) means for modifying and retrieving data items in the global pool of data; (c) means for registering an interest by the first user application in one of the data items; and
(d) means for notifying the first user application when the data item is modified in the global pool of data.
5. The computer-assisted software engineering system of claim 4, further comprising means for sharing the global pool of data between the first and second user applications executing on separate hardware platforms.
6. The computer-assisted software engineering system of claim 4, wherein the first user application comprises a user-interface window.
7. The computer-assisted software engineering system of claim 1, wherein the run-time execution architecture means further comprises means for parameterizing the first user application so that a plurality of codes tables can be automatically invoked by the first user application during the editing and validation of data.
8. The computer-assisted software engineering system of claim 7, wherein the means for parameterizing comprises means for identifying a data item as an element of the codes table and means for maintaining the values of the element in the codes table.
9. The computer-assisted software engineering system of claim 7, wherein the means for parameterizing further comprises browser tool means for editing and maintaining the codes tables.
10. The computer-asεisted software engineering system of claim 1, wherein the pre-programmed presentation services means further comprises means for presenting a window to the first user application as a memory model so that a window field is treated as a variable in the memory model, so that data which is altered in the variable is thus altered in the window field, and so that data which is altered in the window field is thus altered in the variable in the memory model.
11. The computer-assisted software engineering system of claim 10, wherein the pre-programmed presentation services means further comprises means for transparently presenting commands to the first user application as a callback function in the first user application so that the first user application need not control the presentation format of the commands.
12. The computer-assisted software engineering system of claim 11, wherein the means for transparently presenting further comprises means for performing the callback function identically on a plurality of platformε without re-programming the callback function.
13. The computer-assisted software engineering system of claim 1, wherein the pre-programmed distribution services means further comprises means for automatically routing and transferring messages according to a service being requested.
14. The computer-assisted software engineering system of claim 13, wherein the means for automatically routing comprises:
(a) means for determining a location of the service;
(b) meanε for routing the meεsage to the location; and
(c) means for returning a reply to the message from the service at the location to the user application.
15. A shared data manager for sharing data among a plurality of application programs executing on a computer, comprising:
(a) means for storing at least one data item in a global pool of data;
(b) means for modifying and retrieving data items in the global pool of data;
(c) means for registering an interest by a first application program in one of the data items; and
(d) means for notifying the first application program when the data item is modified in the global pool of data.
16. The shared data manager of claim 15, further comprising means for sharing the global pool of data between the first and a second application programs executing on a separate computer.
17. The shared data manager of claim 15, wherein the first application program is a uεer-interface window.
PCT/US1990/007490 1989-12-18 1990-12-18 Computer-assisted software engineering for cooperative processing WO1991009365A2 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
US07/452,673 US5301270A (en) 1989-12-18 1989-12-18 Computer-assisted software engineering system for cooperative processing environments
US452,673 1989-12-18

Publications (2)

Publication Number Publication Date
WO1991009365A2 true WO1991009365A2 (en) 1991-06-27
WO1991009365A3 WO1991009365A3 (en) 1991-10-31

Family

ID=23797434

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/US1990/007490 WO1991009365A2 (en) 1989-12-18 1990-12-18 Computer-assisted software engineering for cooperative processing

Country Status (3)

Country Link
US (1) US5301270A (en)
CA (1) CA2077189A1 (en)
WO (1) WO1991009365A2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0591702A1 (en) * 1992-09-25 1994-04-13 International Business Machines Corporation User interface method and system
GB2323456A (en) * 1997-03-18 1998-09-23 Fujitsu Ltd Software development and software design evaluation

Families Citing this family (158)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5495610A (en) * 1989-11-30 1996-02-27 Seer Technologies, Inc. Software distribution system to build and distribute a software release
US5586314A (en) * 1990-05-02 1996-12-17 Electronic Data Systems Corporation Graphic information modeling and icon-based intermediate text language generation
EP0515739A1 (en) * 1991-05-31 1992-12-02 International Business Machines Corporation Program code generator
JP2749020B2 (en) * 1991-11-14 1998-05-13 日立ソフトウエアエンジニアリング株式会社 Diagram recognition system
US5689671A (en) * 1991-11-27 1997-11-18 Icl Systems Ab System for reducing quantity of data transmitted to a user unit by transmitting only an identifier which points to pre-stored information in the user unit
JP3066681B2 (en) * 1991-12-09 2000-07-17 インターナショナル・ビジネス・マシーンズ・コーポレ−ション Apparatus and method for graphically displaying related information in relational database
JP3450352B2 (en) * 1992-05-22 2003-09-22 キヤノン株式会社 Data management method and apparatus
US5440739A (en) * 1992-06-11 1995-08-08 Beck Systems, Inc. Method of maintaining updated set-up configurations in workgroups on a network
US5544320A (en) * 1993-01-08 1996-08-06 Konrad; Allan M. Remote information service access system based on a client-server-service model
US5640513A (en) * 1993-01-22 1997-06-17 International Business Machines Corporation Notification of disconnected service machines that have stopped running
US5497334A (en) * 1993-02-19 1996-03-05 International Business Machines Corporation Application generator for use in verifying a hierarchical circuit design
EP0667972B1 (en) * 1993-02-26 1996-11-06 Taligent, Inc. Collaborative work system
JPH076142A (en) * 1993-04-20 1995-01-10 Mitsubishi Electric Corp Multiagent coordination system and its method
WO1995013580A1 (en) * 1993-11-09 1995-05-18 Arcada Software Data backup and restore system for a computer network
CA2136367A1 (en) * 1993-12-20 1995-06-21 John Scott Anderson Dynamically specifying invocations in compiled objects
US5555369A (en) * 1994-02-14 1996-09-10 Apple Computer, Inc. Method of creating packages for a pointer-based computer system
US5548506A (en) 1994-03-17 1996-08-20 Srinivasan; Seshan R. Automated, electronic network based, project management server system, for managing multiple work-groups
JP3070896B2 (en) * 1994-04-22 2000-07-31 シャープ株式会社 Information retrieval device
EP2282534B1 (en) 1994-05-20 2013-06-26 United Video Properties, Inc. Improved electronic televison program schedule guide system and method
US5862377A (en) * 1994-05-26 1999-01-19 Bay Networks Groups, Inc. Technique for sharing information between applications
WO1996003690A1 (en) * 1994-07-22 1996-02-08 Debenedictis Erik P Method and apparatus for controlling connected computers without programming
US5644718A (en) * 1994-11-10 1997-07-01 At&T Corporation Apparatus using circuit manager to associate a single circuit with each host application where the circuit is shared by a plurality of client applications
US6341276B1 (en) 1995-03-01 2002-01-22 Ibm Corporation System for selecting a computer solution from a pre-defined set
US5706454A (en) * 1995-04-26 1998-01-06 International Business Machines Corporation Changeable live icon with visual state indicator option
US5774720A (en) * 1995-08-18 1998-06-30 International Business Machines Corporation Personality neutral graphics subsystem
US5767849A (en) * 1995-08-18 1998-06-16 International Business Machines Corporation Personality neutral window management subsystem
US6950991B2 (en) * 1995-11-13 2005-09-27 Citrix Systems, Inc. Interacting with software applications displayed in a web page
US6088515A (en) 1995-11-13 2000-07-11 Citrix Systems Inc Method and apparatus for making a hypermedium interactive
WO1997024671A1 (en) * 1995-12-29 1997-07-10 Powertv, Inc. Event filtering feature for a computer operating system in a home communications terminal
US5754890A (en) * 1996-02-01 1998-05-19 Microsoft Corporation System for automatic identification of a computer data entry device interface type using a transistor to sense the voltage generated by the interface and output a matching voltage level
US5870550A (en) * 1996-02-26 1999-02-09 Network Engineering Software Web server employing multi-homed, moldular framework
US8117298B1 (en) 1996-02-26 2012-02-14 Graphon Corporation Multi-homed web server
US5751595A (en) * 1996-03-14 1998-05-12 International Business Machines Corporation Method for building and verifying authenticity of a rule system
US5786815A (en) * 1996-05-31 1998-07-28 Sun Microsystems, Inc. Configurable runtime graphical user interface widget management
US5801787A (en) 1996-06-14 1998-09-01 Starsight Telecast, Inc. Television schedule system and method of operation for multiple program occurrences
US6513154B1 (en) 1996-10-21 2003-01-28 John R. Porterfield System and method for testing of computer programs in programming effort
US6603487B1 (en) * 1996-10-31 2003-08-05 International Business Machines Corporation System for electronically developing and processing a document
US6157647A (en) * 1996-11-06 2000-12-05 3Com Corporation Direct addressing between VLAN subnets
US5936623A (en) * 1996-11-18 1999-08-10 International Business Machines Corporation Method and apparatus for selecting a particular object from among a large number of objects
CA2201254C (en) * 1997-03-27 2002-08-20 John Wright Stephenson A system for automated interface generation for computer programs operating in different environments
US6202212B1 (en) * 1997-04-01 2001-03-13 Compaq Computer Corporation System for changing modalities
US5926637A (en) * 1997-08-20 1999-07-20 Bea Systems, Inc. Service interface repository code generation data
US6553403B1 (en) * 1998-06-03 2003-04-22 International Business Machines Corporation System, method and computer program product for monitoring in a distributed computing environment
US6549932B1 (en) * 1998-06-03 2003-04-15 International Business Machines Corporation System, method and computer program product for discovery in a distributed computing environment
CN1867068A (en) 1998-07-14 2006-11-22 联合视频制品公司 Client-server based interactive television program guide system with remote server recording
US6928469B1 (en) * 1998-12-29 2005-08-09 Citrix Systems, Inc. Apparatus and method for determining a program neighborhood for a client node in a client-server network using markup language techniques
US6467080B1 (en) * 1999-06-24 2002-10-15 International Business Machines Corporation Shared, dynamically customizable user documentation
US6842906B1 (en) 1999-08-31 2005-01-11 Accenture Llp System and method for a refreshable proxy pool in a communication services patterns environment
US6549949B1 (en) 1999-08-31 2003-04-15 Accenture Llp Fixed format stream in a communication services patterns environment
US6601192B1 (en) 1999-08-31 2003-07-29 Accenture Llp Assertion component in environment services patterns
US6640238B1 (en) 1999-08-31 2003-10-28 Accenture Llp Activity component in a presentation services patterns environment
US6615253B1 (en) 1999-08-31 2003-09-02 Accenture Llp Efficient server side data retrieval for execution of client side applications
US6640249B1 (en) 1999-08-31 2003-10-28 Accenture Llp Presentation services patterns in a netcentric environment
US6715145B1 (en) 1999-08-31 2004-03-30 Accenture Llp Processing pipeline in a base services pattern environment
US6954220B1 (en) 1999-08-31 2005-10-11 Accenture Llp User context component in environment services patterns
US6636242B2 (en) 1999-08-31 2003-10-21 Accenture Llp View configurer in a presentation services patterns environment
US6571282B1 (en) 1999-08-31 2003-05-27 Accenture Llp Block-based communication in a communication services patterns environment
US6742015B1 (en) 1999-08-31 2004-05-25 Accenture Llp Base services patterns in a netcentric environment
US6640244B1 (en) 1999-08-31 2003-10-28 Accenture Llp Request batcher in a transaction services patterns environment
US7289964B1 (en) 1999-08-31 2007-10-30 Accenture Llp System and method for transaction services patterns in a netcentric environment
US6578068B1 (en) 1999-08-31 2003-06-10 Accenture Llp Load balancer in environment services patterns
US6601234B1 (en) 1999-08-31 2003-07-29 Accenture Llp Attribute dictionary in a business logic services environment
US6393435B1 (en) * 1999-09-22 2002-05-21 International Business Machines, Corporation Method and means for evaluating the performance of a database system referencing files external to the database system
AU2001227857A1 (en) 2000-01-14 2001-07-24 Saba Software, Inc. Method and apparatus for a business applications management system platform
US6643652B2 (en) 2000-01-14 2003-11-04 Saba Software, Inc. Method and apparatus for managing data exchange among systems in a network
US7089583B2 (en) * 2000-01-14 2006-08-08 Saba Software, Inc. Method and apparatus for a business applications server
WO2001052090A2 (en) * 2000-01-14 2001-07-19 Saba Software, Inc. Method and apparatus for a web content platform
AU2001229371A1 (en) 2000-01-14 2001-07-24 Saba Software, Inc. Information server
CA2400442A1 (en) * 2000-02-25 2001-08-30 Yet Mui Method for enterprise workforce planning
US20010047251A1 (en) * 2000-03-03 2001-11-29 Kemp William H. CAD system which designs 3-D models
EP1146461A3 (en) * 2000-03-22 2004-04-07 David Lim Computer software collaboration platform
FR2811254B1 (en) * 2000-07-06 2003-02-14 Rapidex Sm SHEET PROCESSING MACHINE FOR MANUFACTURING PACKAGING
KR20130066712A (en) 2000-10-11 2013-06-20 유나이티드 비디오 프로퍼티즈, 인크. Systems and methods for delivering media content
US7362868B2 (en) * 2000-10-20 2008-04-22 Eruces, Inc. Hidden link dynamic key manager for use in computer systems with database structure for storage of encrypted data and method for storage and retrieval of encrypted data
US20030021417A1 (en) 2000-10-20 2003-01-30 Ognjen Vasic Hidden link dynamic key manager for use in computer systems with database structure for storage of encrypted data and method for storage and retrieval of encrypted data
US7000220B1 (en) * 2001-02-15 2006-02-14 Booth Thomas W Networked software development environment allowing simultaneous clients with combined run mode and design mode
US20040015821A1 (en) * 2001-05-01 2004-01-22 Tonbu, Inc. System and method for interactive collaborative process management and project management
US6954749B2 (en) * 2002-10-07 2005-10-11 Metatomix, Inc. Methods and apparatus for identifying related nodes in a directed graph having named arcs
US6925457B2 (en) * 2001-07-27 2005-08-02 Metatomix, Inc. Methods and apparatus for querying a relational data store using schema-less queries
US7058637B2 (en) * 2001-05-15 2006-06-06 Metatomix, Inc. Methods and apparatus for enterprise application integration
US6856992B2 (en) * 2001-05-15 2005-02-15 Metatomix, Inc. Methods and apparatus for real-time business visibility using persistent schema-less data storage
US8572059B2 (en) * 2001-05-15 2013-10-29 Colin P. Britton Surveillance, monitoring and real-time events platform
US20030208499A1 (en) * 2002-05-03 2003-11-06 David Bigwood Methods and apparatus for visualizing relationships among triples of resource description framework (RDF) data sets
US7890517B2 (en) * 2001-05-15 2011-02-15 Metatomix, Inc. Appliance for enterprise information integration and enterprise resource interoperability platform and methods
US7100107B2 (en) * 2001-05-30 2006-08-29 International Business Machines Corporation Method of changing service attributes in a service logic execution environment
US7072957B2 (en) * 2001-05-31 2006-07-04 International Business Machines Corporation Remote administration and monitoring of a service component in a service logic execution environment
US6966053B2 (en) * 2001-08-10 2005-11-15 The Boeing Company Architecture for automated analysis and design with read only structure
US20030051039A1 (en) * 2001-09-05 2003-03-13 International Business Machines Corporation Apparatus and method for awarding a user for accessing content based on access rights information
US7171562B2 (en) * 2001-09-05 2007-01-30 International Business Machines Corporation Apparatus and method for providing a user interface based on access rights information
US20030046578A1 (en) * 2001-09-05 2003-03-06 International Business Machines Incorporation Apparatus and method for providing access rights information in metadata of a file
US6892201B2 (en) * 2001-09-05 2005-05-10 International Business Machines Corporation Apparatus and method for providing access rights information in a portion of a file
US20030177248A1 (en) * 2001-09-05 2003-09-18 International Business Machines Corporation Apparatus and method for providing access rights information on computer accessible content
US20030061567A1 (en) * 2001-09-05 2003-03-27 International Business Machines Corporation Apparatus and method for protecting entries in a form using access rights information
DE10157539A1 (en) * 2001-11-23 2003-06-05 Siemens Ag Engineering system and automation system
US7937281B2 (en) 2001-12-07 2011-05-03 Accenture Global Services Limited Accelerated process improvement framework
US7243334B1 (en) * 2002-01-16 2007-07-10 Prelude Systems, Inc. System and method for generating user interface code
US7286999B2 (en) * 2002-05-09 2007-10-23 International Business Machines Corporation Integrated project management and development environment for determining the time expended on project tasks
US7493646B2 (en) 2003-01-30 2009-02-17 United Video Properties, Inc. Interactive television systems with digital video recording and adjustable reminders
US7978716B2 (en) 2003-11-24 2011-07-12 Citrix Systems, Inc. Systems and methods for providing a VPN solution
US7665063B1 (en) 2004-05-26 2010-02-16 Pegasystems, Inc. Integration of declarative rule-based processing with procedural programming
US7681042B2 (en) * 2004-06-17 2010-03-16 Eruces, Inc. System and method for dis-identifying sensitive information and associated records
US7757074B2 (en) 2004-06-30 2010-07-13 Citrix Application Networking, Llc System and method for establishing a virtual private network
US8495305B2 (en) 2004-06-30 2013-07-23 Citrix Systems, Inc. Method and device for performing caching of dynamically generated objects in a data communication network
US8739274B2 (en) 2004-06-30 2014-05-27 Citrix Systems, Inc. Method and device for performing integrated caching in a data communication network
EP1771979B1 (en) 2004-07-23 2011-11-23 Citrix Systems, Inc. A method and systems for securing remote access to private networks
EP1771998B1 (en) 2004-07-23 2015-04-15 Citrix Systems, Inc. Systems and methods for optimizing communications between network nodes
US7810089B2 (en) 2004-12-30 2010-10-05 Citrix Systems, Inc. Systems and methods for automatic installation and execution of a client-side acceleration program
US8706877B2 (en) 2004-12-30 2014-04-22 Citrix Systems, Inc. Systems and methods for providing client-side dynamic redirection to bypass an intermediary
US8700695B2 (en) 2004-12-30 2014-04-15 Citrix Systems, Inc. Systems and methods for providing client-side accelerated access to remote applications via TCP pooling
US8954595B2 (en) 2004-12-30 2015-02-10 Citrix Systems, Inc. Systems and methods for providing client-side accelerated access to remote applications via TCP buffering
US8549149B2 (en) * 2004-12-30 2013-10-01 Citrix Systems, Inc. Systems and methods for providing client-side accelerated access to remote applications via TCP multiplexing
US8255456B2 (en) 2005-12-30 2012-08-28 Citrix Systems, Inc. System and method for performing flash caching of dynamically generated objects in a data communication network
GB2423382A (en) * 2005-01-27 2006-08-23 Microgen Plc Generating business process programs using a symbolic representation of operators in a graphical interface
US8335704B2 (en) * 2005-01-28 2012-12-18 Pegasystems Inc. Methods and apparatus for work management and routing
CA2632235A1 (en) * 2005-12-02 2007-06-07 Citrix Systems, Inc. Method and apparatus for providing authentication credentials from a proxy server to a virtualized computing environment to access a remote resource
US7921184B2 (en) 2005-12-30 2011-04-05 Citrix Systems, Inc. System and method for performing flash crowd caching of dynamically generated objects in a data communication network
US8301839B2 (en) 2005-12-30 2012-10-30 Citrix Systems, Inc. System and method for performing granular invalidation of cached dynamically generated objects in a data communication network
US8924335B1 (en) 2006-03-30 2014-12-30 Pegasystems Inc. Rule-based user interface conformance methods
US7953889B2 (en) * 2006-08-03 2011-05-31 Citrix Systems, Inc. Systems and methods for routing VPN traffic around network disruption
US8677007B2 (en) * 2006-08-03 2014-03-18 Citrix Systems, Inc. Systems and methods for bypassing an appliance
US8261197B2 (en) * 2006-08-04 2012-09-04 Apple Inc. Methods and systems for managing to do items or notes or electronic messages
US8219920B2 (en) * 2006-08-04 2012-07-10 Apple Inc. Methods and systems for managing to do items or notes or electronic messages
US8250525B2 (en) 2007-03-02 2012-08-21 Pegasystems Inc. Proactive performance management for multi-user enterprise software systems
US8037021B2 (en) * 2007-06-10 2011-10-11 Apple Inc. Calendaring techniques and interfaces
US8510707B1 (en) 2007-10-12 2013-08-13 The Pnc Financial Services Group, Inc. Mainframe-based web service development accelerator
US9116705B2 (en) * 2007-10-12 2015-08-25 The Pnc Financial Services Group, Inc. Mainframe-based browser
US8555239B1 (en) 2007-10-12 2013-10-08 The Pnc Financial Services Group, Inc. Mainframe-based web service development accelerator
US8370281B2 (en) * 2007-10-12 2013-02-05 The Pnc Financial Services Group, Inc. Self-modification of a mainframe-based business rules engine construction tool
US8479175B1 (en) 2007-10-12 2013-07-02 The Pnc Financial Services Group, Inc. Mainframe-based web service development accelerator
US8364625B2 (en) * 2007-10-12 2013-01-29 The Pnc Financial Services Group, Inc. Mainframe-based business rules engine construction tool
US8103701B2 (en) * 2008-05-08 2012-01-24 Oracle International Corporation Metadata to technical design review document process
US10481878B2 (en) * 2008-10-09 2019-11-19 Objectstore, Inc. User interface apparatus and methods
US10063934B2 (en) 2008-11-25 2018-08-28 Rovi Technologies Corporation Reducing unicast session duration with restart TV
JP5154459B2 (en) * 2009-01-19 2013-02-27 大和化成工業株式会社 Cushion clip
US8843435B1 (en) 2009-03-12 2014-09-23 Pegasystems Inc. Techniques for dynamic data processing
US8468492B1 (en) 2009-03-30 2013-06-18 Pegasystems, Inc. System and method for creation and modification of software applications
US8464229B2 (en) * 2009-12-29 2013-06-11 Microgen Aptitude Limited Creation of form-based software application in a graphical user interface (GUI) environment
US20110161917A1 (en) * 2009-12-29 2011-06-30 Microgen Plc Processing collections of data items
US20110161371A1 (en) * 2009-12-29 2011-06-30 Microgen Plc Sql generation
US8549353B2 (en) * 2009-12-29 2013-10-01 Microgen Aptitutde Limited Batch processing error handling modes
US8140894B2 (en) 2009-12-29 2012-03-20 Microgen Aptitude Limited Transaction regions in graphical computer-implemented methods of processing data
US8732596B2 (en) * 2009-12-29 2014-05-20 Microgen Aptitude Limited Transformation of hierarchical data formats using graphical rules
US8683431B2 (en) * 2009-12-29 2014-03-25 Microgen Aptitude Limited Applying rules to data
US8438534B2 (en) * 2009-12-29 2013-05-07 Microgen Aptitude Limited Transformation of data between hierarchical data formats
US20110283212A1 (en) * 2010-05-13 2011-11-17 Nokia Corporation User Interface
US8392473B2 (en) 2010-09-07 2013-03-05 Microgen Aptitude Limited Fast hierarchical enrichment
US20120094600A1 (en) 2010-10-19 2012-04-19 Welch Allyn, Inc. Platform for patient monitoring
US8880487B1 (en) 2011-02-18 2014-11-04 Pegasystems Inc. Systems and methods for distributed rules processing
US9563410B2 (en) * 2011-05-25 2017-02-07 Amx Llc Data-driven menuing system for providing a flexible user interface on an electronic device
US8805418B2 (en) 2011-12-23 2014-08-12 United Video Properties, Inc. Methods and systems for performing actions based on location-based rules
US9195936B1 (en) 2011-12-30 2015-11-24 Pegasystems Inc. System and method for updating or modifying an application without manual coding
US10469396B2 (en) 2014-10-10 2019-11-05 Pegasystems, Inc. Event processing with enhanced throughput
US10007918B1 (en) * 2014-12-26 2018-06-26 Sprint Communications Company L.P. Customer care automation system
US10698599B2 (en) 2016-06-03 2020-06-30 Pegasystems, Inc. Connecting graphical shapes using gestures
US10698647B2 (en) 2016-07-11 2020-06-30 Pegasystems Inc. Selective sharing for collaborative application usage
US10635483B2 (en) * 2017-09-29 2020-04-28 Red Hat, Inc. Automatic synopsis generation for command-line interfaces
US11048488B2 (en) 2018-08-14 2021-06-29 Pegasystems, Inc. Software code optimizer and method
US11567945B1 (en) 2020-08-27 2023-01-31 Pegasystems Inc. Customized digital content generation systems and methods

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO1985005204A1 (en) * 1984-05-04 1985-11-21 Analysts International Corporation Automated application program development system and method

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4488331A (en) * 1983-10-20 1984-12-18 Ward Edward L Pest vacuum device
US4688167A (en) * 1984-09-27 1987-08-18 Wang Laboratories, Inc. Screen manager for data processing system
JPS62174878A (en) * 1985-10-09 1987-07-31 Hitachi Ltd Design reference preparing method and its preparing device
JPS63193216A (en) * 1987-02-06 1988-08-10 Hitachi Ltd Hierarchical help system
US5008853A (en) * 1987-12-02 1991-04-16 Xerox Corporation Representation of collaborative multi-user activities relative to shared structured data objects in a networked workstation environment
US4953080A (en) * 1988-04-25 1990-08-28 Hewlett-Packard Company Object management facility for maintaining data in a computer system

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO1985005204A1 (en) * 1984-05-04 1985-11-21 Analysts International Corporation Automated application program development system and method

Non-Patent Citations (4)

* Cited by examiner, † Cited by third party
Title
IBM SYSTEMS JOURNAL, vol. 26, no. 2, 1987, (Armonk, New York, US), P. HALPERN et al.: "An incidence-matrix-driven panel system for the IBM PC", pages 201-214, see page 202, right-hand column, lines 20-27; figure 1; page 208, right-hand column, line 45 - page 209, left-hand column, line 20; page 214, left-hand column, lines 38-49; page 209, right-hand column, lines 1-22 *
MICROPROCESSING AND MICROPROGRAMMING, vol. 24, no. 1-5, September 1988, ANCONA et al.: "Linda: An allocator for embedded multiprocessor systems", pages 85-92, see page 86, right-hand column, lines 6-34; page 88, left-hand column, lines 59-66 *
PROC. OF 11th ANAUL INTERNATIONAL COMPUTER SOFTWARE & APPLICATION CONFERENCE COMPSAC'87, October 1987, IEEE, Plc, YABUTA et al.: "Software CAD' A generalized environment for graphical software developents techniques", pages 181-187, see page 185, left-hand column, lines 45-60 *
PROC. OF 2nd IEEE CONFERENCE ON COMPUTER WORKSTATIONS, March 1988, IEE Computer Society, (Washington, D.C., US), KUOKKA et al.: "The DANTE application interface", pages 102-110, see page 104, right-hand column, lines 13-26; page 105, right-hand column, lines 17-25 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0591702A1 (en) * 1992-09-25 1994-04-13 International Business Machines Corporation User interface method and system
GB2323456A (en) * 1997-03-18 1998-09-23 Fujitsu Ltd Software development and software design evaluation

Also Published As

Publication number Publication date
CA2077189A1 (en) 1991-06-19
WO1991009365A3 (en) 1991-10-31
US5301270A (en) 1994-04-05

Similar Documents

Publication Publication Date Title
US5301270A (en) Computer-assisted software engineering system for cooperative processing environments
US6990652B1 (en) System and method for determining methods and properties to be invoked on objects in a graphical program
US6337696B1 (en) System and method for facilitating generation and editing of event handlers
US6810522B2 (en) Method and system for associating parameters of containers and contained objects
US6064812A (en) System and method for developing automation clients using a graphical data flow program
US8015542B1 (en) System and method for creating a graphical program which invokes methods and properties of objects
US6102967A (en) Testing a help system of a computer software application without executing the computer software application
US6064816A (en) System and method for performing class propagation and type checking in a graphical automation client
US5361360A (en) Method for generating software development environment
US5991535A (en) Visual composition tool for constructing application programs using distributed objects on a distributed object network
Kasik A user interface management system
US5949998A (en) Filtering an object interface definition to determine services needed and provided
US6466973B2 (en) Method and system for managing storage devices over a network
US6430609B1 (en) Method for accessing complex software applications through a client user interface
US5920868A (en) Cataloging apparatus for facilitating the re-use of distributed objects in a distributed object system
US6438617B1 (en) Object-oriented communication system with support for multiple remote machine types
US7555706B2 (en) Human machine interface
US6334158B1 (en) User-interactive system and method for integrating applications
US6115710A (en) Portable and dynamic distributed transaction management method
US6430740B1 (en) Object-oriented communications framework system with support for multiple remote machine types
US5537630A (en) Method and system for specifying method parameters in a visual programming system
US5896532A (en) Objects with run-time classes and methods of making them
EP0755007A2 (en) Method of using an object-oriented communication system with support for multiple remote machine types
JP2000504868A (en) Management interworking unit and method of forming such a unit
US6691299B1 (en) Object-oriented communications framework system with support for multiple remote machine types

Legal Events

Date Code Title Description
AK Designated states

Kind code of ref document: A2

Designated state(s): BR CA JP

AL Designated countries for regional patents

Kind code of ref document: A2

Designated state(s): AT BE CH DE DK ES FR GB GR IT LU NL SE

AK Designated states

Kind code of ref document: A3

Designated state(s): BR CA JP

AL Designated countries for regional patents

Kind code of ref document: A3

Designated state(s): AT BE CH DE DK ES FR GB GR IT LU NL SE

WWE Wipo information: entry into national phase

Ref document number: 2077189

Country of ref document: CA