US 7,113,960 B2Grant
Search on and search for functions in applications with varying data types
Issue Date:2006-09-26
•5 Claims
•4 Drawing Sheets
Abstract
A method and system for conducting a web search. The method comprises the steps of receiving a language selection and a web page selection from a user; and translating said web page into said language, including translating a pull-down list of searchable fields, and for each said field, translating items on one or more selection lists, wherein a code is associated with each item. The method comprises the further steps of providing said translated web page to said user, including providing script enabling said user to select one of said searchable fields and one or more of said items; receiving the codes associated with the selected items, and performing a search in response thereto; and translating results from said search into said language, and providing the translated results to the user. Preferably, the translating step includes the step of converting the data structure of a date or an amount into the selected language.
Metadata
Assignee
- International Business Machines Corporation
Inventors
- John A. Goldfuss, Jr.
- Michael R. May
- Larisa M. Rozins
Application Information
Application Number:US 10/226,857
Filing Date:2002-08-22
Priority Date:2002-08-22
Art Unit:2165
Classifications
IPC:
G06F17/30G06F15/177
Patent Drawings (4 sheets)
Description
Background of the Invention
[0001] 1. Field of the Invention
[0002] This invention generally relates to methods and systems for searching computer applications. More specifically, the invention relates to methods and systems for searching computer applications having varying data types.
[0003] 2. Background Art
[0004] Many computer applications are provided with searching functions that may be used to search through the applications or data bases associated with the applications for specific words, phrases or data values. Generally, these search procedures are straightforward. A user identifies a field to be searched and then identifies a value, such as a word, phrase or numeric value, to be searched for in the identified field. The search function then searches the designated field for the designated word, phrase or numeric value.
[0005] Search procedures can be much more complicated if the application or data base being searched has words in more than one language or numeric values in more than one format. For example, a simple search for Mar. 7, 2002, using a standard American format of 3/7/02, would not identify any occurrences of 7/3/02, which is a standard European way to record Mar. 7, 2002. Similarly, a search for the number “192,383.33” may not identify the number “192.383,33,” which is a standard European format for the same value.
[0006] A specific case in point involves the WOI application, which is an Internet accessible tool developed and hosted by International Business Machines, Corp. (IBM). The WOI application allows suppliers of the IBM corporation and its subsidiaries to process purchase orders, purchase order changes, invoice, invoice rejects and remittance advice documents. These documents contain four types of data that a supplier would want to search on. The types of data are: Character Strings, NLS (National Language Strings) Character Strings, Dates and Amounts. Auditing the search for value entered by the user of the application for each data type is complicated because of the multi-language requirement of the WOI application.
[0007] This multi-language requirement affects not only strings of characters but also affects date formats (MM/D/CCYY vs. DD-MM-CCYY, etc.) and amount formats (192,383.33 vs. 192.383,33). The NLS character string problem has to do with coded values that are fields in the documents. A supplier may not know some of these values and thus may not be able to search for certain types, classes or sub-classes of documents. In addition, if a person were working in Spanish on the WOI application, various portions of the application would appear in their Spanish translation.
Summary of the Invention
[0008] An object of the present invention is to improve procedures for searching databases having varying data types.
[0009] Another object of this invention is to help search through databases that include multiple languages and multiple data formats.
[0010] These and other objectives are attained with a method and system for conducting a web search. The method comprises the steps of receiving a language selection and a web page selection from a user; and translating said web page into said language, including translating a pull-down list of searchable fields, and for each said field, translating items on one or more selection lists, wherein a code is associated with each item. The method comprises the further steps of providing the translated web page to the user, including providing script enabling the user to select one of the searchable fields and one or more of said items; receiving the codes associated with said selected items, and performing a search in response thereto; and translating results from the search into the language, and providing the translated results to the user. Preferably, the translating step includes the step of converting the data structure of a date or an amount into the selected language.
[0011] Further benefits and advantages of the invention will become apparent from a consideration of the following detailed description, given with reference to the accompanying drawings, which specify and show preferred embodiments of the invention.
Brief Description of the Drawings
[0012] FIG. 1 illustrates an Internet environment in which the present invention may be used.
[0013] FIG. 2 is a flow chart showing a preferred procedure for carrying out this invention.
[0014] FIGS. 3–6 diagrammatically illustrates several preferred features of the invention.
Detailed Description of the Preferred Embodiments
[0015] The present invention, generally, relates to searching through computer applications or databases, and the invention, more particularly, may be used by individuals who are searching such applications or databases via the Internet. FIG. 1 shows an Internet environment in which this invention may be implemented. More specifically, FIG. 1 shows a user 12 having a personal computer 14 for accessing an application 16, running on server 20, via the Internet 22. Application 16 may enable a multitude of functions and include a multitude of files, directories and databases, represented at 24. Computer 14, it may be noted, may be a standard personal computer, including a central processing unit, a monitor, a keyboard, and a mouse or other pointing device.
[0016] Application 16 includes multiple languages and multiple data formats; and, as mentioned above, this presents challenges when searching through the application. For example, dates may be stored in either a MM/DD/YY format, or in a DD/MM/YY format, which makes it difficult for a user to identify all references to a specific date. Similar problems may be encountered with other data types.
[0017] FIG. 2 outlines a preferred method to address these challenges in accordance with the present invention. When, as represented at step 32, a language selection and a web page selection are received from a user, the web page, at step 34, is translated into the selected language, including translating a pull-down list of searchable fields. For each of these fields, items are translated on one or more selection lists having a code associated with each item.
[0018] At step 36, the translated web page is provided to the user, and script is provided that enables the user to select one of the searchable fields having one or more of the items. At step 38, codes associated with the selected items are received, and a search is performed in response thereto. At step 40, results from the search are translated into the selected language, and the translated results are provided to the user.
[0019] The preferred embodiment of the invention includes several innovations in the Search On field and Search For field behavior of the WOI application. Each of these is discussed below.
Search on Field Behavior
[0020] With reference to FIG. 3 , in the preferred embodiment, the supplier is provided with a pulldown list 52 of those fields within each document (P0, P0 change, Invoice, Invoice reject, Remittance advice) that can be searched. The application knows the data type of the field that is selected, and the application dynamically configures, as represented at 54, the search for input fields 56 based on the data type of the search on field selected. This may be done using java script imbedded in the HTML rendered to the browser, and no trips to the web server are required to dynamically configure the search for input fields.
Search for Field Behavior—Character String
[0021] With reference to FIG. 4 , when the search on 62 field selected is determined to be a character string, the java script dynamically provides a single search for input field 64. The user enters the string to be searched for using an implied equals operator. The user then initiates a search, for example by pressing a go button next to the search for field, and the application returns those documents that meet the search for value criteria. The user can also enter wildcard values in the string that will allow the application to return a subclass of documents, such as all POs that begin with “46.” This is accomplished when the user enters “46*” in the search for value.
Search for Field Behavior—NLS String
[0022] As schematically represented in FIG. 5 , when the search on 72 field selected is determined to be an NLS enabled character string, the java script dynamically provides a single search for input field 74 with an accompanying selection list 76. The selectable values in the list appear in the language in which the user is currently using the WOI application, and the user selects the translated value. The WOI application has rendered the database coded equivalents to the HTML at the time the form was rendered to the browser.
[0023] The query to find the desired documents in the supporting WOI database is done with the codes associated to the translated string on the screen. An example of this would be that the user wants to see all invoices in “draft” status. To do this, the user selects the status option in the search on field. The application then displays all of the possible status values in the current language of the user (“draft,” “submitted,” “arrived”). The user selects “draft” (code value in database of DRFT). The user then presses the go button, and all of the invoices in DRFT status are returned for viewing by the user. Preferably, the DRFT code in the database is always the same no matter what the language of the user.
Search for Field Behavior—Date
[0024] As represented in FIG. 6 , when the search on 82 field selected is determined to be a date, the java script dynamically provides multiple search for input fields 84. The first field is an operator field that allows the user to select values of equal, less than or equal, or greater than or equal. These strings are translated to the language of the user. The second field is a set of year, month and day subfields. These subfields are displayed in the order generally accepted for the language that the user is currently using.
[0025] For instance, MM/DD/CCYY may be displayed for a U.S. user, or DD-MM-CCYY may be displayed for a French user. All three fields are selectable from a pulldown list, as represented at 86. The values in the pulldown list prevent a user from entering an invalid date. For instance, with the preferred embodiment, it would be impossible for the user to specify a value of February 30. Because date formats vary around the world. Also, preferably, the months file is a translated version of the acceptable abbreviations for the current language of the user. In this way, the user does not get confused about which field is the days field versus the month field.
Search For Field Behavior—Amount
[0026] When the search on field selected is determined to be an amount, the java script dynamically provides multiple search for input fields. The first field is an operator field that allows the user to select values of equal, less than or equal, or greater than or equal. These strings are translated to the language of the user. The second field is provided for the user to enter the amount.
[0027] The preferred embodiment of the invention, as described above, provides a number of important advantages. For example, the invention may substantially reduce any possible confusion by the user. In particular, the user cannot enter an invalid date. Also, when an NLS string is selected, the user does not have to worry about typing the string incorrectly. In addition, the user does not have to take into consideration what language he/she is currently using.
[0028] While it is apparent that the invention herein disclosed is well calculated to fulfill the objects stated above, it will be appreciated that numerous modifications and embodiments may be devised by those skilled in the art, and it is intended that the appended claims cover all such modifications and embodiments as fall within the true spirit and scope of the present invention.
Claims
The invention claimed is:
1. A web search method, comprising the steps of:
a user at a client computer accessing an application running on a server via the Internet, said application including databases in multiple languages and multiple data formats;
the user at the client computer selecting a language and a web page;
transmitting said language selection and said web page selection from said user client computer to the server computer;
translating said web page into said language;
providing said translated web page to said user, including the server computer providing a script to the client computer, a plurality of selection lists, and a list of codes associated with each of said selection lists;
presenting to the user, at the client computer, a list of search on fields, each of the search on fields having a given data type;
the user, at the client computer, selecting each of the search on fields;
when each of the search on fields is selected, said script dynamically configuring a search for input for the selected search on field and based on the data type of the selected search on field, including the steps of;
at first times, said script providing a single search for character string input field; and the user entering a character string in said single search for input field, and initiating a search for documents that meet a search for value criteria;
at second times, said script providing a single search for input field with an accompanying selection list of values, said values appearing in the language selection of the user, and each of said values being associated with a code, wherein the code associated with each value is the same regardless of the language in which the value appears; and the user selects one of the values on the selection list, and initiates a search for documents having said selected value, said server receiving from the client computer the code associated with the selected value and conducting a query using said received code to find documents in one of the databases;
at third times, said script providing multiple search for data input fields, a first of said data input fields being an operator field; and a second of said data input fields including a set of year, month and date subfields, said subfields being displayed in different orders depending on the user language selection; said script further providing a pulldown list having values for each of said subfields; and
at fourth times, said script providing a plurality of search for amount input fields, a first of said amount input fields being an operator field, and a second of said amount input fields being a monetary amount field, said monetary amount field being arranged in different ways depending on the user language selection; and
providing results of the searches to the user at the client computer in the language selection of the user.
2. A method according to claim 1, further comprising the steps of:
providing a software tool to assist in the search;
providing the user with a list of a group of fields, each of said fields including data in an associated data format;
the user selecting one of the fields in the list, and inputting a value to be searched for in the selected field; and
the software tool configuring the input value in the data format associated with the selected field.
3. A method according to claim 1, wherein:
said databases include purchase orders, purchase order changes, invoices, invoice rejects, and remittance advice documents;
the list of search on fields consists of purchase orders, purchase order changes, invoices, invoice rejects, and remittance advice documents;
said script is embedded in HTML rendered to the client computer; and
the selection list of values includes all of a group of document status values describing the status of documents in the database, said document status values being displayed in the language selection of the user.
4. A program storage device readable by a machine, tangibly embodying a program of instructions executable by the machine to perform method steps for conducting a web search, said method steps comprising:
enabling a user at a client computer accessing an application running on a server via the Internet, said application including databases in multiple languages and multiple data formats;
enabling the user at the client computer to select a language and a web page;
transmitting said language selection and said web page selection from said user client computer to the server computer;
translating said web page into said language;
providing said translated web page to said user including the server computer providing a script to the client computer, a plurality of selection lists, and a list of codes associated with each of said selection lists;
presenting to the user, at the client computer, a list of search on fields, each of the search on fields having a given data type;
the user, at the client computer, selecting each of the search on fields;
when each of the search on fields is selected, said script dynamically configuring a search for input for the selected search on field and based on the data type of the selected search on field, including the steps of:
at first times, said script providing a single search for character string input field; and the user entering a character string in said single search for input field, and initiating a search for documents that meet a search for value criteria;
at second times, said script providing a single search for input field with an accompanying selection list of values, said values appearing in the language selection of the user, and each of said values being associated with a code, wherein the code associated with each value is the same regardless of the language in which the value appears; and the user selects one of the values on the selection list, and initiates a search for documents having said selected value, said server receiving from the client computer the code associated with the selected value and conducting a query using said received code to find documents in one of the databases;
at third times, said script providing multiple search for data input fields, a first of said data input fields being an operator field; and a second of said data input fields including a set of year, month and date subfields, said subfields being displayed in different orders depending on the user language selection; said script further providing a pulldown list having values for each of said subfields; and
at fourth times, said script providing a plurality of search for amount input fields, a first of said amount input fields being an operator field, and a second of said amount input fields being a monetary amount field, said monetary amount field being arranged in different ways depending on the user language selection; and
providing results of the searches to the user at the client computer in the language selection of the user.
5. A program storage device according to claim 4, wherein said method steps further comprise the steps of:
providing a software tool to assist in the search;
providing the user with a list of a group of fields, each of said fields including data in an associated data format;
the user selecting one of the fields in the list, and inputting a value to be searched for in the selected field; and
the software tool configuring the input value in the data format associated with the selected field.
Patent Citations (22)
| Patent | Date | Inventor | Cited By |
|---|---|---|---|
| US5640575(A) | 1997-06-01 | Maruyama et al. | Applicant |
| US5737592(A) | 1998-04-01 | Nguyen et al. | Examiner |
| US5778356(A) | 1998-07-01 | Heiny | Examiner |
| US5895446(A) | 1999-04-01 | Takeda et al. | Applicant |
| US5913210(A) | 1999-06-01 | Call | Applicant |
| US6119078(A) | 2000-09-01 | Kobayakawa et al. | Examiner |
| US6169992(B1) | 2001-01-01 | Beall et al. | Examiner |
| US6208956(B1) | 2001-03-01 | Motoyama | Examiner |
| US6256623(B1) | 2001-07-01 | Jones | Applicant |
| US6321231(B1) | 2001-11-01 | Jebens et al. | Applicant |
| US6526426(B1) | 2003-02-01 | Lakritz | Examiner |
| US6647364(B1) | 2003-11-01 | Yumura et al. | Examiner |
| US6754668(B1) | 2004-06-01 | Noble et al. | Examiner |
| US2001/0021934(A1) | 2001-09-01 | Yokoi | Applicant |
| US2001/0029455(A1) | 2001-10-01 | Chin et al. | Applicant |
| US2002/0123879(A1) | 2002-09-01 | Spector | Examiner |
| US2003/0018468(A1) | 2003-01-01 | Johnson et al. | Examiner |
| US2004/0006560(A1) | 2004-01-01 | Chan et al. | Examiner |
| GB2340001(A) | 2000-02-01 | Applicant | |
| JP10187752(A) | 1998-07-01 | Applicant | |
| JP11265399(A) | 1999-09-01 | Applicant | |
| WO99/15989 | 1999-04-01 | Applicant |
Non-Patent Literature (6)
- Gary Perlman (2000) “The FirstSearch User Interface Architecture: Universal Access for any User, in many Languages, on any Platform”, ACM pp. 1-8.Applicant
- International Business Machines Corporation (1999) “Browser Translator With Dictionary”, Research Disclosure, p. 568-569.Applicant
- Andrew Large et al. (2000) “Multilingual Access to Web Resources: an overview”, Program vol. 34, No. 1, pp. 43-58.Applicant
- Raphael A. Finkel, et al. “The SUDA Project: Collaborative Web-Based Trasnlation”, IEEE.Applicant
- Vinod Anupam, et al. (1998) “Secure Web Scripting”, Mobile Code Security, IEEE Internet, pp. 46-55; and.Applicant
- M. Vlachos, et al. (2000) “Effective Ways for Querying Images by Content Over The Internet”, 10th Mediterranean Electrotechnical Conference, MeleCon, IEEE, vol. 1, pp. 337-340.Applicant