摘要:
A problem to be solved by the invention is to make data updating executable properly and efficiently in a simple computation procedure with a small memory capacity even when updatable areas for storing data to be updated are discontiguous with other areas being mixed in a memory. A code area information file (115), which corresponds to arrangement information of code areas in a data storage memory (121) of a differential data restoring section (120), is provided in a differential data generating and sending section (110). The differential data restoring section (120) restores post-update data from differential data and pre-update data in a restoring section (124) while referencing a reference range specified by rewrite addresses generated based on the code area information file (115). This prevents a restoring process from being performed while referencing over other areas and makes it possible to perform a proper restoration of post-update data with simple and fewer processing steps that do not require such a process as address translation on a restoring side.
摘要:
When update data stored in portable storage media are distributed to update data, the data updatable frequency can be freely restricted at the distribution source of the update data. A data updatable upper limit frequency and an update frequency at which data update is carried out are stored in an update-frequency data storing portion 112 of an external storage medium 103. On the basis of these update-frequency data, it is judged by an update permission judging portion 110 whether there is data update permission in a terminal 102. If there is update permission, the update data is delivered to an update data reading portion 109 in the terminal 102, and the data update is carried out on the basis of the update data by a post-update data restoring portion 107 of the terminal 102, and the post-update data is stored in an in-terminal data storing portion 104. When the data update is carried out, update-frequency data is updated by an update frequency updating portion 111.
摘要:
An object of the invention is to reduce the amount of the differential data for use in data updating in a data updating system. At the time of producing differential data, a Move/Add determining unit (35) determines whether to produce Move data indicating a Move instruction to move and copy a matching data string from a pre-updating file to a post-updating file or Add data indicating an Add instruction to add and copy data. At the time, a matching data string search unit (34) searches for a matching data string between the pre-updating file and the post-updating file. If the length of the data string to be copied is not less than five bytes, the data is output from a Move data output unit (36) as Move data, and if the length is not more than four bytes, the data is output from the Add data output unit (37) as Add data. The Move data and the Add data are combined to produce differential data. The Move size and Move address of the Move data are expressed by a variable bit length. In this way, the amount of differential data can be reduced.