WO2001048630A2 - Client-server data communication system and method for data transfer between a server and different clients - Google Patents

Client-server data communication system and method for data transfer between a server and different clients Download PDF

Info

Publication number
WO2001048630A2
WO2001048630A2 PCT/CA2000/001580 CA0001580W WO0148630A2 WO 2001048630 A2 WO2001048630 A2 WO 2001048630A2 CA 0001580 W CA0001580 W CA 0001580W WO 0148630 A2 WO0148630 A2 WO 0148630A2
Authority
WO
WIPO (PCT)
Prior art keywords
application
data
server
client
processor
Prior art date
Application number
PCT/CA2000/001580
Other languages
French (fr)
Other versions
WO2001048630A9 (en
WO2001048630A3 (en
Inventor
Vishvas Canaran
Jesse Perla
Blair Wall
Dale Baik
Kartik Shah
Original Assignee
Mobileq Canada Inc.
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 Mobileq Canada Inc. filed Critical Mobileq Canada Inc.
Priority to AU21393/01A priority Critical patent/AU2139301A/en
Publication of WO2001048630A2 publication Critical patent/WO2001048630A2/en
Publication of WO2001048630A9 publication Critical patent/WO2001048630A9/en
Publication of WO2001048630A3 publication Critical patent/WO2001048630A3/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/2866Architectures; Arrangements
    • H04L67/30Profiles
    • H04L67/303Terminal profiles
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/958Organisation or management of web site content, e.g. publishing, maintaining pages or automatic linking
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/04Protocols specially adapted for terminals or networks with limited capabilities; specially adapted for terminal portability
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/30Definitions, standards or architectural aspects of layered protocol stacks
    • H04L69/32Architecture of open systems interconnection [OSI] 7-layer type protocol stacks, e.g. the interfaces between the data link level and the physical level
    • H04L69/322Intralayer communication protocols among peer entities or protocol data unit [PDU] definitions
    • H04L69/329Intralayer communication protocols among peer entities or protocol data unit [PDU] definitions in the application layer [OSI layer 7]

Definitions

  • This invention relates to the field of data communications and in particular to a system and method for providing client independent data transfer between a server and different clients over a network and in which client differences such as small screens, limited keyboard, low bandwidth connection, data formats and small memory are easily accommodated for by the server.
  • HTML hypertext markup language
  • a Web browser uses the Hypertext Transport Protocol (HTTP) to request an HTML file from a Web server for the rapid and efficient delivery of HTML documents.
  • HTTP Hypertext Transport Protocol
  • a Web browser is a client process (also called a "client") running on a local or client computer that enables a user to view HTML documents.
  • client An example of a Web browser is the Internet Explorer.
  • a Web server is a server process (also called a "server") running on a remote or server computer that uses HTTP to serve up HTML documents and any associated files and scripts when requested by a client.
  • the user gives the Web browser a Uniform Resource Locator (URL) for an object on the Internet, for example, a data file containing information of interest.
  • the document is referred to as a "Web page,” and the information contained in the Web page is called content.
  • Web pages often refer to other Web pages using "hypertext link” or "hyperlinks” that include words or phrases representing the other pages in a form that gives the browser the URL for the corresponding Web page when a user selects a hyperlink.
  • CGI Common Gateway Interface
  • CGI is a common way for interfacing external applications with HTTP or Web servers in which a client, executing a CGI script embedded in an HTML page, sends a request to the Web server to execute a CGI program.
  • the CGI script transfers environment variables comprising a query string and a path information parameter.
  • the query string is a string of text to be searched for in the Web server's database
  • the path information parameter is used to indicate the location of a file to be searched. While CGI allows specifically requested information to be accessed from databases across the Internet, CGI has very limited capabilities.
  • CGI Common Gateway Interface
  • ISP Internet Server Application Programming Interface
  • An alternative to using separate CGI scripts to define content is a template-based HTML that actually embeds a request for the dynamic data within the HTML file itself
  • a pre-processor scans the file for proprietary tags that are then translated into final HTML based on the request.
  • the final HTML is then passed back to the server and on to the browser for the user to view on their computer terminal. While the examples given have been explained in the context of HTML. Templates may be created with any Standard Generalized Markup Language (SGML) based markup language, such as Handheld Device Markup language (HDML).
  • SGML Standard Generalized Markup Language
  • HDML Handheld Device Markup language
  • templates can be created with any markup language or text, in fact it is not limited to SGML based languages but rather to MIME types HDML, is a markup language designed and developed by AT&T and Unwired Planet, Inc. to allow handheld devices, such as phones, access to the resources of the Internet.
  • the specifics of the language are disclosed in "HDML Language Reference, Version 1.0," Unwired Planet, Inc., Jul. 1996, and herein incorporated by reference Templates with the markup in it and some scripting to execute the data and the display of the pages are separated to make generating an application a process of using an HTML template with script embedded to generate the resulting page. Examples of this technology are Active Server Pages (ASP) from Microsoft, PHP from the Apache organization or Java Server Pages (JSP) from Sun. Often these have been developed in a three-tier physical and/or logical implementation in an attempt to separate the display from the data logic.
  • ASP Active Server Pages
  • JSP Java Server Pages
  • XML extensible Markup Language
  • XSL extensible Stylesheet Language
  • While computer terminals and other devices that are configured to receive HTTP and HTML files may utilize the above methods to access and view the Internet data, the specific display standards for non-pc based browser devices such as PDA's, telephones, cell phones, television set-top boxes and similar devices, as well as the display capabilities for these devices allow only a limited view of HTTP transferred HTML files. In addition, these device display characteristics do not permit a user to take advantage of the hypertext features imbedded in most HTML data files.
  • the first is the automatic transformation of pages to the appropriate device. This has proven to be ineffective in producing user interfaces since they need to be built to take advantage of the devices capabilities and to work within its limitations.
  • the second is the use of an XSL stylesheet with a XML URL source for the data.
  • this solution does not take into account the need to target multiple devices, and multiple languages.
  • these solutions have focused on bringing in XML data from a single XML URL source whereas in reality an application will need to bring in multiple sources and access non-URL data.
  • XSL XSL Transformations known as XSLT makes it possible for one XML document to be transformed into another according to an XSL Style sheet.
  • XSLT can turn XML into anything textual, regardless of how well-formed it is, for HTML.
  • XSLT uses Xpath (XML Path language) to address parts of an XML document that an author wishes to transform.
  • XPath is also used by another XML technology, XPointer, to specify locations in an
  • XSLT has also not addressed the problem of allowing the development applications that are easily decomposed, portable and easily distributed, while still efficiently serving a multitude of different devices.
  • Applications are generally comprised of a plurality of forms, which are connected to achieve a desired flow. It is desirable to allow developers the ability to reuse parts of application, however with the current markup language technologies it is difficult to achieve this without recreating parts if not substantially all of the application. This problem is further compounded with the need to accommodate different device. At present stylesheets are still tightly linked to the flow of an application.
  • An advantage of the present invention is derived from the observation that data is separated from a stylesheet and from program flow.
  • the separation of the flow and form meta-data is a requirement to break out the data from the stylesheets. Otherwise, the stylesheet must maintain maps of where it receives its data from as well as the relationships to different forms.
  • the invention solves this problem by the creation of a schema, which provides all of the flow and meta information in an external file.
  • the processor accessing a set of data sources for the requested form defined in the application and aggregating the data into a single generated data document, the processor executing a style processor for processing the generated data document and a selected style sheet corresponding to the client characteristics to generated the requested form for the client;
  • Figure 1 is a block diagram depicting a wireless network system
  • Figure 2 is a block diagram depicting the major components in a system according to an embodiment of the present invention.
  • Figure 3 is a schematic diagram of the application element structure in a Hosted Markup Language application
  • Figure 4 is a schematic representation of the form element structure in the Hosted
  • Figure 5 is a schematic representation showing the structure of the Runtime
  • Figure 6 is a block diagram of the high level components for processing of HML to generate RML;
  • FIG. 7 is a block diagram showing the flow for the execution of components described in Figure 6;
  • Figure 8(a) is a schematic diagram of a Bank account query application
  • Figures 8(b)-(d) is a schematic representation of an HML file for the Bank account query application
  • Figures 9(a), (b) and (c) are mark-up language representations of a sample generated RML for the Bank account query application
  • Figures 10(a) and (b) are mark-up language representations of an XSL style sheet for the Bank account query application.
  • Figure 1 1 is a mark-up language representation of a WML document returned to a device in the Bank account query application.
  • FIG 1 a block diagram of a data communication system in which the present invention may be used is shown generally by numeral 100.
  • the present invention is described in the context of the Internet, wherein client devices 102 make requests, through a portal or gateway 104, over the Internet 106 to web servers 108.
  • Web servers 108 are capable of communicating via HTTP, HTTP/S or similar and providing information formatted with HTML codes the client 102 which may be capable of interpreting such codes or may rely on a translation by the portal 106.
  • HTML is described as one example and the gateway may or may not translate. In fact, a gateway is not necessary for the majority of connecting devices.
  • the client 102 may be a cell phone device 110 having a screen display 112
  • the portal 106 may be a cell phone network 114 that routes calls and data transfers from the telephone 110 to a PSTN or to other cellular phone networks.
  • the cell phone network 114 is also capable of routing data transfers between the telephone 110 and the Internet 106.
  • the communication between the cell phone network 114 and the Internet 106 is via the HTTP protocol, or WAP which is more likely for a phone network, the gateways typically translate the call to HTTP, which is well known in the art.
  • WAP HyperText Transfer Protocol
  • the gateways typically translate the call to HTTP, which is well known in the art.
  • the telephone 110 and the cell phone network implement the appropriate protocols for a web browser or similar that can retrieve data over the internet and translate the data file for display on the display 112.
  • the system 100 also includes at least one host server or web server, which is a remote computer system 112 which is accessible over the internet to the cell phone network and the telephone 102.
  • the web server 108 includes data files written in a mark up language, which may be specifically formatted for the screen display 104 of the telephone 102. This language could comprise a standard text based language similar to HTML or could include WML, HDML, or other specifically designed mark up language or simply text to send to a phone.
  • the web server 108 may also include an application which is run on the server and is accessible by the device 1 10 specifying a URL or similar of the application.
  • the system 100 operates by the device 1 10 transmitting a request to the cell phone network 1 14.
  • the cell phone network 1 14 translates the request and generates a corresponding HTTP formatted message, which includes the requested URL.
  • the HTTP request message is transmitted to the web server 108 where a data file is located.
  • the data file must be formatted to be compatible to the display capabilities of the telephone 102.
  • the web server calls a process, which invokes an XSL stylesheet interpreter with the appropriate HML and the stylesheet to create the formatted markup of the appropriate MIME type.
  • both the XML input and the XSL stylesheet may be provided to the client browser to interpret if the client has an XSL built.
  • Extensible Markup Language abbreviated XML
  • XML Extensible Markup Language
  • XML is an application profile or restricted form of SGML, the Standard Generalized Markup Language.
  • SGML Standard Generalized Markup Language
  • XML documents are conforming SGML documents.
  • XML documents are made up of storage units called entities, which contain either parsed or unparsed data. Parsed data is made up of characters some of which form character data dt-chardata, and some of which form markup. Markup encodes a description of the document's storage layout and logical structure. XML provides a mechanism to impose constraints on the storage layout and logical structure.
  • a software module called an XML processor is used to read XML documents and provide access to their content and structure. It is assumed that an XML processor is doing its work on behalf of another module, called the application, which resides on the web server 108.
  • Each XML document has both a logical and a physical structure. Physically, the document is composed of the units called entities. An entity may refer to other entities to cause their inclusion in the document. A document begins in a "root" or document entity. Logically, the document is composed of declarations, elements, comments, character references, and processing instructions, all of which are indicated in the document by explicit markup. The logical and physical structures must nest properly.
  • Each XML Document contains one or more elements, the boundaries of which are either delimited by start-tags and end-tags.
  • Each element has a type, identified by name, sometimes called its "generic identifier" (GI), and may have a set of attribute specifications.
  • GI generic identifier
  • Each attribute specification has a name and a value.
  • Style Sheets can be associated with an XML Document by using a processing instruction whose target is xml-stylesheet.
  • This processing instruction follows the behavior of the HTML 4..
  • the xml-stylesheet processing instruction is parsed in the same way as a start-tag, with the exception that entities other than predefined entities must not be referenced.
  • XSL is a language for expressing stylesheets.
  • a stylesheet contains a set of template rules.
  • a template rule has two parts: a pattern, which is matched against nodes in the source tree and a template, which can be instantiated to form part of the result tree. This allows a stylesheet to be applicable to a wide class of documents that have similar source tree structures.
  • Each stylesheet describes rules for presenting a class of XML source documents.
  • An XSL stylesheet processor accepts a document or data in XML and an XSL stylesheet and produces the presentation of that XML source content as intended by the stylesheet.
  • the first (sub-)process is called tree transformation and the second (sub-)process is called formatting.
  • the process of formatting is performed by the formatter.
  • the prior art technique is tedious and not easily adaptable to different devices and applications and a plurality of user languages..
  • One embodiment of the present invention is thus based on the observation that a solution to the above problem is a separation of data from style sheets which in turn is separated from program flow.
  • a solution to the above problem is a separation of data from style sheets which in turn is separated from program flow.
  • HML hosted mark up language
  • the system 200 includes a hosted mark up language (HML) file or application 202 written in accordance with the present invention and residing on the web server 108, a plurality of style sheets 210 and a run-time program or processor 204 for processing the HML application 202 in response to an HTTP message corresponding to a request received from the client device 110.
  • the HML application 202 includes a plurality of forms and pointers to external data sources.
  • the processor 204 includes a data server 206 for retrieving data from one or more databases 216, 218 in accordance with the instructions in the HML, an XSL processor 208, and the plurality of XSL style sheets 210.
  • a further embodiment of the system 200 includes a visual authoring tool 220 for providing a development framework for visually connecting forms defining a look, feel and flow of an application and for generating from the visual layout the HML application 202.
  • the runtime 204 is called by a device 102 in a manner as described with reference to figure 1, which connects to the server 112 using HTTP. Based on the URL that is requested and the type of device making the request, the runtime 204 determines an appropriate form to use. The runtime calls a data server component 206 to obtain data for the URL from one or more databases 118 and 116.
  • the data server 206 retrieves the appropriate data into XML, and forwards this to the runtime which in turn adds runtime information and directory information to the data XML, the data structure that is built or populated by the HML processor is termed RML, the structure of which will be described with reference to figure 5 later.
  • the runtime calls the XSL processor 208 with the RML and an appropriate style sheet 210 for the form after the runtime 204 calls the XSL processor 208, the XSL processor generates a file that depends on how the XSL stylesheet was written.
  • a stylesheet is written for a particular MIME content-type.(notice that in the description of the RML stylesheet we have a content-type attribute) For example if it is HTML with embedded XSL instructions then the processor will generate HTML, if it is a simple test file with embedded XSL instructions then simple text will be generated. Thus if the requesting device has a specific mark-up, the runtime 204 returns the appropriate mark-up file. However, if the device does not have the specific mark-up, the run time transforms the generated WML to the appropriate markup and sends it back to the device.
  • FIG. 300 a defined schema or data structure for the elements contained in an HML application. All of the elements are described as XML based schemas including attributes and elements.
  • the first element of the HML 300 is an Application Element 301 which is a root element having Key Attributes: "id” which is a unique identifier for the application; "language” which describes which variable to extract the user language from.
  • Application Element 301 which is a root element having Key Attributes: "id” which is a unique identifier for the application; "language” which describes which variable to extract the user language from.
  • Startform 307 containing an id attribute which points to a Form's targetid within the application; forms collection 302 having Multiple Form elements;
  • Connection Element 303 Defines a connection to an outside source of data.
  • connectionid which is a unique identifier for the connection
  • server which gives the IP address to access the server
  • connectionproperty elements 306 providing name/value pairs as inputs to the component defined by the "type" attribute.
  • Component Element 31 1 Defines an external set of data. Since this is underneath the application it will be passed to all forms.
  • connectionid points to a connection element 303
  • Authenticate Element 304 defines how to authenticate against an external data source
  • the text of the authenticate element can contact CData or any other information that is used by the data server 206 to authenticate. Examples include certificates, etc.
  • Form Element 302 which is shown in detail in figure 4 generally by numeral 400
  • This element defines a form and is contained under the forms collection of the application.
  • Targetid which is a unique identifier for the form
  • Stylesheet 415 elements Multiple action 412, input variables 413, and output variables 414 which define the flow and application reuse.
  • Stylesheet Element 415 Defines a potentially matched stylesheet for a form
  • URL defines an external link to the actual XSL stylesheet file 210 or instead of having an external XSL file 210, the text of the stylesheet element can contain an embedded CData containing the stylesheet contents;
  • “contenttype” determines the MIME type of the generated XSL stylesheet file. Examples include “text/xml”, “text/plain”, and “text/html”. Children Elements: Multiple Device elements 416. The device only has a single attribute "name”; Multiple Language elements 417. The language element only has a single attribute "language”; Component Element 41 1
  • connectionid points to a connection element 303
  • the runtime processor processes the HML and creates and populates a resulting RML data structure.
  • the data structure or schema of the RML is shown generally at numeral 500.
  • the RML schema is comprised of: RML element 528 - the root element; Children Elements:
  • Session element 529 Appconstants 530, and Actions defining flow 532
  • Session Element 529 contains information from the user request. Key Attributes:
  • actionid is the name of the action 412 defined on the form 402 and is used for flow;
  • Directory Element 533 is a container for the data from a directory connection. Primary difference between this and the Data element 537 is that the directory connections always have a consistent hierarchical schema. Key Attributes:
  • Name uniquely identifies the directory input. It will be the name attribute from one of the Directory elements in the application 308.
  • the Data element is a container for the data from a data connection.
  • the key is that it provides a way to store arbitrary XML document fragments within the RML.
  • FIG 6 there is shown generally at numeral 600, a schematic diagram of the subcomponents of the runtime processor 204.
  • the runtime processor 204 includes transport components 619, an executive 620, transformation components 621, and form components 623.
  • the operation of the runtime processor 204 to generate the RML is now described by referring to figure 7.
  • the term "set” refer to the process of setting or populating pieces of the RML document. The process is described by the sequence of blocks 738 to 748. Block 738 is the entry into the processing.
  • the transport component receives a call from the requesting device generated through some sort of URL.
  • the transport component 619 processes the incoming HTTP request and extracts amongst others the following values, which are used to populate the appropriate sections of the RML structure 500.
  • the values it extracts are: The value of the "_SQAPPID" variable in query string/post/cookie is placed into the session element 529 "appid" attribute;
  • the transport component 719 is also responsible for extracting and determining the "device" attribute within the session element 529.
  • the query string may provide the device attribute directly as a variable called “device” which is directly placed into the "device” attribute of the session element 529 of the RML structure. If the device variable is not set, then a look-up table may be used to determine this value by using the "HTTP_User_Agent" header.
  • a look-up table for determining the device variable is shown below in Table I: Table I
  • the lookup table I can be stored directly in the HML file, in a database, or in a registry depending on the platform for implementation.
  • the key is that it is easily editable and flexible.
  • the first column in the table is not stored in the actual table but represents real examples of connecting user agent strings for the UP Emulator's HDML browser and Microsoft's Internet Explorer HTML browser respectively.
  • the user agent string is matched to rows in the lookup table attempting to do a UAsubstring search of column two within the incoming HTTP_USER_AGENT column one. When a match is found, the matched device name from column three is placeed into the "device" attribute of the session element 529. If no match is found then a default text "HTMLDefault" is placed into the "device” attribute of the session element 529.
  • Step 739 which is similar to Step 738 the transport component 619 extracts variables form the HTTP headers and the query string/post/cookies. However, instead of filling in the Session element 529 it fills in the Variable elements underneath the variables element 531 including:
  • Transport 619 relies on data accessible from HTTP it is not necessary. As long as name/value pairs can be extracted from the incoming protocol the transport can fill in the appropriate RML elements. Similar variations include a Transport 619 designed to accept Simple Message Transport Protocol(SMTP) or Wireless Application Protocol(WAP) requests.
  • SMTP Simple Message Transport Protocol
  • WAP Wireless Application Protocol
  • Step 740 the Executive 620 is called by the Transport 619.
  • the Executive 620 uses the "appid" attribute of the Session element 529 to create the application component 622, shown in figure 6, based on a match with the "id" attribute of the Application element 301.
  • Step 741 the Application 622 uses the "fromformid” and the "actionid” of the Session element 529 to find the appropriate form object to create. It does this by looking up the form 302 within its application 301 and matching the "targetid” of the form to the "fromformid”. It then looks at the action elements 412 within the particular form 410 to find the action whose "actionid” matches the "actionid” of the Session 529. From this action it can find the "targetid” of the form element 302 within the application 301. It uses this form identifer to create the appropriate form component 623, shown in figure 6.
  • Step 742 the Form component 623 traverses the sub-elements of the Form 410 to set to Action 532 of the RML structure 500.
  • Step 743 the form component 623 uses the directory connection information for the application 301 defined in 308 to call the appropriate directory component 624, shown in figure 6, and populate the directory RML contained in 533.
  • the details of executing the directory components are described in a separate patent application.
  • Step 744 the Form 623 creates a SOAP based data server components 626 with information to create components to generate arbitrary XML data.
  • the data server components 626 are called for each component in the application level component 309 and the form level components 1 1. It passes "connectionid" attribute for the data server component 626.
  • Step 45 the data server component 626 uses the "connectionid" attribute passed in to create and execute the appropriate components.
  • the "type” attribute of the connection 303 is the name of the class which is the handler for this particular type of connection. Examples include "MQProvider.COM”, “MQProvider.Java”, “MQProvider.URL”, and “MQProvider.ODBC”.
  • the data server component creates 626 this class and passes in the complete RML tree 528, the authentication information 304, and all of the connection properties 306. The implementation of the created component uses all of these values to get data from the source defined by its components.
  • connectionproperty elements 306 are used internally to the component to define where and how the execution occurs.
  • Example implementations include:
  • the "MQProvider.COM” requires a connection property 306 called “progid”. It uses the Microsoft COM library to create the object defined in "progid”. It then calls a defined interface on the component and passes in the RML root 528 as an input. It directly takes the output of the component as XML to pass to the next step.
  • the "MQProvider.URL” implementation might require a connection property 306 called "path”. It uses the "server” attribute of the connection 303 and this path to construct a complete URL. An example might be: "http://myserver/mypage.xml”. It then uses internet functions to access this page over the web. The only assumption is that the page returns data in XML which it directly passes on to the next step.
  • Step 746 for each of the component "connectionid” attributes the data server component 626 creates a data element 537 in the RML 500 and sets the "name” attribute is equal to the "connectionid” attribute. It then puts the XML data created in Step 745 as sub-elements underneath this data node.
  • Step 747 the Form components 623 uses the value in the "language" attribute of the application 301 to find the name of the variable to find the user's preferred language in. It does a lookup in the variables 531 and places the value into the
  • step 747 attempts to match the appropriate stylesheet within the form based on the "device” 416 and “language” attributes 417 of the Session element 529.
  • the matching process begins by enumerating the stylesheet elements 415 for the form 410 then the process continues as: Look for an exact match of "language” and “device” attributes in the session 529 to the "name” attributes of the language and device elements
  • Step 748 the Form component 623 takes the stylesheet element 415 returned from the previous step and uses the URL attribute or the text within the element to get an actual XSL file. It then calls the XSL interpreter 208 with this file and the complete RML 528 as the input.
  • the specific XSL interpreter does not need to be defined since all available interpreters generate some sort of file which represents the file to be sent back to the user.
  • Step 749 the Executive 620 decides if a transformation component 621 is required. It does this by looking at the "contenttype" (column four of table I) of the appropriate “device” (column three of Table I) and comparing it to the "contenttype" of the stylesheet 415. If the values are the same then no transformation is required. If they are different then it uses an internal table to determine which transformation component 621 to call. After calling the transformation the resulting form will definitely have the contenttype (column four of Table I) expected by the device (column one of Table I).
  • Step 50 the Transport component 619 returns back the generated form to the device 110 while setting the "contenttype" of the returned file to be consistent with device column of Table I.
  • FIG 8(a) The application, which is specified in the HML code shown schematically in figures 8(a), is comprised of a sequence of forms 802 to 818.
  • the generated HML is shown in figure 8(b)-(d).
  • client is a mobile device.
  • the invention is equally applicable to a situation where a client does not have a browser such as in a business to business scenario. For example such as is executing an order from a supplier (server) to a customer (client). Both parties may be server computers wherein information is requested by a first server (client) from a second server. The second server (server) retrieves and formats the information for direct storage in the first server's database.
  • the invention is also applicable to situations where the forms are not displayable. In a further embodiment the invention may be used in an Intranet.

Abstract

A method of deploying a web-based application on a network comprising the steps of: generating a data structure representing a flow and associated forms for the application; associating with the application a plurality of style documents, ones of the documents being tailored to different client characteristics; providing to the server a processor for processing the application; in response to a request for a form from a client to the server, the processor accessing a set of data sources for the requested form defined in the application and aggregating the data into a single generated data document; the processor executing a style processor for processing the generated data document and a selected style sheet corresponding to the client device characteristics to generate the form for the client; and forwarding the form processed at the server to the client.

Description

CLIENT-SERVER DATA COMMUNICATION SYSTEM AND METHOD FOR DATA TRANSFER BETWEEN A SERVER AND DIFFERENT CLIENTS
This invention relates to the field of data communications and in particular to a system and method for providing client independent data transfer between a server and different clients over a network and in which client differences such as small screens, limited keyboard, low bandwidth connection, data formats and small memory are easily accommodated for by the server.
BACKGROUND OF THE INVENTION
The rapid growth of the Internet and more specifically the World Wide Web (WWW or Web) as a network for the delivery of applications and content, has resulted in software developers quickly beginning to shift their focus towards making the web browser a key tool to access information. This revolution has taken several stages.
Most information is available as static content, composed of a variety of media, such as text, images, audio, and video, that is described using hypertext markup language (HTML). While the WWW revolution has placed a wealth of information at the fingertips of countless people, and while HTML is a very good way of describing static documents, HTML provides no mechanism for interacting with Web pages. At present, a Web browser uses the Hypertext Transport Protocol (HTTP) to request an HTML file from a Web server for the rapid and efficient delivery of HTML documents. A Web browser is a client process (also called a "client") running on a local or client computer that enables a user to view HTML documents. An example of a Web browser is the Internet Explorer. A Web server is a server process (also called a "server") running on a remote or server computer that uses HTTP to serve up HTML documents and any associated files and scripts when requested by a client. To accomplish this, the user gives the Web browser a Uniform Resource Locator (URL) for an object on the Internet, for example, a data file containing information of interest. The document is referred to as a "Web page," and the information contained in the Web page is called content. Web pages often refer to other Web pages using "hypertext link" or "hyperlinks" that include words or phrases representing the other pages in a form that gives the browser the URL for the corresponding Web page when a user selects a hyperlink.
Dynamic information retrieval such as selected information retrieved from databases commonly implemented through the use of the Common Gateway Interface (CGI). CGI is a common way for interfacing external applications with HTTP or Web servers in which a client, executing a CGI script embedded in an HTML page, sends a request to the Web server to execute a CGI program. The CGI script transfers environment variables comprising a query string and a path information parameter. The query string is a string of text to be searched for in the Web server's database For example, in a specific implementation of CGI the path information parameter is used to indicate the location of a file to be searched. While CGI allows specifically requested information to be accessed from databases across the Internet, CGI has very limited capabilities. Queries performed by CGI programs may amount to string matching in a data file, and the results returned to the Web browser are simply preformatted text or an HTML document listing the results In general, CGI can run an arbitrary executable or script that can return an arbitrary document given the querystring or post parameters. In general the key technology innovation was the ability for web pages to execute applications through the Common Gateway Interface (CGI) or through dynamic link libraries (e.g. the Internet Server Application Programming Interface (IS API) from Microsoft or Netscape's equivalent or Java servlets).
An alternative to using separate CGI scripts to define content is a template-based HTML that actually embeds a request for the dynamic data within the HTML file itself When a specific page is requested, a pre-processor scans the file for proprietary tags that are then translated into final HTML based on the request. The final HTML is then passed back to the server and on to the browser for the user to view on their computer terminal. While the examples given have been explained in the context of HTML. Templates may be created with any Standard Generalized Markup Language (SGML) based markup language, such as Handheld Device Markup language (HDML). In fact templates can be created with any markup language or text, in fact it is not limited to SGML based languages but rather to MIME types HDML, is a markup language designed and developed by AT&T and Unwired Planet, Inc. to allow handheld devices, such as phones, access to the resources of the Internet. The specifics of the language are disclosed in "HDML Language Reference, Version 1.0," Unwired Planet, Inc., Jul. 1996, and herein incorporated by reference Templates with the markup in it and some scripting to execute the data and the display of the pages are separated to make generating an application a process of using an HTML template with script embedded to generate the resulting page. Examples of this technology are Active Server Pages (ASP) from Microsoft, PHP from the Apache organization or Java Server Pages (JSP) from Sun. Often these have been developed in a three-tier physical and/or logical implementation in an attempt to separate the display from the data logic.
As the HTTP based technology has matured, these have tended to move towards the clear separation of the HTML template from the underlying data. Recently there have been several other key advancements.
A subset and simplification of SGML, the extensible Markup Language (XML) has evolved as a standard meta-data format in order to simplify the exchange of data. The extensible Stylesheet Language (XSL) has evolved as the standard way to define stylesheets that accept XML as input; and Non-HTML browsers accessing data over HTTP are becoming common and in the next few years will become more common than browsers on desktop computers.
One example is the Handheld Device Markup Language (HDML) from Phone.com and its evolution the Wireless Markup Language (WML) from the WAP Forum. The wireless networks around the world are converging to the Internet to support this trend. Universal Resource Locators (URL) now point to anything on the Internet and can be used by devices ranging from Mobile Phones to Integrated Voice Response (IVR) servers using VoiceXML or VoXML (www.voxml.com).
The presence of the Web has become international to the point that although North America is the leading market, it is not the only market to target applications and services. Furthermore there is a movement by international companies towards external hosting of applications that may access the data in a distributed manner across the Internet. This requires remote execution of data. The implementation of Unicode as part of XML and XSL standard is one of the reasons for allowing applications to be made international. That is why developers are able to internationalize applications with separate stylesheets.
These above advancements in the market have strained the previous technology to a point where developers are incapable of rapidly delivering applications that can target the diverse browsers and devices as well as the target languages.
While computer terminals and other devices that are configured to receive HTTP and HTML files may utilize the above methods to access and view the Internet data, the specific display standards for non-pc based browser devices such as PDA's, telephones, cell phones, television set-top boxes and similar devices, as well as the display capabilities for these devices allow only a limited view of HTTP transferred HTML files. In addition, these device display characteristics do not permit a user to take advantage of the hypertext features imbedded in most HTML data files.
At present there are two solutions to this problem. The first is the automatic transformation of pages to the appropriate device. This has proven to be ineffective in producing user interfaces since they need to be built to take advantage of the devices capabilities and to work within its limitations.
The second is the use of an XSL stylesheet with a XML URL source for the data. However, this solution does not take into account the need to target multiple devices, and multiple languages. Also, these solutions have focused on bringing in XML data from a single XML URL source whereas in reality an application will need to bring in multiple sources and access non-URL data.
Clearly, as more content publishers and commercial interests deliver rich data in XML, the need for presentation technology increases in both scale and functionality. XSL meets the more complex, structural formatting demands that XML document authors have. On the other hand XSL Transformations known as XSLT makes it possible for one XML document to be transformed into another according to an XSL Style sheet.
More generally however, XSLT can turn XML into anything textual, regardless of how well-formed it is, for HTML. As part of the document transformation, XSLT uses Xpath (XML Path language) to address parts of an XML document that an author wishes to transform. XPath is also used by another XML technology, XPointer, to specify locations in an
XML document.
However XSLT has also not addressed the problem of allowing the development applications that are easily decomposed, portable and easily distributed, while still efficiently serving a multitude of different devices. Applications are generally comprised of a plurality of forms, which are connected to achieve a desired flow. It is desirable to allow developers the ability to reuse parts of application, however with the current markup language technologies it is difficult to achieve this without recreating parts if not substantially all of the application. This problem is further compounded with the need to accommodate different device. At present stylesheets are still tightly linked to the flow of an application.
Thus there is a need to for a tool easily develop and serve applications for these multiple devices.
Accordingly the present invention seeks to mitigate at least some of the above disadvantages. SUMMARY OF THE INVENTION
An advantage of the present invention is derived from the observation that data is separated from a stylesheet and from program flow. The separation of the flow and form meta-data is a requirement to break out the data from the stylesheets. Otherwise, the stylesheet must maintain maps of where it receives its data from as well as the relationships to different forms. The invention solves this problem by the creation of a schema, which provides all of the flow and meta information in an external file.
In accordance with this invention there is provided a method of deploying a web- based application on a network comprising the steps of:
(a) generating a data structure representing a set of forms and associated flow for the application;
(b) associating with the application a plurality of style documents, ones of the documents being tailored to different client characteristics;
(c) providing to the server a processor for processing the application;
(d) in response to a request for a form from a client to the server, the processor accessing a set of data sources for the requested form defined in the application and aggregating the data into a single generated data document, the processor executing a style processor for processing the generated data document and a selected style sheet corresponding to the client characteristics to generated the requested form for the client; and
(e) forwarding the form processed at the server to the client. BRIEF DESCRIPTION OF DRAWINGS
Embodiments of the invention will now be described by way of example only, with reference to the accompanying drawings in which:
Figure 1 is a block diagram depicting a wireless network system;
Figure 2 is a block diagram depicting the major components in a system according to an embodiment of the present invention;
Figure 3 is a schematic diagram of the application element structure in a Hosted Markup Language application;
Figure 4 is a schematic representation of the form element structure in the Hosted
Markup Language;
Figure 5 is a schematic representation showing the structure of the Runtime
Markup Language; Figure 6 is a block diagram of the high level components for processing of HML to generate RML;
Figure 7 is a block diagram showing the flow for the execution of components described in Figure 6;
Figure 8(a) is a schematic diagram of a Bank account query application; Figures 8(b)-(d) is a schematic representation of an HML file for the Bank account query application;
Figures 9(a), (b) and (c) are mark-up language representations of a sample generated RML for the Bank account query application;
Figures 10(a) and (b) are mark-up language representations of an XSL style sheet for the Bank account query application; and
Figure 1 1 is a mark-up language representation of a WML document returned to a device in the Bank account query application.
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
In the following description, the same reference numerals will be used in the drawings to refer to the same or like parts. Referring to figure 1 , a block diagram of a data communication system in which the present invention may be used is shown generally by numeral 100. The present invention is described in the context of the Internet, wherein client devices 102 make requests, through a portal or gateway 104, over the Internet 106 to web servers 108. Web servers 108 are capable of communicating via HTTP, HTTP/S or similar and providing information formatted with HTML codes the client 102 which may be capable of interpreting such codes or may rely on a translation by the portal 106. In this embodiment, HTML is described as one example and the gateway may or may not translate. In fact, a gateway is not necessary for the majority of connecting devices. In a particular instance, the client 102 may be a cell phone device 110 having a screen display 112, the portal 106 may be a cell phone network 114 that routes calls and data transfers from the telephone 110 to a PSTN or to other cellular phone networks. The cell phone network 114 is also capable of routing data transfers between the telephone 110 and the Internet 106. The communication between the cell phone network 114 and the Internet 106 is via the HTTP protocol, or WAP which is more likely for a phone network, the gateways typically translate the call to HTTP, which is well known in the art. Furthermore, it is assumed that the telephone 110 and the cell phone network implement the appropriate protocols for a web browser or similar that can retrieve data over the internet and translate the data file for display on the display 112. The system 100 also includes at least one host server or web server, which is a remote computer system 112 which is accessible over the internet to the cell phone network and the telephone 102.
The web server 108 includes data files written in a mark up language, which may be specifically formatted for the screen display 104 of the telephone 102. This language could comprise a standard text based language similar to HTML or could include WML, HDML, or other specifically designed mark up language or simply text to send to a phone. The web server 108 may also include an application which is run on the server and is accessible by the device 1 10 specifying a URL or similar of the application. At present, the system 100 operates by the device 1 10 transmitting a request to the cell phone network 1 14. The cell phone network 1 14 translates the request and generates a corresponding HTTP formatted message, which includes the requested URL. The HTTP request message is transmitted to the web server 108 where a data file is located. The data file must be formatted to be compatible to the display capabilities of the telephone 102. The web server calls a process, which invokes an XSL stylesheet interpreter with the appropriate HML and the stylesheet to create the formatted markup of the appropriate MIME type. In some cases both the XML input and the XSL stylesheet may be provided to the client browser to interpret if the client has an XSL built.
By way of background, Extensible Markup Language, abbreviated XML, describes a class of data objects called dt-xml-doc XML documents and partially describes the behavior of computer programs which process them. XML is an application profile or restricted form of SGML, the Standard Generalized Markup Language. By construction, XML documents are conforming SGML documents.
XML documents are made up of storage units called entities, which contain either parsed or unparsed data. Parsed data is made up of characters some of which form character data dt-chardata, and some of which form markup. Markup encodes a description of the document's storage layout and logical structure. XML provides a mechanism to impose constraints on the storage layout and logical structure.
A software module called an XML processor is used to read XML documents and provide access to their content and structure. It is assumed that an XML processor is doing its work on behalf of another module, called the application, which resides on the web server 108.
Each XML document has both a logical and a physical structure. Physically, the document is composed of the units called entities. An entity may refer to other entities to cause their inclusion in the document. A document begins in a "root" or document entity. Logically, the document is composed of declarations, elements, comments, character references, and processing instructions, all of which are indicated in the document by explicit markup. The logical and physical structures must nest properly.
Each XML Document contains one or more elements, the boundaries of which are either delimited by start-tags and end-tags. Each element has a type, identified by name, sometimes called its "generic identifier" (GI), and may have a set of attribute specifications. Each attribute specification has a name and a value.
Style Sheets can be associated with an XML Document by using a processing instruction whose target is xml-stylesheet. This processing instruction follows the behavior of the HTML 4.. The xml-stylesheet processing instruction is parsed in the same way as a start-tag, with the exception that entities other than predefined entities must not be referenced.
XSL is a language for expressing stylesheets. A stylesheet contains a set of template rules. A template rule has two parts: a pattern, which is matched against nodes in the source tree and a template, which can be instantiated to form part of the result tree. This allows a stylesheet to be applicable to a wide class of documents that have similar source tree structures.
Each stylesheet describes rules for presenting a class of XML source documents. An XSL stylesheet processor accepts a document or data in XML and an XSL stylesheet and produces the presentation of that XML source content as intended by the stylesheet. There are two sub-processes to this presentation process: first, constructing a result tree from the XML source tree and second, interpreting the result tree to produce a formatted presentation on a display, on paper, in speech or onto other media. The first (sub-)process is called tree transformation and the second (sub-)process is called formatting. The process of formatting is performed by the formatter. As described above, the prior art technique is tedious and not easily adaptable to different devices and applications and a plurality of user languages.. One embodiment of the present invention is thus based on the observation that a solution to the above problem is a separation of data from style sheets which in turn is separated from program flow. Although it has been recognized that the characteristics of a display needs to be separated from the data, in practice current solutions have failed to understand that the separation of the flow and form metadata is necessary before data can be separated from the style sheets. In other words, at present, style sheets must maintain maps of its data sources and its relationships to different forms. Accordingly, the present invention solves this problem by providing a hosted mark up language (HML) for providing flow and meta information in an external file.
Thus turning to figure 2, there is shown at numeral 200, the general components of a system, according to an embodiment of the present invention, for providing a unified data transfer between different devices (clients) and a server over an HTTP based network. The system 200 includes a hosted mark up language (HML) file or application 202 written in accordance with the present invention and residing on the web server 108, a plurality of style sheets 210 and a run-time program or processor 204 for processing the HML application 202 in response to an HTTP message corresponding to a request received from the client device 110. The HML application 202 includes a plurality of forms and pointers to external data sources. The processor 204 includes a data server 206 for retrieving data from one or more databases 216, 218 in accordance with the instructions in the HML, an XSL processor 208, and the plurality of XSL style sheets 210.
A further embodiment of the system 200 includes a visual authoring tool 220 for providing a development framework for visually connecting forms defining a look, feel and flow of an application and for generating from the visual layout the HML application 202. In general, the runtime 204 is called by a device 102 in a manner as described with reference to figure 1, which connects to the server 112 using HTTP. Based on the URL that is requested and the type of device making the request, the runtime 204 determines an appropriate form to use. The runtime calls a data server component 206 to obtain data for the URL from one or more databases 118 and 116. The data server 206 retrieves the appropriate data into XML, and forwards this to the runtime which in turn adds runtime information and directory information to the data XML, the data structure that is built or populated by the HML processor is termed RML, the structure of which will be described with reference to figure 5 later.. The runtime calls the XSL processor 208 with the RML and an appropriate style sheet 210 for the form after the runtime 204 calls the XSL processor 208, the XSL processor generates a file that depends on how the XSL stylesheet was written. In particular a stylesheet is written for a particular MIME content-type.(notice that in the description of the RML stylesheet we have a content-type attribute) For example if it is HTML with embedded XSL instructions then the processor will generate HTML, if it is a simple test file with embedded XSL instructions then simple text will be generated. Thus if the requesting device has a specific mark-up, the runtime 204 returns the appropriate mark-up file. However, if the device does not have the specific mark-up, the run time transforms the generated WML to the appropriate markup and sends it back to the device.
The detailed description of the operation and interconnection of the various components will be described in greater detail in the following paragraphs.
Referring to figure 3, there is shown at numeral 300 a defined schema or data structure for the elements contained in an HML application. All of the elements are described as XML based schemas including attributes and elements. The first element of the HML 300 is an Application Element 301 which is a root element having Key Attributes: "id" which is a unique identifier for the application; "language" which describes which variable to extract the user language from. Children Elements:
Startform 307, containing an id attribute which points to a Form's targetid within the application; forms collection 302 having Multiple Form elements;
Multiple Connection elements 303;
A Data element contained within an events element which contains multiple component elements 309; Multiple Directory elements 308 containing information to connect to directory type data. Contain a name attribute. Connection Element 303 Defines a connection to an outside source of data.
Key Attributes: "connectionid" which is a unique identifier for the connection;
"type" which determines how to get the data;
"server" which gives the IP address to access the server;
Children Elements:
Authenticate 304 Schema element 305 containing a URL attribute to access the schema information;
Multiple connectionproperty elements 306 providing name/value pairs as inputs to the component defined by the "type" attribute. Component Element 31 1 Defines an external set of data. Since this is underneath the application it will be passed to all forms.
Key Attributes:
"connectionid" points to a connection element 303;
Authenticate Element 304 defines how to authenticate against an external data source;
Key Attributes:
"user" provides the username for authentication; "password" provides the external password;
The text of the authenticate element can contact CData or any other information that is used by the data server 206 to authenticate. Examples include certificates, etc. Form Element 302 which is shown in detail in figure 4 generally by numeral 400
This element defines a form and is contained under the forms collection of the application.
Key Attributes: "targetid" which is a unique identifier for the form
"language" which describes which variable to extract the user language from.
Children Elements:
Multiple Stylesheet 415 elements Multiple action 412, input variables 413, and output variables 414 which define the flow and application reuse.
A Data element 422 ontained within an events element 420 which contains multiple Component elements 411 ; Stylesheet Element 415 Defines a potentially matched stylesheet for a form
Key Attributes:
"URL" defines an external link to the actual XSL stylesheet file 210 or instead of having an external XSL file 210, the text of the stylesheet element can contain an embedded CData containing the stylesheet contents;
"contenttype" determines the MIME type of the generated XSL stylesheet file. Examples include "text/xml", "text/plain", and "text/html". Children Elements: Multiple Device elements 416. The device only has a single attribute "name"; Multiple Language elements 417. The language element only has a single attribute "language"; Component Element 41 1
Defines an external set of data. Since this is underneath the form 302 it will only be passed into stylesheets on this form, otherwise it is identical to the application level component element 309; Key Attributes: "connectionid" points to a connection element 303
As described earlier the runtime processor processes the HML and creates and populates a resulting RML data structure. Referring to figure 5, the data structure or schema of the RML according to an embodiment of the invention is shown generally at numeral 500. The RML schema is comprised of: RML element 528 - the root element; Children Elements:
Session element 529, Appconstants 530, and Actions defining flow 532 Multiple variable elements 531 underneath the variables collection. These just have a name attribute and the text of which contains the value. Multiple directory element 533 containing data from directory connections 308
Multiple data elements 537 containing data from data connections 303. Session Element 529 contains information from the user request. Key Attributes:
"appid" points to the id attribute of the Application element 307; "fromformid" points to the targetid attribute of a form element 302;
"actionid" is the name of the action 412 defined on the form 402 and is used for flow;
"deviceid" stores the name of the device 110 and links to a value in a device lookup table 553 described later with reference to figure 7; Directory Element 533 is a container for the data from a directory connection. Primary difference between this and the Data element 537 is that the directory connections always have a consistent hierarchical schema. Key Attributes:
"name" uniquely identifies the directory input. It will be the name attribute from one of the Directory elements in the application 308. Children Elements: Contains multiple Item elements 534, which in turn can have its own item elements and attribute elements 535. This defines an arbitrarily deep hierarchy of directory/profiling type data. Data Element 533
The Data element is a container for the data from a data connection. The key is that it provides a way to store arbitrary XML document fragments within the RML.
Key Attributes:
"name" uniquely identifies the data. It will be the component id from one of the application 309 or form components 41 1. Children elements:
It can contain any hierarchy and elements that is consistent with the schema defined in 305 for its components, connections, schema.
Referring to figure 6, there is shown generally at numeral 600, a schematic diagram of the subcomponents of the runtime processor 204. The runtime processor 204 includes transport components 619, an executive 620, transformation components 621, and form components 623. The operation of the runtime processor 204 to generate the RML is now described by referring to figure 7. In the following description the term "set" refer to the process of setting or populating pieces of the RML document. The process is described by the sequence of blocks 738 to 748. Block 738 is the entry into the processing.
At step 738, the transport component receives a call from the requesting device generated through some sort of URL. The transport component 619 processes the incoming HTTP request and extracts amongst others the following values, which are used to populate the appropriate sections of the RML structure 500. The values it extracts are: The value of the "_SQAPPID" variable in query string/post/cookie is placed into the session element 529 "appid" attribute;
The value of the "_SQFORMID" variable in query string/post/cookie is placed into the session element 29 "fromformid" attribute;
The value of the " ACTIONID" variable in query string/post/cookie is placed into the session element 29 "actionid" attribute; and
"_SQFORMID" variables on the query string are extracted as values and placed into the session element 29 "fromformid".
The transport component 719 is also responsible for extracting and determining the "device" attribute within the session element 529. The query string may provide the device attribute directly as a variable called "device" which is directly placed into the "device" attribute of the session element 529 of the RML structure. If the device variable is not set, then a look-up table may be used to determine this value by using the "HTTP_User_Agent" header. A look-up table for determining the device variable is shown below in Table I: Table I
Figure imgf000019_0001
While the UserAgent information is provided in every HTTP request, there is no consistency in the format of the strings between various browsers. Since the system needs to determine the type of the connecting device, a method is necessary to map the value in the string to a name for a device.
The lookup table I can be stored directly in the HML file, in a database, or in a registry depending on the platform for implementation. The key is that it is easily editable and flexible. The first column in the table is not stored in the actual table but represents real examples of connecting user agent strings for the UP Emulator's HDML browser and Microsoft's Internet Explorer HTML browser respectively. The user agent string is matched to rows in the lookup table attempting to do a UAsubstring search of column two within the incoming HTTP_USER_AGENT column one. When a match is found, the matched device name from column three is placeed into the "device" attribute of the session element 529. If no match is found then a default text "HTMLDefault" is placed into the "device" attribute of the session element 529.
At Step 739 which is similar to Step 738 the transport component 619 extracts variables form the HTTP headers and the query string/post/cookies. However, instead of filling in the Session element 529 it fills in the Variable elements underneath the variables element 531 including:
All variables on the query string, post, or in cookies. For example, "http://myserver/transport.asp?varl=a&var2=b" would place two new input variables 31 with name attributes of "varl" and "var2" and values of "a" and "b".
All Custom HTTP Headers. An example of a custom header from a UP. Link gateway from Phone.com is: "HTTP_X_UP_SUBNO" and the value might be: "919799575-146551_uρ.mytelco.ca". This would add in a input variable 31 with a name attribute of "HTTP X UP SUBNO" and a value of "919799575-146551 up.mytelco.ca".
While the described implementation of the Transport 619 relies on data accessible from HTTP it is not necessary. As long as name/value pairs can be extracted from the incoming protocol the transport can fill in the appropriate RML elements. Similar variations include a Transport 619 designed to accept Simple Message Transport Protocol(SMTP) or Wireless Application Protocol(WAP) requests.
In Step 740 the Executive 620 is called by the Transport 619. The Executive 620 uses the "appid" attribute of the Session element 529 to create the application component 622, shown in figure 6, based on a match with the "id" attribute of the Application element 301.
In Step 741 the Application 622 uses the "fromformid" and the "actionid" of the Session element 529 to find the appropriate form object to create. It does this by looking up the form 302 within its application 301 and matching the "targetid" of the form to the "fromformid". It then looks at the action elements 412 within the particular form 410 to find the action whose "actionid" matches the "actionid" of the Session 529. From this action it can find the "targetid" of the form element 302 within the application 301. It uses this form identifer to create the appropriate form component 623, shown in figure 6.
In Step 742 the Form component 623 traverses the sub-elements of the Form 410 to set to Action 532 of the RML structure 500.
In Step 743 the form component 623 uses the directory connection information for the application 301 defined in 308 to call the appropriate directory component 624, shown in figure 6, and populate the directory RML contained in 533. The details of executing the directory components are described in a separate patent application.
In Step 744 the Form 623 creates a SOAP based data server components 626 with information to create components to generate arbitrary XML data. The data server components 626 are called for each component in the application level component 309 and the form level components 1 1. It passes "connectionid" attribute for the data server component 626.
In Step 45 the data server component 626 uses the "connectionid" attribute passed in to create and execute the appropriate components. The "type" attribute of the connection 303 is the name of the class which is the handler for this particular type of connection. Examples include "MQProvider.COM", "MQProvider.Java", "MQProvider.URL", and "MQProvider.ODBC". The data server component creates 626 this class and passes in the complete RML tree 528, the authentication information 304, and all of the connection properties 306. The implementation of the created component uses all of these values to get data from the source defined by its components.
The implementation of these components from data server components 626 is intended to be as general as possible and the only assumption to the functionality of this plugin is that it takes values as defined in Step 745 and returns back XML data that can be validated by the schema 305 for the connection. The connectionproperty elements 306 are used internally to the component to define where and how the execution occurs. Example implementations include:
The "MQProvider.COM" requires a connection property 306 called "progid". It uses the Microsoft COM library to create the object defined in "progid". It then calls a defined interface on the component and passes in the RML root 528 as an input. It directly takes the output of the component as XML to pass to the next step.
The "MQProvider.URL" implementation might require a connection property 306 called "path". It uses the "server" attribute of the connection 303 and this path to construct a complete URL. An example might be: "http://myserver/mypage.xml". It then uses internet functions to access this page over the web. The only assumption is that the page returns data in XML which it directly passes on to the next step.
In Step 746 for each of the component "connectionid" attributes, the data server component 626 creates a data element 537 in the RML 500 and sets the "name" attribute is equal to the "connectionid" attribute. It then puts the XML data created in Step 745 as sub-elements underneath this data node.
In Step 747 the Form components 623 uses the value in the "language" attribute of the application 301 to find the name of the variable to find the user's preferred language in. It does a lookup in the variables 531 and places the value into the
"language" attribute of the session element 529. The rest of step 747 attempts to match the appropriate stylesheet within the form based on the "device" 416 and "language" attributes 417 of the Session element 529. The matching process begins by enumerating the stylesheet elements 415 for the form 410 then the process continues as: Look for an exact match of "language" and "device" attributes in the session 529 to the "name" attributes of the language and device elements
416 and 417 within each stylesheet 415;
If no match is found then it changes the language to "default" and attempts the same matching; and If no match is found then it changes the device to "HTMLDefault" and attempts the same matching. This is guaranteed to have a match.
In Step 748 the Form component 623 takes the stylesheet element 415 returned from the previous step and uses the URL attribute or the text within the element to get an actual XSL file. It then calls the XSL interpreter 208 with this file and the complete RML 528 as the input. The specific XSL interpreter does not need to be defined since all available interpreters generate some sort of file which represents the file to be sent back to the user.
In Step 749 the Executive 620 decides if a transformation component 621 is required. It does this by looking at the "contenttype" (column four of table I) of the appropriate "device" (column three of Table I) and comparing it to the "contenttype" of the stylesheet 415. If the values are the same then no transformation is required. If they are different then it uses an internal table to determine which transformation component 621 to call. After calling the transformation the resulting form will definitely have the contenttype (column four of Table I) expected by the device (column one of Table I).
In Step 50 the Transport component 619 returns back the generated form to the device 110 while setting the "contenttype" of the returned file to be consistent with device column of Table I. Referring now to figures 8, 9, 10 and 1 1 , there is shown an application of the present invention to an English language WML enabled phone accessing a bank account query application. The application, which is specified in the HML code shown schematically in figures 8(a), is comprised of a sequence of forms 802 to 818. The generated HML is shown in figure 8(b)-(d).
Although the above described with respect to client-server, where client is a mobile device. The invention is equally applicable to a situation where a client does not have a browser such as in a business to business scenario. For example such as is executing an order from a supplier (server) to a customer (client). Both parties may be server computers wherein information is requested by a first server (client) from a second server. The second server (server) retrieves and formats the information for direct storage in the first server's database. The invention is also applicable to situations where the forms are not displayable. In a further embodiment the invention may be used in an Intranet.
Although the invention has been described with reference to certain specific embodiments, various modifications thereof will be apparent to those skilled- in the art without departing from the spirit and scope of the invention as outlined in the claims appended hereto.

Claims

THE EMBODIMENTS OF THE INVENTION IN WHICH AN EXCLUSIVE PROPERTY OR PRIVILEGE IS CLAIMED ARE DEFINED AS FOLLOWS:
1. A method of deploying a web-based application on a network comprising the steps of:
(a) generating a data structure representing a flow and associated forms for the application;
(b) associating with the application a plurality of style documents, ones of said documents being tailored to characteristics of different clients;
(c) providing to said server a processor for processing said application;
(d) in response to a request for a form from a client to the server, the processor accessing a set of data sources for the requested form defined in the application and aggregating the data into a single generated data document, the processor executing a style processor for processing the generated data document and a selected style document corresponding to the client characteristics to generate the requested form; and
(e) forwarding the form processed at the server to the client.
2. A method as defined in claim 1, said generated data document being an XML document.
3. A method as defined in claim 1, said style sheet is an XSL style sheet and said style processor is an XSL processor.
4. A method as defined in claim 1, said form being a displayable form.
5. A method as defined in claim 1 , said client characteristics including a character display size of said client.
6. A method as defined in claim 1, said client including a web server.
7. A system for deploying a web-based application on a network comprising:
(a) at a server, a processor for processing said application, said application comprising a data structure representing a sequence of forms and an associated flow for the application;
(b) a plurality of style documents associated with the application and ones of said documents being tailored to ones of a plurality of client characteristics;
(c) at said server, a process for processing said application in response to a request for displayable form from a client to the server, the processor accessing a set of data sources for the requested form defined in the application and aggregating the data into a single generated data document;
(d) a style processor for processing the generated data document and a selected style sheet corresponding to the client characteristics to generate the requested form for the client; and
(e) a transmission processor for forwarding the form processed at the server to the client.
8. A system as defined in claim 7, said generated data document being an XML document.
9. A system as defined in claim 7, said style sheet being an XSL style sheet and said style processor is an XSL processor.
10. A system as defined in claim 7, said style documents being contained within said application.
11. A system as defined in claim 7, said application including a pointer to said style documents.
12. A system as defined in claim 7, said application including: (a) root element for describing the structure and flow of a single application;
(b) a form element describing a logical screen that is presented to a user on one of a plurality of clients; (c) a style sheet element defining a collection of style sheets for ones of said forms for rendering said form to a selected mark up; and (d) a connection element for defining a set of components to receive the data from a plurality of data sources.
PCT/CA2000/001580 1999-12-23 2000-12-27 Client-server data communication system and method for data transfer between a server and different clients WO2001048630A2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
AU21393/01A AU2139301A (en) 1999-12-23 2000-12-27 Client-server data communication system and method for data transfer between a server and different clients

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
US47113599A 1999-12-23 1999-12-23
US09/471,135 1999-12-23

Publications (3)

Publication Number Publication Date
WO2001048630A2 true WO2001048630A2 (en) 2001-07-05
WO2001048630A9 WO2001048630A9 (en) 2002-08-29
WO2001048630A3 WO2001048630A3 (en) 2003-02-06

Family

ID=23870394

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CA2000/001580 WO2001048630A2 (en) 1999-12-23 2000-12-27 Client-server data communication system and method for data transfer between a server and different clients

Country Status (3)

Country Link
AU (1) AU2139301A (en)
CA (2) CA2297711A1 (en)
WO (1) WO2001048630A2 (en)

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB2373697A (en) * 2000-11-29 2002-09-25 Hewlett Packard Co Locality-dependent presentation
FR2852711A1 (en) * 2003-03-19 2004-09-24 France Telecom Enterprise application managing method, involves transferring data description towards enterprise for supplying application data as per description to information management system for enabling access to data by user
EP1500015A2 (en) * 2002-04-30 2005-01-26 Sap Ag Customer interaction reporting
US7533114B2 (en) 2005-02-22 2009-05-12 Nextair Corporation Mobile device having extensible software for presenting server-side applications, software and methods
US7546298B2 (en) 2001-01-09 2009-06-09 Nextair Corporation Software, devices and methods facilitating execution of server-side applications at mobile devices
US7668937B2 (en) 2005-02-22 2010-02-23 Research In Motion Limited Wireless communication device use of application server applications
US7865528B2 (en) 2001-01-09 2011-01-04 Nextair Corporation Software, devices and methods facilitating execution of server-side applications at mobile devices
US8224951B2 (en) 2005-02-22 2012-07-17 Nextair Corporation Determining operational status of a mobile device capable of executing server-side applications
JP2012155410A (en) * 2011-01-24 2012-08-16 Ricoh Co Ltd Information apparatus, information processing method, and information processing program
FR2988192A1 (en) * 2012-03-19 2013-09-20 Syneria METHOD AND SYSTEM FOR DEVELOPING CONSULTATION APPLICATIONS OF CONTENT AND SERVICES ON A TELECOMMUNICATION, DISTRIBUTION AND EXECUTION NETWORK OF SUCH APPLICATIONS ON MULTIPLE APPARATUSES.

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5835712A (en) * 1996-05-03 1998-11-10 Webmate Technologies, Inc. Client-server system using embedded hypertext tags for application and database development
WO1999057657A1 (en) * 1998-05-04 1999-11-11 Lextron Systems, Inc. Tailoring data and transmission protocol for efficient interactive data transactions over wide-area networks

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5835712A (en) * 1996-05-03 1998-11-10 Webmate Technologies, Inc. Client-server system using embedded hypertext tags for application and database development
WO1999057657A1 (en) * 1998-05-04 1999-11-11 Lextron Systems, Inc. Tailoring data and transmission protocol for efficient interactive data transactions over wide-area networks

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
SENNA, JEFF: "XML bridges the gap" INFOWORLD, vol. 20, no. 22, 1 June 1998 (1998-06-01), page 88 XP002931818 *

Cited By (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB2373697B (en) * 2000-11-29 2005-01-12 Hewlett Packard Co Locality-Dependent presentation
GB2373697A (en) * 2000-11-29 2002-09-25 Hewlett Packard Co Locality-dependent presentation
US7546298B2 (en) 2001-01-09 2009-06-09 Nextair Corporation Software, devices and methods facilitating execution of server-side applications at mobile devices
US8204911B2 (en) 2001-01-09 2012-06-19 Nextair Corporation Software, devices and methods facilitating execution of server-side applications at mobile devices
US7865528B2 (en) 2001-01-09 2011-01-04 Nextair Corporation Software, devices and methods facilitating execution of server-side applications at mobile devices
EP1500015A2 (en) * 2002-04-30 2005-01-26 Sap Ag Customer interaction reporting
FR2852711A1 (en) * 2003-03-19 2004-09-24 France Telecom Enterprise application managing method, involves transferring data description towards enterprise for supplying application data as per description to information management system for enabling access to data by user
US7668937B2 (en) 2005-02-22 2010-02-23 Research In Motion Limited Wireless communication device use of application server applications
US7533114B2 (en) 2005-02-22 2009-05-12 Nextair Corporation Mobile device having extensible software for presenting server-side applications, software and methods
US8190712B2 (en) 2005-02-22 2012-05-29 Research In Motion Limited Wireless communication device use of application server applications
US8224951B2 (en) 2005-02-22 2012-07-17 Nextair Corporation Determining operational status of a mobile device capable of executing server-side applications
JP2012155410A (en) * 2011-01-24 2012-08-16 Ricoh Co Ltd Information apparatus, information processing method, and information processing program
FR2988192A1 (en) * 2012-03-19 2013-09-20 Syneria METHOD AND SYSTEM FOR DEVELOPING CONSULTATION APPLICATIONS OF CONTENT AND SERVICES ON A TELECOMMUNICATION, DISTRIBUTION AND EXECUTION NETWORK OF SUCH APPLICATIONS ON MULTIPLE APPARATUSES.
WO2013140076A3 (en) * 2012-03-19 2013-12-19 Able France Method and system for developing applications for consulting content and services on a telecommunications network
CN104321743A (en) * 2012-03-19 2015-01-28 法国埃布尔公司 Method and system for developing applications for consulting content and services on a telecommunications network

Also Published As

Publication number Publication date
WO2001048630A9 (en) 2002-08-29
CA2297711A1 (en) 2001-06-23
AU2139301A (en) 2001-07-09
CA2297597A1 (en) 2001-06-23
WO2001048630A3 (en) 2003-02-06

Similar Documents

Publication Publication Date Title
US20020032706A1 (en) Method and system for building internet-based applications
US20020038349A1 (en) Method and system for reusing internet-based applications
US6456308B1 (en) Embedded web server
US5973696A (en) Embedded web server
US7174506B1 (en) Method and system for producing dynamic web pages
US7523460B2 (en) Method and apparatus for generating object-oriented World Wide Web pages
US20040024812A1 (en) Content publication system for supporting real-time integration and processing of multimedia content including dynamic data, and method thereof
US20030050931A1 (en) System, method and computer program product for page rendering utilizing transcoding
US20040006653A1 (en) Method and system for wrapping existing web-based applications producing web services
US20050060648A1 (en) Document transformation
JP2002041307A (en) Handling of postback input by control object on server side
KR20060050608A (en) Data sharing system, method and software tool
US20040268249A1 (en) Document transformation
US20030158894A1 (en) Multiterminal publishing system and corresponding method for using same
EP1327346A1 (en) Method and apparatus for content transformation for rendering data into a presentation format
WO2001048630A2 (en) Client-server data communication system and method for data transfer between a server and different clients
US20020087915A1 (en) Error handler method and system for internet-based applications
US20150248500A1 (en) Documentation parser
US7831905B1 (en) Method and system for creating and providing web-based documents to information devices
CA2297596A1 (en) Method and system for reusing internet-based applications
EP1393203A2 (en) Method of dynamically creating a web page according to user preferences
CA2360959A1 (en) Tester for url addressable computer applications
Beszteri et al. An XForms based solution for adaptable documents editing
Honkala Using XML to Develop Applications for WAP and WWW Environments
Parsons Evolving Web Application Architectures

Legal Events

Date Code Title Description
AK Designated states

Kind code of ref document: A2

Designated state(s): AE AG AL AM AT AU AZ BA BB BG BR BY BZ CA CH CN CR CU CZ DE DK DM DZ EE ES FI GB GD GE GH GM HR HU ID IL IN IS JP KE KG KP KR KZ LC LK LR LS LT LU LV MA MD MG MK MN MW MX MZ NO NZ PL PT RO RU SD SE SG SI SK SL TJ TM TR TT TZ UA UG US UZ VN YU ZA ZW

AL Designated countries for regional patents

Kind code of ref document: A2

Designated state(s): GH GM KE LS MW MZ SD SL SZ TZ UG ZW AM AZ BY KG KZ MD RU TJ TM AT BE CH CY DE DK ES FI FR GB GR IE IT LU MC NL PT SE TR BF BJ CF CG CI CM GA GN GW ML MR NE SN TD TG

121 Ep: the epo has been informed by wipo that ep was designated in this application
DFPE Request for preliminary examination filed prior to expiration of 19th month from priority date (pct application filed before 20040101)
WWE Wipo information: entry into national phase

Ref document number: 2000984750

Country of ref document: EP

AK Designated states

Kind code of ref document: C2

Designated state(s): AE AG AL AM AT AU AZ BA BB BG BR BY BZ CA CH CN CR CU CZ DE DK DM DZ EE ES FI GB GD GE GH GM HR HU ID IL IN IS JP KE KG KP KR KZ LC LK LR LS LT LU LV MA MD MG MK MN MW MX MZ NO NZ PL PT RO RU SD SE SG SI SK SL TJ TM TR TT TZ UA UG US UZ VN YU ZA ZW

AL Designated countries for regional patents

Kind code of ref document: C2

Designated state(s): GH GM KE LS MW MZ SD SL SZ TZ UG ZW AM AZ BY KG KZ MD RU TJ TM AT BE CH CY DE DK ES FI FR GB GR IE IT LU MC NL PT SE TR BF BJ CF CG CI CM GA GN GW ML MR NE SN TD TG

COP Corrected version of pamphlet

Free format text: PAGES 1/17-17/17, DRAWINGS, REPLACED BY NEW PAGES 1/17-17/17; DUE TO LATE TRANSMITTAL BY THE RECEIVING OFFICE

REG Reference to national code

Ref country code: DE

Ref legal event code: 8642

WWW Wipo information: withdrawn in national office

Ref document number: 2000984750

Country of ref document: EP

NENP Non-entry into the national phase in:

Ref country code: JP