Pay-as-you-go or pay-per-use business models have been used in many areas of commerce, from cellular telephones to commercial laundromats. In developing a pay-as-you go business, a service provider, for example, a cellular telephone provider, offers the use of hardware (a cellular telephone) at a lower-than-market cost in exchange for a commitment to remain a subscriber to their network. In this specific example, the customer receives a cellular phone for little or no money in exchange for signing a contract to become a subscriber for a given period of time. Over the course of the contract, the service provider recovers the cost of the hardware by charging the consumer for using the cellular phone.
One possible pay-as-you-go business model measures use based on some measurable unit, such as time, CPU cycles, disk access, data packets transferred, etc. The unit for measurement, may, in some cases, be quite fine, for either technical or business reasons. For example, time may be measured in microseconds because it is a convenient unit for the operating system or other metering circuit to access. Since metering data may be tracked in volatile memory, the system may be required to periodically store the metering data in a non-volatile memory should the power be lost or another catastrophic loss of data occur in volatile memory. However, non-volatile memory, such as disk drive, may be too slow to write data at each “clock tick.” Similarly, other non-volatile memory, such as EEPROM, may have a restricted number of write cycles that does not allow writing each “clock tick” to memory over the life of the product. Even when using a fast non-volatile memory, such as battery-backed RAM, encryption processes for securing the data may be too slow to allow writing data as fast as it is updated.
Since each of the above deficiencies in writing metering data to non-volatile memory results in storing the data a rate slower than it is generated, some quantization error may occur between the actual metered data and that written to non-volatile memory. This effect is most evident in the case when the computer shuts down or restarts without writing the current metering data to non-volatile memory. Over time, this quantization error may accrue to the benefit of either the subscriber or the service provider, perhaps substantially. In some cases, the benefit to one party could be so substantial as to invite fraud by the subscriber on one hand or cause subscriber dissatisfaction on the other.
Following an orderly shutdown, the subsequent power up or restart of the computer will restore metering data representing the actual value at the time of the shutdown. However, following a non-graceful shutdown, due to a power loss, system lock-up, manual restart, etc. the data last stored in non-volatile memory probably does not represent the actual value at the time of the non-graceful shutdown. The extent to which the stored value varies from the actual is a function of the time between writes to non-volatile memory and when the system event occurred during that time. To help ensure that metering data is recovered in accordance with the business model of the service provider, or other subscription underwriter, metering data may be restored, not with the raw value at the last write, but with a value based on the value at the last write and the period between writes. This parametrically-derived value can be adjusted from favoring the subscriber to favoring the service provider using a number of criteria. Since a major event associated with data loss, such as loss of metering data is power loss, the parametrically-derived value can be adjusted in favor of the user initially to reflect a user's lack of control of power outages. However, based on volume and velocity analysis of non-graceful shutdowns, the parametrically-derived value can be re-adjusted to favor the service provider, thereby discouraging subscriber attempts to time an “ungraceful shutdown” to their benefit
Although the following text sets forth a detailed description of numerous different embodiments, it should be understood that the legal scope of the description is defined by the words of the claims set forth at the end of this disclosure. The detailed description is to be construed as exemplary only and does not describe every possible embodiment since describing every possible embodiment would be impractical, if not impossible. Numerous alternative embodiments could be implemented, using either current technology or technology developed after the filing date of this patent, which would still fall within the scope of the claims.
It should also be understood that, unless a term is expressly defined in this patent using the sentence “As used herein, the term ‘ ______’ is hereby defined to mean . . . ” or a similar sentence, there is no intent to limit the meaning of that term, either expressly or by implication, beyond its plain or ordinary meaning, and such term should not be interpreted to be limited in scope based on any statement made in any section of this patent (other than the language of the claims). To the extent that any term recited in the claims at the end of this patent is referred to in this patent in a manner consistent with a single meaning, that is done for sake of clarity only so as to not confuse the reader, and it is not intended that such claim term by limited, by implication or otherwise, to that single meaning. Finally, unless a claim element is defined by reciting the word “means” and a function without the recital of any structure, it is not intended that the scope of any claim element be interpreted based on the application of 35 U.S.C. §112, sixth paragraph.
Much of the inventive functionality and many of the inventive principles are best implemented with or in software programs or instructions and integrated circuits (ICs) such as application specific ICs. It is expected that one of ordinary skill, notwithstanding possibly significant effort and many design choices motivated by, for example, available time, current technology, and economic considerations, when guided by the concepts and principles disclosed herein will be readily capable of generating such software instructions and programs and ICs with minimal experimentation. Therefore, in the interest of brevity and minimization of any risk of obscuring the principles and concepts in accordance to the present invention, further discussion of such software and ICs, if any, will be limited to the essentials with respect to the principles and concepts of the preferred embodiments.
Many prior-art-high-value computers, personal digital assistants, organizers and the like are not suitable for use in a pre-pay or pay-for-use business model as is. As discussed above, simple methods for tracking and storing metering data may not be adequate to discourage fraudulent attempts to get “free time” for the subsidized computer.
The computer 110 may also include cryptographic services 125. Such services may include support for both symmetric and asymmetric cryptographic algorithms, key generation, random number generation and secure storage. Cryptographic services may be provided by a commonly available integrated circuit, for example, a smart chip such as those provided by Seimens™ or STMicroelectronics™.
Computer 110 typically includes a variety of computer readable media. Computer readable media can be any available media that can be accessed by computer 110 and includes both volatile and nonvolatile media, removable and non-removable media. By way of example, and not limitation, computer readable media may comprise computer storage media and communication media. Computer storage media includes volatile and nonvolatile, removable and non-removable media implemented in any method or technology for storage of information such as computer readable instructions, data structures, program modules or other data. Computer storage media includes, but is not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, digital versatile disks (DVD) or other optical disk storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other medium which can be used to store the desired information and which can accessed by computer 110. Communication media typically embodies computer readable instructions, data structures, program modules or other data in a modulated data signal such as a carrier wave or other transport mechanism and includes any information delivery media. The term “modulated data signal” means a signal that has one or more of its characteristics set or changed in such a manner as to encode information in the signal. By way of example, and not limitation, communication media includes wired media such as a wired network or direct-wired connection, and wireless media such as acoustic, radio frequency, infrared and other wireless media. Combinations of the any of the above should also be included within the scope of computer readable media.
The system memory 130 includes computer storage media in the form of volatile and/or nonvolatile memory such as read only memory (ROM) 131 and random access memory (RAM) 132. A basic input/output system 133 (BIOS), containing the basic routines that help to transfer information between elements within computer 110, such as during start-up, is typically stored in ROM 131. RAM 132 typically contains data and/or program modules that are immediately accessible to and/or presently being operated on by processing unit 120. By way of example, and not limitation,
The computer 110 may also include other removable/non-removable, volatile/nonvolatile computer storage media. By way of example only,
The drives and their associated computer storage media discussed above and illustrated in
The computer 110 may operate in a networked environment using logical connections to one or more remote computers, such as a remote computer 180. The remote computer 180 may be a personal computer, a server, a router, a network PC, a peer device or other common network node, and typically includes many or all of the elements described above relative to the computer 110, although only a memory storage device 181 has been illustrated in
When used in a LAN networking environment, the computer 110 is connected to the LAN 171 through a network interface or adapter 170. When used in a WAN networking environment, the computer 110 typically includes a modem 172 or other means for establishing communications over the WAN 173, such as the Internet. The modem 172, which may be internal or external, may be connected to the system bus 121 via the user input interface 160, or other appropriate mechanism. In a networked environment, program modules depicted relative to the computer 110, or portions thereof, may be stored in the remote memory storage device. By way of example, and not limitation,
Metering data may be written to non-volatile memory at a given rate, using a convenient example, once every 100 seconds. The period for the write cycle is then 1/rate, or 100 seconds. The y-axis of the graph of
The x-axis of the chart represents the cumulative number of recovery events since a starting point. The starting point may be the initial operation of the computer and the number represents total recovery events over the life of the computer. Alternatively, it may be desirable to reset the cumulative number of recovery events to reflect change of ownership, a new subscription period, etc.
Expanding the hypothetical example from above, a computer, such as the computer 110, may have 1000 seconds of pre-paid operation remaining when the metering data is last written to non-volatile memory 141. A recovery event may occur any time during the 100 second period. Should that happen, a prior art implementation might restore the metering data at 1000 seconds. Such a process may invite the subscriber to systematically reset the system after 98 seconds to get “free” usage time, especially as the period gets longer. Alternatively, setting the system to restore the usage time at 900 seconds may be overly restrictive and cause customer dissatisfaction. A simple splitting of the difference, i.e. crediting 950 seconds, will result in parity assuming the recovery events occur in a statistically random fashion. This may not provide enough incentive to discourage attempted fraud.
The curve 206 of
Obviously, the process works with other shaped curves, for example, curve 216, where the average advantage is to the service provider until the zero crossing. Additionally, it should also be obvious that the shape of the curve and the scale of the axes may be almost infinitely variable, and may be set initially or changed on-the-fly, for example, over network 10, to accommodate observed patterns of user behavior and actual power outages for a given geographical region. Moreover, the y-axis scale may be set to allow adjustment greater than ½ the period, i.e. adjusting the restored metering data to 1050 seconds, if, for example, the service provider wishes to compensate for boot time, which may be sound from business standpoint as long as the user pays for the service and is satisfied with it, and yet this opens a contained and limited opportunity for fraud.
To further discourage fraudulent attempts to gain usage, the period between writes to non-volatile memory 141 may be varied. This may make it more difficult for a subscriber to cause a recovery event in an attempt to gain time since the period for writing metering data is varied. A random number generator, such as one available from a cryptographic circuit 125 may be used to set the duration of the period as often as each period. As discussed further below, both the metering data and the most recent period may be written to non-volatile memory 141. To discourage tampering, the data may also be encrypted before being written to the non-volatile memory 141.
The period for writing metering data may be varied for other reasons, such as one or more system characteristics. A system characteristic that may influence period selection may be the behavior and latencies of the physical memory associated with the metering data write process. For example, the period may be longer overall when slower memory is used, such as electrically erasable programmable read only memory (not depicted) vs. a hard disk drive 141. Also, with some non-volatile-memory and storage technologies, the latencies of write operations may fluctuate considerably. That is, a configuration change may change the memory destination for the metering data: When the system characteristics are changed in this manner, the metering data write period may be updated in response to those changes.
Because the period may vary, perhaps significantly, the above chart shows the y-axis as a percentage of the period, therefore any restored metering data is adjusted in a consistent manner. However, the adjustment curve 206 may be expressed in absolute units, such as seconds to further abstract the adjustment. In an exemplary embodiment, the y-axis distribution may be dynamically adjusted based on various business policies and needs. For example, the model may vary according to the number of previous recovery events, how frequently recovery events occur, the length of time the user has possessed the computer 110, etc. The y-axis distribution may follow arbitrary or probabilistic models, such as normal (Gaussian) or uniform shapes. While
When the period has expired, the yes branch from block 304 may be taken to block 306. At block 306 the metering data may optionally be encrypted and then written to non-volatile memory 141. In order to correctly implement the algorithm for adjusting the metering data upon recovery, the period information for the current data storage cycle may also be written to the non-volatile memory 141. The period may then be adjusted 308 to vary the period of the write cycle. The use of a random number or other pseudo-random sequence for determining the next period is known in the art. As previously mentioned, the period may be adjusted 308 to discourage abuse of the metering data recovery process. When the period has been adjusted 308, execution may return to the monitoring process at block 302. The monitoring process 302 may run continuously while execution of blocks 304, 306 and 308 occurs.
When the metering data has been read and adjusted 408, information associated with the cumulative number recovery events may be updated 409 and normal operation may continue at block 410. Similarly, when the last shutdown was normal, the no branch from block 404 may be taken to block 412 to execute a normal boot and metering data restoration followed by normal operation at block 410.
Although the forgoing text sets forth a detailed description of numerous different embodiments of the invention, it should be understood that the scope of the invention is defined by the words of the claims set forth at the end of this patent. The detailed description is to be construed as exemplary only and does not describe every possible embodiment of the invention because describing every possible embodiment would be impractical, if not impossible. Numerous alternative embodiments could be implemented, using either current technology or technology developed after the filing date of this patent, which would still fall within the scope of the claims defining the invention.
Thus, many modifications and variations may be made in the techniques and structures described and illustrated herein without departing from the spirit and scope of the present invention. Accordingly, it should be understood that the methods and apparatus described herein are illustrative only and are not limiting upon the scope of the invention.