1. Field of the Invention
The present invention relates in general to the field of computer operations, and more particularly to an external environment sensitive predictive application and memory initiation.
2. Description of the Related Art
Computers save people time. Word processing is an example of this. Documents that used to take teams of secretaries to prepare are now readily stored in memory, retrieved and modified as needed by the end user of the document. Networking is another example of this. Email has replaced many mail communications through the post and social networking websites allow nearly instant personal updates to circulate among friends. Access to networked information enhances many common tasks, such as by providing employees with ready access to business resources and by providing students with ready access to educational materials. End users interact with computers through I/O devices, such as a keyboard, a mouse and a touchscreen. Computers also include a number of sensors that sense external environment factors for use by components and by an end user, such as a camera that captures images, a microphone that captures audible sounds, a seismic/gyroscopic sensor that captures motion to protect a hard disk drive, accelerometers that capture orientation for aligning a display, a GPS sensor that captures positioning information and an ambient light sensor that senses ambient light to adjust the brightness of a display screen.
While computers save time in the big picture, often computers seem to eat time when preparing to perform tasks requested by an end user with an I/O device. Consider the employee who sits at his desk at the beginning of a day. First the employee wiggles the computer mouse or presses a key at the keyboard to remove the screen saver or wake the computer from a sleep state. Next the employee inputs a password and then requests the email client to display the day's emails. Between each interaction, the computer churns information to accomplish the requested task by swapping in appropriate bits to display requested information, process inputs, start applications and page requested information to volatile memory accessible by the processor. Additional delays are sometimes introduced when the computer downloads requested information from a network while the information is communicated from a server.
Therefore, a computer system and method of use provides more rapid computer response times by learning relationships between end user inputs and sensed external environment conditions and then applying the relationships to predict and prepare for end user requests at I/O devices.
More specifically, an input tracker running on processing resources of a computer tracks the relationships between end user inputs to the computer and external environment conditions sensed by external environment sensors disposed in the computer, such as images captured by a camera, sounds captured by a microphone, motion detected by a hard disk drive motion detector, motion detected by display orientation accelerometer and other sensors. An input predictor analyzes current external environment conditions sensed by the external environment sensors and compares the current external environment conditions with stored environment conditions to predict end user inputs at the computer system. The input predictor responds to a predicted end user input by preparing actions responsive to the input, such as initiating an application and retrieving content from non-volatile storage to volatile storage for access by a processor. When the predicted input is actually detected, the computer responds to the input with improved speed since actions responsive to the input have already been performed in response to the prediction of the input.
The present invention may be better understood, and its numerous objects, features and advantages made apparent to those skilled in the art by referencing the accompanying drawings. The use of the same reference number throughout the several figures designates a like or similar element.
A computer predicts end user inputs so that results are presented for the inputs in reduced time once the user makes the inputs. In a learning mode, the computer records and stores a moving window or external environment conditions sensed at the computer, such as light, sounds, motions and images sensed during one minute sample periods. The sensed external environment conditions are distilled and indexed to generate a fingerprint of external conditions during a time period, such as minute intervals through a work week. The fingerprint may be generated on the fly or on demand when an action occurs for association with the environment conditions. When an action is performed on the computer, such as with an input made to an input device of the computer, the action is encoded and associated with the environment condition fingerprint sensed at the time of the action. In an act mode, the computer records a moving window worth of environment conditions and generates a fingerprint for current environment conditions, such as light, sounds, motions and images sensed at a time of the day and day of the week. The computer compares the current fingerprint with the stored fingerprints of external conditions to determine if a match exists. If a match between current and stored external conditions exists, the computer retrieves the action associated with the matching stored external conditions and predicts that the action will be initiated at the computer. In response to the predicted action, the computer prepares for the action, such as by prefetching memory pages for the application or applications associated with the action. Preparing for the input by retrieving stored information and executing instructions reduces the time need to respond to an end user input for the action when the action is detected.
As will be appreciated by one skilled in the art, aspects of the present invention may be embodied as a system, method or computer program product. Accordingly, aspects of the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment (including firmware, resident software, micro-code, etc.) or an embodiment combining software and hardware aspects that may all generally be referred to herein as a “circuit,” “module” or “system.” Furthermore, aspects of the present invention may take the form of a computer program product embodied in one or more computer readable medium(s) having computer readable program code embodied thereon. Any combination of one or more computer readable medium(s) may be utilized. The computer readable medium may be a computer readable signal medium or a computer readable storage medium. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. More specific examples (a non-exhaustive list) of the computer readable storage medium would include the following: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or Flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the context of this document, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
A computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
Computer program code for carrying out operations for aspects of the present invention may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, Smalltalk, C++ or the like and conventional procedural programming languages, such as the “C” programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the latter scenario, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet Service Provider).
Aspects of the present invention are described below with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the invention. It will be understood that each block of the flowchart illustrations and/or block diagrams, and combinations of blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions/acts specified in the flowchart and/or block diagram block or blocks. These computer program instructions may also be stored in a computer readable medium that can direct a computer, other programmable data processing apparatus, or other devices to function in a particular manner, such that the instructions stored in the computer readable medium produce an article of manufacture including instructions which implement the function/act specified in the flowchart and/or block diagram block or blocks. The computer program instructions may also be loaded onto a computer, other programmable data processing apparatus, or other devices to cause a series of operational steps to be performed on the computer, other programmable apparatus or other devices to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide processes for implementing the functions/acts specified in the flowchart and/or block diagram block or blocks.
Referring now to
Firmware 32 coordinates on a physical level the interactions between processor 12, RAM 14, hard disk drive 16, keyboard 22, mouse 24, display 26 and NIC 30. Firmware 32 is, for example, a chipset having an embedded controller, keyboard controller and/or other processing resources that execute instructions stored in non-volatile flash memory. Firmware 32 also coordinates interfaces between processor 12 and a variety of external environment sensors so that external environment conditions may be used by applications 20 running on processor 12. For example, a camera 34 captures images and a microphone 36 captures sounds for use by a video conferencing application. Other types of external environment sensors that sense external environment conditions at computer 10 include: a Global Positioning System (GPS) 38 that detects current position, a temperature sensor 39 that senses thermal conditions, an orientation accelerometer 40 that detects orientation of display 26 to display information upright relative to gravity, an ambient light sensor 42 that detects ambient light to adjust the brightness of display 26, and a motion detector 44 integrated in hard disk drive 16 to protect hard disk drive 16 from impact shock damage, such as a seismic/gyroscopic detector.
In order to minimize delays associated with user inputs made at input devices keyboard 22 and mouse 24, an input predictor 46 monitors external environmental conditions to predict future inputs and initiates actions at computer 10 that improve the response time of computer 10 if the predicted input is actually made. For example, delay between a user input and a computer response may be introduced by retrieval of information from non-volatile memory of hard disk drive 16 to volatile memory of RAM 14 for use by processor 12, such as retrieval of instructions to execute an application 20 or retrieval of content for presentation by an application 20. Input predictor 46 reduces such delays by initiating applications and/or retrieval of information responsive to a predicted input before the predicted input is made by an end user. Input predictor 46 predicts future end user inputs by monitoring external environment conditions detected by external environment sensors, such as camera 34, microphone 36, GPS 38, temperature sensor 39, accelerometer 40, ambient light sensor 42 and motion detector 44. If external environment conditions are detected that indicate a predetermined end user input will be initiated, then input predictor 46 predicts the input and initiates actions to reduce delay should the predicted input be detected at an input device.
Input predictor 46 bases predictions of future inputs on historical data gathered by an input tracker 48 during monitoring of normal use of computer 10 by an end user. For example, input tracker 48 samples external environment conditions detected by the external environment sensors over defined time periods. In one example embodiment, input tracker 48 references clock 50 to sample external environment conditions in one minute samples over the course of a normal work week to identify patterns of external conditions associated with inputs made to input devices. The samples and/or the patterns are stored in an input/environment relationship table 52 that is accessible by input predictor 46. Input predictor 46 accesses input/environment relationship table 52 to compare currently detected external environment conditions with historical patterns and, if current conditions match a historical pattern, then input predictor 46 predicts an input associated with the matching historical pattern. Based upon the predicted future input, input predictor 46 initiates actions at computer 10 to prepare for the input, such as retrieving and activating one or more applications and retrieving content to prepare the content for presentation at display 26. In one embodiment, input predictor prepares for the future input but withholds presentation of information for the predicted input until the actual input is received. Withholding output generated based upon a predicted input reduces end user annoyance at unwanted automated actions and provides a near instantaneous response when the predicted input is made. In one embodiment, a user interface 53 interacts with input/environment relationship table 52 so that an end user can set fingerprints of predicted actions based upon external environment conditions or alter predictions made by input predictor 46.
Input predictor 46, input tracker 48 and input/environment table 52 may be performed by an application running on processor 12, by instructions running as firmware 32 or a combination of processing resources. In one example embodiment, input predictor 46 runs as firmware 32 while processor 12 is powered down, such as in a sleep or hibernate state. Input predictor 46 provides power to one or more of the external environment sensors to detect external environment conditions predictive of initiation of an on state from the sleep or hibernate state. For instance, an increase in light that indicates a user has entered the room or the sound of keys opening a door at the start of a business day match external conditions associated with a power up input and request for email. In response to such external conditions, input predictor 46 running in firmware 32 initiates a power up of computer 10 and calls the email application to present email at display 26. During the sleep or hibernate state, input tracker 48 runs in firmware 32 to track sensed external environment conditions and store the conditions in input/environment relationships table 52. Once computer 10 enters the on state, input predictor 46 initiates as an application running on processor 12 to analyze the sensed environment conditions stored during the powered down state. In one embodiment, input predictor 46 looks for patterns that associate external environment conditions with inputs by running a neural network or other predictive algorithms during idle time of processor 12. In one alternative embodiment, input predictor 46 acts to prevent automated actions by computer 10 where the automated actions would be countered by a predicted input. For example, input predictor 46 counters an automated transition to a powered down state if camera 34 detects a user image and detection of the image indicates the user would make an input in response to the powered down state that would counter the powered down state, such as a mouse or keyboard input to bring computer 10 back to an on state.
During normal operations, input predictor 46 samples external environment conditions sensed by camera 34, microphone 36, GPS 38, accelerometer 40, ambient light sensor 42 and motion detector 44 to detect external environment conditions that match those associated with an end user input stored in input/environment relationship table 52. Input tracker 48 learns external conditions associated with end user inputs by storing a moving window of sensed external environment conditions and associating user input device inputs with the sensed external environment conditions. For example, minute long samples of external environment conditions are saved when an input is made by an end user and associated with the input. Input predictor 46 monitors external environment conditions in a similar moving window, such as minute long increments, and compares the currently sensed external environment conditions with historical conditions to identify a match. If a match exists between current and historical external environment conditions, input predictor 46 predicts the input associated with the matched external environment conditions and initiates actions at computer 10 to meet the requirements of the predicted input. In one embodiment, input predictor saves information at an address of non-volatile storage hard disk drive 16 to retrieve information for a predicted input, such as a script of one or more applications to run, content to retrieve, or executable code retrievable for execution by processor 12 that will result in the state associated with a predicted input being achieved at computer 10 without having to execute all instructions normally required by the input.
Referring now to
At 8:30 A.M., the employee assigned to the office arrives at work, opens the door with his keys, turns on the lights, approaches the computer and moves the mouse to bring up a login page. Next the employee inputs his password and opens an email application to check email, a web browser to check news and a music application to play Chopin's Fantasy Impromptu. Input tracker 48 detects the key sound with microphone 36, the light with camera 34, and an image of the end user with camera 34, and associates these detected environmental conditions during a time frame around 8:30 A.M. with the inputs for bringing up the login page and retrieving email, news and music. The relationship between the sensed environment conditions and the inputs are stored in input/environment relationship table 52 and made available to input predictor 46 for use the next morning. On the next morning, when input detector 46 detects the sound of keys and the lights at around 8:30 A.M., it predicts a login and retrieval of email, web browsing news and music. In response to the predicted inputs, input predictor 46 immediately initiates presentation of the login page as if the end user had already touched the mouse, and initiates the email, web browsing and music activities. By the time the end user has completed login, email, web browsing and music are loaded into volatile memory so that each input by the end user is met with near instantaneous response.
At 10:30 A.M., the employee picks up the computer and walks to a meeting. At the meeting, the employee opens a word processing document called “meeting notes.” Input tracker 48 senses accelerations associated with walking with computer 10 by display orientation accelerometer 40 and hard disk drive motion detector 44, as well as lighting changes that occur during the walk, such as a walk across a courtyard in daylight. The position of computer 10 is sensed as changing by GPS 38. Input tracker 48 associates the sensed external environment conditions at 10:30 A.M. with the word processing document used at the meeting and defines the relationship in the input/environment relationships table 52. The next day at around 10:30 A.M., input predictor 46 senses the motion, light and GPS environment conditions with the external environment sensors and finds the match of external environment conditions in input/environment relationship table 52. Based on the match between current external environment conditions and the historical conditions stored in table 52, input predictor 46 predicts the input to start the word processing program and to retrieve the “meeting notes” content. In response to the predicted inputs, input predictor 46 initiates the word processing application and retrieves “meeting notes” from hard disk drive 16 to RAM 14, but withholds presentation of the word processing application and “meeting notes” document until the end user makes the predicted inputs. In alternative embodiments, alternative inputs may be predicted based upon alternative external environment conditions and the time frame in which the conditions occur. End users may manually set conditions that will predict actions or may manually remove predicted actions from input/environment relationship table 52.
Referring now to
Referring now to
Using the timeline of
Although the present invention has been described in detail, it should be understood that various changes, substitutions and alterations can be made hereto without departing from the spirit and scope of the invention as defined by the appended claims.
Number | Date | Country | |
---|---|---|---|
Parent | 13297173 | Nov 2011 | US |
Child | 13453035 | US |