# Patent

## Title
Methods and apparatuses for dynamically displaying search suggestions

## Abstract

In one embodiment, the methods and apparatuses detect an original search input; detect an excluded term within the original search input; form a modified search input wherein the modified search input includes the original search input without the excluded term; match a plurality of stored terms against the modified search input and forming a modified matched result; and display a suggestion based on the modified matched result.

## Background
FIELD OF INVENTION
The present invention relates generally to displaying search suggestions and, more particularly, to dynamically displaying search suggestions.
BACKGROUND
Electronic mail applications such as Outlook® and Tiger Mail® allow users to search for specific electronic mail messages by searching for a term or key word. The user can search for the term or key word in the body of the message, the subject line of the message, the sender, and/or the recipient. Further, the user can search for messages by date sent.
SUMMARY
In one embodiment, the methods and apparatuses detect an original search input; detect an excluded term within the original search input; form a modified search input wherein the modified search input includes the original search input without the excluded term; match a plurality of stored terms against the modified search input and forming a modified matched result; and display a suggestion based on the modified matched result.



BRIEF DESCRIPTION OF THE DRAWINGS
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate and explain one embodiment of the methods and apparatuses for dynamically displaying search suggestions.
In the drawings,
FIG. 1 is a diagram illustrating an environment within which the methods and apparatuses for dynamically displaying search suggestions are implemented;
FIG. 2 is a simplified block diagram illustrating one embodiment in which the methods and apparatuses for dynamically displaying search suggestions are implemented;
FIG. 3 is a simplified block diagram illustrating a system, consistent with one embodiment of the methods and apparatuses selectively controlling a remote device;
FIG. 4 is an exemplary record for use with the methods and apparatuses for dynamically displaying search suggestions;
FIG. 5 is a flow diagram consistent with one embodiment of the methods and apparatuses for dynamically displaying search suggestions;
FIG. 6 is a flow diagram consistent with one embodiment of the methods and apparatuses for dynamically displaying search suggestions; and
FIG. 7 is a flow diagram consistent with one embodiment of the methods and apparatuses for dynamically displaying search suggestions.



DETAILED DESCRIPTION
The following detailed description of the methods and apparatuses for dynamically displaying search suggestions refers to the accompanying drawings. The detailed description is not intended to limit the methods and apparatuses for dynamically displaying search suggestions. Instead, the scope of the methods and apparatuses for dynamically displaying search suggestions is defined by the appended claims and equivalents. Those skilled in the art will recognize that many other implementations are possible, consistent with the present invention.
References to a device include a desktop computer, a portable computer, a personal digital assistant, a video phone, a landline telephone, a cellular telephone, and a device capable of receiving/transmitting an electronic signal.
FIG. 1 is a diagram illustrating an environment within which the methods and apparatuses for dynamically displaying search suggestions are implemented. The environment includes an electronic device 110 (e.g., a computing platform configured to act as a client device, such as a computer, a personal digital assistant, and the like), a user interface 115, a network 120 (e.g., a local area network, a home network, the Internet), and a server 130 (e.g., a computing platform configured to act as a server).
In one embodiment, one or more user interface 115 components are made integral with the electronic device 110 (e.g., keypad and video display screen input and output interfaces in the same housing such as a personal digital assistant. In other embodiments, one or more user interface 115 components (e.g., a keyboard, a pointing device such as a mouse, a trackball, etc.), a microphone, a speaker, a display, a camera are physically separate from, and are conventionally coupled to, electronic device 110. In one embodiment, the user utilizes interface 115 to access and control content and applications stored in electronic device 110, server 130, or a remote storage device (not shown) coupled via network 120.
In accordance with the invention, embodiments of dynamically enforcing privileges during a data collaboration session below are executed by an electronic processor in electronic device 110, in server 130, or by processors in electronic device 110 and in server 130 acting together. Server 130 is illustrated in FIG. 1 as being a single computing platform, but in other instances are two or more interconnected computing platforms that act as a server.
FIG. 2 is a simplified diagram illustrating an exemplary architecture in which the methods and apparatuses for dynamically displaying search suggestions are implemented. The exemplary architecture includes a plurality of electronic devices 202, a server device 210, and a network 201 connecting electronic devices 202 to server 210 and each electronic device 202 to each other. The plurality of electronic devices 202 are each configured to include a computer-readable medium 209, such as random access memory, coupled to an electronic processor 208. Processor 208 executes program instructions stored in the computer-readable medium 209. In one embodiment, a unique user operates each electronic device 202 via an interface 115 as described with reference to FIG. 1.
The server device 130 includes a processor 211 coupled to a computer-readable medium 212. In one embodiment, the server device 130 is coupled to one or more additional external or internal devices, such as, without limitation, a secondary data storage element, such as database 240.
In one instance, processors 208 and 211 are manufactured by Intel Corporation, of Santa Clara, Calif. In other instances, other microprocessors are used.
In one embodiment, the plurality of client devices 202 and the server 210 include instructions for a customized application for dynamically displaying search suggestions. In one embodiment, the plurality of computer-readable media 209 and 212 contain, in part, the customized application. Additionally, the plurality of client devices 202 and the server 210 are configured to receive and transmit electronic messages for use with the customized application. Similarly, the network 210 is configured to transmit electronic messages for use with the customized application.
One or more user applications are stored in media 209, in media 212, or a single user application is stored in part in one media 209 and in part in media 212. In one instance, a stored user application, regardless of storage location, is made customizable based on dynamically enforcing privileges during a data collaboration sessions determined using embodiments described below.
FIG. 3 illustrates one embodiment of a system 300. In one embodiment, the system 300 is embodied within the server 130. In another embodiment, the system 300 is embodied within the electronic device 110. In yet another embodiment, the system 300 is embodied within both the electronic device 110 and the server 130.
In one embodiment, the system 300 includes a profile manager module 310, a message detection module 320, a storage module 330, an interface module 340, a control module 350, a search term detection module 360, and search term processor module 370.
In one embodiment, the control module 350 communicates with the profile manager module 310, the message detection module 320, the storage module 330, the interface module 340, the control module 350, the search term detection module 360, and the search term processor module 370. In one embodiment, the control module 350 coordinates tasks, requests, and communications between the profile manager module 310, the message detection module 320, the storage module 330, the interface module 340, the control module 350, the search term detection module 360, and the search term processor module 370.
In one embodiment, the profile manager module 310 organizes and tracks the profiles. In one embodiment, each profile corresponds to a device. In another embodiment, each profile corresponds to a user of a device.
In another embodiment, each profile corresponds to an electronic mail account. In another embodiment, each profile corresponds to a group of electronic mail accounts.
In one embodiment, the message detection module 320 detects and identifies the electronic mail message. In one embodiment, the message detection module 320 detects the words within the electronic mail message. For example, a typical electronic mail message includes a sender field, a recipient field, a carbon copy field, a subject line, a date sent field, a date received field, and a body area. Further, the message detection module 320 indexes the detected words within the electronic mail message.
In one embodiment, the storage module 330 stores a record including a profile associated with the each device, user, electronic mail account, or group of electronic mail accounts. An exemplary profile is shown in a record 400 within FIG. 4.
In one embodiment, the storage module 330 stores electronic mail messages.
In one embodiment, the interface module 340 detects search terms from a device through the network 120. In one embodiment, the device is operated by a user. In one embodiment, the interface module 340 detects the search terms as the search term is entered. In one embodiment, the search term is detected as each character and/or symbol is entered. For example, if the search term is “restaurant”, then each letter is detected prior to the complete term restaurant being received.
In one embodiment, the interface module 340 displays suggested search terms to the device either prior to or subsequent to receiving the entire search term from the device. In another embodiment, the interface module 340 provides the search results based on the search terms to the device.
In one embodiment, the search term detection module 360 is configured to detect the search term provided by the device. In one embodiment, the search term is detected as the search term is provided through the interface module 340. For example, as each character or letter that comprises the search term is entered, then the search term detection module 360 recognizes each letter as the search term is entered.
In one embodiment, the search term processor module 370 determines whether to modify the search terms based on the results of the search terms. Further based on the search terms provided by a device, the search term processor module 370 also determines suggestions for the search terms.
The system 300 in FIG. 3 is shown for exemplary purposes and is merely one embodiment of the methods and apparatuses for dynamically displaying search suggestions. Additional modules may be added to the system 300 without departing from the scope of the methods and apparatuses for dynamically displaying search suggestions. Similarly, modules may be combined or deleted without departing from the scope of the methods and apparatuses for dynamically displaying search suggestions.
FIG. 4 illustrates an exemplary record 400 for use with the methods and apparatuses for dynamically displaying search suggestions. In one embodiment, the record 400 illustrates an exemplary record associated with managing terms within messages, prior search terms, and excluded terms.
In one embodiment, there are multiple records such that each record 400 is associated with a particular user, device, or group of devices. Further, each device or user may correspond with multiple records wherein each record 400 is associated with a particular profile associated with the device.
In one embodiment, the record 400 includes a user name field 410, a terms messages field 420, a prior search terms field 430, and an excluded terms field 440. In one embodiment, the record 400 resides within the client 110. In another embodiment, the record 400 resides within the server 130.
In one embodiment, the user name field 410 includes information related to a user, a device, or group. For example, the group name field 410 may include a company name that includes the group of devices.
In one embodiment, the terms in messages field 420 includes terms that are detected within an electronic mail message associated with the individual or group identified within the user name field 410. The terms may include references to information within a sender field, a recipient field, a carbon copy field, a subject line, a date sent field, a date received field, and a body area. Further, the detected terms may also be indexed and stored within the terms in messages field 420.
In one embodiment, the excluded terms field 440 includes terms that are targeted to be excluded from a search term. For example, the excluded terms field 440 may include terms such as “the”, “a”, “best”, and the like.
The flow diagrams as depicted in FIGS. 5, 6, and 7 are one embodiment of the methods and apparatuses for dynamically displaying search suggestions. The blocks within the flow diagrams can be performed in a different sequence without departing from the spirit of the methods and apparatuses for dynamically displaying search suggestions. Further, blocks can be deleted, added, or combined without departing from the spirit of the methods and apparatuses for dynamically displaying search suggestions.
The flow diagram in FIG. 5 illustrates customizing an exemplary record for search terms according to one embodiment of the invention.
In Block 510, a user name is selected. In one embodiment, the user name is associated with an individual user, a device, a group of device, or a specific company.
In Block 520, electronic messages associated with the user name are detected. In one embodiment, the terms within the electronic messages are also detected.
In Block 530, the terms detected within the Block 520 are indexed.
In Block 540, the indexed terms are stored within the profile associated with the user name as specified in the Block 510.
The flow diagram in FIG. 6 illustrates searching for electronic mail messages according to one embodiment of the invention.
In Block 610, a search term is detected. In one embodiment, the completed search term is detected. In another embodiment, a partial search term is detected. For example, the search term is being entered and is not complete when the partial search term is detected. The partial search term may include a single character in one embodiment.
In Block 620, if there are excluded terms within the detected search term, then the detected search term is modified in Block 640.
An excluded search term may include the terms “a”, “the”, “best”, and the like. Exemplary excluded search terms may be stored within the excluded terms field 440 within the record 400.
In the Block 640, the detected search term is modified to remove the excluded term.
In Block 620, if there are no excluded terms that form the detected search term, a match is performed based on the detected search term in Block 630.
In the Block 630, either the detected search term from the Block 610 or the modified search term from the Block 640 are compared against the terms in messages field 420 from the record 420.
In Block 650, if there are sufficient matches, then the search results are displayed based on the match performed within the Block 630.
In the Block 650, if the are not sufficient matches and the search term was not modified (from Block 660), then the search results are displayed based on the match performed within the Block 630.
In one embodiment, the threshold value to determine whether there are sufficient results depends on a user preference as well as the number terms stored within the record 400.
In the Block 660, if the search terms were modified, then the excluded terms that were removed are added back into the search terms in Block 670.
In Block 690, a match is performed on the modified search term from the Block 670 against the content within the terms in messages field 420.
In another embodiment, a match is performed while including the excluded term and omitting the excluded term within the Block 690. For example, a match is performed for “the restaurant” and “restaurant”.
In one embodiment, the results that are displayed within the Block 680 are shown as the search term is being completed. For instance, in one example, as the search term “the restaurant” is entered beginning with the characters “t”, “h”, “e”, <space>, “r”, “e”, and “s”, the term “the” is excluded. In this example, the modified search term from the Block 640 is “res”. If there are sufficient results, then the results are displayed within the Block 680 without the excluded term “the”. However, if there are not sufficient results, then the excluded term “the” is added back into the search term within the Block 670 and a match with the leading term “the” is utilized for the match within the Block 690.
In one embodiment, removing the excluded term helps to focus the search on the leading term among multiple terms of the search. In the instance referenced above, the search for a matching term is focused on the term “restaurant” instead of the excluded term “the”. In one embodiment, adding the excluded term back into the search terms covers the scenario when the excluded term holds special meaning. In the instance referenced above, if the term “the restaurant” refers to a specific restaurant within one of the electronic mail messages, then adding the excluded term “the” back into the search term allows inclusion of another term to be utilized.
The flow diagram in FIG. 7 illustrates displaying suggestions for search terms according to one embodiment of the invention.
In Block 710, a search term is detected. In one embodiment, a partial search term is detected. For example, the search term is being entered and is not complete when the partial search term is detected. The partial search term may include a single character in one embodiment.
In Block 720, the terms within the electronic mail messages are detected. In one embodiment, these terms are stored within the terms in messages field 420 in the record 400.
In Block 730, if there is an excluded term within the detected search input, then the excluded term is deleted in Block 770.
An excluded search term may include the terms “a”, “the”, “best”, and the like. Exemplary excluded search terms may be stored within the excluded terms field 440 within the record 400.
If there is no excluded term within the original detected search input from the Block 710, then the original search input is utilized within a Block 740.
In Block 750, the detected search input is matched against the terms detected within the messages in the Block 720. For example, if the detected search input is currently “re” then the terms “read” and “restaurant” detected from the Block 720 would apply. However, if the detected search input progresses to “rea”, then only the term “read” would apply.
If there is a match between the detected search input and the detected terms within the messages in the Block 750, then a suggestion of the potential matches would be displayed in Block 760. In one embodiment, the suggestion would be displayed within a drop down list. There may be one or more suggestions.
If there is no match within the Block 750, then detection for additional search input continues within the Block 710.
In Block 780, the detected search input without the excluded term is matched against the terms detected within the messages in the Block 720. For example, if the detected search input is currently “the re” then the detected search input without the excluded term is “re”. The term “re” is matched with the terms “read” and “restaurant” from the Block 720.
If there is a match between the detected search input without the excluded terms and the detected terms within the messages in the Block 780, then a suggestion of the potential matches would be displayed in Block 790. In one embodiment, the suggestion would be displayed within a drop down list. There may be one or more suggestions.
If there is no match within the Block 780, then the detected search input with the excluded terms are utilized within the Block 740.
In one embodiment, after the display of suggested terms are shown in the Blocks 760 and 790, if the suggested terms are not selected, then additional steps are taken. In the Block 760, additional search input is detected in the Block 710 if the suggested terms are not selected. In the Block 790, the detected search input is utilized in the Block 740 if the suggested terms are not selected.
The foregoing descriptions of specific embodiments of the invention have been presented for purposes of illustration and description. The invention may be applied to a variety of other applications.
They are not intended to be exhaustive or to limit the invention to the precise embodiments disclosed, and naturally many modifications and variations are possible in light of the above teaching. The embodiments were chosen and described in order to explain the principles of the invention and its practical application, to thereby enable others skilled in the art to best utilize the invention and various embodiments with various modifications as are suited to the particular use contemplated. It is intended that the scope of the invention be defined by the Claims appended hereto and their equivalents.

## Claims

1. A method comprising:
detecting an original search input entered by a user on an electronic device, the original search input including a partial search term and an excluded term;
detecting the excluded term within the original search input;
forming a modified search input wherein the modified search input includes the original search input without the excluded term;
matching a plurality of stored terms against the modified search input to form a modified matched result;
when there is at least one term within the modified match result,
displaying a suggestion of a search term without the excluded term to replace the original search input including the partial search term and the excluded term, based on the modified matched result; and

when there is not at least one term within the modified match result,
matching the plurality of stored terms with the original search input and forming an original matched result, and
displaying a suggestion of a search term to replace the original search input including the partial search term and the excluded term based on the original matched result.

2. The method according to claim 1 wherein the partial search term of the original search input is a character.

3. The method according to claim 1 wherein the excluded term includes one of the terms “a”, “the”, “best”, and “my”.

4. The method according to claim 1 wherein the plurality of stored terms originate from stored electronic mail messages.

5. The method according to claim 1 wherein the suggestion of a search term is formatted in a drop down menu.

6. A method comprising:
detecting an original search input entered by a user on an electronic device, the original search input including a partial search term and an excluded term;
detecting the excluded term within the original search input;
forming a modified search input wherein the modified search input includes the original search input without the excluded term;
matching a plurality of stored terms against the modified search input to form a modified matched result;
selectively displaying a suggestion of a search term to replace the original search input based on the modified matched result when there is at least a particular number of matches within the modified matched result;
selectively matching the plurality of stored terms against the original search input To form an original matched result when there is not at least a particular number of matches within the modified matched result; and
selectively displaying a suggestion of a search term to replace the original search input based on the original matched result when there is not at least a particular number of matches within the modified matched result.

7. The method according to claim 6 wherein the partial search term of the original search input is a character.

8. The method according to claim 6 wherein the excluded term includes one of the terms “a”, “the”, “best”, and “my”.

9. The method according to claim 6 wherein the plurality of stored terms originate from stored electronic mail messages.

10. A system, comprising:
a processor operable to execute program instructions; and
a memory including program instructions that when executed by the processor implement,
a search term detection module configured to detect an original search term entered by a user, the original search term including a partial search term and an excluded term,
a message detection module configured to detect an electronic mail message and a stored term within the electronic mail message,
a search term processor module configured to detect the excluded search term within the original search term and to selectively remove the excluded term from the original search term, wherein the original search term without the excluded term is matched with the stored term to produce a modified matched result, and, when there is not at least one term within the modified matched result, to match the original search term with the excluded term against the stored term to produce an original matched result, and
an interface module configured to, when there is at least one term within the modified matched result, display a suggestion of a new search term corresponding to the original search term without the excluded term, and, when there is not at least one term within the modified matched result, to display a suggestion of a new search term corresponding to the original search with the excluded term, the new search term to replace the original search term.

11. The system according to claim 10 wherein the memory further includes program instructions that when executed by the processor implement a storage module configured to store the stored term.

12. The system according to claim 10 wherein the memory further includes program instructions that when executed by the processor implement a profile module for storing the electronic mail message, the excluded term, and the original search term associated with an entity.

13. The system according to claim 10 wherein the partial search term of the original search term is a character.

14. The system according to claim 10 wherein the excluded term includes one or more terms selected from the group consisting of: “a”, “the”, “best”, and “my”.

15. The method according to claim 1 wherein the electronic device is a client device that receives the original search input.

16. The method according to claim 15 wherein the suggestion of the search term is displayed on the client device.

17. The method according to claim 6 wherein the electronic device is a client device that receives the original search input.

18. The method according to claim 17 wherein the suggestion of the search term is displayed on the client device.