The invention generally relates to search engines. More particularly, the invention relates to methods and systems for information capture.
Users generate and access a large number of articles, such as emails, web pages, word processing documents, spreadsheet documents, instant messenger messages, and presentation documents, using a client device, such as a personal computer, personal digital assistant, or mobile phone. Some articles are stored on one or more storage devices coupled to, accessible by, or otherwise associated with the client device(s). Users sometimes wish to search the storage device(s) for articles.
Conventional client-device search applications may significantly degrade the performance of the client device. For example, certain conventional client-device search applications typically use batch processing to index all articles, which can result in noticeably slower performance of the client device during the batch processing. Additionally, batch processing occurs only periodically. Therefore, when a user performs a search, the most recent articles are sometimes not included in the results. Moreover, if the batch processing is scheduled for a time when the client device is not operational and is thus not performed for an extended period of time, the index of articles associated with the client device can become outdated. Conventional client-device search applications can also need to rebuild the index at each batch processing or build new partial indexes and perform a merge operation that can use a lot of client-device resources. Conventional client-device search applications also sometimes use a great deal of system resources when operational, resulting in slower performance of the client device.
Additionally, conventional client-device search applications can require an explicit search query from a user to generate results, and may be limited to examining file names or the contents of a particular application's files.
Embodiments of the present invention comprise methods and systems for information capture. In one embodiment, a plurality of keystrokes associated with an application is received, each keystroke is processed to determine an associated action forming a plurality of associated actions, and an event is determined based at least in part on the plurality of associated actions. In another embodiment, a plurality of display calls associated with an application are received, the plurality of display calls are processed to determine a display, and an event is determined based at least in part on the display.
These exemplary embodiments are mentioned not to limit or define the invention, but to provide examples of embodiments of the invention to aid understanding thereof. Exemplary embodiments are discussed in the Detailed Description, and further description of the invention is provided there. Advantages offered by the various embodiments of the present invention may be further understood by examining this specification.
These and other features, aspects, and advantages of the present invention are better understood when the following Detailed Description is read with reference to the accompanying drawings, wherein:
Referring now to the drawings in which like numerals indicate like elements throughout the several figures,
The client devices 102a-n shown in
Client devices 102a-n can be coupled to a network 106, or alternatively, can be stand alone machines. Client devices 102a-n may also include a number of external or internal devices such as a mouse, a CD-ROM, DVD, a keyboard, a display device, or other input or output devices. Examples of client devices 102a-n are personal computers, digital assistants, personal digital assistants, cellular phones, mobile phones, smart phones, pagers, digital tablets, laptop computers, Internet appliances, and other processor-based devices. In general, the client devices 102a-n may be any type of processor-based platform that operates on any suitable operating system, such as Microsoft® Windows® or Linux, capable of supporting one or more client application programs. For example, the client device 102a can comprise a personal computer executing client application programs, also known as client applications 120. The client applications 120 can be contained in memory 108 and can include, for example, a word processing application, a spreadsheet application, an email application, an instant messenger application, a presentation application, an Internet browser application, a calendar/organizer application, a video playing application, an audio playing application, an image display application, a file management program, an operating system shell, and other applications capable of being executed by a client device. Client applications may also include client-side applications that interact with or accesses other applications (such as, for example, a web-browser executing on the client device 102a that interacts with a remote e-mail server to access e-mail).
The user 112a can interact with the various client applications 120 and articles associated with the client applications 120 via various input and output devices of the client device 102a. Articles include, for example, word processor documents, spreadsheet documents, presentation documents, emails, instant messenger messages, database entries, calendar entries, appointment entries, task manager entries, source code files, and other client application program content, files, messages, items, web pages of various formats, such as HTML, XML, XHTML, Portable Document Format (PDF) files, and media files, such as image files, audio files, and video files, or any other documents or items or groups of documents or items or information of any suitable type whatsoever.
The user's 112a interaction with articles, the client applications 120, and the client device 102a creates event data that may be observed, recorded, analyzed or otherwise used. An event can be any occurrence possible associated with an article, client application 120, or client device 102a, such as inputting text in an article, displaying an article on a display device, sending an article, receiving an article, manipulating an input device, opening an article, saving an article, printing an article, closing an article, opening a client application program, closing a client application program, idle time, processor load, disk access, memory usage, bringing a client application program to the foreground, changing visual display details of the application (such as resizing or minimizing) and any other suitable occurrence associated with an article, a client application program, or the client device whatsoever. Additionally, event data can be generated when the client device 102a interacts with an article independent of the user 112a, such as when receiving an email or performing a scheduled task.
The memory 108 of the client device 102a can also contain a capture processor 124, a queue 126, and a search engine 122. The client device 102a can also contain or is in communication with a data store 140. The capture processor 124 can capture events and pass them to the queue 126. The queue 126 can pass the captured events to the search engine 122 or the search engine 122 can retrieve new events from the queue 126. In one embodiment, the queue 126 notifies the search engine 122 when a new event arrives in the queue 126 and the search engine 122 retrieves the event (or events) from the queue 126 when the search engine 122 is ready to process the event (or events). When the search engine receives an event it can be processed and can be stored in the data store 140. The search engine 122 can receive an explicit query from the user 112a or generate an implicit query and it can retrieve information from the data store 140 in response to the query. In another embodiment, the queue is located in the search engine 122. In still another embodiment, the client device 102a does not have a queue and the events are passed from the capture processor 124 directly to the search engine 122. According to other embodiments, the event data is transferred using an information exchange protocol. The information exchange protocol can comprise, for example, any suitable rule or convention facilitating data exchange, and can include, for example, any one of the following communication mechanisms: Extensible Markup Language-Remote Procedure Calling protocol (XML/RPC), Hypertext Transfer Protocol (HTTP), Simple Object Access Protocol (SOAP), shared memory, sockets, local or remote procedure calling, or any other suitable information exchange mechanism.
The capture processor 124 can capture an event by identifying and extracting event data associated with an event. Examples of events include sending or receiving an instant messenger message, a user viewing a web page, saving a word processing document, printing a spreadsheet document, inputting text to compose or edit an email, opening a presentation application, closing an instant messenger application, entering a keystroke, moving the mouse, and hovering the mouse over a hyperlink. An example of event data captured by the capture processor 124 for an event involving the viewing of a web page by a user includes the URL of the web page, the time and date the user viewed the web page, and the content of the web page.
In one embodiment, the capture processor 124 may comprise multiple capture components. For example, the capture processor 124 can comprise a separate capture component for each client application in order to capture events associated with each application. The capture processor 124 can also comprise a separate capture component to monitor and capture keystrokes input by the user and a separate capture component that can monitor and capture items, such as text, displayed on a display device associated with the client device 102a. The keystroke capture component and the display capture component can be used to capture events when a client application capture component is not available for a client application or in conjunction with a client application capture component. The keystroke capture component can also contain or access a keystroke database. The keystroke database can provide correlation between keystrokes and actions for applications. The keystroke capture component and the display capture component can also contain or access a history of previous keyboard or display events.
In one embodiment, the capture processor 124 can comprise a separate capture component that monitors overall network activity in order to capture event data associated with network activity, such as the receipt of an instant messenger message. The capture processor 124 can comprise a separate capture component that monitors overall client device performance data, such as processor load, idle time, disk access, the client applications in use, and the amount of memory available. An individual capture component can monitor multiple client applications and multiple capture components can monitor different aspects of a single client application.
In one embodiment, the capture processor 124, through the individual capture components, can monitor activity on the client device and can capture events by a generalized event definition and registration mechanism, such as an event schema. Each capture component can define its own event schema or can use a predefined one. Event schemas can differ depending on the client application or activity the capture component is monitoring. Generally, the event schema can describe the format for an event, for example, by providing fields for event data associated with the event (such as time of the event) and fields related to any associated article (such as title) as well as the content of any associated article (such as document body). An event schema can describe the format for any suitable event data that relates to an event. For example, an event schema for user input, such as words typed or displayed to a display device, can include the application used for the input, the format of the text, the words and other items input, and the time input. An event schema for an email event received by a user can include header information, such as the content from the subject, to, from, cc, and time received fields, and body information. An event schema for a web page currently being viewed by a user can include the Uniform Resource Locator (URL) of the web page, the time being viewed, and the content of the web page. An event schema for a word processing document being saved by a user can include the title of the document, the time saved, the location of the document, the format of the document, the text of the document, and a pointer to the location of the document.
In one embodiment, the keyboard capture component may not use an event schema. Rather, in this embodiment, the keyboard capture component can convert keystrokes to a sequence of words and then can pass the sequence of words to another component, such as the word processing capture component. The word processing capture can use an event schema to express information sent by the keystroke capture component.
More generally, an event schema can describe the state of the system around the time of the event. For example, an event schema can contain a URL for a web page event associated with a previous web page that the user navigated from. In addition, event schema can describe fields with more complicated structure like lists. For example, an event schema can contain fields that list multiple recipients. An event schema can also contain optional fields so that an application can include additional event data if desired.
The capture processor 124 can capture events occurring presently (or “real-time events”) and can capture events that have occurred in the past (or “historical events”). Real-time events can be “indexable” or “non-indexable”. In one embodiment, the search engine 122 indexes indexable real-time events, but does not index non-indexable real-time events. The search engine 122 may determine whether to index an event based on the importance of the event. Indexable real-time events can be more important events associated with an article, such as viewing a web page, loading or saving a file, and receiving or sending an instant message or email. Non-indexable events can be deemed not important enough by the search engine 122 to index and store the event, such as moving the mouse or selecting a portion of text in an article. Non-indexable events can be used by the search engine 122 to update the current user state. While all real-time events can relate to what the user is currently doing (or the current user state), indexable real-time events can be indexed and stored in the data store 140. Alternatively, the search engine 122 can index all real-time events. Real-time events can include, for example, sending or receiving an article, such as an instant messenger message, examining a portion of an article, such as selecting a portion of text or moving a mouse over a portion of a web page, changing an article, such as typing a word in an email or pasting a sentence in a word processing document, closing an article, such as closing an instant messenger window or changing an email message being viewed, loading, saving, opening, or viewing an article, such as a word processing document, web page, or email, listening to or saving an MP3 file or other audio/video file, or updating the metadata of an article, such as book marking a web page, printing a presentation document, deleting a word processing document, or moving a spreadsheet document.
Historical events are similar to indexable real-time events except that the event occurred before the installation of the search engine 122 or was otherwise not captured, because, for example, the search engine 122 was not operational for a period of time while the client device 102a was operational or because no capture component existed for a specific type of historical event at the time the event took place. Examples of historical events include the user's saved word processing documents, media files, presentation documents, calendar entries, and spreadsheet documents, the emails in a user's inbox, and the web pages bookmarked by the user. The capture processor 124 can capture historical events by periodically crawling the memory 108 and any associated data storage device for events not previously captured by the capture processor 124. The capture processor 124 can also capture historical events by requesting certain client applications, such as a web browser or an email application, to retrieve articles and other associated information. For example, the capture processor 124 can request that the web browser application obtain all viewed web pages by the user or request that the email application obtain all email messages associated with the user. These articles may not currently exist in memory 108 or on a storage device of the client device 102a. For example, the email application may have to retrieve emails from a server device. In one embodiment, the search engine 122 indexes historical events.
In the embodiment shown in
In one embodiment, the queue 126 holds events until the search engine 122 is ready to process an event or events. Alternatively, the queue 126 uses the performance data to help determine how quickly to provide the events to the search engine 122. The queue 126 can comprise one or more separate queues including a user state queue and an index queue. The index queue can queue indexable events, for example. Alternatively, the queue 126 can have additional queues or comprise a single queue. The queue 126 can be implemented as a circular priority queue using memory mapped files. The queue can be a multiple-priority queue where higher priority events are served before lower priority events, and other components may be able to specify the type of events they are interested in. Generally, real-time events can be given higher priority than historical events, and indexable events can be given higher priority than non-indexable real-time events. Other implementations of the queue 126 are possible. In another embodiment, the client device 102a does not have a queue 126. In this embodiment, events are passed directly from the capture processor 124 to the search engine 122. In other embodiments, events can be transferred between the capture components and the search engine using suitable information exchange mechanisms such as: Extensible Markup Language-Remote Procedure Calling protocol (XML/RPC), Hypertext Transfer Protocol (HTTP), Simple Object Access Protocol (SOAP), shared memory, sockets, local or remote procedure calling, or any other suitable information exchange mechanism.
The search engine 122 can contain an indexer 130, a query system 132, and a formatter 134. The query system 132 can retrieve all real-time events and performance data from the queue 126. The query system 132 can use performance data and real-time events to update the current user state and generate an implicit query. An implicit query can be an automatically generated query based on the current user state. The query system 132 can also receive and process explicit queries from the user 112a. Performance data can also be retrieved by the search engine 122 from the queue 126 for use in determining the amount of activity possible by the search engine 122.
In the embodiment shown in
In the embodiment shown in
The indexer 130 can send and incorporate the terms and times, associated with the event in the index 142 of the data store 140. The event can be sent to the database 144 for storage and the content of the associated article and any associated images can be stored in the repository 146. The conversation object associated with instant messenger messages can be stored in the database 144.
In the embodiment shown in
The formatter 134 can receive the search result set from the query system 132 of the search engine 122 and can format the results for output to a display processor 128. In one embodiment, the formatter 134 can format the results in XML, HTML, or tab delineated text. The display processor 128 can be contained in memory 108 and can control the display of the result set on a display device associated with the client device 102a. The display processor 128 may comprise various components. For example, in one embodiment, the display processor 128 comprises a Hypertext Transfer Protocol (HTTP) server that receives requests for information and responds by constructing and transmitting Hypertext Markup Language (HTML) pages. In one such embodiment, the HTTP server comprises a scaled-down version of the Apache Web server. The display processor 128 can be associated with a set of APIs to allow various applications to receive the results and display them in various formats. The display APIs can be implemented in various ways, including, for example as, DLL exports, COM interface, VB, JAVA, or .NET libraries, or as a web service.
Through the client devices 102a-n, users 112a-n can communicate over the network 106, with each other and with other systems and devices coupled to the network 106. As shown in
The server device 150 can include a server executing a search engine application program, such as the Google™ search engine. In other embodiments, the server device 150 can comprise a related information server or an advertising server. Similar to the client devices 102a-n, the server device 150 can include a processor 160 coupled to a computer-readable memory 162. Server device 150, depicted as a single computer system, may be implemented as a network of computer processors. Examples of a server device 150 are servers, mainframe computers, networked computers, a processor-based device, and similar types of systems and devices. The server processor 160 can be any of a number of computer processors, such as processors from Intel Corporation of Santa Clara, Calif. and Motorola Corporation of Schaumburg, Ill. In another embodiment, the server device 150 may exist on a client-device. In still another embodiment, there can be multiple server devices 150.
Memory 162 contains the search engine application program, also known as a network search engine 170. The search engine 170 can locate relevant information from the network 106 in response to a search query from a client device 102a. The search engine 170 then can provide a result set to the client device 102a via the network 106. The result set can comprise one or more article identifiers. An article identifier may be, for example, a Uniform Resource Locator (URL), a file name, a link, an icon, a path for a local file, or anything else that identifies an article. In one embodiment, an article identifier can comprise a URL associated with an article.
In one embodiment, the server device 150, or related device, has previously performed a crawl of the network 106 to locate articles, such as web pages, stored at other devices or systems coupled to the network 106, and indexed the articles in memory 162 or on another data storage device.
It should be noted that other embodiments of the present invention may comprise systems having different architecture than that which is shown in
Various methods in accordance with the present invention may be carried out. For example, in one embodiment, a plurality of keystrokes associated with an application is received, each keystroke is processed to determine an associated action forming a plurality of associated actions, and an event is determined based at least in part on the plurality of associated actions. An application in focus can first be determined.
In one embodiment, the event can be a number of words and it can be determined that the plurality of associated actions forms a word or words. The word or words can be determined at least in part by the receipt of at least one keystroke indicating a space or a punctuation symbol. In another embodiment, the event can be a number of characters and it can be determined that the plurality of associated actions form a character or characters.
In one embodiment, a capture state can be updated after each keystroke is processed. In one embodiment, a current user state can be updated based at least in part on the event. The event can be indexed and stored.
In one embodiment, each associated action can be determined at least in part by matching the keystroke to an entry in a keystroke table and determining an action in the keystroke table associated with the entry. The action can comprise one of adding a character to a word, deleting a character from a word, inserting a character, overwriting a character, deleting a word, deleting a paragraph, selecting an item, and repositioning the cursor. The keystroke table can be associated with the application or can be a generic keystroke table.
In another embodiment, a plurality of keystrokes are received associated with an application, an event is determined based on user input, and it is determined whether to index the event. User input can be one or more of a number of words determined from the plurality of keystrokes, a number of characters determined from the plurality of keystrokes, and a change is focus from the application to another application. Whether to index the event can comprise determining whether the event is important to the user.
In another embodiment, a plurality of display calls associated with an application are received, the plurality of display calls are processed to determine a display, and an event is determined based at least in part on the display. The display can be determined at least in part by using an array of a current state of the display and updating the array with the display call and can be determined at least in part by constructing display items based at least in part on display positions of the display calls. The plurality of display calls can be processed by one or more of analyzing one or more of the x,y coordinates, lengths, and relative positions of a plurality of items written to the display using display calls.
In one embodiment, an application in focus is first determined. In one embodiment, the event is a number of words and it can be determined that the display includes a word or words. In one embodiment, a capture state can be updated after each display call is processed and a current user state can be updated based at least in part on the event.
In one embodiment, it can be determined whether to index the event and the event can be indexed and stored if it is so determined.
In 202, the capture processor 124 captures an event. The capture processor 124 can capture an event by identifying and compiling event data associated with the event upon the occurrence of the event. The capture processor 124 may have separate capture components for each client application, network monitoring, performance data capture, keystroke capture, and display capture. For example, an event can occur when a user 112a types a predetermined number of words in a client application. The event data associated with this event can be, for example, the application used for the input, the format of the text, the words input, and the time input. In one embodiment, the capture component can use a generalized event definition mechanism, such as an event schema that it has previously registered with the client device 102a, to capture or express the event.
In 303, the keystroke capture component is called. The keystroke capture component can operate regularly or even constantly so that it monitors all keystroke activity or can be selectively called by the capture processor 124 or other capture components when needed or at various times. In 304, the keystroke capture component can determine the client application in focus. The application in focus is the client application currently being used by the user 112a. For example, it can be the client application that the user 112a is inputting text in. In one embodiment, the application in focus is determined so that the keystroke capture component can use the keystroke table associated with the application in focus from the keystroke database. For example, if the application in focus is a specific word processing application, the keystroke capture component can call up the corresponding specific word processing application keystroke table.
In 306, the event data is reset by the keystroke capture component. In one embodiment, event data is complied in an event in a format defined by an event schema and the keystroke capture component can register a specific keystroke capture event schema and resetting the event comprises clearing out any existing event data. A counter N can also be reset. In one embodiment, the counter counts the number of words captured by the keystroke capture component. In such embodiment, when the event is reset the counter is reset to zero.
In 308, the keystroke capture component captures a keystroke input by the user 112a. A user can input a keystroke through a variety of input devices, such as a keyboard. A keystroke can include a single key input or a multiple key input and can include a text input and an editing command input. For example, a keystroke can include the “G” key and the “Shift” and the “G” keys. A keystroke can also include the “Backspace” key and the “Control” and “Backspace” keys. The keystroke capture component can receive a keystroke by receiving keystroke messages through an application callback that can be invoked by the operating system. The keystroke capture component can also receive a keystroke through monitoring an input buffer, such as a keyboard buffer, at the operating system level. Other methods of inputting characters, such as handwriting, can be captured.
In 310, the keystroke capture component processes the keystroke. In the embodiment shown, the keystroke capture component processes the received keystroke by matching the keystroke to an entry in the keystroke table for the specific application in focus and determining the respective action for the keystroke. For example, if the received keystroke is the “SHIFT” key and the “G” key in a specific word processing application, the keystroke capture component matches the “SHIFT” key and the “G” key in the keystroke table for the specific application and can determine the associated action, for example, the output of the letter “G”. If the received keystroke is the “Control” and “Backspace” keys, the keystroke capture component can match these keys with the respective action in the keystroke table for the specific application and determine the associated action, for example, the action of deleting the word preceding the cursor. Other possible actions include moving the cursor up or down one line, moving the cursor up or down one paragraph, and moving the cursor to the beginning or end of a document, for example. The keystroke capture component can keep track of the current position of the cursor with respect to previous characters entered. For example, if the user types 5 characters, hits “left arrow” three times, types one character, and hits “right arrow” three times, the component can identify that the user went back and inserted a character in the word (for applications where “left arrow” corresponds with moving the cursor back one character). The component can further keep track of whether each application is in “insert” mode, so that it knows if new characters overlay any existing characters.
In another embodiment, the keystroke capture component may not process the keystrokes directly. Instead, the keystroke capture component may first pass keystrokes to the operating system, as if the user had actively sent them to the keyboard capture component, and not an application. In this way, the operating system can do the work of translating keystrokes into higher level messages (characters, key movement, etc.), and can then return these messages to the keystroke capture component for further processing. Sending keystrokes to the operating system for intermediate processing, instead of processing them directly, may be advantageous for several reasons. For example, it may avoid some of the difficulties of handling multi-keystroke characters (including non-English character entry), and it may ensure keystrokes get processed in a manner that is consistent with operating system behavior.
In 312, the keystroke capture component adds the processed keystroke to the event data. In the embodiment shown, the keystroke capture component captures event data in as described by the event schema and the processed keystroke is added to the event data. For example, if the processed keystroke indicates the addition of the letter G, the letter G is added to the event data. If the processed keystroke indicates to delete the word preceding the cursor and a word is contained in the event data this word can be deleted. Additionally, the keystroke capture component can add the processed keystroke to a capture state. The keystroke capture component can maintain the capture state containing previous keystrokes as it is determined what recent word(s) the user has entered. The capture state can be updated before an event is generated.
In 314, the keystroke capture component determines if a complete word has been added to the event. A word can be a series of characters representing a spoken word, abbreviation, term, or semantic unit. For example, “WORLD SERIES”, “ASCII”, “MR” and “GOOGLE” can be words. The keystroke capture component can determine if a complete word has been entered by a variety of methods. In one embodiment, the keystroke capture component looks for a series of characters followed by a space, such as “GOOGLE”, or certain punctuation characters, such as “GOOGLE,” to determine if a complete word has been entered. If a complete word has not been entered, then the keystroke capture component goes to step 316. In 316, the keystroke capture component can determine whether the application previously in focus is still in focus or if the application in focus has changed and another application is now in focus. If the application in focus has not changed, the keystroke capture component returns to step 308 and receives another keystroke. If the application in focus has changed, the keystroke capture component returns to step 304 and determines the current application in focus. If the keystroke capture component identifies an action such as moving the cursor up one line, it may update the capture state to reflect the new cursor location. If the keystroke capture component does not have the capture state for that location, or cannot accurately pinpoint the new location, it may simply reset any partially captured word. As another example, the keystroke “shift left arrow” may select the previous character in a particular application. The keystroke capture component can recognize this action and possible subsequent actions such as deleting the selection or pasting the selection elsewhere in the document.
If, in step 314, the keystroke capture component determines that a complete word has been received, then in step 318 the counter N is incremented by one. In step 320, the capture processor determines if the counter N equals an integer T. The integer T can be, for example, a number of words. The number of words can be predetermined or can be determined based on a variety of suitable factors, such as the current application in focus or other user activity. In one example, T equals one so that the keystroke capture component may create an event upon the identification of each word entered by the user 112a. Alternatively, T can be a number of characters. Like the number of words, the number of characters can be predetermined or can be determined based on a variety of suitable factors. If, in step 320, N is found not to equal T, then the keystroke capture component goes to step 316, where the keystroke capture component determines if the application in focus has changed. If the keystroke capture component determines that N does equal T, then the keystroke capture component proceeds to step 322. For example, if N is a counter counting the number of words captured and T is set to one and “GOGGLE” is received, then the keystroke capture component proceeds to step 322.
In 322, the keystroke capture component compiles the event. In the embodiment shown, the keystroke capture component compiles the event by compiling the event data associated with specific fields described by the event schema. For example, the event data can include the application used for the input, the format of the text, the word or words input, and the time input. When the keystroke capture component has compiled the event, the method 200 can continue at step 204 as shown in
In 402, the display capture component determines the application in focus. The application in focus is the client application currently being used by the user 112a. For example, in a windows based operating system environment the display capture component determines which window the user is actively using.
In 404, the display capture component resets the event. The display capture component resets an event for a variety of reasons, such as the user has switched the application in focus, an event has been captured and sent to the queue 126, or a variety of other reasons. In one embodiment, the display capture component captures an event by placing event data in an event format according to an event schema and can reset the event by indicating a new event. In one embodiment, any existing event data previously determined and associated with a previous event may be saved. The existing event data can be saved in a capture state maintained by the display capture component. In another embodiment, the indication of a new event may trigger the sending of the existing event data in an event to the queue 126, for example.
In 406, the display capture component receives a display call. A display call can be an instruction sent by the operating system to the display device associated with the client device that instructs the display device to display an item or change the display of an item on the display device. For example, the display call can be to display the text “Google” in font “Times New Roman” at a display position, such as position x,y. This display call can, for example, cause the display on the screen of a computer monitor of the text “Google” at the position x,y in the active window and in the font “Times New Roman”. A display call can also be, for example, to delete an item at a given position, change the font of a word, or change the position of an item on the display. The display calls can be determined by injecting code into applications or through the use of Dynamic Link Libraries (DLL) to hook and intercept operating system Application Programming Interface (API) calls. Other methods of output, such as calls to a printer driver, can be captured.
In 408, the display capture component processes the display call to determine the current display. The display can be what the user sees in the current display window. In the embodiment shown, the display capture component keeps an array of items that have been written in the current display. The display capture component can use the x and y coordinates of the items to determine words, spaces between words and the beginning of a new line. The display call may be used by the display capture component to update the array of the current display. For example, if the display call is to write the text “Google” in font “Times New Roman” at position x,y then the text “Google” in font “Times New Roman” is added to the display at position x,y. The updated array associated with the current display can then be added to the event. The capture state can also be updated with the updated array by the display capture component.
In 410, the display capture component determines whether a complete event has occurred. For example, an event can occur after a single word is added to the display on the display device. Alternatively, an event can occur after a predetermined number of words have been displayed. The display capture component can use the updated array of displayed items by using the x and y coordinates of items in the array to determine words and spaces between words to determine if an event has occurred. If the display capture component determines that a complete event has not yet occurred, then the display capture component proceeds to step 412. In 412, the display capture component determines whether the application in focus has changed. If the application in focus has not changed, the display capture component receives the next display call at 406. If the application in focus has changed, the display capture component determines the application in focus at 402.
If the display capture component determines that a complete event has occurred then the display capture component proceeds to 414. In 414, the display capture component can compile the event. In the embodiment shown the display capture component compiles the event by providing all the event data described in an event schema. For example, the event data can include the application used, the format of the display, the time of display, the content displayed, the font and font size of any words displayed and any other data that can be used to define the event. Once the event is captured, the method proceeds with step 204 in
Returning to
If an indexable event is determined, then, in 206, the event can be sent by the capture processor 124 to the queue 126 with an indication that it is an indexable event. In the embodiment shown in
If the event is determined to be a non-indexable event, then, in 206, the non-indexable event can be sent by the capture processor 124 to the user state queue of the queue 126 with an indication that it is not to be indexed. For example, when a user is composing an email a capture component can capture a number of words input by the user in the composition of the email. A capture component can capture the input text as an event. While this event can be helpful in determining a current state of the user 112a, it may not be important enough to be indexed and sent for storage by the search engine, so that the user may later retrieve this information. Alternatively, for an example where a user opens a received email, while this event can provide information on a current user state, it can also be indexed and sent for storage by the search engine 122, because the user 112a may later be interested in retrieving this email.
In one embodiment, the queue 126 holds the event until the search engine is ready to receive it. Based on the event data, the event can be prioritized on the queue 126 for handling. For example, historical events are given a lower priority for processing by the queue 126 than real-time events. In one embodiment, when the indexer 130 is ready to process another event, it can retrieve an event or events from the index queue in the queue 126. The query system 132 can retrieve an event or events from the user state queue of the queue 126, when it is ready to update the user state. In another embodiment, a queue is not used and events are sent directly to the search engine 122 from the capture processor 124.
In 208, the indexer 130 indexes and stores the event. The indexer 130 can retrieve an event from the queue 126 when it is ready to process the event. In one embodiment, the indexer 130 determines if the event is a duplicate event and if not assigns an Event ID to the event. The indexer 130 can also associate the event with related events. In the embodiment shown in
The environment shown reflects a client-side search engine architecture embodiment. Other embodiments are possible, such as a stand alone client device or a network search engine.
While the above description contains many specifics, these specifics should not be construed as limitations on the scope of the invention, but merely as exemplifications of the disclosed embodiments. Those skilled in the art will envision many other possible variations that are within the scope of the invention.
Number | Name | Date | Kind |
---|---|---|---|
4410957 | Cason et al. | Oct 1983 | A |
5280612 | Lorie et al. | Jan 1994 | A |
5305205 | Weber et al. | Apr 1994 | A |
5321838 | Hensley et al. | Jun 1994 | A |
5539809 | Mayer et al. | Jul 1996 | A |
5555346 | Gross et al. | Sep 1996 | A |
5566336 | Futatsugi et al. | Oct 1996 | A |
5592378 | Cameron et al. | Jan 1997 | A |
5623652 | Vora et al. | Apr 1997 | A |
5701469 | Brandli et al. | Dec 1997 | A |
5742816 | Barr et al. | Apr 1998 | A |
5748954 | Mauldin | May 1998 | A |
5781192 | Kodimer | Jul 1998 | A |
5793948 | Asahi et al. | Aug 1998 | A |
5819273 | Vora et al. | Oct 1998 | A |
5845300 | Comer et al. | Dec 1998 | A |
5872976 | Yee et al. | Feb 1999 | A |
5881315 | Cohen | Mar 1999 | A |
5907836 | Sumita et al. | May 1999 | A |
5956722 | Jacobson | Sep 1999 | A |
5961610 | Kelly et al. | Oct 1999 | A |
5964839 | Johnson et al. | Oct 1999 | A |
6006222 | Culliss | Dec 1999 | A |
6014665 | Culliss | Jan 2000 | A |
6055579 | Goyal et al. | Apr 2000 | A |
6073130 | Jacobson et al. | Jun 2000 | A |
6078916 | Culliss | Jun 2000 | A |
6115802 | Tock et al. | Sep 2000 | A |
6119147 | Toomey et al. | Sep 2000 | A |
6175830 | Maynard | Jan 2001 | B1 |
6182065 | Yeomans | Jan 2001 | B1 |
6182068 | Culliss | Jan 2001 | B1 |
6184880 | Okada | Feb 2001 | B1 |
6199067 | Geller | Mar 2001 | B1 |
6202065 | Wills | Mar 2001 | B1 |
6209000 | Klein et al. | Mar 2001 | B1 |
6226630 | Billmers | May 2001 | B1 |
6236768 | Rhodes et al. | May 2001 | B1 |
6236978 | Tuzhilin | May 2001 | B1 |
6240548 | Holzle et al. | May 2001 | B1 |
6269369 | Robertson | Jul 2001 | B1 |
6275820 | Navin-Chandra et al. | Aug 2001 | B1 |
6275957 | Novik et al. | Aug 2001 | B1 |
6282548 | Burner et al. | Aug 2001 | B1 |
6321228 | Crandall et al. | Nov 2001 | B1 |
6341371 | Tandri | Jan 2002 | B1 |
6347374 | Drake et al. | Feb 2002 | B1 |
6349299 | Spencer et al. | Feb 2002 | B1 |
6363373 | Steinkraus | Mar 2002 | B1 |
6380924 | Yee et al. | Apr 2002 | B1 |
6393421 | Paglin | May 2002 | B1 |
6393438 | Kathrow et al. | May 2002 | B1 |
6401239 | Miron | Jun 2002 | B1 |
6446076 | Burkey et al. | Sep 2002 | B1 |
6477585 | Cohen et al. | Nov 2002 | B1 |
6480837 | Dutta | Nov 2002 | B1 |
6490577 | Anwar | Dec 2002 | B1 |
6513036 | Fruensgaard et al. | Jan 2003 | B2 |
6526405 | Mannila et al. | Feb 2003 | B1 |
6532023 | Schumacher et al. | Mar 2003 | B1 |
6560655 | Grambihler et al. | May 2003 | B1 |
6564213 | Ortega et al. | May 2003 | B1 |
6581056 | Rao | Jun 2003 | B1 |
6592627 | Agrawal et al. | Jul 2003 | B1 |
6604236 | Draper et al. | Aug 2003 | B1 |
6631345 | Schumacher et al. | Oct 2003 | B1 |
6658423 | Pugh et al. | Dec 2003 | B1 |
6681247 | Payton | Jan 2004 | B1 |
6684250 | Anderson et al. | Jan 2004 | B2 |
6691175 | Lodrige et al. | Feb 2004 | B1 |
6694353 | Sommerer | Feb 2004 | B2 |
6697838 | Jakobson | Feb 2004 | B1 |
6707471 | Funaki | Mar 2004 | B2 |
6708293 | Kaler et al. | Mar 2004 | B2 |
6728763 | Chen | Apr 2004 | B1 |
6772143 | Hung | Aug 2004 | B2 |
6779030 | Dugan et al. | Aug 2004 | B1 |
6782381 | Nelson et al. | Aug 2004 | B2 |
6820075 | Shanahan et al. | Nov 2004 | B2 |
6826553 | DaCosta et al. | Nov 2004 | B1 |
6850934 | Bates et al. | Feb 2005 | B2 |
6853950 | O'Reilly et al. | Feb 2005 | B1 |
6864901 | Chang et al. | Mar 2005 | B2 |
6865715 | Uchino et al. | Mar 2005 | B2 |
6873982 | Bates et al. | Mar 2005 | B1 |
6877027 | Spencer et al. | Apr 2005 | B1 |
6879691 | Koretz | Apr 2005 | B1 |
6901378 | Linker et al. | May 2005 | B1 |
6907577 | Tervo | Jun 2005 | B2 |
6934740 | Lawande et al. | Aug 2005 | B1 |
6957229 | Dyor | Oct 2005 | B1 |
6963830 | Nakao | Nov 2005 | B1 |
6968509 | Chang et al. | Nov 2005 | B1 |
6981040 | Konig et al. | Dec 2005 | B1 |
6983310 | Rouse et al. | Jan 2006 | B2 |
6985913 | Murata | Jan 2006 | B2 |
6999957 | Zamir et al. | Feb 2006 | B1 |
7016919 | Cotton et al. | Mar 2006 | B2 |
7080073 | Jiang et al. | Jul 2006 | B1 |
7096255 | Malik | Aug 2006 | B2 |
7099887 | Hoth et al. | Aug 2006 | B2 |
RE39326 | Comer et al. | Oct 2006 | E |
7162473 | Dumais et al. | Jan 2007 | B2 |
7188316 | Gusmorino et al. | Mar 2007 | B2 |
7200802 | Kawatani | Apr 2007 | B2 |
7233948 | Shamoon et al. | Jun 2007 | B1 |
7240049 | Kapur | Jul 2007 | B2 |
7245910 | Osmo | Jul 2007 | B2 |
7249158 | Naitou | Jul 2007 | B2 |
7257822 | Sambhus et al. | Aug 2007 | B1 |
7265858 | Park et al. | Sep 2007 | B2 |
7328242 | McCarthy et al. | Feb 2008 | B1 |
7330536 | Claudatos et al. | Feb 2008 | B2 |
7337448 | Dalia et al. | Feb 2008 | B1 |
7343365 | Farnham et al. | Mar 2008 | B2 |
7376640 | Anderson et al. | May 2008 | B1 |
7383307 | Kirkland et al. | Jun 2008 | B2 |
7412491 | Gusler et al. | Aug 2008 | B2 |
7437444 | Houri | Oct 2008 | B2 |
7457872 | Aton et al. | Nov 2008 | B2 |
7467390 | Gilgen et al. | Dec 2008 | B2 |
7475406 | Banatwala et al. | Jan 2009 | B2 |
7499974 | Karstens | Mar 2009 | B2 |
7500249 | Kampe et al. | Mar 2009 | B2 |
7546602 | Hejlsberg et al. | Jun 2009 | B2 |
7562367 | Arad | Jul 2009 | B1 |
7577667 | Hinshaw et al. | Aug 2009 | B2 |
7602382 | Hinckley et al. | Oct 2009 | B2 |
20010016852 | Peairs et al. | Aug 2001 | A1 |
20020042789 | Michalewicz et al. | Apr 2002 | A1 |
20020049608 | Hartsell et al. | Apr 2002 | A1 |
20020056089 | Houston | May 2002 | A1 |
20020059245 | Zakharov et al. | May 2002 | A1 |
20020059425 | Belfiore et al. | May 2002 | A1 |
20020065802 | Uchiyama | May 2002 | A1 |
20020073076 | Xu et al. | Jun 2002 | A1 |
20020078256 | Gehman et al. | Jun 2002 | A1 |
20020087507 | Hopewell et al. | Jul 2002 | A1 |
20020091568 | Kraft et al. | Jul 2002 | A1 |
20020091972 | Harris et al. | Jul 2002 | A1 |
20020103664 | Olsson et al. | Aug 2002 | A1 |
20020116291 | Grasso et al. | Aug 2002 | A1 |
20020138467 | Jacobson et al. | Sep 2002 | A1 |
20020156760 | Lawrence et al. | Oct 2002 | A1 |
20020165903 | Zargham et al. | Nov 2002 | A1 |
20020174101 | Fernley et al. | Nov 2002 | A1 |
20020178383 | Hrabik et al. | Nov 2002 | A1 |
20020184224 | Haff et al. | Dec 2002 | A1 |
20020184406 | Aliffi | Dec 2002 | A1 |
20030001854 | Jade et al. | Jan 2003 | A1 |
20030018521 | Kraft et al. | Jan 2003 | A1 |
20030023586 | Knorr | Jan 2003 | A1 |
20030028506 | Yu | Feb 2003 | A1 |
20030028896 | Swart et al. | Feb 2003 | A1 |
20030036848 | Sheha et al. | Feb 2003 | A1 |
20030041112 | Tada et al. | Feb 2003 | A1 |
20030050909 | Preda et al. | Mar 2003 | A1 |
20030055816 | Paine et al. | Mar 2003 | A1 |
20030055828 | Koch et al. | Mar 2003 | A1 |
20030088433 | Young et al. | May 2003 | A1 |
20030097361 | Huang et al. | May 2003 | A1 |
20030123442 | Drucker et al. | Jul 2003 | A1 |
20030123443 | Anwar | Jul 2003 | A1 |
20030126136 | Omoigui | Jul 2003 | A1 |
20030130984 | Quinlan et al. | Jul 2003 | A1 |
20030131000 | Bates et al. | Jul 2003 | A1 |
20030149694 | Ma et al. | Aug 2003 | A1 |
20030154071 | Shreve | Aug 2003 | A1 |
20030167266 | Saldanha et al. | Sep 2003 | A1 |
20030182480 | Varma et al. | Sep 2003 | A1 |
20030187837 | Culliss | Oct 2003 | A1 |
20030233366 | Kesselman | Dec 2003 | A1 |
20040002959 | Alpert et al. | Jan 2004 | A1 |
20040003038 | Huang et al. | Jan 2004 | A1 |
20040031027 | Hiltgen | Feb 2004 | A1 |
20040054737 | Daniell | Mar 2004 | A1 |
20040064447 | Simske et al. | Apr 2004 | A1 |
20040093317 | Swan | May 2004 | A1 |
20040095852 | Griner et al. | May 2004 | A1 |
20040098609 | Bracewell et al. | May 2004 | A1 |
20040103409 | Hayner et al. | May 2004 | A1 |
20040128285 | Green et al. | Jul 2004 | A1 |
20040133560 | Simske | Jul 2004 | A1 |
20040133561 | Burke | Jul 2004 | A1 |
20040143569 | Gross et al. | Jul 2004 | A1 |
20040155910 | Chang et al. | Aug 2004 | A1 |
20040168150 | Ziv | Aug 2004 | A1 |
20040186848 | Kobashikawa et al. | Sep 2004 | A1 |
20040186896 | Daniell et al. | Sep 2004 | A1 |
20040187075 | Maxham et al. | Sep 2004 | A1 |
20040193596 | Defelice et al. | Sep 2004 | A1 |
20040203642 | Zatloufai et al. | Oct 2004 | A1 |
20040205773 | Carcido et al. | Oct 2004 | A1 |
20040215715 | Ehrich et al. | Oct 2004 | A1 |
20040230572 | Omoigui | Nov 2004 | A1 |
20040235520 | Cadiz et al. | Nov 2004 | A1 |
20040254928 | Vronay et al. | Dec 2004 | A1 |
20040254938 | Marcjan et al. | Dec 2004 | A1 |
20040255301 | Turski et al. | Dec 2004 | A1 |
20040261026 | Corson | Dec 2004 | A1 |
20040267700 | Dumais et al. | Dec 2004 | A1 |
20040267756 | Bayardo et al. | Dec 2004 | A1 |
20050021542 | Irle et al. | Jan 2005 | A1 |
20050033803 | Vleet et al. | Feb 2005 | A1 |
20050050547 | Whittle et al. | Mar 2005 | A1 |
20050057584 | Gruen et al. | Mar 2005 | A1 |
20050060310 | Tong et al. | Mar 2005 | A1 |
20050060719 | Gray et al. | Mar 2005 | A1 |
20050076115 | Andrews et al. | Apr 2005 | A1 |
20050108213 | Riise et al. | May 2005 | A1 |
20050108332 | Vaschillo et al. | May 2005 | A1 |
20050114021 | Krull et al. | May 2005 | A1 |
20050114487 | Peng et al. | May 2005 | A1 |
20050192921 | Chaudhuri et al. | Sep 2005 | A1 |
20050251526 | Nayak | Nov 2005 | A1 |
20050262073 | Reed et al. | Nov 2005 | A1 |
20060031365 | Kay et al. | Feb 2006 | A1 |
20060085750 | Easton et al. | Apr 2006 | A1 |
20060106778 | Baldwin | May 2006 | A1 |
20060167704 | Nicholls et al. | Jul 2006 | A1 |
20060190470 | Lemnotis | Aug 2006 | A1 |
20060224553 | Chtcherbatchenko et al. | Oct 2006 | A1 |
20060288075 | Wu | Dec 2006 | A1 |
20070016556 | Ann et al. | Jan 2007 | A1 |
20070022155 | Owens et al. | Jan 2007 | A1 |
20070055689 | Rhoads et al. | Mar 2007 | A1 |
20070078860 | Enenkiel | Apr 2007 | A1 |
20070208697 | Subramaniam et al. | Sep 2007 | A1 |
Number | Date | Country |
---|---|---|
2001-5705 | Jan 2001 | JP |
2138076 | Sep 1999 | RU |
WO 0162004 | Aug 2001 | WO |
WO 02069118 | Sep 2002 | WO |
WO 2005006129 | Jan 2005 | WO |