The present invention relates to the field of Internet communication. In particular the present invention discloses an arrangement and methods for processing information related to interactive web sites such as electronic commerce web sites.
The Internet is a global interconnection of computer networks that share a common set of communication protocols. Most computers on the global Internet use the Transport Control Protocol layer and the Internet Protocol layer commonly referred to together as the TCP/IP standard protocols. By sharing a set of nonproprietary well-defined data communication protocols, the Internet allows almost any computer system to communicate with any other computer system.
The Internet and its predecessor, the ARPANET, has existed in some form since 1969. The Internet was mainly used by scientists and engineers until the late 1980s. In the late 1980's and early nineties when personal computer systems became powerful enough to handle networking, a wider audience of users began using the global Internet. Initially, most users used the Internet for electronic mail (email), file transfers, discussion groups, and email using the simple mail transport protocol (SMTP), the file transfer protocol (FTP), and the network news transport protocol (NNTP), respectively.
One particular transport protocol, known as the hypertext transport protocol (HTTP), was created for sharing hypertext markup language (HTML) documents. The creation of HTTP and HTML enabled Internet users to easily create media-rich documents that could easily be “browsed” using an HTML browser program. Each HTML document could refer to other HTML documents using hypertext links (hyperlinks). By linking together HTML documents located on various servers throughout the world using embedded hyperlinks, a “World Wide Web” (WWW) of interconnected hypertext documents was created. Due to the simple, yet very powerful nature of HTML and HTTP, the World Wide Web (WWW) portion of the Internet has grown into the most popular form of Internet communication.
The WWW portion of the Internet quickly became a new mass medium for information distribution. With the help of advertising support, millions of news and information web sites have been deployed on the global Internet.
The HTML and HTTP standards have been amended to handle two-way communication. Specifically, an HTTP server may present a user with an HTML “form” that can be filled-in by the user and sent back to a server. Using a processing system often known as Common Gateway Interface (CGI) script, the HTTP server may parse the returned HTML form to obtain the information entered by the person.
These interactive HTML and HTTP techniques have been used to create commercial WWW sites that can perform financial transactions. For example, a retailer may create a set of HTML documents that describe various products available for sale. The retailer may then provide HTML form documents that allow a user to specify a desired product, provide a shipping address, and provide a credit card to pay for the desired product. With such commerce based Internet web sites, the Internet has become the new frontier of commercial commerce.
Internet based commerce has been growing at an exponential rate. To provide highly automated web sites, Internet commerce vendors have gone far beyond the original static web pages. Most Internet commerce sites now dynamically create web sites to allow current promotions, personalized user information, and other dynamic information to be placed into web sites. Such complex dynamic web page design and implementation is nontrivial process. Once a dynamic web site has been created using a specific architecture, it is very difficult to change to a different architecture. Thus, it would be desirable to have better tools that would allow such complex web sites to be created and edited.
A method of developing interactive web sites that are easy to modify is disclosed. The method uses a specific web server request handler system that examines each request to determine if a handler should be called to handle information related to the referring web page. Specifically, for each web page, the server system examines the address of the referring web page to see if the server has a handler routine associated with the referring web page. If the server has a handler associated with the referring web page, then the server executes the handler routine to process any information in the current request, any state information, or any other information. After executing the handler routine, the server handles the current request, which is delivering the content of the current page. The handling of the current request may be affected by the processing performed by the handler routine associated with the referring web page. By associating the processing of current information with the previous web page, the system of the present invention decouples the links between the pages such that ordering of web pages may be changed without affecting the processing steps.
Other objects, features, and advantages of present invention will be apparent from the company drawings and from the following detailed description.
The objects, features, and advantages of the present invention will be apparent to one skilled in the art, in view of the following detailed description in which:
Methods and arrangements for creating interactive web sites that are easy to modify are disclosed. In the following description, for purposes of explanation, specific nomenclature is set forth to provide a thorough understanding of the present invention. However, it will be apparent to one skilled in the art that these specific details are not required in order to practice the present invention. For example, the present invention has been described with specific references to the HyperText Transport protocol (HTTP). However, the same techniques can easily be applied to other types of communication protocols.
Internet based commerce, often known as ecommerce, has been one of the fastest growing industries in the late 1990's.
In a normal web site browsing, a client computer system 110 requests information from an ecommerce server 130 along dataflow 191 using an HTTP “GET” request. The ecommerce server 130 responds to the “GET” request with information along dataflow 193.
To allow ecommerce transactions to take place, a web site must be made interactive. For example, to initiate an ecommerce transaction, client computer system 110 may need to request the purchase of a specific item from ecommerce server 130. One very common method of performing such an action is to issue an HTTP “POST” request from client system 110 to the ecommerce server 130 along dataflow 191. (However, it should be noted that an HTTP “GET” requests might also be used.) The “POST” request may contain information related to the desired purchase transaction such as a product item number, a consumer mailing address, and credit card information. The ecommerce site may then check an inventory and/or credit database 131 using the information contained in the “POST” request to determine if the purchase transaction should be approved. Originally, this was typically performed using a Common Gateway Interface (CGI) script to process the information in the “POST” request. Many current systems use technologies such as servlets, Java Server Pages (JSP), or Active Server Pages (ASP). After the processing, the ecommerce web site then informs the consumer if the consumer's transaction was approved by returning information along dataflow 193.
As Internet retailing has grown rapidly, almost every traditional retailer has been pressured to offer some type of Internet based commerce system in order to compete with a large contingent of upstart “Internet only” retailers. This heavy demand for ecommerce sites has created a shortage of skilled ecommerce site developers.
Since the demand for ecommerce sites continues to be strong, a number of software developers have been developing tools to speed the creation and deployment of ecommerce systems. These ecommerce development tools allow skilled developers to create complex ecommerce systems that integrate ecommerce web sites with inventory databases and accounting systems. However, the complex ecommerce web sites and back-end programs developed by these ecommerce development systems are difficult to modify. To keep their web sites “fresh” ecommerce retailers need to periodically change the structure of their ecommerce web sites. With most existing ecommerce development tools, this can be a very difficult and expensive proposition.
To create a web site development system that allows the structure of the web site to be easily modified, the present invention introduces a system that uses web pages having associated handler routines for creating interactive web sites. Specifically, each web page may be associated with a specific “handler routine” for that web page. (Pages that do not need an associated handler routine will not have an associated handler routine.) The associated handler routine is called to perform processing associated with a particular web page after a user has finished with that particular web page and moved onto another web page. By associating each individual web page with an associated handler routine and calling the associated handler routine after each web page has been viewed, the present invention creates an intuitively structured web site. With the system of the present invention, an interactive web site designer can change the order that the web pages are presented by simply changing the various links between the web pages. The interactive web site will continue to operate since each handler routine continues to be associated with its designated web page.
Associated Handler Routine Details
In one embodiment, the associated handler routine comprises a Java Class that is executed on an application server after a user has examined a particular web page and performed a “Submit” on that particular web page. For example, a user may perform a Submit by selecting a hyperlink on that particular web page. The associated handler routine processes any information that may be made available to it including information in a client's “POST” request, information in a client's “GET” request, server maintained state information, and information from a “cookie” stored on the client system. The results of the handler routine may be used to control the next web page sent to the client system or specify specific information sent in that web page.
The associated handler routine may be associated to a web page using some type of directory that associates web page addresses with specific handler routines. For example, the full (or a subset of the) Uniform Resource Locator (URL) of a particular web page may be placed into a list along with some type of reference to an associated handler routine for that particular web page. In one embodiment, the reference may be the name of a Java class that implements a certain pre-defined Java interface. In this manner, when a web server constructed using the teachings of the present invention receives a request, the web server will compare the URL of the referring (previous) web page with that list of URLs and references to Handler routines. If the web server locates a match, then the server will execute the associated handler routine that was located. The server may execute the associated handler routine by dynamically loading a named Java class.
Referring to the first embodiment of the present invention illustrated in
After obtaining an address of a referring web page, the system then looks for a handler associated with the referrer address in step 230. In one embodiment, the system may locate an associated handler searching a list of web page addresses and associated references to handler routines. To optimize the associated handler routine search, the list may be hashed using the web page address as a hash key.
At step 240, the system tests to see if any associated handler has been found. If no handler has been found, then the system simply responds to the request at step 260. If a handler was found, then the system calls the handler routine at step 250. The handler routine may process information contained in the request and other state information. After processing the handler routine at step 250, the system responds to the request at step 260. Note that the handler routine processing may slightly affect how the system responds to the client in step 260. Some handler routines will have no effect, some handler routines will affect the data delivered to the client, and some handler routines may redirect the client to another web page entirely.
After obtain the address of a referring web page, the system then generates a name for a handler associated with the referrer address in step 280. The name of the handler may be the same as the address or a slightly modified version with some illegal characters removed. Finally, at step 290, the system attempts to dynamically load and execute (using Java) handler code for the referring web page using the generated handler code name. If there is no associated handler code for that particular web page, then the dynamic loading will fail and normal processing will resume. Thus, in such an embodiment there is no need to maintain a list of handler routines.
In yet another embodiment, the hyperlinks in the referring page contain the name of the handler routine as a parameter to the linked page. For example, the following hyperlink can be used to call the handler routine “myHandlerClass”:
http://www.abc.com/page5.html?handler=MyHandlerClass
In such an embodiment, the web server examines the parameter field for a “handler” attribute and executes the named handler if such a handler attribute is specified. Thus, the above hyperlink will cause the web server to execute a handler routine called “MyHandlerClass” before delivering the web page “http://www.abc.com/page5.html”. As set forth in the previously described embodiments, the handler routine may be executed by dynamically loading the named handler routine.
To best illustrate how the system of the present invention provides advantages over the prior art systems, an example of ecommerce web site is presented. The example of the ecommerce site will then be simply modified into a different interactive web site.
Membership Required Ecommerce Site Example
Referring to
If the registration succeeded at step 335 (or a member logged in successfully back at step 315), then the interactive members-only ecommerce web site presents a list of products available at page 350. The user may select an individual item to examine such that the web site moves the user to individual item display page 360. (Note that the system may present many different items and only a single item is listed to keep the example simple.) If the user elects to purchase the item on item display page 360, the user is presented with a purchase item page 370 that allows the user to confirm the purchase of the item. CGI code at step 375 verifies if the user confirmed the item purchase and presents a purchase confirmation page 380 if the user confirmed the purchase.
Membership Required Ecommerce Site Example
To convert the desired ecommerce web site, each web page is associated with a handler routine that handles any response information from the user, state information, cookie information, or any other available information. After each web page is viewed and a successive request is received, the web site server system calls a handler routine associated with the previous web page (the referring web page) as set forth in the flow diagram of
Referring to
The login code 411 processes the login information. In this case, the results of the processing will affect how the server will respond to the request. If the login code 411 detects proper login, the server will return the display list web page 450. However, if the login code detects a login failure, the server will present the user with failed login web page 420. The failed login page 420 will present the user with an option to retry the login or register as a new user. After the user selects one of those options in a server request, the server will again perform the steps in
Note that not all of the web pages will have associated handler routines. For example display list web page 450 that displays a list of items available for purchase may not have any associated handler code. The display list web page 450 may merely contain a list of links to specific product pages. When a user selects a particular product from the display list web page 450 the server may fail to locate an associated handler routine. Thus, the server will not execute any handler code and just serve the requested web page associated with the selected product.
Editing the Site Flow Structure
As previously set forth, the associated handler routine structure of the present invention allows interactive web sites to be modified more easily than custom built interactive web sites. To illustrate this advantage, an example modification to the membership-only ecommerce site of
If the user confirms the purchase, then the user is presented with a login web page 540. Thus, in the member-only ecommerce web site of
With system of the present invention wherein web pages have associated handler routines, the web system of
Referring to
It can be seen from
The foregoing has described methods for creating interactive web sites that are easy to modify. It is contemplated that changes and modifications may be made by one of ordinary skill in the art, to the materials and arrangements of elements of the present invention without departing from the scope of the invention.
Number | Name | Date | Kind |
---|---|---|---|
5805889 | Van De Vanter | Sep 1998 | A |
5848396 | Gerace | Dec 1998 | A |
5991735 | Gerace | Nov 1999 | A |
6012087 | Freivald et al. | Jan 2000 | A |
6038548 | Kamil | Mar 2000 | A |
6081835 | Antcliff et al. | Jun 2000 | A |
6085193 | Malkin et al. | Jul 2000 | A |
6094657 | Hailpern et al. | Jul 2000 | A |
6173316 | De Boor et al. | Jan 2001 | B1 |
6233584 | Purcell | May 2001 | B1 |
6286046 | Bryant | Sep 2001 | B1 |
6311165 | Coutts et al. | Oct 2001 | B1 |
6401077 | Godden et al. | Jun 2002 | B1 |
6421729 | Paltenghe et al. | Jul 2002 | B1 |
6448979 | Schena et al. | Sep 2002 | B1 |
6460038 | Khan et al. | Oct 2002 | B1 |
6470386 | Combar et al. | Oct 2002 | B1 |
6473740 | Cockrill et al. | Oct 2002 | B2 |
6477578 | Mhoon | Nov 2002 | B1 |
6484149 | Jammes et al. | Nov 2002 | B1 |
6496931 | Rajchel et al. | Dec 2002 | B1 |
6563800 | Salo et al. | May 2003 | B1 |
6587866 | Modi et al. | Jul 2003 | B1 |
6594692 | Reisman | Jul 2003 | B1 |
6609198 | Wood et al. | Aug 2003 | B1 |
6628766 | Hollis et al. | Sep 2003 | B1 |
6668322 | Wood et al. | Dec 2003 | B1 |
6691232 | Wood et al. | Feb 2004 | B1 |
6892307 | Wood et al. | May 2005 | B1 |
6941351 | Vetrivelkumaran et al. | Sep 2005 | B2 |
7000242 | Haber | Feb 2006 | B1 |
7013329 | Paul et al. | Mar 2006 | B1 |
7051080 | Paul et al. | May 2006 | B1 |
7089560 | Uhler et al. | Aug 2006 | B1 |
7107548 | Shafron | Sep 2006 | B2 |
7188183 | Paul et al. | Mar 2007 | B1 |
7194757 | Fish et al. | Mar 2007 | B1 |
7197475 | Lorenzen et al. | Mar 2007 | B1 |
7225460 | Barzilai et al. | May 2007 | B2 |
7333944 | Harris | Feb 2008 | B1 |
7346667 | Ashcroft et al. | Mar 2008 | B2 |
7634428 | Varatharajah | Dec 2009 | B1 |
7664678 | Haber | Feb 2010 | B1 |
7778934 | Graves et al. | Aug 2010 | B2 |
8280779 | Davis et al. | Oct 2012 | B2 |
8312168 | Rhoads et al. | Nov 2012 | B2 |
20010032090 | Moneim | Oct 2001 | A1 |
20020049774 | Ritzel | Apr 2002 | A1 |
20020054089 | Nicholas et al. | May 2002 | A1 |
20020062338 | McCurley et al. | May 2002 | A1 |
20020069122 | Yun et al. | Jun 2002 | A1 |
20030050976 | Block et al. | Mar 2003 | A1 |
20030158960 | Engberg | Aug 2003 | A1 |
20040098493 | Rees | May 2004 | A1 |
20040177047 | Graves et al. | Sep 2004 | A1 |
20060190355 | Jammes et al. | Aug 2006 | A1 |
20080040240 | Covington et al. | Feb 2008 | A1 |
20090281914 | Tarvydas et al. | Nov 2009 | A1 |
20100185556 | Kumar et al. | Jul 2010 | A1 |
20110087564 | Davis et al. | Apr 2011 | A1 |
20120030065 | Tarvydas et al. | Feb 2012 | A1 |
20120323733 | Hernandez et al. | Dec 2012 | A1 |
Entry |
---|
Fielding et al., HTTP 1.1, Jan. 1997, RFC 2068, pp. 1-5, 130. |