Logging and analyzing context attributes
First Claim
Patent Images
1. A method in a computing device for specifying context attributes for logging, comprising:
- employing a processor executing computer-executable instructions stored on a computer-reasonable storage medium to implement the following acts;
displaying a list of context attributes available in the computing device, each context attribute in the list of context attributes having values supplied by one or more data sources;
caching the values supplied by the one or more data sources as the values are obtained from the data sources;
receiving a first set of user inputs identifying a subset of context attributes from the list of context attributes for logging;
receiving a second set of user inputs specifying a logging frequency for each context attribute in the identified subset of context attributes;
receiving a third set of user inputs specifying a maximum value age for each context attribute in the identified subset of context attributes;
selecting the identified subset of context attributes for logging;
for each context attribute in the identified subset of attributes;
determining an age of a cached value associated with the context attribute at periodic intervals determined by the logging frequency specified for the context attribute;
determining whether the age of the cached value associated with the context attribute is less than the maximum value age specified for the context attribute;
logging the cached value associated with the context attribute when it is determined that the age of the cached value associated with the context attribute is less than the maximum value age specified for the context attribute; and
obtaining a new value from a data source corresponding to the context attribute when it is determined that the age of the cached value associated with the context attribute is greater than the maximum value age specified for the context attribute;
for each context attribute of the identified subset of selected context attributes, receiving user input identifying a log in which values of the context attribute are to be logged; and
for each context attribute of the identified subset of context attributes, at periodic times as a function of the logging frequency associated with the context attribute, storing values of the selected context attribute in the log identified for the context attribute.
2 Assignments
0 Petitions
Accused Products
Abstract
A facility for logging context attributes is described. For each of a set of selected context attributes, the facility determines a target frequency with which values of the selected context attribute are to be logged. For each of the set of selected context attributes, the facility obtains values of the selected context attribute at a frequency approximating the target frequency determined for the selected context attribute. Then, for each obtained context attribute value, the facility writes the obtained value to a storage device in a manner that identifies its context attribute.
406 Citations
32 Claims
-
1. A method in a computing device for specifying context attributes for logging, comprising:
-
employing a processor executing computer-executable instructions stored on a computer-reasonable storage medium to implement the following acts; displaying a list of context attributes available in the computing device, each context attribute in the list of context attributes having values supplied by one or more data sources; caching the values supplied by the one or more data sources as the values are obtained from the data sources; receiving a first set of user inputs identifying a subset of context attributes from the list of context attributes for logging; receiving a second set of user inputs specifying a logging frequency for each context attribute in the identified subset of context attributes; receiving a third set of user inputs specifying a maximum value age for each context attribute in the identified subset of context attributes; selecting the identified subset of context attributes for logging; for each context attribute in the identified subset of attributes; determining an age of a cached value associated with the context attribute at periodic intervals determined by the logging frequency specified for the context attribute; determining whether the age of the cached value associated with the context attribute is less than the maximum value age specified for the context attribute; logging the cached value associated with the context attribute when it is determined that the age of the cached value associated with the context attribute is less than the maximum value age specified for the context attribute; and obtaining a new value from a data source corresponding to the context attribute when it is determined that the age of the cached value associated with the context attribute is greater than the maximum value age specified for the context attribute; for each context attribute of the identified subset of selected context attributes, receiving user input identifying a log in which values of the context attribute are to be logged; and for each context attribute of the identified subset of context attributes, at periodic times as a function of the logging frequency associated with the context attribute, storing values of the selected context attribute in the log identified for the context attribute. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15)
-
-
16. A system for logging context data items, the system comprising:
at least one computing device for; displaying a set of available context data items; caching values for the available context data items obtained from respective data sources; receiving user input identifying a subset of the available context data items to be logged; receiving user input defining a logging frequency for each context data item in the subset of available context data items; receiving user input defining a maximum age value for each data item in the subset of available context data items; periodically logging a cached value for each context data item in accordance with the respectively defined logging frequencies, wherein logging the cached value comprises; determining an age of the cached value for the context data item to be logged; determining whether the age of the cached value exceeds the maximum value age defined for the context data item; logging the cached value for the context data item when it is determined that the age of the cached value does not exceed the maximum value age defined for the context data item; and obtaining a new value for the data item from a data source when it is determined that the age of the cached value exceeds the maximum value age defined for the context data item; and determining whether to retain or discard a logged value of a distinguished one of the context data items in the subset of available data items based on a determined importance level reflecting the importance of retaining the logged value of the distinguished one of the subset of available context data items, wherein the determined importance level is specified by user input. - View Dependent Claims (17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28)
-
29. A computer-readable storage medium whose contents cause a computing device to specify context data items for logging, by performing a method comprising:
-
displaying a set of available data items; caching values for the available data items obtained from respective data sources; receiving user input identifying a subset of the available data items to be logged; receiving user input defining a logging frequency for each data item in the subset of available data items; receiving user input defining a maximum age value for each data item in the subset of available data items; periodically logging a cached value for each data item in accordance with the respectively defined logging frequencies, wherein logging the cached value comprises; determining an age of the cached value for the data item to be logged; determining whether the age of the cached value exceeds the maximum value age defined for the data item; logging the cached value for the data item when it is determined that the age of the cached value does not exceed the maximum value age defined for the data item; and obtaining a new value for the data item from a data source when it is determined that the age of the cached value exceeds the maximum value age defined for the data item; and determining whether to retain or discard a logged value of a distinguished one of the data items in the subset of available data items based on a determined importance level reflecting the importance of retaining the logged value of the distinguished one of the data items in the subset of available data items, wherein the determined importance level is specified by user input. - View Dependent Claims (30, 31, 32)
-
Specification