Approach for data integrity in an embedded device environment
First Claim
1. A data backup approach for an embedded device upon loss of power without a battery backup, comprising:
- a device having;
runtime data;
a backup service running on the device;
a volatile memory cache available to the backup service;
a non-volatile memory available to the volatile memory cache; and
a non-battery backup power source connected to the volatile memory cache; and
wherein;
changed runtime data of the device are saved synchronously from the backup service to the volatile memory cache at the time the runtime data incur one or more changes;
the data with one or more changes are moved as a block from the specified portion of the volatile memory cache to the non-volatile memory;
upon a loss of primary power, data in the volatile memory cache are retained in the volatile memory cache using the non-battery backup power source; and
upon return of primary power, the data are read from the non-volatile memory and the volatile memory cache by the backup service.
1 Assignment
0 Petitions
Accused Products
Abstract
A system for providing data integrity in an embedded device environment. One approach is operating an embedded control engine with non-battery backup power and providing data backup with inexpensive memory. Just data having changes may be provided to a volatile memory such as an SRAM module. After an accumulation of a certain amount of data, the data may be moved onto a relatively larger non-volatile memory, such as an NVRAM module or other type of flash memory. Non-battery backup power may maintain the SRAM module for a period after a power loss, so as to retain data. After restoration of power, data from NVRAM and SRAM modules may be read by the backup service to recreate the last known state of the control engine before the power loss.
-
Citations
22 Claims
-
1. A data backup approach for an embedded device upon loss of power without a battery backup, comprising:
-
a device having; runtime data; a backup service running on the device; a volatile memory cache available to the backup service; a non-volatile memory available to the volatile memory cache; and a non-battery backup power source connected to the volatile memory cache; and wherein; changed runtime data of the device are saved synchronously from the backup service to the volatile memory cache at the time the runtime data incur one or more changes; the data with one or more changes are moved as a block from the specified portion of the volatile memory cache to the non-volatile memory; upon a loss of primary power, data in the volatile memory cache are retained in the volatile memory cache using the non-battery backup power source; and upon return of primary power, the data are read from the non-volatile memory and the volatile memory cache by the backup service. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9)
-
-
10. A method for providing data backup of an embedded device for a power interrupt without backup batteries, comprising:
-
providing a backup service for data points of a device; saving by the backup service, a data point which has a change of value to a volatile memory cache at the time the data point is changed during operation of the device; saving the data point from the volatile memory cache to a non-volatile memory cache to a non-volatile memory; upon a loss of primary power, data points in the volatile memory cache are retained using a non-battery electrical power source; after a power restoration, reading the data points from the volatile memory cache and the non-volatile memory by the backup service; and recreating a last known state of the device by the backup service with the data points read from the volatile memory cache and the non-volatile memory upon the power restoration. - View Dependent Claims (11, 12, 13, 14, 15, 16, 17)
-
-
18. A system for data integrity in an embedded device environment, comprising:
-
an embedded device having persistent data points; a backup service running on the embedded device; a volatile memory available to the backup service; and a non-volatile memory available to the volatile memory; and wherein; the volatile memory comprises a cache between the backup service and the non-volatile memory; when a data point has a change of value, then the data point is saved by the backup service to the volatile memory; after consuming a certain portion of the volatile memory, the data points are flushed from the volatile memory to the non-volatile memory; and a non-battery device provides electrical energy to permit the volatile memory to retain data points upon a power loss. - View Dependent Claims (19, 20)
-
-
21. An embedded device with data backup capability upon loss of power without a battery backup, the embedded device comprising:
-
an embedded control engine having data, the embedded control engine including a backup service; a volatile memory cache available to the backup service, the volatile memory cache having at least two partitions; a non-volatile memory available to the volatile memory cache and the backup service; and a non-battery backup power source connected to the volatile memory cache, the non-battery backup power source for providing power to the embedded control engine and/or the volatile memory cache upon a power outage; and wherein; the backup service is configured to; synchronously save data upon a change in value to a first partition of the volatile memory cache; move data from the first portion of the volatile memory cache to the non-volatile memory when the first portion of the volatile memory cache is full and synchronously save data upon a change in value to a different partition of the volatile memory cache; and upon a return of primary power after a power loss, read data from the volatile memory cache and the non-volatile memory, wherein the data stored in the volatile memory cache were retained using the non-battery backup power source. - View Dependent Claims (22)
-
Specification