Source: http://www.google.com/patents/US20030167209?dq=5095480
Timestamp: 2015-05-04 07:04:39
Document Index: 273215473

Matched Legal Cases: ['art 100', 'art 200', 'art 300', 'art 100', 'art 200', 'art 300']

Patent US20030167209 - Online intelligent information comparison agent of multilingual electronic ... - Google PatentsSearch Images Maps Play YouTube News Gmail Drive More »Sign inAdvanced Patent SearchPatentsA method and system for real-time online search processing over inter-connected computer networks, in which an offline database information is maintained for a plurality of vendor sites from the inter-connected computer networks. The information includes URLs, search form URLs, description of domains,...http://www.google.com/patents/US20030167209?utm_source=gb-gplus-sharePatent US20030167209 - Online intelligent information comparison agent of multilingual electronic data sources over inter-connected computer networksAdvanced Patent SearchPublication numberUS20030167209 A1Publication typeApplicationApplication numberUS 09/967,233Publication dateSep 4, 2003Filing dateSep 27, 2001Priority dateSep 29, 2000Also published asCN1478237A, EP1346290A2, US7555448, US20090259619, WO2002027534A2, WO2002027534A3Publication number09967233, 967233, US 2003/0167209 A1, US 2003/167209 A1, US 20030167209 A1, US 20030167209A1, US 2003167209 A1, US 2003167209A1, US-A1-20030167209, US-A1-2003167209, US2003/0167209A1, US2003/167209A1, US20030167209 A1, US20030167209A1, US2003167209 A1, US2003167209A1InventorsVictor HsiehOriginal AssigneeVictor HsiehExport CitationBiBTeX, EndNote, RefManReferenced by (42), Classifications (15), Legal Events (3) External Links: USPTO, USPTO Assignment, EspacenetOnline intelligent information comparison agent of multilingual electronic data sources over inter-connected computer networks
US 20030167209 A1Abstract
A method and system for real-time online search processing over inter-connected computer networks, in which an offline database information is maintained for a plurality of vendor sites from the inter-connected computer networks. The information includes URLs, search form URLs, description of domains, and vendor descriptions, and while the vendor descriptions comprise generalized rules about how product information is organized on each of the vendor sites. Parameters are processed for a price comparison request for a desired product using the information maintained in the offline database whereas price comparison request is received from an online user or buyer and/or from the system of the present invention. Real-time price and product information is then extracted from identified ones of the plurality of vendor sites, wherein the extracted price and product information are in a native language of the site; and the extracted price and product information are displayed to the user. Images(37) Claims(35)
What is claimed is: 1. A method for real-time online search processing of selected types of information in inter-connected computer networks, the method comprises the steps of: a. assembling site descriptions for a plurality of sites in the inter-connected computer networks including for each of the plurality of sites: i. a URL for the site; ii. a search form URL for the site; iii. generalized rules of how the selected types of information on the site are organized; iv. sample data retrieved from the site corresponding to the selected types of information; and v. descriptions of domains found in the site; b. receiving a request for specified types of information from an online user; c. identifying from the site descriptions, sites which may have the specified types of information; d. constructing search requests for the specified types of information using the site descriptions for each of the identified sites; e. submitting the constructed search requests to the identified sites; f. receiving search results from the identified sites, and upon locating accurate matches in the received search results, extracting information corresponding to the specified types of information in a native language of the site, and displaying the extracted information to the user. 2. The method of claim 1 wherein the generalized rules include identifying characteristics that can accurately identify the occurrence of the selected types of information within the site. 3. The method of claim 1 wherein the submitting constructed search requests step is multi-threaded. 4. A method for assembling site information for use in real-time online search processing of selected types of information over inter-connected computer networks, the method comprises the steps of: a. collecting information from a plurality of sites over inter-connected computer networks including: i. a URL for each of the plurality of sites; ii. a search form URL for each of the plurality of sites; iii. sample pages containing the selected types of information retrieved from each of the plurality of sites; iv. positional information associated with the selected types of information within the sample pages; and b. from the collected information, deriving generalized rules about how the selected types of information on each of the plurality of sites are organized. 5. The method of claim 4 wherein the deriving generalized rules step includes the step of assembling identifying characteristics which can uniquely identify the occurrence of the selected types of information within each of the plurality of sites. 6. The method of claim 5 wherein the assembling identifying characteristics step includes the steps of i. identifying delimiter characters which bound the selected types of information in the sample pages; ii. retrieving further sample pages from the site; and iii. corroborating the identified delimiter characters against the retrieved further sample pages. 7. The method of claim 6, wherein the identifying delimiter characters step includes the steps i. from the sample pages, compiling a list of possible strings of delimiter characters for each of the selected types of information. ii. comparing the list of strings of delimiter characters compiled for one of the sample pages with the list of strings of delimiter characters compiled for another of the sample pages, and revising the complied lists of strings to be consistent for all compared sample pages; and further wherein the corroborating step comprises the step of repeating the comparing step for the further sample pages retrieved contemporaneously from the site. 8. A method for real-time online search processing over inter-connected computer networks, the method comprises the steps of: a. accessing an offline database having vendor descriptions for a plurality of vendor sites over inter-connected computer networks, the vendor descriptions having information about each of the plurality of vendor sites include: i. a URL for each of the plurality of vendor sites; ii. a search form URL for each of the plurality of vendors; iii. description of domains found in each of the plurality of vendor sites; iv. generalized rules about how product information is organized on each of the plurality of vendor sites; v. samples of price and product information retrieved from the plurality of vendors; b. receiving from an online user a price comparison request for a desired product; c. identifying from the vendor descriptions, vendor sites which may have price information relevant to the price comparison request; d. constructing search requests for the desired product using the vendor descriptions for each of the identified vendor sites, including the corresponding search form URL; e. submitting to the identified vendor sites the constructed search requests; f. extracting price and product information from search results received in response to the submitted search requests, wherein the extracted price and product information are in a native language of the site; and g. displaying the extracted price and product information to the user. 9. The method of claim 8 wherein the general rules include delimiters which can uniquely identify the occurrence of price and associated information within each of the plurality of vendors. 10. The method of claim 8 wherein the URLs of the plurality of vendor sites, and the extracted price and product information are stored in a database. 11. The method of claim 10 wherein the URLs of the plurality of vendor sites, and the extracted price and product information which are stored in the database are updated periodically. 12. The method of claim 11 wherein the URLs of the plurality of vendor sites and the extracted price and product information, which are stored in the database, are automatically updated daily. 13. The method of claim 8 wherein each of the plurality of vendor descriptions is specific to a different online store. 14. The method of claim 13 wherein only one vendor description for each different online store is stored in a database. 15. The method of claim 8 wherein the extracting step includes the step of verifying accurate matches in the search results received in response to the submitted search requests with the desired product. 16. The method of claim 8 wherein the displaying step includes the step of displaying price and product information for the desired product only from the vendor site having the best price. 17. The method of claim 8 wherein the displaying step includes the step of displaying price and product information for the desired product in a selectable arrangement. 18. The method of claim 8 wherein the displaying step includes the step of displaying price and product information for the desired product and which has been sorted according to price. 19. The method of claim 8, further includes a step of user authentication comprising a security interface. 20. The method of claim 19, wherein the security interface categorizes users as temporary trial and life members. 21. The method of claim 8, wherein vendors in the plurality of vendor sites are registered or non-registered vendors. 22. The method of claim 8, wherein the vendor descriptions are automatically constructed through an inductive learning method. 23. The method of claim 22, wherein the inductive learning method can work in multilingual environments. 24. The method of claim 22, wherein the inductive learning method is domain independent. 25. The method of claim 22, wherein the inductive learning method operates in multiple domains such as books, electronic products, movies, or other products. 26. The method of claim 22, wherein the inductive learning method uses a small set of training data. 27. The method of claim 26, wherein the training data includes product examples and the URL from online stores. 28. The method of claim 26, wherein the inductive learning method can extract and identify data independent of presentation style of the online store. 29. A method for real-time online search processing over inter-connected computer networks, the method comprises the steps of: a. maintaining in an offline database information for a plurality of vendor sites over inter-connected computer networks, the information includes URLs, search form URLs, description of domains, and vendor descriptions, wherein the vendor descriptions include generalized rules about how product information is organized on each of the vendor sites; b. processing parameters for a price comparison request for a desired product using the information maintained in the offline database, while price comparison request is received from an online user; c. extracting real-time price and product information from identified ones of the plurality of vendor sites, wherein the extracted price and product information are in a native language of the site; and d. displaying the extracted price and product information to the user. 30. The method of claim 29, wherein the step of receiving a price comparison request further comprises the step of receiving from the user at least one search parameter and an identification of at least one online vendor on said computer network; and further wherein the extracting step includes the steps of i. posting a request using the processed parameters to at least one of the plurality of vendors online, in real-time; and ii. retrieving data related to the price and product information from search results obtained in response to the posting step; iii. sorting the retrieved data by price; and iv. displaying processed data for the desired product from at least one of the plurality of vendors. 31. The method of claim 30, wherein the step of receiving a price comparison request is initiated by the online user. 32. The method of claim 30, wherein in the step of posting a request, the processed parameters are the combination of the search parameters and vendor identification received from the user, vendor description for the identified vendor, and the URL of the identified vendor. 33. The method of claim 30, wherein the vendor descriptions maintained in the offline database includes patterns which identify information in vendor sites, and further wherein the step of retrieving data employs the patterns. 34. The method of claim 30, wherein the step of extracting real-time price and product information is domain-independent and language-independent. 35. The method of claim 30, wherein the step of displaying the processed data is based on composing information to be displayed in HTML.
RELATED APPLICATIONS [0001] The present application claims priority under 35 U.S.C. �119(e) from provisional applications No. 60/236,574, filed Sep. 29, 2000, and No. 60/299,360, filed Jun. 19, 2001.
COMPUTER PROGRAM LISTING APPENDIX [0002] Reference is made to the computer program listing appendices submitted herewith in a total of two (2) compact discs (including one duplicate compact disc). A single file is included in the submitted discs and is entitled �implementation.txt,� bears a date of creation of Sep. 18, 2001, and has a size of 14K bytes. The material contained in the compact discs is hereby incorporated by reference herein. FIELD OF THE INVENTION [0003] The present invention relates generally to automating tasks on the World Wide Web (the �Web�) and more particularly to automating tasks for an online buyer or user such as comparison shopping or interacting with the multilingual vendors on the World Wide Web through a single interface to increase communication efficiencies and to provide a personalized buying experience. DESCRIPTION OF THE BACKGROUND [0004] Since the creation of the World Wide Web in the mid 1990's, the size of the Internet has exploded a thousand-fold. People are now inter-connected, not by means of direct face-to-face interaction, but through virtual communication channels. This new revolution of technology has fundamentally changed the way people live. [0005] A parallel development with the World Wide Web is the �Information Technology Age� that presents a stunning variety of online information resources ranging from product information to academic papers. These elements have enabled the exponential growth of Electronic Commerce that capitalizes on the convenience and low cost which the Internet delivers. [0006] There are several million or more online vendors on the World Wide Web. Although current comparison shopping or price comparison search engines can retrieve from different online competitors, according to an online buyer's or user's query, somewhat relevant search results pertinent to any desired products requested and their desired prices, the buyer or user can be confronted with an endless sea of information. Sometimes, the buyer or user receives a �failure page� of search results because the search engines have missed other Websites of online multilingual vendors existing in the rest of the Internet-connected countries (currently numbering 245) selling exactly what was requested. Furthermore, although information about products and vendors is easily accessible on the Web, buyers or users are still in the loop in all stages of the buying process. [0007] The potential of the Internet for transforming the present mode of e-commerce into a truly global ensemble marketplace is largely unrealized today, and electronic purchases are still non-automated. Buying on the Internet is far from being simple, efficient, or enjoyable. Search engines and centralized directory services are insufficient for locating products the online buyer wants and the merchants willing to sell such products or services. Furthermore, the typical online purchase procedure is mostly manually driven and requires the buyer to enter all terms and keywords for which he or she wants to search. Therefore, a prospective buyer is faced with a daunting task, with responsibility for collecting and interpreting information about merchants and products, making decisions about them, and ultimately entering purchase and payment information. The scenario is that the user or buyer is easily overloaded with information without sufficient time and expertise. [0008] In order of complexity, there are two imperfect strategies presently adopted and implemented to partially automate an online catalog price comparison process as follows: [0009] (1) Non real-time approach [0010] (2) Real-time hard-coded wrappers approach [0011] The non real-time approach is the simplest way to implement a price comparison agent. Its implementation involves manually collecting all necessary information from the Web, and then writing a separate HTML file for each item of the search results in order to visually display the search results. [0012] The benefits of the above are obvious�easy implementation and short searching time. Notwithstanding those benefits, there are three main undesirable drawbacks. Firstly, as the price comparison is done manually, maintaining a large wrapper repository becomes very costly, particularly in view of the continuing growth of the Internet. Secondly, great effort must be invested to keep the price and other information up-to-date. Lastly, the size of the database required to store and coordinate all of the above information is extremely large. [0013] The real-time hard-coded wrappers approach is an alternative to the non real-time approach. Instead of fetching the items directly as in the non real-time approach, the real-time approach tries to generalize the HTML page into a specific format. To perform this extraction task, a customized wrapper procedure named pcwrapHLRT�programming acronym�is invoked. FIG. 1 provides an example of the pertinent portion of the program that has one �while� loop. In this example, the algorithm behind the creation of a wrapper is to confine the target data on the HTML page by a pair of delimiters. The pcwrapHLRT procedure works because the site exhibits a uniform formatting convention. Product items are rendered in bold whereas prices are in italics. PcwrapHLRT operates by scanning the HTML document for particular strings {�<B>, �</B>, �<I>,� �</I>�} that identify the text fragments to be extracted. These strings are identified by pcwrapHLRT as li, ri, lp and rp, respectively. The notation lk (k∈{i, p}) indicates that the string delimits the left-hand edge of an attribute to be extracted whereas rk indicates a right delimiter. Other possible attributes to be extracted by a wrapper are product names, graphics, terms and conditions, etc. [0014] When a HTML page is given, pcwrapHLRT sequentially scans the entire page starting from the head line number. The outer loop checks whether there are additional model numbers and/or price pairs to extract by searching for delimiter �<B>� on the non-scanned portion of the page. As long as the beginning of a model number is found, the inner loop is invoked to extract the appropriate page sub-strings. [0015] Few Websites publish their formatting conventions. Thus, the designer of an information-gathering system using pcwrapHLRT would manually construct such a wrapper for each resource. Unfortunately, this hard-coding process is tedious and error-prone, as a common HTML page may consist of several thousand lines of code. Moreover, most sites periodically change their formatting conventions that usually will break a wrapper. [0016] Another disadvantage of pcwrapHLRT is that the speed of search time is moderate, as the agents have to contact the vendor Website upon receiving a request from the user. Because this kind of wrapper is partially automated, extra administrative work must be performed to manually analyze the format of the HTML page in order to determine the wrapper. SUMMARY OF THE INVENTION [0017] In view of such commonly encountered afore-mentioned problems, an alternative to manual and partially automated manipulation, based upon a new Internet strategy, is automatic manipulation�online intelligent price comparison agents that can relieve the price comparison process of online catalog buying or shopping, (auctioning, etc.), and can meanwhile provide a better navigational environment with an Internet-friendly interactive-agent-character graphical user interface (IACGUI). This will be particularly useful when the so-called 4th Generation Global Ensemble Marketplace Framework-agent-mediated B-to-C, C-to-C, B-to-B e-procurement and auction, G-to-B/C (Government-to-Business/Consumer) tendering e-commerce and m-commerce (mobile commerce)-becomes widely implemented. Thus, the system of the present invention provides a better environment for consumer-to-business transactions. [0018] To put it simply, online intelligent price comparison agents are automated online buying or shopping assistants that scour global online multilingual stores and ferret out deals on every product. They also deliver value-added (customer rated) Business-Web services to the online buyer/ user. Such agents are attractive because they can relieve users of the tedium of manually carrying out every operation in the Consumer Buying Behavior model. [0019] Conventionally, a buyer/user communicates with a Web server of an online service through the interface at the front-end, which presents a form completed by the buyer/user for entering the terms to be searched. Once the buyer/user submits the search request, the online service's Web server queries its database for matches, and presents the results to the user's Web browser. [0020] In the present invention, user agents (online intelligent price comparison agents acting on behalf of the human buyer/user) in the online catalog price comparison process carry the terms and keywords to be searched for, and communicate with numerous multilingual Web servers of any of the 246 Internet-connected countries over inter-connected computer networks on the World Wide Web for the buyer's/user's best interests. The user agent then ranks the online vendor sites it finds and presents a summary of search results via the Web browser to the online human user. [0021] The advantages of applying the system of the present invention to multiple e-commerce segments are very significant. Communication efficiency and effectiveness can be increased considerably, and time and cost-savings for online vendors as well as online buyers can be maximized. Most importantly, the user/buyer will have access to an unprecedented and countless number of sources of information and a myriad of products sources on a global scale, as well as an immeasurable number of business opportunities. The system and method of the present invention will also help to collapse time and languages barriers, demographic boundaries, and truly enable the globalization of e-commerce. Besides, the personalized, continuously running, autonomous nature of the user agents makes them well suited for mediating buyer/consumer behaviors. It is believed that the present invention will help to optimize the whole buying experience and revolutionize current e-commerce. [0022] It is therefore an object of the present invention to provide an improved price comparison of online vendors' products or services. [0023] It is yet another object of the present invention to construct vendor descriptions of the online shop. [0024] It is yet another object of the present invention to collect data, including sample products and URLs, which are used for training. [0025] It is yet another object of the present invention to retrieve training data before performing learning of vendor sites or online shops. [0026] It is yet another object of the present invention to collect training pages from online vendors using information given in the training data. [0027] It is yet another object of the present invention to generate vendor descriptions from the training data and collected training pages. [0028] It is yet another object of the present invention to store the generated vendor descriptions in an offline database. [0029] It is yet another object of the present invention to provide an interface for a system administrator to add, modify and delete vendors supported by the system. [0030] It is yet another object of the present invention to provide an interface for an administrator to view vendor information. [0031] It is yet another object of the present invention to provide a price comparison method whereby a customer can initiate the price comparison. [0032] It is yet another object of the present invention to parse HTML pages into useful data. [0033] It is yet another object of the present invention to provide filtering and sorting of desired products/services. [0034] It is yet another object of the present invention to provide a single interface to compare prices of different online multilingual vendors and different domains on the Internet or World Wide Web. [0035] A first user agent is embodied in the system of the present invention, and is implemented in the form of a Semantics Recognition Learner Agent (SRLA). It conducts a real-time autonomous wrapper induction using an inductive learning method to learn the URL of a vendor's site and its domain description, and generalized rules about the organization of the vendor's site based upon previously compiled or prepared training examples provided by the system administrator. (In one embodiment, the SRLA connects a Microsoft brand back-end SQL-compliant server or Microsoft Access database to produce a vendor and products description only once per online store.) The wrapper induction is done by constructing in real-time a wrapper of examples that is extracted from vendor and products descriptions stored in the offline database. Then with the examples, the SRLA autonomously zaps through the Internet in real-time to the remote host of the vendor site to access the Web pages exhibiting the specified examples according to the URL provided, then intelligently fills-in a relevant search form with the domain or product information, and then virtually �presses enter� to thereby submit a search request to the site. Result pages that are returned in response to the search criteria are either a successful page containing accurate information or a failure page. These result pages, having vendor and products descriptions that are unique to a particular vendor (either a registered or non-registered vendor with the system), are consequently stored in a vendor description list in the offline database (such as in an SQL-compliant server or Microsoft Access database) maintained by the system administrator. Vendor URLs, vendor descriptions and other information, are preferably automatically updated once daily on schedule. [0036] A second user agent embodied in the system of the present invention is referred to as a Semantics Recognition Buyer Agent (SRBA). The SRBA uses the vendor descriptions previously �learned� by the Semantics Recognition Learner Agent to search for a match while accessing simultaneously various online multilingual vendor sites on the World Wide Web. The SRBA intelligently fills-in a vendor's search form with the product information provided by an online buyer or user and virtually �presses enter.� The vendor then returns search result pages to the SRBA through the World Wide Web in such a manner that result pages arrive at about the same time as other ones being returned from other vendors. (The Semantics Recognition Buyer Agent stores these returned pages in a separate memory or cache location as hits for later use by other SRBAs.) The SRBA analyzes the returned pages according to the corresponding vendor descriptions, extracts from them relevant information and data, sorts prices and model numbers, and displays them in a formatted summary on the screen of a client-machine via a Web browser to the online buyer/user. [0037] In accordance with the present invention, a method is provided for a computer-implemented Semantics Recognition Learner Agent to perform an inductive learning. The method comprises retrieving training data specific to an online vendor to generate a corresponding vendor description from inter-connected computer networks. The method comprises collecting training pages using the given training pages using the given training data stored in the vendor list. Using the training data as well as the retrieved training pages, the method comprises an inductive learning method to generate a vendor-specific vendor description from information that is extracted from the training data and retrieved training pages. [0038] A method is provided for storing the retrieved and/or extracted vendor descriptions in an offline database that will be later used by a Semantics Recognition Buyer Agent (SRBA). [0039] A method is provided in accordance with the present invention for price comparison of products or services from online vendors. The method comprises an online user initializing a request for a specific product or service, then a Semantics Recognition Buyer Agent constructs parameters of a search request using pre-defined vendor descriptions. The method comprises posting requests to different online vendors, preferably at the same time, extracting data from result pages returned from the online vendors using a parser that comprises the vendor descriptions. The method comprises constructing/composing sorted and filtered data by a Semantics Recognition Buyer Agent in a HTML format for presenting the data to the online buyer/user. [0040] A method is provided and implemented through the Semantics Recognition Buyer Agent for parsing returned pages from online vendors to retrieve useful data. The method comprises retrieving vendor descriptions from an offline database, parsing the returned page from online vendors for any of the (currently 246) Internet-connected countries on the World Wide Web, and collecting useful data using information from the returned vendor descriptions. [0041] In one embodiment of the invention, the above functionality is only available on member Web pages after an online buyer signs up as a registered temporary trial or life member. [0042] In accordance with the present invention, a method is provided for real-time online search processing of selected types of information over inter-connected computer networks. The method comprises a number of steps: assembling site descriptions for a plurality of sites in the inter-connected computer networks including for each of the plurality of sites (a) a URL for the site; a search form URL for the site; (b) generalized rules of how the selected types of information on the site is organized; (c) sample data retrieved from the site corresponding to the selected types of information; and (d) descriptions of domains found on the site; receiving a request for specified types of information from an online user; identifying from the site descriptions, sites which may have the specified types of information; constructing search requests for the specified types of information using the site descriptions for each identified site; submitting the constructed search requests to the identified sites; receiving search results from the identified sites, and upon locating accurate matches in the received search results, extracting information corresponding to the specified types of information in a native language of the site, and displaying the extracted information to the user. [0043] More generally, the present invention involves a method for real-time online search processing over the inter-connected computer networks. The method comprises the steps of: (a) maintaining in an offline database information for a plurality of vendor sites from the inter-connected computer networks; the information includes URLs, search form URLs, description of domains, and vendor descriptions, wherein the vendor descriptions include generalized rules about how product information is organized on each of the vendor sites; (b) processing parameters for a price comparison request for a desired product using the information maintained in the offline database, while the price comparison request is received from an online user and/or the Semantics Recognition Buyer Agent; (c) extracting real-time price and product information from identified ones of the plurality of vendor sites, wherein the extracted price and product information are in a native language of the site; and (d) displaying the extracted price and product information to the user.
DESCRIPTION OF THE DRAWINGS [0044]FIG. 1 is an example of the pertinent portion of the pcwrapHLRT program used in a prior real-time hard-coded wrappers approach for retrieving information from a vendor's Website. [0045]FIG. 2 is a generalized diagram illustrating the interaction between a preferred embodiment of the present invention, user agents of the present invention, a user/buyer, and online vendors, by way of the World Wide Web/Internet. [0046]FIG. 3 is a simplified flowchart 100 of an overview of how the Semantics Recognition Learner Agent (SRLA) works with training data to generate a vendor description. [0047]FIG. 4 provides a description of the kinds of information that can be included in a vendor description in accordance with the present invention. [0048]FIG. 5 provides an example of data that can populate the vendor description fields in accordance with the present invention. [0049]FIG. 6 is a flowchart 200 of an overview of how the Semantics Recognition Learner Agent (SRLA) performs inductive learning and generates a generalized cross-page valid vendor description. [0050]FIG. 7 provides an example of an alignment's portion of a page from a Website as it would appear to a person browsing that page on the Internet, and the corresponding HTML codes that are used to generate or define such alignment. [0051]FIG. 8 provides an example of the labels that, in accordance with the present invention, are used to identify the locations of item description and price information in a training page. [0052]FIG. 9 is a generalized description of what is represented by the labels used during the training procedure of an example of the present invention. [0053]FIGS. 10A and 10B provide examples of possible delimiter candidates in the example of the training process illustrated in FIGS. 5 to 9. [0054]FIG. 11 is a simplified depiction of a Web page's screenshot having Navigational Regularity with a searchable index and product domain fields for easy access to a specific inquired database in accordance with the present invention. [0055]FIG. 12 provides a simplified depiction of a screenshot of a Web page that illustrates the use of Uniformity Regularity with all items typically laid out in a simple consistent format. In the page is a frame, and the frame contains the search results of the information inquired about, which results are formatted uniformly. [0056]FIG. 13 is a simplified depiction of the same screenshot, as shown in FIG. 12, that illustrates the use of Vertical Separation Regularity with the search results displaying aligned catalogs of products which are positioned in the center between the head and tail. [0057]FIG. 14 is a generalized illustration of the operation of the Semantics Recognition Learner Agent of the present invention. [0058]FIG. 15A is a screenshot that displays the search results for the keyword �electronics� on the vendor site �www.800.com,� in which each product is summarized in a brief introduction of its features and functions (left and center of the aligned frame) and the relevant �List Price� and �Your Price� information appear on the right side of the aligned frame, and which information the intelligent price recognizer of the Semantics Recognition Learner Agent of the present invention can distinguish during the learning process of the vendor descriptions. [0059]FIG. 15B is a generalized illustration of the operation of the Semantics Recognition Buyer Agent of the present invention that accessed the vendor site �www.800.com� at a time after the learning process of vendor descriptions, as shown in FIG. 14, such that vendor logo's design has subsequently changed to the one as exhibited in FIG. 15B. [0060]FIG. 15C is a flowchart 300 of an overview of how the Semantics Recognition Buyer Agent (SRBA) 20 in FIG. 2 interacting with a vendor description to respond to an online buyer's/user's request for price comparison for one, up to all, available online multilingual vendors. [0061]FIG. 16 is an example of an Interactive-Agent-Character Learner Interface screen that can be used to obtain training information for use in the present invention. [0062]FIG. 17 is a provided example in which training information has been filled-in for the vendor �l cache.com.�
[0063]FIG. 18 is an illustration of a the Learner interface screen that can be used to display vendor description information which has been learned. [0064]FIG. 19 is a screenshot of the Learner Interface with the labeled tab �vendor information� through which vendor information can be entered or searched for. [0065]FIG. 20 provides a screenshot of the Learner Interface for displaying the Training Examples previously entered for a particular vendor. [0066]FIG. 21 is a screenshot of a Learner Interface which is displayed in response to opening a file called �Vendor Description.�
[0067]FIG. 22 illustrates the selection of learning options in accordance with the present invention, namely, the �Learn One� option is shown selected, and the vendor's name, which has been filled-in, is �lcache.com.�
[0068]FIG. 23 exhibits the learned results for vendor �1cache.com.�
[0069]FIG. 24 illustrates the wrapper induction problem formulated with the defined solution of a simple model of information extraction. [0070]FIG. 25 provides a pseudo-code for the procedure �execHLRT.�
[0071]FIG. 26 is a module of a simple method in pseudo-code for learning head and tail delimiters. [0072]FIGS. 27A and 27B provide a detailed table and related subroutines for the procedure learnHLRT. [0073]FIG. 28 illustrates how the user/buyer communicates with the server to run the in-process DLL file (NextGen.dll) on the server machine through an ASP (Active Server Page) file (NextGen.asp), in accordance with an embodiment of the present invention. [0074]FIG. 29 illustrates the manner in which the Semantics Recognition Buyer Agent facilitates communication between the user and the database server. [0075]FIG. 30 provides a detailed flow chart of how to set up the SQL server database in accordance with one embodiment of the present invention. [0076]FIG. 31 is an illustration of how the Semantics Recognition Buyer Agent virtually posts a search form to an online vendor site. [0077]FIG. 32 is a simplified illustration of a �main menu� screen of a GUI or Interactive-Agent-Character Shopper/Buyer Interface (IACS/BI) for use with the present invention. It is to be noted that there is a choice of �channels� (categories) of products provided for the user in the upper right hand corner of this �main menu� screen. A �Quick Search� feature is also provided in the left hand side of the screen. Right beneath it, there is a provided box in which an animated feature of self-typing instructs the online human user how to use the quick search option. The left hand screen panel also provides a set of boxes for member sign-in as a temporary trial or life member. (Note that most of the portal's functions of the present invention are disabled until the user authentication is validated.) At the bottom left hand corner is provided a set of links to online vendors that have been registered with the portal of the present invention whereas on the right, it can be observed that a big message box labeled �feedback� is provided for the online user to enter a message with comments through e-mail to the e-mail server, preferably running the Outlook Express brand e-mail application of Microsoft Corporation. [0078]FIG. 33 is a simplified illustration of a screen of a GUI or Shopper/Buyer Interface for use with the present invention in which companies are displayed in response to a �Government-to-Business� textual icon which has been clicked on the previous screen (not shown) by the online buyer/user. However, note that this very screen cannot function because these companies, or so-called Government-to-Business e-commerce service or platform providers currently restrict strictly for member's privilege the access to their Web servers' databases by incorporating an authentication security interface in entirely closed-connected computer networked environment. [0079]FIG. 34 is a simplified illustration of a screen display of a GUI or Shopper/Buyer Interface for use with the present invention in which details are provided about a company selected by the user from among the choices provided after the user has clicked the �Advanced Search� option on the screen of FIG. 33. Note that on this screen, the banner in the frame of the panel just right below the tabs for the five types of domains, the capitalized message �ADVANCED AGENTS ARE ON!� is observed. Besides, at the bottom of the screen, the user is provided with dialog boxes which can be filled-in for running a search using the Semantics Recognition Buyer Agent functionality provided by the present invention. Again, however, note that this very screen cannot function because this company, or so-called Government-to-Business e-commerce service or platform provider currently restricts strictly for member's privilege the access to their Web server's databases by incorporating an authentication security interface in entirely closed-connected computer networked environment. [0080]FIG. 35 is a simplified illustration of a screen of a GUI or Shopper/Buyer Interface for use with the present invention in which companies are displayed in response to �Business-to-Business� textual icon which has been clicked on a previous screen (not shown) by the online buyer/user. However, note that this very screen cannot function because these companies, or so-called Business-to-Business e-commerce service/platform providers currently restrict strictly for member's privilege the access to their Web servers' databases by incorporating an authentication security interface in entirely closed-connected computer networked environment. [0081]FIG. 36 is a simplified illustration of a screen display of a GUI or Shopper/Buyer Interface for use with the present invention in which details are provided about companies selected by the user from among the choices provided after the user has clicked the �Advanced Search� option on the screen in FIG. 35. [0082]FIG. 37 is a simplified illustration of a screen of a GUI or Shopper/Buyer Interface for use with the present invention in which selected items and their descriptions are displayed in response to the user selecting the �Domain A� tab on the screen. [0083]FIG. 38 is a simplified illustration of a screen display of a GUI or Shopper/Buyer Interface for use with the present invention in which vendors that are listed sell items in Domain A in response to the user who has clicked �Advanced Search� option on the screen in FIG. 37. [0084]FIG. 39 is a simplified illustration of a screen display of a GUI or Shopper/Buyer Interface for use with the present invention in which details are provided of the results of a search conducted using the Semantics Recognition Buyer Agent's feature of the present invention. The Shopper/Buyer Interface responds to the user submitting a search request through the search parameters interface as shown at the bottom of the screen in FIG. 38. DETAILED DESCRIPTION OF PREFERRED EMBODIMENTS [0085] Referring to FIG. 2, a generalized diagram is provided illustrating the interaction between a preferred embodiment 10 of the present invention, a user/buyer 12, and online vendors 14, by way of the World Wide Web/Internet 16. [0086] In the preferred embodiment 10 of the present invention, a Learner Agent 18 (also referred to as a Semantics Recognition Learner Agent) and a Shopper Agent 20 (also referred to as a Semantics Recognition Buyer Agent) are provided. A server 22 is employed to provide access to an offline database 24 that stores global multilingual vendor information. A system administrator 26 prepares/compiles training data about selected vendor sites and stores them in a �vendor list� 27 in offline database 24 through server 22. The system administrator 26 can then employ the training data and the Semantics Recognition Learner Agent 18 to conduct �inductive learning� from training pages retrieved from vendor sites by way of the World Wide Web 16. The �inductive learning� results in vendor descriptions in the form of vendor description list 28 which are stored in the offline database 24. [0087] A user/buyer 12 can use the preferred embodiment of the present invention to retrieve designated information about designated subjects by using Semantics Recognition Buyer Agent (SRBA) 20. The SRBA 20 processes a request from the user/buyer 12 by using information contained in the previously learned vendor descriptions 28. The information in the vendor descriptions 24 permits the Semantics Recognition Buyer Agent 20 to instantly prepare and issue searches on many vendor Websites substantially simultaneously by way of the World Wide Web 16. The vendor descriptions also permit the Semantics Recognition Buyer Agent 20 to instantly process received search results, and to present to the user/buyer 12 the results of the search from all vendor sites searched which have been filtered of extraneous and irrelevant information. [0088] Referring now to FIG. 3, flowchart 100 illustrates the operation of an embodiment of the present invention of the Semantics Recognition Learner Agent (SRLA) 18. In the preferred embodiment of the present invention, the Semantics Recognition Learner Agent 18 is embodied in a computer program running on a server or personal computer. In step 110, the Semantics Recognition Learner Agent 18 retrieves pre-defined or earlier-prepared training data from the �vendor lists� 27 stored in the training database 24. The training database 24 is preferably offline. [0089] The training data includes a bundle of data pertaining to the online vendors from which information is to be learned. These data may include URLs, domain descriptions, sample products and attributes and other domain-specific information as shown below in the right column: Vendor's Name 1cache.com Vendor's URL http://www.cache.com Vendor's Search Form http://st4.yahoo.com/cgi- URL bin/nsearch?catalog=1 cache&query= Learning Domain dvd Training Examples i). DVD Virtual Notebook Theater with I-Glasses ii). JVC XV523GD Dolby Digital DVD Player iii). Pioneer DVL-919- Combination LC/DVD/CD Player [0090]FIG. 4 provides an example of the types and description of name labels of trained or �learned� data in accordance with the present invention. FIG. 5 is the illustrated example of the table for the learned actual �data elements� which have been generated during the vendor descriptions learning process for FIG. 4, and are stored in the vendor description list in the offline database, and maintained by the system administrator 26. [0091] The �trained� data is preferably stored in an SQL-compliant or a Microsoft Access database. This adds extra extensibility to the selection of the data container from different vendors. Typically, the trained data is independent of the product domain, written characters and presentation style of the online vendor. One exception is the URL path in the trained data, which is required to uniquely identify different vendors. [0092] Returning to FIG. 3, in step 120 a check is imposed to see if more vendors are required to be learned by the Semantics Recognition Learner Agent 18. If there are vendors pending to be learned, the Semantics Recognition Learner Agent 18 will proceed to step 130; otherwise, the learning session terminates. In step 130, using the pre-defined training data, the Semantics Recognition Learner Agent 18 intelligently accesses specified online vendors to which the pre-defined training data corresponds. For each of the specific products specified in the training data, the Semantics Recognition Learner Agent 18 searches the specific product via the searching feature of the vendor's site. Typically, the Semantics Recognition Learner Agent 18 retrieves several pages of training data to be learned from the system of the present invention or from manual input of the system administrator, which are called �training pages,� and which will later be used to perform inductive learning. In the preferred embodiment, control data (training data to induce error pages in the vendor sites) is also included in this phase. [0093] Next, in step 140, the computer program performs an inductive learning on the training pages obtained by the Semantics Recognition Learner Agent 18. The objective of the inductive learning is to obtain a generic description of the site and how it organizes the product data and logically presents the product data to a potential online customer. The product of this learning is called a �vendor description� 28�this phase will be further described and explained in accordance with FIG. 6. [0094] Then, in step 150, the Semantics Recognition Learner Agent 18 stores the learned result preferably in an SQL-compliant or Microsoft Access database 24. (The vendor information or �vendor descriptions� 28 stored in offline database 24 will later be used by the online Semantic Recognition Buyer Agent 20.) Following the completion of the storing step 150, the Semantics Recognition Learner Agent 18 returns to the step 120 to see if there are more vendors to be learned. If so, steps 130 through 150 are repeated. Otherwise, the learning process terminates. [0095] Vendor Description Learning Process [0096] Referring now to FIG. 7, the vendor descriptions learning process will be explained in further detail using is a simple model of information extraction, and a simplified training page example. The left hand side of FIG. 7 shows the alignment of model and price information as it appears to a potential customer browsing a vendor site. The right hand side of FIG. 7 shows the HTML coding which generates the alignment. For example, the first three (3) lines on the right hand side identify the coding as HTML, provide the name of the alignment��A Simple Product Catalogs,� and indicate the start of the information to be displayed. Line four (4) provides the text for the title of the table��MD PRICE.� Lines six and seven (6,7) provide the text for the names of the columns, �Model Number� and �PRICE (US$),� respectively. Lines eight through eleven (8-11) provide model number and price information. The remaining lines identify such information as the end of the table, the alignment of the table, and the end of the body of the Product Catalog. [0097] Firstly, a wrapper function generates a set of �labels� for the given training page. A label is used to identify the location of information for the training products in the training page. FIG. 8 illustrates for the simple product training page of FIG. 7, a set of labels generated by the Semantics Recognition Learner Agent 18. The �labels� in FIG. 8 indicate that the simple product catalogue page of FIG. 7 contains four (4) �tuples,� where each tuple consists of an �item� value and a �price� value. A pair of integers represents each value. [0098] Consider the first pair, <174, 180>. These integers indicate that the attribute of the first tuple is the sub-string between position 174 and 180, i.e. the string �HM381MD� is located between position 174 and position 180. As used in this example, position means the number of characters from a designated beginning point, such as the beginning of a page, or the end of the �head� of a page. Spaces between text characters are counted as a character position. Inspection of the FIG. 7 reveals that the letter �H� in the string �HM381MD� occurs 174 character positions from the �<� character in the first line; and that the �D� in that string occurs at character position 180. Similarly, the last �tuple� or pair of integers, <356, 361>, indicates that the last attribute's price occurs between character positions 356 and 361 and identifies the string �399.95.� It is to be understood that while character position is used in this example to identify �labels,� other criteria can be used within the spirit of the present invention. Other criteria can be used with the methodological application of the present invention. For example, inspection again of FIG. 7, consider that the Semantics Recognition Learner Agent 18 of FIG. 2 autonomously assigns values to the model number and �Your Price� for the four electronics products�while it expresses them as set forth in the following formula: Model Number Price ($US) L = { < b 1 , i , e 1 , i > , < b 1 , p , e 1 , p > < b 2 , i , e 2 , i > , < b 2 , p , e 2 , p > < b 3 , i , e 3 , i > , < b 3 , p , e 3 , p > < b 4 , i , e 4 , i > , < b 4 , p , e 4 , p > } HM381MD MD2070 MD203 MDR3 399.95 599.95 249.95 399.95 [0099] Thus, if �b� stands for beginning and �e� stands for ending, then values identifying the positions of the second tuples comprise string b_,i, which is the value of the beginning of the model number, �M,� whereas string e_,i is the value of the ending of the model number, �0.� Analogically, it is to be understood that the present invention enables the automation of the labeling by invoking a modular heuristic search based upon a standard relational data model comprising an �Item Recognizer� and an �Intelligent Price Recognizer� in which, reiteratively, a tuple is a vector <b2,i, b2,p> of two strings. String b_,i is the value of item attribute, and string b_,p is the value of price attribute. So, attributes represent columns whereas tuples represent rows. The numeric value �b2,i� between the �b� and the ,�� connotes a position on the second row�the computation of positional values (labeling) are hence performed in real-time, automatically, on-the-fly during the invocation of efficient learnable wrapper induction of vendor descriptions in corroborating to label the entire Ppc (Page of product catalogue�a page �P� is the Web page containing the desired information) regardless of whether the Web pages formatted on the vendor site (in this example, www.800.com) are in native character strings of any language, or in natural language or coded in HTML, XML, cXML, Java, etc. [0100] The labeling of the content of a training page is represented more generally in FIG. 9. In the first column, the information being labeled is identified�in this example, product and price are the information being sought. In the second column, the �labels� are identified to which the �tuple� entries correspond-<PRODUCT LEFT DELIMITER, PRODUCT RIGHT DELIMITER> and <PRICE LEFT DELIMITER, PRICE RIGHT DELIMITER>. [0101] After the system administrator has executed the learning system once, it then retrieves the training page from the vendor list in the offline database in compiling a set of possible delimiter candidates in parallel with the compilation with the possible sets of delimiter candidates in FIGS. 10A and 10B. And continually, it uses another set of training page in contemporaneously performing automatically (labeling) computation in real-time, on-the-fly, containing position values, as shown in the above stated example. As the intersection of the two sets of candidates yields a valid candidate set, the Semantics Recognition Learner Agent 18 then chooses one of the valid candidates as a vendor description. [0102] Referring now to FIG. 2, the flowchart 200 illustrates an embodiment of the Semantics Recognition Learner Agent 18 of the present invention. The methodology makes use of three (3) environmental regularities that govern the layout of product descriptions provided in shopping Websites which permit the information extraction to proceed independently of the domain. The regularities include navigation regularity with searchable index, uniformity regularity, and vertical separation regularity. [0103] As to navigational regularity, online stores or vendor sites are designed to service consumer and business buyer inquiries. Thus, almost all online vendors provide a searchable index for easy access to specific inquired database. Using the searchable form of a vendor site enables the Semantics Recognition Learner Agent 18 to generalize the formatting fashion of multilingual home and Web pages. FIG. 11 is a simplified drawing depicting a home page with a searchable index and product domain fields. [0104] With regard to uniformity regularity, although online stores or vendors differ widely from each other in their product description formats, any given online vendor typically lays out all item descriptions in a simple consistent format. FIG. 12 is a simplified drawing of a Web page's screen depicting the layout of search results formatted uniformly. Thus, it can be seen that each search result listed begins with a �model number� string below which is provided a �product description.� Besides, a �PRICE 1� and a �PRICE 2� are to the right of the �product description.�
[0105]FIG. 13 provides the simplified drawing of the same screen for the search results that illustrates the use of vertical separation to display catalogs of products. This vertical formatting can be classified as the head, content, and tail of the document. [0106] As originally devised the information infrastructure of the Internet�site architecture, formatting of online vendor's products description and expression of technologies�was intended for use by humans. This is apparent in the use of query mechanisms and output standards which are particularly suited for direct human manipulation. Online vendors comply with these regularities because they enable online sales to human shoppers or buyers. Although there is no guarantee that what makes an online store easy for humans to navigate will make it user-friendly for an intelligent software agent to master, the system�online intelligent information comparison of multilingual electronic data sources�of the present invention is designed to take advantage of these regularities. [0107] In accordance with the present invention, wrapper construction is implemented through an inductive learning process. The methodology learns a vendor's wrapper by reasoning about a sample of the vendor's Web pages. In the methodology of the present invention, instances correspond to the vendor's pages, a page's label corresponds to its relevant content, and hypotheses correspond to the constructed wrappers. [0108] Besides, in accordance with the present invention, an efficiently learnable wrapper class, such as the HLRT wrapper class, is incorporated. [0109] Furthermore, in order to make sure that the methodology performs well, noise-tolerant techniques are employed when training data exhibit high levels of noise. For instance, given the screenshot example of www.800.com in FIG. 15A, an intelligent price recognizer can distinguish between �List Price� and �Your Price.� The recognized instances are then corroborated to label the entire page. Consider a recognizer for items and another for price, corroboration produces a Label methodology that labels pages containing pairs of these attributes. [0110] In effect, vendors attempt to create a sense of identity by using a uniform look for all types of products. To exemplify, a vendor presents an MD product information in the same format as a DVD product. By taking advantage of this regularity, every product is assumedly described in the same format. [0111] The Semantics Recognition Learner Agent 18 in FIG. 2 learns a wrapper only from a specific domain of examples and attempts to fit this domain to all other domains (all other product categories in entirely different ontological terms) organized in consistent format and catalogued online on all the rest of Websites in the 245 Internet-connected nations on the World Wide Web. Thus, it is feasible for the Semantics Recognition Learner Agent 18 in FIG. 2 of the present invention to maintain a thoroughly updated nomenclature of a global products databank without writing code onto modules of a SQL-compliant database nor manually entering each product in every domain onto a Microsoft Access database. [0112] Continuing with FIG. 6, in step 210, the Semantics Recognition Learner Agent 18 generates a set of labels to represent the content of the training page. Stated in another way, the methodology of labeling position values is to identify the location of information for the training products in the training page. Again, the Semantics Recognition Learner Agent 18 in FIG. 2 automatically generates labels in real-time on-the-fly containing position values as follows: L = { < b 1 , i , e 1 , i > , < b 1 , p , e 1 , p > < b 2 , i , e 2 , i > , < b 2 , p , e 2 , p > < b 3 , i , e 3 , i > , < b 3 , p , e 3 , p > < b 4 , i , e 4 , i > , < b 4 , p , e 4 , p > } [0113] For further detail, see the right-hand column in FIG. 8. [0114] In step 220 the Semantics Recognition Learner Agent 18 performs inductive learning on the retrieved training pages using the associated labels to output a set of possible �vendor description� candidates. Since the candidates are generated from a particular training page with specific training data, there is no way the candidates can be invalid for those pages. However, if the candidates are to be valid throughout the vendor's entire site, a cross page validation should be performed to derive a generalized vendor description which will be valid across the vendor's site. [0115] In step 240, a vendor description validator (VDV) validates a possible vendor description candidate against another set of training pages (retrieved in step 130, FIG. 3). If a vendor description is satisfactory, the learning process will stop, see step 250, otherwise the validation process will continue to refine the vendor description selection by using the rest of the candidates and looping back through steps 230, 240 and 250. One criteria for a �satisfactory� vendor description is that the candidates for each subsequently analyzed training page are the same in number and character as for the previous training page. If a subsequently analyzed training page has a different number of candidates, then another training page should be analyzed. [0116]FIGS. 10A and 10B provide as examples of vendor description candidates left and right delimiters for the Item description, the Price information, the Head, and the Tail of a training page. An example of a �vendor description� is provided in FIG. 5, which includes delimiters identified for the Head, Tail, Item, and Price information of an example page. [0117] Training data for use with a particular vendor is preferably compiled by the system administrator 26. As will be described in further detail herein, to add a specific vendor to the system of the present invention, the vendor's name, vendor's URL, submit form's URL, domain data for the corresponding training examples are provided and stored in the offline database 24, which can be, for example, a Microsoft Access database. The vendor's name will be the primary key of a record. Manual wrapper input can be provided as an option. In order to provide an accurate set of data for the training example, which in turn will greatly enhance the accuracy and efficiency of the vendor information learned by the Semantics Recognition Learner Agent 18 in preparing itself for generating vendor descriptions in real-time, automatically, on-the-fly, it is important that the system administrator, or other individual, who prepares the training example data be knowledgeable about Web page URLs, and domain name setup, be somewhat knowledgeable of the native language used in any multilingual vendor's Website being processed, and be able to identify the information types which are targeted for learning. This person need not be knowledgeable about coding. [0118] Once a vendor's information is provided, administrator 26 can run the Semantics Recognition Learner Agent process for each vendor. After the administrator has executed the Semantics Recognition Learner Agent 18 one time for a vendor, he or she then navigates through the learning process with a step-by-step walkthrough of the screens of the Interactive-Agent-Character Learner Interfaces (IACLIs) in running any desired options as shown in FIGS. 16 through 23. Ultimately, the result set of �vendor descriptions� that are retrieved from returned trained pages, will then be stored in the offline database 24, such as a Microsoft Access database. To delete/remove a specific vendor, the administrator may delete the record directly from �vendor list� or �vendor description list.� To modify/edit a specific vendor, the administrator may modify the record from the �vendor list� or �vendor description list� in the database. [0119] In a nutshell, the Semantics Recognition Learner Agent 18 of the present invention generates a vendor description that is unique to a particular vendor. The vendor description is the set of generalized rules of how a vendor organizes its product information in a specific format. Hence, the input to the wrapper construction system of the present invention is essentially a sample of the behavior of the wrapper to be learned. Under this formulation, wrapper construction becomes a process of reconstructing a wrapper based on a sample of its behaviors. [0120] The methodology of the Semantics Recognition Learner Agent (SRLA) 18 is summarized in FIG. 14 by way of a simplified example. In step 1, two pieces of information are fed into the system in order to conduct the wrapper induction: (1) the URL of the vendor's Website (e.g. http://www.800.com), and (2) the domain description, which contains some of the training examples of that particular domain. For example, a domain description may be �electronic products,� and a record of that domain may be �Sony HM381MD,� which is a model number used to fill-in a vendor's search form. In steps 2 and 3, the Semantics Recognition Learner Agent 18 automatically goes through the Internet to the vendor's Website using the URL and the domain/model number from the training examples. For the specific example, the Learner Agent will go to www.800.com's Web page according to the URL provided in step 1. Then it will fill-in the necessary product information (i.e. domain description-�electronic products� and �HM381MD�) in the relevant search form. Finally, it will �submit� the search form to request a search and await a response. [0121] Referring to step 4, a result page is returned according to the searching criteria. The result may be a successful result page with relevant product descriptions, or may be a failure page. It is to be noted that the content of interest in the returned page are the HTML codes, the item description, the item price, and the locations of such information with respect to the HTML codes. [0122] In steps 5 and 6, the search result page is returned by way of the Internet to the Learner Agent 18 for analysis. In step 7, the analysis conducted is called �Wrapper Induction,� in which the page is generalized to a set of layout and formatting rules that the vendor follows to present its product description in a logical manner. With these rules, during the Semantics Recognition Buyer Agent process of the present invention, the Buyer Agent 20 may extract product information from the same vendor when a user/buyer is searching for some product information from the same domain on the vendor site. [0123] It is to be understood that in accordance with the present invention, the Semantics Recognition Learner Agent process will be performed for each vendor from which a vendor description is desired. Because of the information delimiter approach used by the present invention, vendor descriptions can be obtained from any vendor sites in any language-concisely, although the language presented to a user might be of a particular native character string, the underlying codes which can be identified as delimiters for the desired information, remain the same regardless of the native character strings of the language. In other words, information of the vendor descriptions will be obtained from a vendor site in the native language used by that site. There is no need for any translation of the native language used into a standard language. Moreover, because the delimiter candidates identified for each vendor site are not coded in underlying codes of the programming language used for that site, subsequent searching can be done without the need for different programming languages used among the sites to be searched for. This permits the Semantics Recognition Buyer Agent 20 to conduct searches on multilingual and multiple domains (product categories) bases, and independently of any programming language. [0124] Referring to FIG. 15C, flowchart 300 illustrates an embodiment of the Semantics Recognition Buyer Agent 20 of the present invention. In step 310, the Buyer Agent 20 receives a request from a buyer/user 12 in FIG. 2, who wants a price comparison for a product. In step 310, the Buyer Agent 20 also preferably establishes a connection to the buyer/user 12 with an ActiveX component for the communication. The user 12 must provide at least one parameter that may contain, for instance, the desired product name, the range of the desired price, the target online vendor or the sorting criteria. Step 312 checks to see if there are any �hits� in memory or cache containing the desired information of the identified vendor site; if yes, the Buyer Agent will go to step 370 for sorting extracted target information. The Buyer Agent will then go to step 380 to generate result pages from the target information in HTML, and then in step 390, the Buyer Agent will display the result pages to the online human user/buyer. [0125] If any �hits� are not found in step 312, step 320 will invoke the Buyer Agent 20 to use the input parameters to retrieve the vendor descriptions from the offline database 24. These �vendor descriptions� are the ones previously defined by Semantics Recognition Learner Agent 18 during the vendor descriptions learning process. In step 330, Buyer Agent 20 will compose a user's new request to access different online vendors identified in the �vendor description list.� The composed user's new request will be based on the parameters given by the user and the data in the vendor descriptions. Preferably, if there are N online vendors to whom a request (such as a product model request) will be made, there will be N new requests to be composed by the Semantics Recognition Buyer Agent 20. [0126] The Semantics Recognition Buyer Agent 20 uses the vendor descriptions to get the price information from the vendor site in real-time. The Buyer Agent 20 uses the vendor's URL and the vendor's name that are included in the information that makes up the vendor descriptions, to navigate to the vendor's site. Also included in the vendor descriptions is the search form URL for the vendor. In step 340, after navigating to the vendor site, the Semantics Recognition Buyer Agent 20 �virtually� fills-in the vendor search form based on the user's new request, and �virtually� presses enter to submit it. This is done for each of the identified online vendors. [0127] As mentioned above, the vendor descriptions in the offline database 24 include a field that provides information of the vendor's search form URL, such as �http://www.onlineshop.com/search.asp?item=.� The Semantics Recognition Buyer Agent 20 uses the user's input parameter(s) and the search form URL to compose a new HTTP request for each of the identified online vendors. For instance, if the user wants to buy a �hard disk,� the new request composed by the Semantics Recognition Buyer Agent 20 will be as follows: [0128] �http://www.onlineshop.com/search.asp?item=harddisk,�
[0129] and the Semantics Recognition Buyer Agent 20 will send this HTTP request to the online vendor as if the user submitted the request himself. If there are N identified vendors, the Semantics Recognition Buyer Agent 20 will initiate N threads to fill-in the search form for each of the N identified vendors. The Semantics Recognition Buyer Agent 20 preferably proceeds in parallel to each online vendor's searchable index, fills it in and submits a search request. [0130] In step 350, the Semantics Recognition Buyer Agent 20 will wait for the response from the online vendor within a specified timeout or a user-defined timeout. If a timeout occurs, the Semantics Recognition Buyer Agent 20 proceeds to step 370; otherwise it will go to steps 358 and 360 to further process the received search result data. [0131] Within the timeout period, the Semantics Recognition Buyer Agent 20 collects the search request's responses from different online vendors. In step 358, the Semantics Recognition Buyer Agent 20 receives the search result responses from the online vendors and stores them in cache or memory within the server 22. In step 360, the data of interest is extracted from the received responses. The Semantics Recognition Buyer Agent 20 extracts the desired data using the information in the vendor description list stored in the vendor description 28 or offline database 24. To exemplify, the vendor descriptions include fields that identify the codes for left and right wrappers. Firstly, the Semantics Recognition Buyer Agent (SRBA) 20 will use the left wrapper information to locate the start of the valid data in the response page. Afterwards, the data at the exact location (as defined by the information in the vendor description list) of the target data will be extracted and stored in the memory. (Recall that the information in the vendor descriptions are what have been learned by the Semantics Recognition Learner Agent 18 during the learning process of FIGS. 3 and 6.) The extraction of the target data will be repeated until the end of the page. [0132] In the extraction process, for example, the product description and the product price will be extracted. It is to be understood that the information contained in the vendor descriptions defined by the Semantics Recognition Learner Agent 18 are domain independent and multi-language dependent. For example, assuming that the online buyer or user's platform uses a Windows 98 Operating System and is running a language version �B� (or preferably his or her platform is running Windows 2000 Professional in the English version and/or his or her platform has a Personal Web Server version �B� installed), the Microsoft Internet Explorer will prompt him or her to download �B� language display software after he or she logs on to the portal of the present invention. After the online buyer or user �A� enters a product model in the native characters of language �B� as a keyword in the text box provided at the portal of the present invention, the Semantics Recognition Buyer Agent 20 in FIG. 2 will perform the data extraction using pre-described example data (retrieved earlier in the vendor descriptions after real-time wrapper induction learning) and which contain native character string for the product model in language �B.� These vendor descriptions are stored in the pre-defined data structure in the vendor description list in the offline database 24 (preferably a Microsoft Access database). The data extraction involves contemporaneously searching for �hits��which contain price, description, and the related information of the product from the previous search results�that reside in the memory or cache stored in the server 22 using the exact native character string for the product model in language �B� entered by the user as exhibited in FIG. 15C, step 312. Because the character string in language �B� is in the specific native language, any �hits� that are found will be for that identified vendor site using the native language �B� and having the character string in language �B.�
[0133] Recall that in step 7 of FIG. 14, during the learning process, the vendor descriptions are stored in the vendor description list in the database 24 (preferably a Microsoft Access database) or database server 22 (preferably an Microsoft SQL-complaint database server) after the Semantics Recognition Learner Agent 18 in FIG. 2 has learned the wrapper from the online vendors. Because it is inefficient for the Semantics Recognition Buyer Agent 20 to retrieve the data of vendor descriptions each time upon request for the online human buyer/user, the vendor descriptions preferably will only be retrieved from the offline database 24 or server 22 if it is the first time the Semantics Recognition Buyer Agent 20 requests a search-match-extraction of a desired set of them. Then the vendor descriptions will be stored in the memory or cache for more instantaneous retrieval and use in other later requests from the Semantics Recognition Buyer Agent 20 for the same or new online user. [0134] The vendor descriptions in memory or cache are preferably automatically updated once a day. [0135] In other words, the Semantics Recognition Buyer Agent (SRBA) 20 can use the data in the vendor descriptions to locate target data in different domains and different languages. This is because, for a particular vendor, although the language may change, the underlying coding corresponding to the target information will not. As the three �formatting regularities� predominate most vendor sites, such as B-to-C, C-to-B, C-to-C online stores, etc., different domains on a vendor site will consistently use the same formatting and underlying coding to present the target information, such as item description and price. [0136] Therefore, for each returned search response, the Semantics Recognition Buyer Agent 20 will perform the data extraction using the vendor descriptions. If the time is out, the Semantics Recognition Buyer Agent 20 will go to step 370, in FIG. 15C. In step 370, the Semantics Recognition Buyer Agent 20 sorts the extracted data from different online vendors based on the user defined sorting criteria. If the user does not define the sorting criteria, the default will be the price of the product. Alternatively, the sorting criteria can be to identify the best price found, and to present to the user/buyer only the information from the vendor with the best price. (Incidentally, other sorting criteria can be used.) [0137] After the sorting is done, the Semantics Recognition Buyer Agent 20 will go to step 380. In step 380, the Semantics Recognition Buyer Agent 20 composes HTML pages based on the filtered and sorted data from step 370. In step 390, Semantics Recognition Buyer Agent 20 responds to the user request by presenting the composed HTML page as a �result� page to the user using the ActiveX component established previously. [0138] If time is not out in step 350, the Semantics Recognition Buyer Agent 20 will go to step 358. In step 358, the Semantics Recognition Buyer Agent 20 stores data of the search results pages in the memory or cache for use in instantaneously responding to further new requests of the same user/buyer or to the request of a new user/buyer. Following step 358, the Semantics Recognition Buyer Agent 20 will go to step 360 in which it extracts target information from the search results pages, sorts the results in step 370 and the extracted data retrieved from different online vendors based on the user-defined sorting criteria, then composes HTML pages in step 380 based on the filtered and sorted data from step 370, and finally in step 390 responds to the user/buyer using the ActiveX component established previously. [0139] The default language of the Semantics Recognition Buyer Agent 20 is English. By default, the Semantics Recognition Buyer Agent 20 will go to all vendors when it receives the request of a user. When the responses return, the Semantics Recognition Buyer Agent 20 will use the vendor descriptions which have already been learned by the Semantics Recognition Learner Agent 18 to filter out invalid results. [0140] In another embodiment of the present invention, the vendors can be classified to the user's locale so that the user 12 can choose an �advanced search� to search for that classified group of vendors. [0141] The employed methodologies of the present invention are multilingual in nature. When the Semantics Recognition Learner Agent 18 learns a vendor site, such learning can be performed in the native language of that site. The results which are retrieved and used to populate the vendor descriptions for that site will be in the native language of that site. Thus, when an online user/buyer 12 submits a request in a particular native language in step 310 of FIG. 15C, the Semantics Recognition Buyer Agent 20, in step 312, will look in memory or cache for �hits� using the exact character string entered by the user. Because the character string will be in a particular native language, any �hits� which are found will be for that identified vendor site using the same native language and having the same character string. In view of this methodology, it is to be understood that, in accordance with the present invention, no �translation� step is needed to convert a search request submitted in one language into a �standard� language. By using the native language of the search request, the errors and ambiguities introduced by a translation step are avoided. [0142] The computer program's modules built with the database server's development tool (preferably a Microsoft SQL-compliant database) used in the preferred embodiment of the system of the present invention are standard and the present invention can be used with any relational database, such as SQL database servers from Oracle Corporation of Redwood Shores, Calif., Sybase Corporation of Emeryville, Calif., and others, that support ODBC. As mentioned above, multithreading for concurrent searching is important to the preferred embodiment of the present invention. In that regard, use of a Windows NT 4.0 platform (a product of Microsoft Corporation) can provide such a multithreading capability. [0143] Referring now to FIGS. 16 through 23, the compilation or preparation of training data in the �vendor list� 27 and the data of vendor descriptions in the �vendor description list� 28 will be elaborated in greater detail. FIG. 16 is an actual screen of the Interactive-Agent-Character Learner Interface (IACLI) that can be used to obtain training information for use in the present invention. Using the screen corresponding to the �Add Vendor� tab as shown in FIG. 18, data entry points are provided for entry of information obtained by the system administrator after the administrator's review of the vendor Website, �1cache.com.� Thus, in FIG. 17, an example is provided in which such information has been entered for the vendor �1cache.com.� This information includes as shown below in the right column: Vendor's Name 1cache.com Vendor's URL http://www.cache.com Vendor's Search Form http://st4.yahoo.com/cgi- URL bin/nsearch?catalog=1cache&query= Learning Domain Dvd Training Examples i). DVD Virtual Notebook Theater with I-Glasses ii). JVC XV523GD Dolby Digital DVD Player iii). Pioneer DVL-919- Combination LC/DVD/CD Player [0144] The above information is then saved to the vendor list 27 as training data in the offline database 24. It is to be noted that the training examples that have been entered are a list of specific products which will be searched for during the training process in real-time on the designated identified vendor site from which training pages will be obtained. The �vendor descriptions� will then be �learned� from these returned training pages. [0145] The information can then be displayed on the screen as shown in FIG. 18 corresponding to the �Vendor Information� tab. The �Vendor Information� screen interface (see FIG. 19) provides a �Search� function for the Vendor Name. By entering a vendor name and pressing the �Search� button, the Vendor Information for the vendor entered is retrieved from the offline database 24 and displayed. On this �Vendor Information� screen, it is to be noted that the �Wrapper� fields��Head,� �Tail,� �Left Delimiter of Item,� �Right Delimiter of Item,� �Left Delimiter of Price,� and �Right Delimiter of Price��are empty. These wrapper fields are to be �learned.�
[0146]FIG. 20 provides a screenshot of the Learner Interface for displaying the Training Examples previously entered for a particular vendor. The screen is displayed in response to opening a file called �Training Data.� As to the �Vendor Information� screen of the Learner Interface, there is a search function screen provided for the �Training Data.� To use the Training Data search function, the system administrator enters the vendor name and presses the �Go� button. This invokes the list of �Training Data� previously entered for the specified vendor to display as shown. It is to be noted that the �Training Data� interface provides other functionality, such as �Add� (to add additional examples), �Delete� (to delete a Training Example), �Edit� (to edit a Training Example), �Save� (to save the list of examples to its current state), �Cancel� (to cancel entered changes). [0147] Referring now to FIG. 21, a screenshot of the Learner Interface is displayed in response to opening a file called �Vendor Description.� This interface begins the process of �learning� a Vendor Description, and provides for the system administrator the option to learn descriptions for �All� vendors for which training data has been entered, or �One� vendor of which the name has been entered by the administrator in the provided box. [0148] In FIG. 22, the �Learn One� option is shown selected, and the Vendor's name entered is �1cache.com.� With the system being connected to the World Wide Web, the �Learn Now� button is to be pressed to launch the Semantics Recognition Learner Agent (SRLA) 18 to �learn� vendor information about the specified Vendor�1cache.com�in real-time on its Website using the training examples specified in the Training Examples for that vendor. [0149] After the learning/training process is completed, the results of the trained or learned examples which have been returned from its site are displayed on the Learner Interface's screen as illustrated in FIG. 23. Again, to display this information, the system administrator can use the search function on the Vendor Information screen in FIG. 19, to enter the name of the vendor, in this case, �1cache.com,� and press the search button. Instantaneously, FIG. 23 displays the learned results for the vendor, �1cache.com.� It is to be noted that the �Wrapper� fields have now been completed. Also, the �Head� of the page is shown as occurring at value �5230.� This value �5230� identifies lines, character positions, or other positional information. The �Tail� indicates that Items' locations as being identified by the delimiter string as follows: [0150] �D></TD><TD></TD></TR></�
[0151] For the Item description information, the Left Delimiter is identified as the string below: [0152] �G SRC=/Lmg/trans+1X1.gifBORDER-OWID . . . �
[0153] The Right Delimiter of the Item description is identified as the string: �</b>.�
[0154] The Left Delimiter of the Price is identified as the string below: [0155] �</b></A></TD><TD ALIGN=right><FON . . . �
[0156] Finally, the Right Delimiter of the Price is identified as the string: �</T.�
[0157] Although the character strings in FIG. 23 for the Left Delimiter of Item and the Left Delimiter of Price appear truncated due to the still-display state of the Learner Interface, it is to be understood that all of the characters in the left delimiter strings identified by the Semantics Recognition Learner Agent 18 will be stored in the vendor descriptions 28, preferably in a Microsoft Access database, and will be later used by the Semantics Recognition Buyer Agent 20. [0158] The methodology underlying the Semantics Recognition Learner Agent 18 will now be described in more detail at a �proof-of concept� level. [0159] Basic Concepts [0160] The wrapper induction problem is framed in the form of a simple model of information extraction as shown in FIG. 24. [0161] As exhibited in FIG. 24, a PAGE P is the Web page containing the desired information. P is taken to be a string over some alphabet. Typically, the alphabet is the ASCII character set, and the PAGES are HTML documents. To exemplify, FIG. 7 as elaborated earlier, is a very simple page obtained from a vendor site. In �labeling terminology,� this page will hereafter be referred to as Ppc (Page of product catalogue). Note that the methodology of the present invention is motivated or invoked by, but does not rely on, the use of HTML. For instance, the pages might be natural language text or might comply with the XML standard. [0162] A standard relational data model is adopted. Associated with each product record are two distinct attributes: item and price. Where �item� represents the product name or model number,� and price represents the price of a product. [0163] A �tuple� is a vector <Ai, Ap> of two strings. String Ai is the value of the �item� attribute, and string Ap is the value of �price� attribute, whereas attributes represent columns in the relational model, �tuples� represent rows. Thus, as illustrated in FIG. 8, the example of product catalogue page of FIG. 7 contains four �tuples,� the first of which is <�HM381MD�, �399.95�>. [0164] The content of a page is a set of �tuples� that it contains. For example, the literal string notation is adequate, but since pages have unbounded length, a clearer and more concise representation of a page's content is used instead. Rather than listing the attributes explicitly, a Page's �label� is used to represent the content of a page in term of a set of indices in the Page. [0165] For example, the �label,� Lpc, for the simple product catalogue page (Ppc) is illustrated in the right-hand column of FIG. 8. [0166] The �label� Lpc indicates that the simple product catalogue page contains four �tuples,� where each �tuple� consists of item and price values. A pair of integers represents each of the values. Consider the first pair, <174, 180>. These integers indicate that attribute of the first tuple is the sub-string between position 174 and 180, i.e. the string �HM381MD�. Inspection of the character strings of the right-hand side of FIG. 7 reveals that these integers correspond to character positions, starting from the �<� in �<HTML>� in the first line. Similarly, the last pair of integers in the fourth �tuple,�<356, 361>, indicates that the last attribute's price occurs between 356 and 361, i.e. the string �399.95�. [0167] More generally the content of page P can be represented by label L. L = { 〈 b 1 , i , e 1 , i 〉 , 〈 b 1 , p , e 1 , p 〉 ⋯  〈 b k , i , e k , i 〉 , 〈 b k , p , e k , p 〉 ⋯  〈 b m , i , e m , i 〉 , 〈 b m , p , e m , p 〉 } [0168] For a page with only single �tuple,� the following label results: [0169] L={<<b1,i,e1,i>, <b1,p,e1,p>>}
[0170] Label L encodes the content of page P. The page contains ILI>0 �tuples,� each of which has two attributes, item and price. The integers 1<m<ILI index �tuples� within the page. Each pair <bm,i, em,i> encodes an item value, and each pair <bm,p, em,p> encodes a price value. The value bm,i is the index in P of the beginning of an item in the mth �tuple,� the value em,i is the end index of an item value in the mth �tuple.� Similarly, the value bm,p is the index in P of the beginning of a price in the mth �tuple,� the value em,p is the end index of a price value in mth �tuple.� Thus, the item attribute of mth tuple occurs between <bm,i, em,i>, the price attribute of mth �tuple� occurs between <bm,p, em,p>. Thus, the pair <b2,i, e2,i>=<229, 234> in the example of FIG. 8 encodes the second (item) attribute of the second �tuple� in the simple product catalog of the page in FIG. 7. [0171] As shown above, a wrapper W is a function from a page to a label; the notation W(P)=L indicates that the result of invoking wrapper W on a page P is label L. At this level of abstraction, a wrapper is simply an arbitrary procedure. [0172] A wrapper class is a set of wrappers. As will be seen later herein, the wrapper employed by the present invention is called an HLRT wrapper class. [0173] In view of the foregoing explanation of terminology and conventions used to describe the methodology of the present invention, further explanation will now be provided as to how the learner learns a wrapper for a vendor's product catalog pages. [0174] Intuitively, the input to the learning system of the present invention is a sample of product catalogue pages and their associated �labels.� At this point, it is assumed that the �labels� have already been identified and are given. A further elaboraion of the method used to generate labels for a sample page will be provided herein later. The output is a wrapper W∈W. Ideally, W outputs the appropriate label for all of sample pages. In general, such a guarantee cannot be made, so (in the spirit of inductive learning) it is required that W generate the correct labels for a given set of training examples. [0175] Solutionwise, the wrapper induction problem (with respect to a particular class W) is as follows: [0176] Input: a set ε={ . . . , <Pn, Ln>, . . . } of training examples, where each Pn is a page, and each Ln is a label; [0177] Output: a wrapper W∈W, such that W(Pn)=Ln for every <Pn, Ln>∈ε. [0178] The HLRT Wrapper Class [0179] As explained herein earlier, the pcwrapHLRT procedure illustrates a �programming acronym�-using head delimiter, left-hand delimiter, right-hand delimiter and tail delimiter to extract relevant product information and its price from a vendor product catalogue. The Head-Left-Right-Tail (HLRT) wrapper class is one way to formalize this acronym. The procedure �execHLRT� set forth in FIG. 25 is a generalization of pcwrapHLRT that allows the delimiters to be arbitrary strings, instead of the specific values �<B>,� �</B>,� etc., used in the previous implementation of pcwrapHLRT. [0180] Note that although the delimiters in this example are entire HTML tags, the methodology of the present invention is not limited to operating with HTML tags. Furthermore, the text might not be HTML at all. Thus, the dollar sign symbol, �$,� might be valid left delimiter for price such as �$399.95.�
[0181] The execHLRT routine specifies how HLRT wrappers behave. Earlier it was stated that the W(P) is the label that results from invoking wrapper W on page P. The routine execHLRT is a procedure for determining W(P) and from W and P, for the case when W is an HLRT wrapper. [0182] The values of li and ri, indicate the left-hand delimiters and right-hand delimiters for the item attribute, while lp and rp indicate the right-hand delimiters for the price attribute, and h and t indicate the head and the tail of the page, respectively. (Note that h is a line number instead of a string. For example, if h=100, then the first 100 lines of the page is the head, the Semantics Recognition Buyer Agent 20 may skip these lines immediately when it search for a product.) For example, if execHLRT is invoked with the parameters h=7, li=�<B>,� ri=�</B>,� Ip=�<I>,� rp=�</I>� and t=�</TABLE>,� then execHLRT behaves like pcwrapHLRT. [0183] More generally, any HLRT wrapper for a vendor site is equivalent to a vector of (h, li, ri, lp, rp, t), and any such vector can be interpreted as an HLRT wrapper. Given this equivalence, the notation (h, li, ri, lp, rp, t), is used as shorthand for the HLRT wrapper obtained by partially evaluating execHLRT with the given delimiters. [0184] Since an HLRT wrapper is simply a vector (h, li, ri, lp, rp, t), the HLRT wrapper induction example of FIGS. 7 and 8 thus is one of identifying four (4) delimiter strings (h, li, ri, lp, rp, t), on the basis of a set ε={ . . . (P,(Pn, Ln), . . . } of the example pages and their labels. More precisely, the following constraint satisfaction problem (CSP) is to be solved: [0185] variables: Head delimiter of the page P: h [0186] Tail delimiter of the page P: t [0187] Left delimiter of the item attribute: li [0188] Right delimiter of the item attribute: ri [0189] Left delimiter of the price attribute: lp [0190] Right delimiter of the price attribute: rp [0191] domains: each delimiter is an arbitrary string, except the head delimiter; [0192] constraints: W(Pn)=Ln for every <Pn, Ln>∈ε, where HLRT wrapper W=(h, li, ri, lp, rp, t), [0193] The learnHLRT methodology will now be described which addresses the above constraint satisfaction problem. [0194] Delimiter Candidates [0195] To begin, it is to be noted that the domains of the delimiter variables are tightly constrained by the examples c. At the very least, the delimiters will be sub strings of the example pages. Of course, one can do much better. On the basis of just the single example (Ppc, Lpc), it can be seen that rp (the right-hand delimiter for the price attribute) must be a prefix of �</I></TD></TR>,� where � � indicates a new line character. By �prefix� it is meant combinations of the characters in the string, starting from the right-most character of the string; for example, �>,� �D>,� �TR>,� etc. [0196] Note that if rp is not a prefix of this string, then every wrapper with this delimiter will, at the very least, fail to extract �399.95� as the code attribute for Ppc's fourth �tuple.� Thus the candidates for rp are all prefixes of �</I></TD></TR>.� These candidates are illustrated in FIG. 10A. [0197] In detail, the candidates for the delimiters for the simple product catalogue page are generated as follows: [0198] Candidates for the li and lp [0199] Consider lp, the left-hand delimiter for the price attribute. Recall the fragments �HM381MD</B></TD><TD><I>,� �MD2070</B></TD><TD><I>,� etc., that precede the price in FIG. 7. Given these fragments, it can be seen that lp, must be a suffix of �</B></TD><TD><I>.� Thus the candidates for lp are the 16 non-empty suffixes of this string. These candidates can be seen in FIG. 10A. By �suffixes� it is meant combinations of the characters in the string, starting from the left-most character of the string; for example, �<,� �<I,� �</B,� �</B>,� etc. [0200] Delimiter li is more complicated because the string prior to the first attribute occurs between the first attribute and the last attribute of the previous �tuple,� as well as between the head of the page and the first �tuple.� In the example, the strings under consideration are �<TR><TD><B>� and �</I></TD></TR>U<TR><TD><B>.� Clearly, li is a suffix of this string. Thus, the candidates for li can be generated by enumerating the suffixes of one such fragment. [0201] To generalize this elaboration, it is concluded that the candidates for delimiter li and lp, given the example set and written candsl(i, p, ε), are generated by enumerating the suffixes of the shortest string occurring to the left of each instance of item attribute or price attribute in each example. (As mentioned in the previous paragraph, the case item attribute is somewhat special. The suffixes of the shortest string either between adjacent tuples or before the first tuple must be enumerated.) For example, if ε={(Ppc, Lpc)}, then: [0202] Candsl(i, ε)={</I></TD></TR> <TR><TD><B>, [0203] . . . }
[0204] Candsl(p, ε)={</B></TD><TD><I>, [0205] . . . }
[0206] Candidates for the ri and rp [0207] The candidates for the right-hand delimiters are generated similarly. But there are two distinctions. Firstly, the strings under consideration occur to the right of the appropriate attribute (rather than to the left). Secondly, ri and rp must be a prefix (not a suffix) of these strings. For example, in the simple product catalogue example, the delimiter ri must be a prefix of the string �</B></TD><TD><I>,� while rp must be a prefix of both �</I></TD><TR>� and �</I></TD><TR> <TR><TD><B>.�
[0208] In particular, the candidates for right delimiter given the example set ε�written candsr(k, ε) are generated by enumerating the prefixes of the shortest string occurring to the right of each instance of attribute k in each example. (As stated above, li is a special case. Similarly, rp is a special case. The prefixes of the shortest string occurring either between adjacent �tuples� or after the last �tuple� are enumerated. For example: [0209] Candsr(i, ε)={</B></TD><TR><I>, [0210] . . . }
[0211] Candsr(p, ε)={</I></TD><TR> <TR><TD><B>, [0212] . . . }
[0213] Candidates for the Head and Tail [0214] A similar analysis applies to delimiters for the head and tail. The �head� is the prefix of the page before the first item attribute occurs. Note that here, the �head� is represented as a string. When a wrapper is in actual implementation, in order to increase the performance of the invention, it is preferable to represent the �head� as an integer so that the human shopper or buyer, in using the wrapper to look for product information, can skip a page's head quickly without looking into the content. To convert a head string to an integer, simply find out the number of lines that are spanned by the head string. [0215] Identifying the delimiter for the �tail� is quite similar to the right delimiter li and Lp. The tail candidates are the suffixes of the string after the last price attribute of the page. [0216] Cands(head, ε)={<HTML> <TITLE> . . . PRICE($US)</TH></TR>, [0217] . . . }
[0218] Cands(tail, ε)={</I></TD></TR> </TABLE> . . . <HTML>, [0219] . . . }
[0220] Delimiter Independence [0221] Given these candidates for each delimiter, a module of the simple method in pseudo-code for learning these two delimiters is provided in FIG. 26. [0222] Because the module runs in time proportional to the product of the number of candidates for each delimiter, and because each delimiter can have many candidates, execution time can be slow. [0223] A more efficient processing can be accomplished by observing that the delimiters ri, lp, rp are mutually independent. Furthermore, whether a candidate is valid for a particular delimiter in no way depends on any other delimiters. For example, it can be evaluated whether �</B>� is satisfactory for ri without reasoning about any of the other delimiters. [0224] To see that this independence properly holds, recall the execHRLT procedure. At each point in its execution, execHRLT is searching for its input page P for exactly one of the delimiters ri, lp, rp. If any of these searches fails to identify the correct location in P, then the label output by execHRLT will be incorrect. But whether these searches return the right answer depends only on the delimiter under consideration and the example pages�not on the other delimiters. [0225] Put another way, once a particular candidate (ri, lp, rp) is chosen for some delimiter, there is no way the candidate can be made invalid, no matter what candidates are selected for the other delimiters. The contrapositive of this assertion also makes intuitive sense: if a candidate is invalid, there is no way to repair it, no matter how carefully candidates are selected for other delimiters. Note that this independence property is guaranteed; it is not merely heuristics that facilitates learning. [0226] The significance of this observation is that the three delimiters, ri, lp, rp, can be learned in isolation. In pseudo-code, they can be learned as follows: [0227] 1. Generate the candidate sets [0228] 2. For each delimiter, select a valid candidate. [0229] This methodology is much faster than the procedure of FIG. 26: it runs in time proportional to the sum (rather than product) of the number of candidates for each delimiter. [0230] However, it is also observed that not all the delimiters are mutually independent. In contrast, as to delimiters h, t, and li, whether a particular character string is valid for one of these three delimiters depends on the choice for the other two. For example, is �<B>� valid for li? The answer depends on the choice for the choice for h and t. If h=�<HTML>,� then �<B>� is not a valid delimiter for li because execHLRT will not skip the irrelevant bold text �<B>A Simple Product Catalogues</B>.� On the other hand, if h=�</TH></TR>,� then li=�<B>� causes no problem. Similarly, li and t interact: li=�<B>� is unacceptable if t=�</HTML>,� but acceptable if t=�</TABLE>.� As a result, candidates for the three delimiters h, t and li must be considering jointly. Thus, all combinations of candidates for h, t and lj are enumerated, and the valid ones are selected. [0231] Candidates Validity [0232] The second step of this improved methodology involves precisely characterizing the conditions under which a delimiter candidate is valid. [0233] Consider first the delimiter ri and rp. After the method has identified the beginning of some instance of the attribute, the method attempts to locate the end of that instance of the attribute. Thus a candidate, �u� for delimiter ri or rp must satisfy two constraints: [0234] Constraint C1: �u� must not be a sub string of any instance of an attribute in any of the example pages. [0235] Constraint C2: �u� must be a prefix of the text that occurs immediately following each instance of the attribute in every example page. [0236] If these constraints are violated by a candidate �u� for delimiter ri or rp, then every wrapper will fail for at least one of the examples ε. If constraint C1 is violated, then attribute k will be too short; if C2 is violated, it will be too long. [0237] In summary, of interest are the conditions that must hold if some candidate �u� is to be valid as a value for delimiter ri or rp, with respect to a given set of examples ε. These conditions will be referred to as valid (u ,r, ε). It is seen that validr(u ,r, ε) holds if and only if candidate �u� satisfies constraints C1 and C2 for delimiter ri and rp with respect to example set ε. Returning to the example, if the validr test is applied to the candidates generated by candsr, it is found that: [0238] For the right delimiter of the item attribute: [0239] validr(</B></TD><TD><I>, i, ε)=TRUE [0240] . . . . [0241] For the right delimiter of the price attribute: [0242] validr(</I></TD><TR> <TR><TD><B>, p, ε)=FALSE [0243] . . . . [0244] Constraints on lp [0245] The execHLRT procedure searches for delimiter lp. A candidate �u� for the delimiter lp must satisfy two constraints: [0246] Constraint C3: �u� must be a proper suffix of the text that occurs immediately before each instance of the attribute k in every example page. [0247] If this constraint is violated, then every wrapper will disagree with the examples ε. At least, one of the starting indices bm, p computed by execHLRT will be incorrect�either less or greater than the correct value, or undefined, depending upon how �u� violates the constraint. [0248] In summary, of interest are the conditions that must hold if some candidates �u� are to be valid as a value for delimiter lp according to example set ε. These conditions are referred to as validi(u, l, ε). It is seen that validi(u, l, ε) holds if and only if candidate �u� satisfies constraints C3 for delimiter lp with respect to C. Returning to the simple product catalogue example Ppc, it is seen that: [0249] validl(</B></TD><TD><i>, p, ε)=TRUE [0250] . . . . [0251] To determine whether a particular combination of candidates Uh, Ut, and Uli for h, t, and li are satisfactory, the constraints below are applied: [0252] Constraint C4: Uh must be a proper suffix of the portion of every page's head. [0253] Constraint C5: Uh must be a proper suffix of the portion of every page's head after the first occurrence of Uh. [0254] Constraint C6: Ut must not occur between the first occurrence of h in any page and the subsequent occurrence of li. [0255] Constraint C7: Ut must be a sub string of every page's tail. [0256] Constraint C8: Uli must not occur before tin every page's tail. [0257] Constraint C9: Uli must be a proper suffix of the text between �tuples� in every page. [0258] Constraint 10: Ut must not occur before Uli in the text between �tuples� in any page. [0259] HLRT Induction [0260] With this background in place, procedure learnHLRT will now be described. A table of the detailed procedure as well as the related subroutines are provided in FIGS. 27A and 27B. [0261] Obtaining the Training Data [0262] In the earlier description of the present invention it has been assumed that the training data was already in place for use by the Semantics Recognition Learner Agent 18. That is, a set ε={ . . . , <Pn>, Ln>, . . . } of training examples was already in existence, where each Pn is a page and each Ln is a label. To further understand how the Learner 18 works with the training examples, reference is made to FIGS. 7 and 13. [0263] As stated earlier, at the shopping/buying phase, the Semantics-Recognition Buyer Agent 20 can perform five different functions which are as follows: [0264] (1) To compose Labels (LabelOracle) using a modular heuristic search methodology as described in FIG. 15C. These are referred to as recognizers: One of which is an item recognizer and the other an intelligent price recognizer. [0265] (2) Because it is inefficient for the Semantics Recognition Buyer Agent 20 to retrieve the vendor descriptions data each time it receives a request from the online human buyer or user, such descriptions will only be retrieved from the database (preferably a Microsoft Access database) or SQL-compliant database server 22 if it is the first time the Semantics Recognition Buyer Agent 20 requests the search-match-extraction of a desired set of them. Then the vendor descriptions will be stored in the memory or cache for more instantaneous retrieval use in other later Semantics Recognition Buyer Agent 20 requests. [0266] (3) The vendor descriptions in memory or cache preferably will be automatically updated once a day. [0267] (4) The system of the present invention creates multi-threads and zaps simultaneously several Semantics Recognition Buyer Agents to contact various designated online vendor sites through the World Wide Web. The use of this multi-threading methodology is preferably built on top of DCOM technology offered by Microsoft Corporation. Each Semantics Recognition Buyer Agent 20 intelligently fills-in the vendor's search form with the product information provided by the human buyer or user and presses �enter� virtually. [0268] (5) On the other hand, the Semantics Recognition Buyer Agent 20 of the present invention addresses heavy network traffic on the World Wide Web, now dominating the whole process of a shopper/buyer's online purchase, by speeding up vendor response times and allocating returned search result pages to separate memory locations as enabled by multi-threading. [0269] Training Pages Pn [0270] Obtaining a training page involves making an example query to a vendor Website. For example, FIG. 12 illustrates the appearance of an example page from a query to a Website, such as to http://www.800.com. [0271] The algorithm in which the recognizer, referred to as Label (LabelOracle), is composed from modular heuristics search methodology, will now be described in greater detail. A recognizer finds instances of a particular attribute on a page. For example, given the example page of FIG. 12, an item recognizer would identify all �items� contained in the page, e.g. the products �HM381MD,� �MD2070,� and �MD203.� A recognizer should be intelligent enough to prune the noise. [0272] For example, again, given the example of FIG. 12, an intelligent price recognizer is able to distinguish between �Price 1 and Price 2, which might be, for example, �List Price� and �Your Price,� respectively. The recognized instances are then corroborated to label the entire page. For example, given a recognizer for �items� and another for �price,� the corroboration produces a LabelOracle that labels pages containing pairs of these attributes. [0273] Recognizing the �items� is a simple pattern-matching problem if the item recognizer knows all items in advance. Nevertheless, this is infeasible because this requires a big list of item names/model numbers. Moreover, it is costly to maintain such a large database of items. Thus, it is not practical to guarantee that such a list of item names/model numbers is complete and up-to-date. [0274] Fortunately, vendors attempt to create a sense of identify by using a uniform look for all products. For example, a vendor presents mini-disc (MD) product information in the same format as for a DVD product. By taking advantage of this regularity, it is assumed that every product is described in the same format. [0275] The present invention learns a wrapper only from a specific domain of examples and attempts to fit this domain to all other domains in foreign languages organized in a consistent format globally on the Internet. In the preferred embodiment, the training examples solely originate from one domain, such as the MD domains of the vendor Websites. This results in the item recognizer that merely needs to recognize a specific domain of product, such as MD. In this manner, it is then feasible to maintain a thoroughly updated nomenclature of a specific domain of item names. [0276] The present invention identifies a �price� by invoking a modular heuristic search. For instance, a price always follows a dollar sign ($); and a price is often a floating-point number, etc. If more than one price is found for an item, the keywords, such as �your price,� �our price,� �list price,� �original price,� etc are then extracted accordingly. [0277] Detailed Steps of the Shopping Phase [0278] As described briefly earlier, the mechanism of how the Semantics Recognition Buyer Agent 20 works is illustrated in FIGS. 14 and 15A-15C. The flow of control consists of eight (8) steps that are labeled in the graphical diagram. [0279] Step (1) [0280] When a user identifies the need for a particular product, or services, instead of browsing into different multilingual vendors sites on the World Wide Web in a manual search for product information and price, ONE-BY-ONE, the present invention provides a portal through which the request for product information is entered once through an interactive-agent-character graphical user interface (IACGUI), commonly known as interactive-agent-character shopper/Buyer interface to achieve the same purpose, but with better, faster and more reliable results. [0281] The resulting product description is stored in the member variable�m_ProdDesc�of the SRBA 20. The search also enables the user to customize how the agent works through the �Advanced Search� function, which provides selectable parameters such as vendors of choice, the time out (limit), price range, any manufacturers, keywords, and so forth. [0282] Step (2) [0283] Assuming, for example, that the online buyer or user's platform uses a Windows 98 Operating System and is running a language version �B� (or preferably his or her platform is running Windows 2000 Professional in the English version and/or his or her platform has a Personal Web Server version �B� installed), the Microsoft Internet Explorer will prompt him or her to download language �B� display software after he or she logs on to the portal of the present invention. After the online buyer or user �A� enters a product model in the native characters of language �B� as a keyword in the text box provided at the portal of the present invention, the Semantics Recognition Buyer Agent 20 in FIG. 2 will perform the data extraction using pre-described example data (retrieved earlier in the vendor descriptions after real-time wrapper induction learning) and which contain native character string in language �B.� These vendor descriptions are stored in the pre-defined data structure in the vendor description list in the database 24 (preferably a Microsoft Access database). The data extraction involves contemporaneously searching for �hits��which contain price, description, and the related information of the product from the previous search results�that reside in the memory or cache stored in the server 22 using the exact native character string in language �B� entered by the user as exhibited in FIG. 15C, step 312. Because the character string in language �B� is in the specific native language, any �hits� that are found will be for that identified vendor site using the native language �B� and having the character string in language �B.�
[0284] Recall that in step 7 of FIG. 14, during the learning process, the vendor descriptions are stored in the vendor description list 28 in the offline database 24 (preferably a Microsoft Access database) or database server 22 (preferably an Microsoft SQL-complaint database server) after the Semantics Recognition Learner Agent 18 in FIG. 2 has learned the wrapper from the online vendors. Because it is inefficient for the Semantics Recognition Buyer Agent 20 to retrieve the data of vendor descriptions each time upon request of the online human buyer or user, the vendor descriptions will only be retrieved from the database 24 or server 22 if it is the first time the Semantics Recognition Buyer Agent 20 requests a search-match-extraction of a desired set of them. Then the vendor descriptions will be stored in the memory or cache for more instantaneous retrieval and use in other later requests from the Semantics Recognition Buyer Agent 20 for the same or new online user. [0285] The vendor descriptions in the memory or cache preferably are automatically updated once a day. [0286] Step (3) [0287] Using the retrieved vendor descriptions, the system of the present invention creates multi-threads and zaps simultaneously several Semantics Recognition Buyer Agents 20 to contact various designated online vendor sites through the World Wide Web. [0288] Step (4) [0289] The use of this multi-threading methology is preferably built on top of DCOM technology offered by Microsoft Corporation. Each Semantics Recognition Buyer Agent intelligently fills-in the vendor's search form with the product information provided by the human buyer or user and presses �enter� virtually. [0290] Step (5) [0291] Each vendor then returns a search result page having the information of the requested product or an error message. [0292] Steps (6), (7) [0293] The search results pages are returned to the Semantics Recognition Buyer Agents 20 through the World Wide Web. It is noteworthy that several results pages may arrive back at the Semantics Recognition Buyer Agents 20 at the same time. The Semantics Recognition Buyer Agents 20 of the present invention address heavy network traffic on the World Wide Web which currently dominates the whole process of a shopper/buyer's purchase by speeding up vendor response times and allocating returned search result pages to separate memory locations as enabled by multi-threading. [0294] Stage (8) [0295] The Semantics Recognition Buyer Agent 20 analyzes the returned pages according to the corresponding vendor descriptions. Relevant information and data are extracted from the returned pages and are displayed in a formatted output fashion as shown in FIG. 15B after all search result pages have arrived or the search is timed out. [0296] Referring to FIG. 28, the User/Buyer communicates with the server 22 to run the in-process DLL file (NextGen.dll) on the server machine 22 through an Active Server Page (ASP) file (NextGen.asp) as shown. [0297] Preferably, developing the Semantics Recognition Buyer Agent 20 as an ActiveX Component produces several advantages. Firstly, overall performance can be improved. Writing the Semantics Recognition Buyer Agent 20 in Visual C++ permits the agent to be robust and makes available the powerful functionality of the ActiveX Component. There is no need to supply workaround solutions in the HTML and scripting code to meet the needs of the application. With the ActiveX Component, the agent can be run by adding a few lines of the code in the HTML file in the client side, while leaving aside all complex processes to be executed in the server side. [0298] Secondly, ActiveX Components provide reusability to other applications instead of copying similar functions in every application module. An ActiveX component can be created to be accessible to all Active Server Pages modules. In other words, it is not required that all the logic be coded in ASP modules. Thus, this eliminates the redundancy in the application. Albeit the Semantics Recognition Buyer Agent is created within a single application, it does not hinder the ability to integrate with other applications as well. Furthermore, this feature can help reduce the development time significantly. [0299] Thirdly, it is beneficial to connect an ASP Component to DLL (Dynamic Link Library) files as they are compiled and linked independently. No additional recompilation and re-linkage are needed to update the ASP Component. Hence, speed improvement or new functionality of later upgraded version can benefit the ActiveX Components that use the DLLs. Besides, DLLs can reduce memory and disk space requirements by sharing a single copy of common code and resources among multiple modules. [0300] If there are several components using the same static link libraries, several identical copies of the library are required to be stored and executed. Then there will be several identical copies in memory if they run simultaneously. So, it is obvious that using static link libraries may result in redundancy and space wastage. [0301] Only one copy of the code and resources are needed if a DLL is used in lieu of static link libraries. This can keep the server at a minimum workload as there are many concurrent connections from the Internet. [0302] The Semantics Recognition Buyer Agent 20 is preferably an ActiveX Component that is developed as an in-process DLL. It can allow user to create an object of the SRBA through the World Wide Web. To communicate between the user and the server, ASP is used to act as the gateway between the user and the server. [0303] ASP is an open application environment in which HTML pages, scripts, and ActiveX Components are combined to create Web-based applications. In addition, it is built as an Internet Server Application Program Interface (ISAPI) that runs on top of the Internet Information Server (IIS) product of Microsoft Corporation, or on a peer Web server relative of IIS. [0304] To implement ASP, Microsoft ActiveX Scripting is used, such as Visual Basic (VB) script that is used in the process of managing ActiveX Components. It makes the language dynamic by adding the ability to invoke ActiveX Components running on the server as DLLs. [0305] Program Logic�Create an Object of the Semantics-Recognition Buyer Agent [0306] An object of the Semantics Recognition Buyer Agent 20 is created when the user starts searching for the price of the desired product. [0307] In the Active Server Page, the module in pseudo-code is coded as follows: [0308] Start sub session [0309] Set agent=server [0310] Create object (�NextGen . . . ) [0311] End sub [0312] The above module creates an object of the Semantics Recognition Buyer Agent component 20 when the page is loaded, while NextGen is the name of the ActiveX Component. Semantics-Recognition Buyer is the name of the Agent in the NextGen component. [0313] Connection Between the User and the Server [0314] A connection is established between the user and the server after an instance of the Semantics Recognition Buyer Agent 20 has been created, as shown in FIG. 29. [0315] The Semantics Recognition Buyer Agent uses a connectable object to maintain a �one-to-one� (channel) through which the user communicates with the server, such as a user request to the Server to compare the price, while the Outgoing Interface is used by the Semantics Recognition Buyer Agent 20 as the connection (channel) through which the Server communicates with the user, such as a response in which the Server returns the search result requested to the user. The user can access the properties and invoke the methods of the Semantics Recognition Buyer Agent through the IConnectionPoint. [0316] Semantics Recognition Buyer Agent 20 employs the methodologies set forth below: [0317] 1. OnStartPage (Unknown Agent) [0318] This methodology is used to initiate the object of the Semantics Recognition Buyer Agent that is called automatically when the ASP is loaded. [0319] 2. OnEndPage( ) [0320] This methodology is used to terminate the object of the Semantics Recognition Buyer Agent that is called automatically when the ASP is unloaded. [0321] 3. GetSearch (BStr input, BStr*output) [0322] This methodology is used to search the required product price on the Internet after the user has provided the product description, such as model number. Input is the product description of the user whereas Output is the output of the search result page. The syntax to call this method is: [0323] OutputName=AdObjectName.GetSearch(�Product Name�) [0324] In the above code, AdObjectName is the object's instance name whereas �Product Name� is the product name which the buyer/user agent wants to compare the price, and the OutputName is the variable that gets the returned value. Refer to the pseudo-code below as an example, [0325] If result=Agent [0326] Get search (�Radar detector�) [0327] Server Side Program Logic [0328] Register the component [0329] Before the user can initiate an object of the Semantics-Recognition Buyer Agent, its component must be registered in the server by the following command: [0330] Register path\Nextgen.dll [0331] where path is the absolute path the Nextgen.dll is saved. [0332] Response to the User Request [0333] As the object of the Semantics Recognition Buyer Agent calls the method of GetSearch through the IconnectionPoint, an instance of the Semantics-Recognition Buyer Agent in the server machine executes the Dynamic Link Library (DLL). See FIG. 30. [0334] Connecting Database [0335] Data Source Name (DSN), identify (ID) and Password are needed to be provided to connect to the SQL Server through ODBC. RETCODE is a variable that stores the returned value from the SQL server. SQL_SUCCESS indicates a successful retrieval. CString sDSN = �NextGen�; CString sID = �NextGen�; CString sPassword = �NextGen�; RETCODE rc; rc = SQLConnect(hdbc,sDSN,�,�sID,�,�sPassword,��); if(rc == SQL_SUCCESS) { . . . execute query . . . } else { . . . error handling . . . } [0336] Execute an SQL Query [0337] Before retrieving the desired data from SQL, a specified query is needed. //Allocating a statement handle SQLAllocStmt(hdbc, &hstmt); //query statement; model is the model number from the user CString sQuery=�select*from tbl_electronic where model=+�model�; rc=SQLExecDirect(hstmt,sQuery,��); if(rc == SQL_SUCCESS) { . . . retrieving fields . . } [0338] Retrieving Fields [0339] After succeeding in executing the query, the vendor description will be stored into an array called vendor_description. There are two member variables in this array: a wrapper and a vendor URL. rc = SQLGetData(hstmt,column_number, data_type,sWrapper,sizeof(sWrapper)); if(rc==SQL_SUCCESS) vendor_description[i].wrapper = sWrapper; rc = SQLGetData(hstmt,column_number,data_type,sURL, sizeof(sURL)); if(rc=SQL_SUCCESS) vendor_description[i].url=sURL; [0340] Filling-In the Forms [0341] If there are N vendor descriptions, the buyer agent will initiate N threads to fill-in the form in each vendor specified in the vendor descriptions. [0342] To run each thread, the syntax is: [0343] //nNoVendor is the number of the vendor description; [0344] Int nNoVendor=no_of_vendor_description; [0345] For(Int nCount=0;nCount<nNoVendor; nCount++) [0346] {
[0347] //ThreadFillForm is a class that implements the form filling; [0348] Thread*ThreadFillForm; [0349] Thread=AfxBeginThread(RUNTI ME_CLASS(Thread FillForm), . . . ) [0350] }
[0351] For each thread, the time limit preferably is about 5 seconds. If the vendor does not return the result within 5 seconds, this vendor will be discarded for this time, otherwise, the result will be stored into the memory for the use by the next process. [0352] When the user inputs in a provided box a keyword of the purchase request on the portal of the present invention, it is determined whether there are any related vendor descriptions; i.e. vendor descriptions which contain the keyword. All related vendor descriptions containing wrappers and URLs are then retrieved from the offline database. Afterwards, the Semantics Recognition Buyer Agent 20 goes in parallel with each online vendor's searchable index, fills it in and submits it to the vendor site. On the vendor site, the Buyer Agent will call a member function httpPost to complete the task. The httpPost member function posts a URL and form data to a vendor according to the vendor description and returns a HTML response as a string variable. The httpPost member function returns a Boolean value, where true indicates a successful retrieval of the HTML document, and false indicates that an error has occurred. If the return value is true, the generated item name and price will be extracted from the HTML document. The flow of posting a form is shown in FIG. 31. [0353] In step 1002 a Cinternet Session object for the session is created. The Cinternet Session class connects to a server for an Internet session. Typically this class is used early in a session to establish a connection to a Web server. [0354] In step 1004 a CHttpConnection object is created by calling the Cinternet Session object's GetHttpConnection member function. The CHttpConnection class establishes an HTTP connection with a server. [0355] In step 1006 a CHttpFile object is created by calling the OpenRequest member function of the CHttpConnection object. The CHttpFile class let file transfer over the Internet to be treated as if working with a local disk file. It works with the CHttpConnection object to read or write Internet data. [0356] Step 1008 calls the SendRequest member function of the CHttpFile object to send the POST request and form data to the remote HTTP server. [0357] Steps 1010, 1012 and 1014 repeatedly call the CHttpFile object's Read member function, which returns chunks of response data to the program. When Read returns 0, no data is left to retrieve. [0358] Extracting Price [0359] After getting the result pages, the Semantics Recognition Buyer Agent 20 will match each result page against the generalized failure template. If the page does not match the template, it is assumed to be a successful search. Then the buyer agent 20 will use the wrapper for the corresponding vendor to strip header and trailer information from the successful pages. For example, assume that a user searches for a MD product with the model number MD203, that a given wrapper is {7,<B>,</B>,<I>,</I>,</TABLE>}, and that the result page is shown below. [0360] <HTML>
[0361] <TITLE>A Simple Product Catalogs</TITLE>
[0362] <BODY>
[0363] <H2>MD Price </H2>
[0364] <TABLE BORDER=1>
[0365] <TR BGCOLOR=ORANGE>
[0366] <TH>ModelNumber</TH>
[0367] <TH>PRICE(US$)</TH>
[0368] </TR>
[0369] <TR><TD><B>HM381MD</B><TD><I>399.95</I></TD></TR>
[0370] <TR><TD><B>MD2070</B><TD><TD><I>599.95</I></TD></TR>
[0371] <TR><TD><B>MD203</B></TD><TD><I>249.95</I></TD></TR>
[0372] <TR><TD><B>MDR3</B></TD><TD><I>399.95</I></TD></TR>
[0373] </TABLE>
[0374] <HR WIDTH=200 ALIGN=LEFT>
[0375] </BODY>
[0376] </TABLE>
[0377] In the wrapper, the useful information starts from line 7 and ends at </TABLE>, so the Semantics Recognition Buyer Agent 20 will cut the useless information before extracting the model number and price. The HTML file, after header and trailer information are stripped away, is [0378] Number</TH><TH>PRICE(US$)</TH></TR>
[0379] <TR><TD><B>HM381 MD</B><TD><I>399.95</I></TD></TR>
[0380] <TR><TD><B>MD2070</B></TD><TD><I>599.95</I></TD></TR>
[0381] <TR><TD><B>MD203</B></TD><TD><I>249.95</I></TD></TR>
[0382] <TR><TD><B>MDR3</B></TD><TD><I>399.95</I></TD></TR>
[0383] Then the Semantics Recognition Buyer Agent 20 will use pattern matching to extract the model number and the price of the product. In the wrapper, the pattern for the model number is <B>*</B> and the pattern for the price is </1>#</1>, where * represents the model number and # represents the price. The agent will firstly extract the model number HM381MD and compare it with the user's request model number �MD203.� As it does not match, the Semantics Recognition Buyer Agent 20 looks for another model number until it finds the model number MD203. After the model number is found, the Semantics Recognition Buyer Agent 20 uses the price pattern to extract the first price after the model number. When the model number and price have been extracted, the Semantics Recognition Buyer Agent 20 stops extracting information from the page and put the information into a array called array_item[ ]. [0384] Critical Section [0385] The array_Item[ ] is shared data for those N threads, and all the threads can access this member variable. There is a risk that more than one thread accesses the array_item[] at the same time which causes an access violation. In order to protect this shared data in a consistent state, a critical section is used to prevent more than one thread from modifying the data at the same time. It is declared as, [0386] CCriticalSection m_csDoor; [0387] Before inserting an element into the array item, the line [0388] m_csDoor,Lock( ); [0389] is added which is used to start the critical section. All the variables inside the critical section will be locked to prevent other threads from accessing the particular variable. After finishing the insertion, the line [0390] m_osDoor.Unlock( ); [0391] is added, which is used to state the end of the critical section. All the locked variables will be unlocked to allow other threads to access to the member variable. By doing so, the member variable of array_Item can be safely shared by all threads. [0392] Sorting the Price [0393] In a specified time interval, the array sort_item which stores the product price will be sorted by a quick sort method. [0394] The quick sort method can be implemented as follows: [0395] IF left<right THEN [0396] BEGIN [0397] pivot:=partition (list, left, right); [0398] Quicksort (list, left, pivot−1); [0399] Quicksort (list, pivot+1,right); [0400] END [0401] A �key� value of the structure is selected to be positioned in every recursion of the code. The function then repeatedly scans through the structure in two directions. Values less than the key are passed to the left side of the structure and those greater are passed to the right side. These �left to right� and �right to left� scans and swaps continue until a flag condition tells them to stop. [0402] Return Response to the User [0403] An HTML file is returned to the user which will be stored in the member variable m_output, and which displays the sorted results of the search conducted by the SRBA 20. [0404] //String used to display content to browser [0405] *define HTTP_HEADER �Content-type: text/htm\n\n�
[0406] //Codes to display to browser [0407] Submitted with this application on the afore-stated compact disc is a computer program listing appendices which provide code sections which implement selected features of the present invention. In particular, in the portion labeled �3.1 The Learning Phase,� source codes are provided for �3.1.1 Main COOSA Application Class��the main class file for the COOSA application; for �3.1.2 Add Vendor Class�adding a vendor class to the database; �3.13 COOSADoc Class��invocation of the display of documents and screens for the Semantics Recognition Learner Interface; �3.1.4 COOSA View Class��Learner Interface's and its function's screens; �3.1.5 Training Data Class��invocation of the Semantics Recognition Learner Agent; and �3.1.6 Vendor Class��Declaration of labeling algorithm to process through all vendor Web pages. In the portion labeled �Shopping Phase,� source codes are provided for �3.2.1 Agent Class��declaration of the Semantics Recognition Buyer Agent; and �3.2.2 Thread Process��part of the Semantics Recognition Buyer Agent's process. [0408] Referring now to FIGS. 32 through 39, a GUI or Interactive-Agent-Character Shopper/Buyer interface for use in connection with the present invention will now be elaborated. In FIG. 32, a simplified illustration of a �main menu� screen for a GUI or Interactive-Agent-Character Shopper/Buyer interface (IACS/BI) for use with the present invention. It is to be noted that there is a choice of �channels� (categories) of products provided for the user in the upper right hand corner of this �main menu� screen. A �Quick Search� feature is also provided in the left hand side of the screen. Right beneath it, there is a provided box in which an animated feature of self-typing instructs the online human user how to use the quick search option. The left hand screen panel also provides a set of boxes for member sing-in as a temporary trial or life member. (Note that most of the portal's functions of the present invention are disabled until the user authentication is validated.) At the bottom left hand corner is provided a set of links to online vendors that have been registered with the portal of the present invention whereas on the right, it can be observed that a big message box labeled �feedback� is provided for the online user to enter messages with comments through e-mail to the e-mail server, preferably running the Outlook Express brand e-mail server of Microsoft Corporation. [0409]FIG. 33 is a simplified illustration of a screen of a GUI or Shopper/Buyer Interface for use with the present invention in which companies are displayed in response to a �Government-to-Business� textual icon which has been clicked on a previous screen�not shown�by the online buyer/user. However, note that this very screen cannot function because these companies, or so-called Government-to-Business e-commerce service or platform providers currently restrict strictly for member's privilege the access to their Web servers' databases by incorporating an authentication security interface in entirely closed-connected computer networked environment. [0410]FIG. 34 is a simplified illustration of a screen display of a GUI or Shopper/Buyer Interface for use with the present invention in which details are provided about a company selected by the user from among the choices provided after the user has clicked the �Advanced Search� option on the screen in FIG. 33. Note that on this screen, the banner in the frame of the panel just right below the tabs of the five types of domains, the capitalized message �ADVANCED AGENTS ARE ON!� is observed. Besides, at the bottom of the screen, the user is provided with dialog boxes which can be filled-in for running a search using the Semantics Recognition Buyer Agent functionality provided by the present invention. Again, however, note that this very screen cannot function because this company, or so-called Government-to-Business e-commerce service or platform provider currently restricts strictly for member's privilege the access to their Web server's databases by incorporating an authentication security interface in entirely closed-connected computer networked environment. [0411]FIG. 35 is a simplified illustration of a screen of a GUI or Shopper/Buyer interface for use with the present invention in which companies are displayed in response to �Business-to-Business� textual icon which has been clicked on a previous screen (not shown) by the online buyer/user. However, note that this very screen cannot function because these companies, or so-called Business-to-Business e-commerce service/platform providers currently restrict strictly for member's privilege the access to their Web servers' databases by incorporating an authentication security interface in entirely closed-connected computer networked environment. [0412]FIG. 36 is a simplified illustration of a screen display of a GUI or Shopper/Buyer Interface for use with the present invention in which details are provided about companies selected by the user from among the choices provided after the user has clicked the �Advanced Search� option on the screen in FIG. 35. [0413]FIG. 37 is a simplified illustration of a screen of a GUI or Shopper/Buyer Interface for use with the present invention in which selected items and their descriptions are displayed in response to the user selecting the �Domain A� tab. [0414]FIG. 38 is a simplified illustration of a screen display of a GUI or Shopper! Buyer Interface for use with the present invention in which vendors that are listed sell items in Domain A in response to the user who has clicked �Advanced Search� option on the screen in FIG. 37. [0415]FIG. 39 is a simplified illustration of a screen display of a GUI or Shopper/Buyer Interface for use with the present invention in which details are provided of the results of a search conducted using the Semantics Recognition Buyer Agents feature of the present invention. The Shopper/Buyer Interface responds to the user submitting a search request through the search parameters interface as shown at the bottom of the screen in FIG. 38. [0416] It is to be further understood that while the present invention has been described in terms of the Internet and the World Wide Web, the present invention is equally suitable for use in recently introduced systems and next generation systems. To exemplify, the wireless application development tool, J2ME (Java to Micro Edition), can be used to incorporate the online intelligent multilingual- and -domain-independent price comparison capabilities into mobile/wireless platforms including all models of 3G or Web phones, Interactive and Ultimate TVs, pocket PCs, Palm organizers, all-in-one Web-enabled Palm Synchronizers, wireless tablets, etc for delivering to mobile workers and Netizens numerous products and multilingual value-added Business-Web services on a home page as point-of-access all in one-stop anywhere on a 24/7/365 basis. [0417] Furthermore, the present invention can be used to deliver via wired and mobile/wireless platforms various products and multilingual value-added Business-Web services having such enablement and functions and features as price comparison, e-Wallet integration, Inter-Agent Communication with Negotiation Ability�Agent-to-Agent (A-to-A) contract-negotiation�real world simulation capabilities to multiple e-commerce segments, including Consumer-to-Business, Consumer-to-Consumer, and Business-to-Business auctions, Government-to-Business transactions, etc. These A-to-A commerce or A-commerce's activities will be constructed and activated on a Global Ensemble Marketplace Framework just-in-time in a dynamic fashion in combination with the use of either keyboard, mouse, and pointing device. [0418] The terms and expressions which have been employed herein are used as terms of description and not of limitations, and there is no intention, in the use of such terms and expressions of excluding equivalents of the features shown and described, or portions thereof, it being recognized that various modifications are possible within the scope of the invention claimed. Referenced byCiting PatentFiling datePublication dateApplicantTitleUS7099833 *Oct 2, 2000Aug 29, 2006International Business Machines CorporationDynamic pricing system and method for electronic storesUS7107525 *Jul 23, 2002Sep 12, 2006Xerox CorporationMethod for constraint-based document generationUS7421322May 2, 2005Sep 2, 2008Carfax, Inc.System and method for automatic identification of vehicle identification numberUS7478092 *Jul 21, 2005Jan 13, 2009International Business Machines CorporationKey term extractionUS7487445Jul 23, 2002Feb 3, 2009Xerox CorporationConstraint-optimization system and method for document component layout generationUS7505984Sep 30, 2003Mar 17, 2009Google Inc.Systems and methods for information extractionUS7584210Feb 28, 2005Sep 1, 2009Channel Intelligence, Inc.Method and apparatus for creation and maintenance of database structureUS7613626Jul 30, 2005Nov 3, 2009Vendavo, Inc.Integrated price management systems with future-pricing and methods thereforUS7640198 *May 28, 2004Dec 29, 2009Vendavo, Inc.System and method for generating and displaying indexed price modeling dataUS7647300 *Jan 26, 2004Jan 12, 2010Google Inc.Methods and systems for output of search resultsUS7680686Aug 29, 2006Mar 16, 2010Vendavo, Inc.System and methods for business to business price modeling using price change optimizationUS7743135 *Feb 26, 2004Jun 22, 2010Sony CorporationDisplay-screen-sharing system, display-screen-sharing method, transmission-side terminal, reception-side terminal, and recording mediumUS7756750 *Sep 2, 2003Jul 13, 2010Vinimaya, Inc.Method and system for providing online procurement between a buyer and suppliers over a networkUS7756754 *Nov 6, 2006Jul 13, 2010Nhn CorporationMethod for providing on-line shopping search service and system thereofUS7783637Sep 30, 2003Aug 24, 2010Microsoft CorporationLabel system-translation of text and multi-language support at runtime and designUS7814101 *Oct 30, 2003Oct 12, 2010Microsoft CorporationTerm database extension for label systemUS7836012Apr 6, 2007Nov 16, 2010Google Inc.Systems and methods for information extractionUS7836038Dec 10, 2003Nov 16, 2010Google Inc.Methods and systems for information extractionUS7881987 *Jun 6, 2006Feb 1, 2011Intuit Inc.System and method for purchase order managementUS7885982Jun 4, 2008Feb 8, 2011Channel Intelligence, Inc.Method and apparatus for creation and maintenance of database structureUS7904355Feb 6, 2008Mar 8, 2011Vendavo, Inc.Systems and methods for a revenue causality analyzerUS7912792Aug 9, 2004Mar 22, 2011Vendavo, Inc.Systems and methods for making margin-sensitive price adjustments in an integrated price management systemUS8006197Sep 29, 2003Aug 23, 2011Google Inc.Method and apparatus for output of search resultsUS8103557 *Jan 23, 2003Jan 24, 2012Ricoh Company, Ltd.Online merchandising system, online catalog presenting method, server, computer program product, and computer data signalUS8108449 *Dec 31, 2007Jan 31, 2012Samsung Electronics Co., Ltd.Information storage medium for storing metadata supporting multiple languages, and systems and methods of processing metadataUS8135695 *Dec 31, 2007Mar 13, 2012Samsung Electronics Co., Ltd.Information storage medium for storing metadata supporting multiple languages, and systems and methods of processing metadataUS8156073 *Mar 29, 2006Apr 10, 2012Amazon Technologies, Inc.Item attribute generation using query and item dataUS8234307 *Mar 31, 2009Jul 31, 2012Amazon Technologies, Inc.Determining search configurations for network sitesUS8301487Mar 23, 2009Oct 30, 2012Vendavo, Inc.System and methods for calibrating pricing power and risk scoresUS8396814Jul 30, 2005Mar 12, 2013Vendavo, Inc.Systems and methods for index-based pricing in a price management systemUS8396881May 12, 2008Mar 12, 2013Research In Motion LimitedMethod and system for automatically generating web page transcoding instructionsUS8412598Feb 10, 2011Apr 2, 2013John EarlySystems and methods for a causality analyzerUS8458060May 28, 2004Jun 4, 2013Vendavo, Inc.System and method for organizing price modeling data using hierarchically organized portfoliosUS8473475 *Aug 31, 2005Jun 25, 2013Samsung Electronics Co., Ltd.Information storage medium for storing metadata supporting multiple languages, and systems and methods of processing metadataUS8725584Aug 12, 2010May 13, 2014Carfax, Inc.Tool for selling and purchasing vehicle history reportsUS8938478Apr 27, 2005Jan 20, 2015Google Inc.Dynamic presentation of web contentUS20060059192 *Aug 31, 2005Mar 16, 2006Samsung Electronics Co., Ltd.Information storage medium for storing metadata supporting multiple languages, and systems and methods of processing metadataUS20090248548 *Mar 25, 2009Oct 1, 200930 Second Software, Inc.Method for location based inventory lookupUS20090254357 *Apr 7, 2008Oct 8, 2009Sca Tissue North America LlcComputer-implemented method and system for analyzing operating costs of battery-operated sheet dispensersUS20100153184 *Nov 17, 2009Jun 17, 2010Stics, Inc.System, method and computer program product for predicting customer behaviorUS20110321071 *Jun 28, 2010Dec 29, 2011Vizio, Inc.Device-based one button shopping using metadataEP2151089A1 *May 12, 2008Feb 10, 2010Fat Free Mobile Inc.Method and system for automatically generating web page transcoding instructions* Cited by examinerClassifications U.S. Classification705/35, 705/28, 707/E17.108, 707/999.01, 707/999.009International ClassificationG06F17/30Cooperative ClassificationG06Q40/00, Y10S707/99933, G06Q40/025, G06F17/30864, G06Q10/087European ClassificationG06Q40/00, G06Q40/025, G06Q10/087, G06F17/30W1Legal EventsDateCodeEventDescriptionOct 4, 2012FPAYFee paymentYear of fee payment: 4Apr 10, 2012CCCertificate of correctionFeb 26, 2012ASAssignmentOwner name: ZERO KNOLL LIMITED LIABILITY COMPANY, DELAWAREEffective date: 20120126Free format text: ASSIGNMENT OF ASSIGNORS INTEREST;ASSIGNOR:HSIEH, VICTOR;REEL/FRAME:027763/0731RotateOriginal ImageGoogle Home - Sitemap - USPTO Bulk Downloads - Privacy Policy - Terms of Service - About Google Patents - Send FeedbackData provided by IFI CLAIMS Patent Services