The disclosed embodiments relate generally to collecting data event information concerning events that occur at client computers or devices.
It is difficult to receive event data from different clients being used by the same one user during different time periods in such a way that the event data received from the different clients is automatically associated with the same one user, without requiring installation of special software on each of the different clients.
At a server, during one or more first time periods, event data is received from a first client with respect to one or more events that occur at the first client. The event data is sent by the first client under control of a first application resident on a removable storage device. At the server, during one or more second time periods, event data is received from a second client with respect to one or more events that occur at the second client. The event data is sent by the second client under control of the same first application, resident on the same removable storage device, that was used to send the event data from the first client. The first and second time periods are non-overlapping.
At a client, a first application resident on a removable storage device, which is coupled to the client, is executed to record event data with respect to events that occur at the client. The event data is transmitted to a server.
The aforementioned features and advantages as well as additional features and advantages will be more clearly understood with reference to the detailed description below in conjunction with the drawings.
Like reference numerals refer to corresponding parts and operations throughout drawings.
Reference will now be made in detail to embodiments, examples of which are illustrated in the accompanying drawings. While the invention will be described in conjunction with the embodiments, it will be understood that the invention is not limited to these particular embodiments. On the contrary, the invention includes alternatives, modifications and equivalents that are within the spirit and scope of the appended claims. Numerous specific details are set forth in order to provide a thorough understanding of the subject matter presented herein. But it will be apparent to one of ordinary skill in the art that the subject matter may be practiced without these specific details. In other instances, well-known methods, procedures, and components have not been described in detail so as not to unnecessarily obscure aspects of the embodiments.
Communication network 104 can be any wired or wireless local area network (LAN) and/or wide area network (WAN), such as an intranet, an extranet, the Internet or any suitable combination thereof. It is sufficient that communication network 104 provides communication capability between clients 102, proxy 160 and server 106. In some embodiments, HyperText Transport Protocol (HTTP) and the Transmission Control Protocol/Internet Protocol (TCP/IP) are used to transport requests, replies, messages, data and other communications across communication network 104. The various embodiments, however, are not limited to the use of any particular protocol.
A client 102 connected to communication network 104 may be identified by an IP address. As used herein, “IP address” includes an identifier and locator of a client within the communication network, and is not limited to the use of any particular protocol. Client 102 can be any of a number of devices (e.g., a computer, an internet kiosk, a personal digital assistant, a cell phone, a gaming device, a desktop computer, or a laptop computer). Client 102 can include one or more client applications 132 and a host operating system 816. Clients 102 can further include a client application 140 (see client 102-3), and/or an event application 134 (see client 102-1), and/or a recording application 152 (see client 102-2). Although client applications 132 and 140, an event application 134, and recording application 152 are shown in
In some embodiments, a client application 132 can be an application that permits a user to interact with the client and/or network resources to perform one or more tasks. For example, a client application 132 can be a web browser (e.g., any of the computer applications known as Internet Explorer® (a trademark of Microsoft Corporation), Mozilla Firefox® a trademark of Mozilla Corporation), or Google Chrome (a trademark of Google Inc.) or other type of application (e.g., an email client, a document editor, etc.) that permits a user to search for, browse, and/or use resources, such as Web pages or other documents or sets of information. Client application(s) 132, when executed by client 102, perform operations comprising local events at the client. Examples of local events may include a user accessing a URL, a user activating a client application 132, a user accessing a client application 132, a user performing operations within an accessed URL or client application 132, an HTTP request originating from the client, and so on.
Event application 134 identifies event information 138 with respect to at least some of the local events at client 102, removes personal identifiable information (PII) from the event information 138 to produce event data 139, and transmits the event data to server 106 using network interface 136. In some embodiments, at least some of event data 139 is transmitted to server 106 via proxy 160, which includes network interface 162 to communicate with communication network 104 and event data analyzer 164 to further process received event data before transmission to server 106. Event application 134 is discussed further in reference to
Recording application 152 records event information 154 with respect to events occurring at client 102-2, including events generated by one or more applications 132. Recording application 152 also records a current client real time clock (RTC) 150 time at the occurrence of each event and assigns a unique sequence identifier to each event so as to generate event data 156. Thus, the event data 156 for a respective event includes event information 154 from an application, a time value and a unique sequence identifier. Recording application 152 transmits the event data 156 to server 106 using network interface 136. Recording application 152 is described further in reference to
Client application 140 is a single application that includes a loader application 141 and an associated dynamic link library DLL 142. In some embodiments, client application 140 is one of: an event application 134, a recording application 152, a combination of event application 134 and recording application 152, a subset of a combination of event application 134 and recording application 152, a subset of event application 134, and a subset of recording application 152. Loader application 141 is installed on the client system 102. When loader application 141 is executed for a first time it receives a user authorization, such as one required when a firewall 144 on the client 102-3 is triggered, to communicate with locations external to the client 102-3. At least portions of the dynamic link library 142 are auto-updated during one or more executions of the loader application 141 without requiring additional user authorization. The loader application 141 may be never or infrequently auto-updated. Client application 140 is described further in reference to
In some embodiments, a removable storage device 125 is removably coupled with or otherwise in communication with client 102. For example, removable storage device 125 is coupled with client 102-4 during one or more first time periods and is coupled with another client 102-5 during one or more second time periods that are non-overlapping with the first time periods. Removable storage device 125 can be any one of many available storage devices that can be used by a user for storing data. In some embodiments, the removable storage device 125 has both a secure partition and a non-secure partition. For example, the removable storage device 125 can be a USB drive (e.g., a USB flash memory drive, sometimes called a thumb drive) having a secure partition and a non-secure partition. One particular implementation of such a USB drive is a USB smart drive. A USB smart drive is typically a USB memory device that presents itself to the host computer (e.g., client 102, as two storage devices, such as a USB memory device (comprising the non-secure partition of the device) and a CD/DVD device (comprising the secure partition of the device). Removable storage device 125 is described further in reference to
A client application 170 is stored on the removable storage device 125, and can be a subset of recording application 152 and event application 134. Alternately, client application 170 can be a combination of recording application 152 and event application 134. When the removable storage device 125 is in communication with a given client (e.g., 102-4 or 102-5), client application 170 (resident on the removable storage device 125) records event information with respect to events occurring at the given client, including events generated by one or more client applications 132 resident on the particular client. Client application 170 causes transmission of the event information to server 106 using network interface 136. Client application 170 is described further in reference to
In some embodiments, server 106 includes a network communication module 108, an event reconstruction module 110, a server real-time clock (RTC) 112, one or more event logs 130, a DLL update module 143 and an event association module 120. The server 106 may include additional modules and/or sub-modules, or fewer modules and/or sub-modules than indicated in
In some embodiments, network communication module 108 may be configured to handle requests from a client 102 and return resources, responses, and other information to the client 102 via communication network 104. For instance, network communication module 108 handles a request from a client (such as, client 102-3 or client 102-4) for an update (e.g., an update to dynamic link library 142). The DLL update request is sent by network communication module 108 to a location external to the client 102, which provides an auto-update to the requesting client. In the embodiments described here, the request is sent to DLL update module 143 in server 106, which provides an auto-update to the requesting client. DLL update module 143 is discussed further in reference to
In some embodiments, network communication module 108 in server 106 receives event data 139 associated with events that occur at client 102-1. Event data 139 may be received from one or both of a client 102-1 and a proxy 160. Event data 139 is data from which at least some personal identifiable information (PII) has been removed. Network communication module 108 in server 106 may also receive event data from clients 102-4 and 102-5. In some embodiments, received event data, such as event data 139, is stored in an event log 130 in server 106.
Optionally, event association module 120 further processes the received event data to find correlations and patterns among the events that occur at the same clients, and to generate statistics and perform statistical analyses. In some embodiments, event association module 120 finds correlations and patterns even though event data (such as, event data 139) has had at least some personal identifiable information (PII) removed from it. To find such correlations and patterns, event association module 120, when generating statistics from the received event data, takes into account event data known to come from the same client, even though the received data does not contain PII. For instance, the event association module 120 analyzes the received event data for each client to identify particular event sequences and patterns, and then uses that information to generate statistics (e.g., frequency of occurrence across many clients, correlation with other events, etc.) concerning those particular event sequences and patterns.
In some embodiments, network communication module 108 receives event data 156 from client 102-2. Event data 156 includes: event information with respect to events that occur at client 102-2, the client real time clock (RTC) 150 time associated with each event and unique sequence identification information associated with each event. Network communication module 108 passes received event data 156 to event reconstruction module 110, which reconstructs at least one of: a chronological order of the events on the client 102-2 and the time when each event occurred at the client 102-2, based, for instance, on the server RTC 112. Event reconstruction module 110 is discussed further in reference to
Also shown in
It should be appreciated that the layout of the server 106 and proxy 160 in
As used herein, the terms “module, “procedure,” and “application” correspond to computer program instructions stored in a computer readable storage medium for execution by one or more processors, for performing one or more functions. These instructions need not be implemented as separate software programs, procedures or modules. The various modules and sub-modules may be rearranged, separated, and/or combined. The distributed system 100 may include additional modules and/or sub-modules, or fewer modules and/or sub-modules than indicated in
In some embodiments, a user at client 102-1 executes one or more client applications 132 (210). As discussed, examples of client applications 132 include web browser applications, email client applications and so on.
Client application(s) 132, when executed by client 102-1, perform operations comprising local events at client 102-1 (212). Examples of local events may include a accessing a URL (e.g., in response to user activation of a link to the URL), starting execution of a client application 132, performing operations within an accessed URL or client application 132, and so on.
Event application 134 identifies event information 138 with respect to the local events at client 102-1 (214). For instance, event application 134 identifies that the user (i.e., the user of client 102-1) has accessed a certain URL or closed a client application 132, or accessed (e.g., clicked on or otherwise activated) a link on a Web page, and so on.
Optionally, event application 134 associates a unique identifier with client 102-1 (215). In some embodiments, the unique identifier is randomly or pseudo-randomly generated by client 102-1 when the event application 134 or client application 140 is first executed after installation on client 102-1. The unique identifier for the client is durably stored on the client 102-1 (e.g., in non-volatile memory) or in a device (e.g., a portable device 125 having non-volatile memory) that is associated with the user. In one embodiment, event application 134 transmits the unique identifier with the event data to the server 106, either directly or via proxy 160 (226). In this embodiment, the unique identifier in the event data 139 can be associated by the server with a particular client, without the server knowing the identity of the client or where the client is located. In other words, all event data having the same unique identifier is known by the server 106 to have come from the same client 102-1, even though the server 106 does not know the identity of the client, does not know where the client is located, and does not know the specific identity of the user of the client. It is noted that the unique identifier is typically associated with a single, unique user, even though the server 106 does not know the identity of the user. The same unique identifier continues to be associated with the same user when the user performs operations on (i.e., “uses”) other client computers or devices.
Event application 134 removes personal identifiable information (PII) from the event information 138 to produce event data 139 (216). In some embodiments, personal identifiable information includes user information, such as a user name, a user account identifier, and other user account identification information. User information can contain personal information like names and other related information. In some embodiments, event application 134 scans event information 138 to identify user information (218). For instance, event application 134 scans folder path information to identify user information (219), for example by text matching or searching name-value pairs or searching by field name. Further, in some embodiments, event application 134 removes personal identifiable information (PII) from the event information 138 by overwriting identified user information with a text string that does not include PII (220). For some events, PII may be simply deleted from the event information, while for other events the PII may be replaced with non-personal values (e.g., a fixed text string or other fixed value).
In some embodiments, for further processing of event information to further remove PII, event application 134 uses network interface 136 to transmit event data 139 to proxy 160 (222). Proxy 160 receives event data 139 via network interface 162 and uses event data analyzer 164 to identify the client IP address in (or sent along with) event data 139 and to partially redact (e.g., partially mask or remove portions of) the client IP address (224) prior to forwarding the event data, including the partially redacted client IP address, to the server (226). The client IP address is partially redacted (by the proxy 160) by discarding the N least significant bits (e.g., the last eight bits) of the client IP address (224) that is transmitted by the client 102-1 in (or along with) the transmitted event data 139. As discussed, client 102-1 is typically associated with an IP address. The IP address may be a static, globally unique IP address that always identifies the particular client 102-1, a dynamically assigned IP address, or an IP address associated with multiple clients, such as the IP address of a proxy server. For the purposes of this document, it is equally accurate to say that the client includes IP address information “in the event data 139” that it transmits to proxy 160, or to say that such IP address information is sent (by the client) along with the transmitted event data 139.
Because IP addresses act as locators for network-connected devices, the proxy discards the last eight bits (or more generally the N least significant bits, where N is an integer greater than three) of the client IP address to produce a partially redacted client IP address that is sent along with the event data to the server. Discarding one bit (N=1) would mean that the partially redacted IP address is associated with one of two clients. Discarding five bits (N=5) would mean that the partially redacted IP address is associated with one of thirty-two (=25) clients or machines. Discarding eight bits (N=8) would mean that the partially redacted IP address is associated with one of 256 (=28) machines. Thus, in some embodiments, the last eight bits of the IP address are discarded, because with 256 potential client machines, it is much more difficult to correlate the event data to the real machine. More generally, discarding the N least significant bits of the client IP address prevents the server 106 (or any other device receiving the event data from the proxy 160) from using the IP address information received from the proxy 160 to determine the precise location or identity of the client that sent the event data 139. In this manner, server 106 receives event data 139 with a partially redacted client IP address. Some of the IP address bits of the client IP address remain intact (e.g., the first 24 bits of a 32 bit IP address), but this information is insufficient to enable the server 106 to determine the identity of the client or where specifically the client is located. On the other hand, retaining a portion of the most significant bits of the IP address of the client that transmits event data can be useful for identifying differences in application usage patterns and other differences in client or user behavior among groups of users from various regions of the world.
Event data 139 is transmitted from client 102-1 and/or proxy 160 to server 106 (226).
Additionally, or in the alternative, event application module 134 identifies one or more cookies in the event information 138 and generates one or more one-way hash values from the cookie(s), or portions of the cookies, to produce respective hash values, and transmits the hash value(s) to the server 106, either directly or via proxy 160 (217). Depending on the context, the hash values may also be called hashed cookie values or cookie hash values. Each of the hash values corresponds to an entire cookie, a predefined field of a cookie (e.g., a user identifier field), or a predefined portion of a cookie (e.g., all of a cookie, excluding one or more predefined fields). The hash value of a cookie, a cookie field, or a cookie portion, changes whenever the cookie, cookie field or cookie portion changes in value.
Generally, cookies are not considered to be personally identifiable information, but they can nevertheless contain sensitive information. For instance, a cookie may contain a user identifier, a creation time, a last modified time, and a signature, all or some of which may be PII, or which may be used indirectly to acquire PII. In one embodiment, a cookie in the event information includes a first portion and a second portion, which are distinct and non-overlapping. The first portion includes a plurality of fields that contain either PII or information that may be considered sensitive, while the second portion of the cookie does not contain PII or sensitive information. At block 217, event application 134 generates one or more hash values based on the cookie contents (or a subset of the cookie contents) in the first portion of the cookie. For instance, event application 134 may generate and record a one-way hash value of the user identifier field of a cookie, a one-way hash value of the creation time of the cookie and a one-way hash value of the last modified time of the cookie. These one-way hash values from the cookie, along with the second portion of the cookie are included in the event data, which is transmitted to the server. One or more fields in the first portion of the cookie, such as a signature field, may be left out of the event data that is transmitted to the server.
Further, in some embodiments, event application 134 combines a unique client identifier with one or more cookie fields when producing the hash values. As discussed above with reference to operation 215, the unique client identifier may be a randomly generated client identifier that is generated at the client by the event application when the event application is first installed or when the event application is executed for a first time. The unique client identifier is generated by the client and fixed in value (i.e., remains unchanged) so as to enable the server to detect usage patterns and generate meaningful statistics concerning application events without using PII and thus without being able to trace any of the event data back to specific individuals.
For instance, in one embodiment the event application 134 combines (e.g., concatenates, or mathematically adds or subtracts) the unique client identifier, UID, to each the fields, or sets of fields, for which a hash value is generated. For example, if a cookie contains, in its first portion, the fields ID=87c0259ed4614876, TM=1155861835, and LM=1157564945, where the ID is a user identifier or event type identifier, TM is a cookie creation time, and LM is a cookie last modified time, two hash values produced by the event application 134 for this cookie are:
HashValue1=hash(87c0259ed4614876+{UID}),
HashValue2=hash(TM=1155861835:LM=1157564945+{UID}),
where “hash( )” represents a predefined one-way hash function, and the +operator is used to combine (e.g., concatenate) the values before and after the +operator. The two hash values in this example remain constant each time they are recomputed for the “same cookie” (e.g., the cookie for a particular URL) so long as the underlying fields remain constant in value. Similarly, the hash values change in value when any of the underlying fields change in value. Furthermore, by combining the field values with the locally generated client identifier, the server cannot correlate cookie values in the event data from different clients.
In some embodiments, instead of being resident on client 102-1, event application 134 or a subset thereof is resident on a removable storage device 125 as client application 170. Client application 170 is discussed with reference to
Event association module 120 processes event data 139 received from multiple clients and associates events received from the same client even though event data 139 has had personal identifiable information (PII) removed from it (230). As described above, the received event data 139 does not include user identifiers, because user identifiers are removed from event information 138 by the client (e.g., by the event application 134) prior to transmitting the event data 139. Further, the received event data 139 does not include the last eight bits (or more generally the N least significant bits where N is an integer greater than three) of the client's IP address, because the least significant bits of the client IP address are removed by a proxy 160 before the event data is forwarded by the proxy to the server 106. The received event data 139 may, however, include a unique client identifier. Because PII has been removed from the event data, the unique client identifier is randomly generated at the client, and the client IP address has been partially masked, the server 106 is unable to use the event data, the partially redacted client IP address and the unique client identifier to identify the client or even the specific location of the client from the received event data.
In some embodiments, event association module 120 processes the received event information 138 and/or the unique client identifier and/or the remaining IP address bits to determine which events are associated with which client, without using sensitive PII (234). Additionally, in some embodiments, event association module 120 may deduce other information from the received event data 139 (which includes events data for multiple events from multiple clients), such as demographic information, user preferences, application usage patterns, online usage patterns, and so on.
In some embodiments, if received event data 139 includes one or more hash values of cookie contents, event association module 120 processes the received event data to identify changes in the cookie based on changes in the hash value(s) (232). In some embodiments, event association module 120 stores the received hash values (hashed cookie values), and uses the stored hash value to compare with earlier or later received hash values from the same client (i.e., with the same unique client identifier) to determine if the cookie has changed.
As illustrated in
Stored in the secure partition 184 is application 170, sometimes called the first application to distinguish it from any other applications stored on the removable storage device. The application 170 includes a loader application 171 and an initial version of a dynamic link library (DLL) 172 associated with application 170. Application 170 is discussed further in reference to
Also stored in the secure partition 184 may be a unique identifier 190 that uniquely identifies the removable storage device 125. In some embodiments, unique identifier 190 may be generated and assigned to the removable storage device 125 when the removable storage device 125 is manufactured. In other embodiments, unique identifier 190 may be assigned at a time later than when the removable storage device 125 is manufactured. For instance, in some embodiments, unique identifier 190 may be assigned to the removable storage device 125 at a time when the application 170 is stored on the secure partition 184. In some embodiments, the unique identifier 190 or some derivative thereof is included in communications with server 106, thereby identifying that the communications pertain to the particular removable storage device 125 and/or a particular user associated with the particular removable storage device 125 and/or the instance of the application 170 stored on the particular removable storage device 125. When the removable storage device 125 is associated with a particular individual user, the unique identifier 190 may be called a unique user identifier 190.
A user of the removable storage device 125 may store user data 186 on non-secure partition 182, and may write over, replace, delete and/or otherwise change contents of user data 186. Further stored in the non-secure partition 182 are one or more event data logs 188. Event data logs 188 contain event data with respect to events occurring at a client with which the removable storage device 125 is coupled, such as client 102-4, as recorded by application 170. Stated another way, event data is stored at least temporarily in the event data logs 188, on the non-secure partition 182 of the removable memory device, before the event data is transmitted to the server 106. Event data logs 188 are discussed further in reference to
Optionally, the removable storage device 125 stores a second application 192 in either the secure partition 184 or the non-secure partition 182 of the device. Typically, the second application 192 is a client application for providing services to a user of a respective client. For example, but without limitation, the second application can be a communications program such as an email client application, instant messaging application, chat application, telephone (e.g., VOIP) application, or the like. Execution of the second application when the removable storage device 125 is coupled to a respective client 102 is an event that may be monitored, recorded and/or reported by the first application 170 to the server 106.
In some other embodiments, the auto-run program 189 is stored in the non-secure partition 182, but nevertheless initiates automatic execution of the application 170. It is noted that while the application 170 is describe here as stored in the secure partition 184 (as shown in
In some embodiments, process 400 includes storing client application 170 (402). Client application 170 may be received and/or downloaded from server 106 (401). As shown in
The removable storage device 125 is coupled with client 102-4 (406). Upon coupling, an auto-run function 189 stored on the removable storage device 125 causes a host operating system 816 on client 102-4 to execute client application 170 (408). The client application 170 is thus executed automatically, without requiring any user action. Optionally, the client application 170 can be executed in response to a user action (e.g., a command to execute the application). For example, if automatic execution of the client application 170 is blocked for any reason, the user of the client 102-4 can manually initiate execution of the client application 170.
In some embodiments, upon a first execution of application 170 at a respective client, a user authorization is required to enable client application 170 to communicate with locations (e.g., server 106) external to the client. In some embodiments, the first execution of the loader application 171 triggers a firewall 144 on client 102-4, which asks a user to authorize communications by the application 170 with locations external to client 102-4 (410). Further, in some embodiments, the user authorizes subsequent communications by the application 170 with locations external to client 102-4 without requiring additional user authorization (412). In some embodiments, the host operating system 816 of client 102-4 executes application 170, such that after requesting and obtaining the user authorization (if one is required), the application 170 is silently executed (414). Stated another way, after receiving such authorization, the application 170 performs communications with locations external to client 102-4 without requiring user authorization. Accordingly, execution of application 170 may not be visible to a user of client 102-4.
Application 170 records event information with respect to the local events at client 102-4. Examples of events for which event information may be recorded include: HTTP requests originating at client 102-4, activation (i.e., initiating execution) of one or more client applications 132 on client 102-4, and activation or execution of a respective second application 192 resident on the removable storage device 125 while coupled to the client 102-4. Other events for which event information is optionally recorded include the execution of the application 170 itself on client 102-4, and/or a time lapse event associated with the execution of the application 170 on client 102-4 measuring one or more lengths of time for which the application 170 has been executed.
In some embodiments, application 170 also records a current client real time clock (RTC) 150 timestamp at the occurrence of each event and/or assigns a unique sequence identification to each event, as is done by recording application 152, which is discussed below in reference to
Event information collected by application 170 is stored in one or more event data logs 188 (sometimes called event logs) in non-secure partition 182 of the removable storage device 125 (416). In some embodiments, the identifier 190 (
Application 170 causes event data logs 188 to be uploaded to server 106 (418). In some embodiments, event information is transmitted only when at least one of a plurality of trigger conditions is met. The trigger conditions typically include one or more of: passage of a predetermined amount of time after a previous transmission of event information, collection of a predetermined amount of event information in the event data logs 188, and occurrence of a particular event or events at client 102-4. Back at client 102-4, event information is transmitted to server 106 using network interface 136 if a network connection exists with server 106 or proxy 160 (420).
At the server 106, network communication module 108 receives the event information from client 102-4 (422). As discussed elsewhere in this document, the event information from client 102-4 may be received at the server 106 via a proxy 160, after the proxy has removed PII from the event information. Event information may be stored by the server 106 in an event log 130, as discussed further in reference to
In some embodiments, event data logs 188 on a respective removable storage device 125, associated with event information with respect to events occurring at a first client, such as client 102-4, may not get uploaded to server 106 while the device 125 is still coupled to client 102-4. This may happen, for instance, if there is a break in a network connection between client 102-4 and the server 106, or if there is a break in the connection between client 102-4 and removable storage device 125, such as may happen if a user removes the removable storage device 125 from the client 102-4. In such an event, event logs 188 remain stored in the non-secure partition 182 until the removable storage device 125 is connected to a client, such as any one of clients 102-4 and 102-5, and that client is in communication with the server 106.
Thus, in some embodiments, server 106 may receive from a first client 102-4, during one or more first time periods, event information with respect to one or more events that occur at the first client 102-4. During one or more second time periods, server 106 may receive from second client 102-5 event information with respect to one or more events that occur at the second client 102-5. Additionally, during one or more of the second time periods, server 106 may receive from second client 102-5 event information with respect to one or more events that occurred at the first client 102-4. This last example of event information sent to the server 106 is event information stored in the event logs 188 of the removable storage device 125 while the device 125 is connected to the first client 102-4 but which is sent to the server 106 while the device 125 is connected to a second client 102-5.
Further, in some embodiments, server 106 is able to associate event information with the particular removable storage device 125 where it is stored, for instance, using unique identifier 190, which in some embodiments is transmitted along with event information transmitted to the server 106.
Further, optionally, in some embodiments, server 106 is able to associate event information with events occurring at a particular client, such as client 102-4 or client 102-5, for instance, using a client identifier, which in some embodiments, may be assigned by the application 170, and further may be transmitted along with event information transmitted to the server 106. To avoid providing personally identifiable information, the client identifier may be, in effect, an extension of the unique identifier 190. In these embodiments, the client identifier is a “generic client identifier” (i.e., not globally unique) that provides only enough information to distinguish between the various clients 102 that are used in conjunction with the removable storage device. For example, the first client 102 used with the removable storage device 125 may receive a client identifier of 001, the second client 102 used with the removable storage device 125 may receive a client identifier of 002, and so on. Sufficient client identifying information (e.g., a MAC address) may be retained in the removable storage device 125 to enable the application 170 to determine which client identifier to associate with each event, while still providing only the generic client identifier (along with the unique identifier 190) to the server 106 when transmitting event information to the server.
In some embodiments, as shown in
The identifier 190 stored on the removable storage device is associated (on the removable storage device 125) with the newly stored event information (478). Event information with respect to client 102-4 (which is a client to which the removable storage device was previously coupled) and/or event information with respect to client 102-5 are transmitted to the server (480, 482 and 484) if a communication connection to the server exists.
In some embodiments, process 500 includes installing client application 140 (510). Client application 140 may be received and/or downloaded from server 106 (508). Installing client application 140 includes installing a loader application 141 and an associated dynamic link library (DLL) 142 (512). In some embodiments, loader application 141 is a relatively simple application that does not need to be updated very often, if ever. In some embodiments, loader application 141 runs in a process having an elevated privilege level (e.g., medium or high privilege level on Windows Vista®) in the client device's operating system and may be responsible for communications with the server 106, for download of updates, for upload of data and any other necessary communication between client 102-3 and server 106 (or between client 102-3 and proxy 160). For instance, in some embodiments, a process (on client 102-3) in which the loader application 141 executes communicates with server 106. Loader application 141 makes one or more procedure calls or function calls to programs or functions in the associated DLL 142. On the other hand, in some embodiments, DLL 142 functions as a core application that is responsible for all the functionality and features of the client application 140, including communications with the server. In some embodiments, the DLL 142 can communicate directly with the server because it is loaded in the same process as the loader application 141. Alternately, in some other embodiments, DLL 142 communicates with loader application 141 for any server communication and the DLL 142 is auto-updated by loader application 141 to provide new features, security updates, bug fixes and other changes.
In some embodiments, upon a first execution of the loader application 141, a user authorization is required to enable client application 140 to communicate with locations (e.g., server 106) external to client 102-3 (514). In some embodiments, the first execution of the loader application 141 triggers a firewall 144 on client 102-3, which asks a user to authorize communications with locations external to client 102-3 (516). Further, in some embodiments, the user authorizes communications with locations external to client 102-3 without requiring additional user authorization (518).
Upon the first and subsequent executions, the loader application 141 calls a function or procedure in the dynamic link library 142 (520). In some embodiments, the loader application 141 functions to load the dynamic link library 142 and calls a function or procedure in it. The dynamic link library 142 includes multiple functions, or procedures such as a function to request auto-updates. The dynamic link library 142 includes an auto-update function or procedure that sends requests to server 106 for auto-updates (524). In some embodiments, the dynamic link library 142 requests server 106 for auto-updates to itself periodically. For example, if the client application 140 remains loaded in the client, the dynamic link library 142 (via loader application 141) requests server 106 for auto-updates to itself each time a predefined amount of time (e.g., one day, or N days) has passed since the last auto-update request. In another example, each time the client application 140 is executed, the dynamic link library 142 (via loader application 141) sends a request to server 106 for an auto-update, unless it has already sent a request for an auto-update to the server within the predefined amount of time.
At the server 106, network communication module 108 (
Optionally, the auto-update request from the client includes a current DLL version number, value or other parameter specifying the current version of the application that is installed at the requesting client. This value is used by the DLL update module 143 to determine if it has an update for the requesting client, and if so, what update to send to the requesting client. In the event that the DLL update module 143 does not have any updates for the requesting client, the DLL update module 143 returns a predefined value or message to the requesting client, indicating that no updates are currently available.
Because updates of the DLL 142 do not cause the loader application 141 to be updated, the application 140 appears to the client operating system to remain unchanged. As a result, the next time the application 140 attempts to send event data to the server, or to send an auto-update request, the original user authorization (514) for application 140 to send data to locations (e.g., servers) external to the client remains valid and in effect, and therefore no firewall warnings (or other requests for user authorization) are triggered.
In some other embodiments, the process 500 does not include loading (510) an application 140 because the application 140 is pre-installed on a removable storage device (e.g., see
In some embodiments, the application 140/170 to be updated has multiple modules, but does not include a DLL. In such embodiments, the client 102 still requests updates for the application 140/170 (see operation 524,
In some embodiments, process 540 includes storing client application 170 (550). Client application 170 may be received and/or downloaded from server 106 (541). As shown in
The removable storage device 125 is coupled with client 102-4 (554). For example, the removable storage device 125 may be decoupled from client 102-4 after the client application 170 has been stored on it, and then later reconnected to client 102-4. Alternately, the removable storage device 125 may remain coupled to client 102-4 after the client application 170 has been stored on it. In yet other embodiments, the client application 170 may have been stored on the removable storage device 125 prior to the first coupling of the device 125 to client 102-4.
Upon coupling the removable storage device 125 to client 102-4, an auto-run function 189 stored on the removable storage device 125 causes a host operating system 816 on client 102-4 to execute client application 170 (see
In some embodiments, the first execution of the client application 170 on the first client computer to which the removable storage device 125 is coupled causes the host operating system 816 of that client (e.g., client 102-4) to execute the initial DLL 172 (see
At the server 106, network communication module 108 (
In some embodiments, optionally, the auto-update request received from the client 102-4 includes a current version number, value or other parameter specifying the current version of the application that is installed at the requesting client. This value is used by the DLL update module 143 to determine if it has an update for the requesting client, and if so, what update to send to the requesting client. In the event that the DLL update module 143 does not have any updates for the requesting client, the DLL update module 143 may return a predefined value or message to the requesting client, indicating that no updates are currently available.
The removable storage device 125 receives the updated client application (e.g., an updated DLL 173) (568) and stores the client application in a non-secure partition 182 (
Back at the client 102-4, the client application 170 is executed using the updated DLL 173 (stored in the non-secure partition of the removable storage device 125) and not the initial DLL 172 (572). However, if no updates were received, the client application 170 is executed using initial DLL 172. The loader application 171, upon execution at the client 102-4, calls a function or procedure in the DLL 173. In some embodiments, the loader application 171 functions to load the DLL 173 and calls a function or procedure in it. The dynamic link library 172 or 173 includes multiple functions, or procedures. The dynamic link library 172 or 173 includes an auto-update function or procedure that sends requests to server 106 for auto-updates (524). In some embodiments, the dynamic link library 172 or 173 requests server 106 for auto-updates to itself periodically. For example, if the client application 140 remains loaded in the client, the dynamic link library 172 or 173 (via loader application 171) requests server 106 for auto-updates to itself each time a predefined amount of time (e.g., one day, or N days) has passed with the last auto-update request. In another example, each time the client application 170 is executed, the dynamic link library 172 or 173 (via loader application 171) sends a request to server 106 for an auto-update, unless it has already sent a request for an auto-update to the server within the predefined amount of time.
Optionally, client 102-4 performs a function under control of the updated DLL 173 that is not performed under control of the initial DLL 172 (574). For example, updated DLL 173 may collect information about a type of event not processed by initial DLL 172. In another example, updated DLL 173 may collect different information for events, or may remove additional information from collected event related information, compared with the initial DLL 172.
In some embodiments, a user at client 102-2 executes one or more client applications 132 (610). As discussed, a client application 132 can be a web browser or an email application. Client application(s) 132, when executed by client 102-1, perform operations comprising local events at the client 102-1 (612). Examples of local events may include a user accessing a URL, a user accessing a client application 132, a user performing operations within an accessed URL or client application 132, a user clicking on a toolbar button, and so on. Further examples of a local event may include user-initiated changes to the client RTC time and/or changes to the client RTC time due to other events on the client 102-2.
Recording application 152 records event information 154 with respect to the local events at the client 102-2 (614). Recording application 152 also records a current client real time clock (RTC) 150 timestamp at the occurrence of each event (616). As discussed, the client RTC 150 timestamp may not be accurate for a number of reasons. For instance, the client RTC 150 timestamp may have been manually changed or have been changed by other events on the client 102-2. Therefore, recording application 152 assigns a unique sequence identification to each event (618). The client RTC 150 timestamp is used in conjunction with the unique event sequence identification by server 106 to determine the chronological order of events at the client 102-2 or time of occurrence of the events at the client 102-2, as discussed in reference to
In some embodiments, recording application 152 assigns each successive event a monotonically increasing integer value as its unique sequence identification. In some embodiments, recording application 152 assigns each successive event two integer values as its unique sequence identification. In some embodiments, the two integer values comprise a session value and a sequence value. The session value remains constant in value between executions of recording application 152 and changes value when a new execution of the recording application 152 begins. The sequence value changes monotonically in value while the session value remains constant and successive events occur at the client 102-2. In most implementations, recording application 152 assigns sequence identifications that monotonically increase in value with successive events. Accordingly, the sequence identification value of an event that happened later in time will be greater than the value of all events that have happened before that event. However, in an implementation in which recording application 152 assigns sequence identifications that monotonically decrease in value with successive events, the sequence identification value of an event that happened later in time will be less than the value of all events that have happened before that event.
In some embodiments, recording application 152 determines if a network connection is established between the client 102-2 and the server 106 and at least one trigger condition is met (620). The trigger conditions typically include one or more of: passage of a predetermined amount of time after a previous transmission of event data 156, collection of a predetermined amount of event data 156 or event information 154 at the client 102-2, and occurrence of a particular event or events at the client 102-2. For instance, a client 102-2 and/or a recording application 152 restart may constitute an event that acts as a trigger condition.
If a network connection is not established between the client 102-2 and the server 106 and/or at least one trigger condition is not met, process 600 continues at block 614. Otherwise, at block 622, recording application 152 transmits, via network interface 136, event data 156 including the event information 154 and associated client RTC stamp and sequence identification information to server 106. In some embodiments, also included in the event data 156 is the current client RTC 150 time, indicating the time of transmission of the event data from the client 102-2. In some embodiments, event data 156 is transmitted to a proxy 160 before being transmitted to server 106.
Referring to
Event reconstruction module 110 records a time skew between the associated client RTC 150 and a server RTC 112 upon receipt of the event data at the server 106 (630). For example, upon receipt of the event data (including a recorded client RTC timestamp, indicating the time of transmission of the event data from the client 102-2), event reconstruction module 110 records a server RTC 112 time and determines a skew between the recorded client RTC 150 timestamp and the server RTC 112 time. The time skew and event data may be stored in an event log 130 (
In some embodiments, after the log of all events is recorded on server 106, the event reconstruction module 110 uses heuristics based on the recorded earlier data to reconstruct the chronological order of the events on the client 102-2 and the time when each event occurred on the client 102-2.
The event reconstruction module 110 uses sequence identification information associated with each event to prepare an ordering of the events (632). Event reconstruction module 110 normalizes the event (i.e., client) RTC timestamps (as provided by the client RTC 150) with the recorded time skew between the client RTC and the server RTC, if required (634). In some embodiments, if an ordering of the events by respective sequence identifications does not match a chronological order of the events based on event (i.e., client) RTC timestamps, event reconstruction module 110 normalizes the event RTC timestamps with the recorded time skew between the client RTC and the server RTC.
The timestamp normalization converts each event timestamp to be relatively accurate to the server RTC 112. Assuming that the server RTC is accurate, accurate timestamps can be assigned to the events that occurred on the device. In case the event order based on the assigned normalized timestamps does not agree with event sequence identification order, in some embodiments, the event reconstruction module 110 can apply heuristics to normalize either the timestamps or the sequence identifications depending on the expected reliability of both. Event sequence identifications usually can be implemented more reliably than the event timestamps. Another benefit of using both timestamps and sequence identifications is that events that occur within a shorter period of time than the client RTC 150 resolution can still be assigned accurate chronological order. For example if the client RTC 150 has resolution of 17 milliseconds (ms) and a few events occur within 3 ms of each other, a plurality of the event will contain the same timestamp, but each event will have unique sequence identification that reflects the correct order of occurrence.
Browser application 132a maybe a web browser application, such as Internet Explorer® (a trademark of Microsoft Corporation), Mozilla Firefox® a trademark of Mozilla Corporation), Google Chrome (a trademark of Google Inc.), etc. Specifically, and as discussed further in reference to
In some embodiments, process 720 of
When the application (such as, client application 140, application 170, event application 134, or recording application 152) needs to communicate with communications network 104, but is unable to do so, e.g., when data communication is blocked by a firewall 144 (731), the application uses the stored callback information to communicate a network request to the browser loadable object 133 (732). Optionally, the mechanism used to communicate this request is a remote procedure call (RPC) request from the application to the browser loadable object. In some embodiments, this mechanism is used upon a determination that event information is being blocked from being sent to the communications network 104 by a firewall at the client 102 (731); otherwise, a network request (such as, a request to a server 106 to transmit an auto-update, or a data upload to server 106) is directly sent by the application to the communications network 104 using network interface 136 at client 102.
The browser loadable object 133 receives the RPC request from the application and sends a network request with the parameters specified in the RPC callback from the application (734). In some embodiments, the browser loadable object 133 sends the network request to a server 106, or to a server 106 via a proxy 160. Results of the network request (such as one or more of: a return code, return data, an auto-update from server 106, an acknowledgement that a data upload to server 206 was successful, etc.) are transferred back to the application (736) as a response to the RPC initiated by the application (in 732).
In some embodiments, the registration phase (728) of process 720 is avoided. Accordingly, instead of registering callback information for a remote procedure call, a Component Object Model (COM) object is placed in a Running Object Table (ROT), and an operating system mechanism (such as a mutex or queue) is used to enable the application to get hold of the COM object and perform a RPC callback when the application needs to send a network request. Further, instead of RPC, other mechanisms, such as shared memory, registry, and so on, may be used to perform the cross-process communication.
Memory 806 includes high-speed random access memory, such as DRAM, SRAM, DDR RAM or other random access solid state memory devices; and may include non-volatile memory, such as one or more magnetic disk storage devices, optical disk storage devices, flash memory devices, or other non-volatile solid state storage devices. Memory 806 may optionally include one or more storage devices remotely located from the CPU(s) 802. Memory 806, or one or more of the non-volatile memory devices in memory 806 comprise a computer readable storage medium that stores one or more programs for execution by one or more processors. In some embodiments, memory 806 or the computer readable storage medium of memory 806 stores the following programs, modules and data structures, or a subset thereof:
Each of the above identified elements of the client 102 may be stored in one or more of the previously mentioned memory devices of memory 806, and corresponds to a set of instructions for performing a function described above. The above identified modules or programs (i.e., sets of instructions) need not be implemented as separate software programs, procedures or modules, and thus various subsets of these modules may be combined or otherwise re-arranged in various embodiments. In some embodiments, memory 806 may store a subset of the modules and data structures identified above. Furthermore, memory 806 may store additional modules and data structures not described above.
Each of the above identified elements of the server system 106 may be stored in one or more of the previously mentioned memory devices of memory 906, and corresponds to a set of instructions for performing a function described above. The above identified modules or programs (i.e., sets of instructions) need not be implemented as separate software programs, procedures or modules, and thus various subsets of these modules may be combined or otherwise re-arranged in various embodiments. In some embodiments, memory 906 may store a subset of the modules and data structures identified above. Furthermore, memory 906 may store additional modules and data structures not described above.
Although
Each of the above identified elements of the proxy 160 may be stored in one or more of the previously mentioned memory devices of memory 1006, and corresponds to a set of instructions for performing a function described above. The above identified modules or programs (i.e., sets of instructions) need not be implemented as separate software programs, procedures or modules, and thus various subsets of these modules may be combined or otherwise re-arranged in various embodiments. In some embodiments, memory 1006 may store a subset of the modules and data structures identified above. Furthermore, memory 1006 may store additional modules and data structures not described above.
The foregoing description, for purpose of explanation, has been described with reference to specific embodiments. However, the illustrative discussions above are not intended to be exhaustive or to limit the invention to the precise forms disclosed. Many modifications and variations are possible in view of the above teachings. The embodiments were chosen and described in order to best explain the principles of the invention and its practical applications, 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.
This application claims priority under 35 U.S.C. 119 to U.S. provisional application 61/141,655, “Recording Client Events Using Application Resident on Removable Storage Device,” filed Dec. 30, 2008, which is hereby incorporated by reference in its entirety. This application is related to U.S. patent application Ser. No. 12/650,388, “Auto-Run and Auto-Update of Application Stored on Removable Storage Device,” filed on Dec. 30, 2009. This application is related to U.S. patent application Ser. No. 12/650,375, “Browser Based Event Information Delivery Mechanism Using Application Resident on Removable Storage Device,” filed on Dec. 30, 2009.
Number | Name | Date | Kind |
---|---|---|---|
5617561 | Blaauw et al. | Apr 1997 | A |
5638509 | Dunphy | Jun 1997 | A |
5963915 | Kirsch | Oct 1999 | A |
5995965 | Experton | Nov 1999 | A |
6018619 | Allard et al. | Jan 2000 | A |
6052730 | Felciano | Apr 2000 | A |
6182229 | Nielsen | Jan 2001 | B1 |
6243816 | Fang | Jun 2001 | B1 |
6253328 | Smith, Jr. | Jun 2001 | B1 |
6385729 | DiGiorgio | May 2002 | B1 |
6389542 | Flyntz | May 2002 | B1 |
6434700 | Alonso | Aug 2002 | B1 |
6505201 | Haitsuka et al. | Jan 2003 | B1 |
6587949 | Steinberg | Jul 2003 | B1 |
6832271 | Ivan | Dec 2004 | B1 |
6975656 | Madhavapeddi et al. | Dec 2005 | B1 |
6975659 | Nagano et al. | Dec 2005 | B2 |
7146638 | Malcolm | Dec 2006 | B2 |
7216236 | Kou et al. | May 2007 | B2 |
7237137 | Goeller | Jun 2007 | B2 |
7418733 | Connary et al. | Aug 2008 | B2 |
7480716 | Ehrich | Jan 2009 | B2 |
7519704 | Ehrich | Apr 2009 | B2 |
7660412 | Lee | Feb 2010 | B1 |
7702750 | Momtchilov | Apr 2010 | B2 |
7712131 | Lethe | May 2010 | B1 |
7904652 | Castelli | Mar 2011 | B1 |
7930476 | Castelli | Apr 2011 | B1 |
8056070 | Goller et al. | Nov 2011 | B2 |
8082330 | Castelli | Dec 2011 | B1 |
8230127 | Kim | Jul 2012 | B2 |
20020010769 | Kippenhan et al. | Jan 2002 | A1 |
20020078256 | Gehman et al. | Jun 2002 | A1 |
20030110376 | Wiener et al. | Jun 2003 | A1 |
20040003290 | Malcolm | Jan 2004 | A1 |
20040044912 | Connary et al. | Mar 2004 | A1 |
20040128528 | Poisner | Jul 2004 | A1 |
20040255053 | Kang | Dec 2004 | A1 |
20050028171 | Kougiouris et al. | Feb 2005 | A1 |
20050033968 | Dupouy | Feb 2005 | A1 |
20050038888 | Labertz | Feb 2005 | A1 |
20050094661 | Seligman et al. | May 2005 | A1 |
20050114707 | DeStefano et al. | May 2005 | A1 |
20050251530 | Handy-Bosma et al. | Nov 2005 | A1 |
20050256847 | Karstens | Nov 2005 | A1 |
20050278731 | Cameron et al. | Dec 2005 | A1 |
20060015745 | Sukigara | Jan 2006 | A1 |
20060031205 | Perkins et al. | Feb 2006 | A1 |
20060031680 | Maiman | Feb 2006 | A1 |
20060075105 | Momtchilov | Apr 2006 | A1 |
20060075228 | Black et al. | Apr 2006 | A1 |
20060190998 | Aiello et al. | Aug 2006 | A1 |
20070106692 | Klein | May 2007 | A1 |
20070110070 | Chang et al. | May 2007 | A1 |
20070192378 | Atchison | Aug 2007 | A1 |
20070205860 | Jones | Sep 2007 | A1 |
20070225578 | Howell | Sep 2007 | A1 |
20070244571 | Wilson et al. | Oct 2007 | A1 |
20070255704 | Baek et al. | Nov 2007 | A1 |
20070266079 | Criddle et al. | Nov 2007 | A1 |
20070300306 | Hussain | Dec 2007 | A1 |
20080005264 | Brunell et al. | Jan 2008 | A1 |
20080022380 | Lu | Jan 2008 | A1 |
20080052770 | Ali et al. | Feb 2008 | A1 |
20080092638 | Brenneman et al. | Apr 2008 | A1 |
20080098753 | Allison et al. | May 2008 | A1 |
20080133739 | Zuzga et al. | Jun 2008 | A1 |
20080167860 | Goller et al. | Jul 2008 | A1 |
20080242306 | Fletcher et al. | Oct 2008 | A1 |
20090013064 | Taylor | Jan 2009 | A1 |
20090077136 | Igawa et al. | Mar 2009 | A1 |
20090094383 | Hinton et al. | Apr 2009 | A1 |
20090125544 | Brindley | May 2009 | A1 |
20090257080 | Herrmann | Oct 2009 | A1 |
20120162404 | Howell | Jun 2012 | A1 |
Entry |
---|
Sygate Personal Firewall Pro User Guide Version 5.5, Sygate, 2003, 16 pages. |
US Office Action for U.S. Appl. No. 12/650,388 dated Dec. 5, 2011. |
US Office Action for U.S. Appl. No. 12/650,388 dated Dec. 19, 2013. |
US Office Action for U.S. Appl. No. 12/650,388 dated Mar. 21, 2014. |
US Office Action for U.S. Appl. No. 12/650,388 dated May 25, 2012. |
US Office Action for U.S. Appl. No. 12/650,388, dated Jan. 17, 2013. |
US Office Action for U.S. Appl. No. 12/650,388 dated Aug. 15, 2013. |
Number | Date | Country | |
---|---|---|---|
61141655 | Dec 2008 | US |