CN106055430A - System backup updating method and device for PTZ camera - Google Patents
System backup updating method and device for PTZ camera Download PDFInfo
- Publication number
- CN106055430A CN106055430A CN201610366281.1A CN201610366281A CN106055430A CN 106055430 A CN106055430 A CN 106055430A CN 201610366281 A CN201610366281 A CN 201610366281A CN 106055430 A CN106055430 A CN 106055430A
- Authority
- CN
- China
- Prior art keywords
- backup
- file
- operating system
- subregion
- normal
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/07—Responding to the occurrence of a fault, e.g. fault tolerance
- G06F11/14—Error detection or correction of the data by redundancy in operation
- G06F11/1402—Saving, restoring, recovering or retrying
- G06F11/1415—Saving, restoring, recovering or retrying at system level
- G06F11/1435—Saving, restoring, recovering or retrying at system level using file system or storage system metadata
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/60—Software deployment
- G06F8/65—Updates
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/60—Control of cameras or camera modules
- H04N23/617—Upgrading or updating of programs or applications for camera control
Abstract
The invention discloses a system backup updating device for a PTZ camera, and the device comprises a system dividing unit which is used for dividing a storage space of an operating system into a normal section and a backup section, wherein the normal section is used for storing the files of the operating system, and the backup section is used for storing the backup files of the files of the operating system; a backup updating unit which is used for synchronous updating of the backup files of the backup section during the updating of the files, stored in the normal section, of the operating system; and a backup reading unit which is used for reading the updated backup files from the backup section and starting the operating system when the files, stored in the normal section, of the operating system have faults. According to the invention, the device can achieve the automatic updating and backup of the operating system of the camera conveniently and quickly.
Description
Technical field
The present invention relates to system backup technical field, more particularly, to the system backup update method of cradle head camera
And device.
Background technology
Cradle head camera is built-in with operating system, but owing to the function of photographic head is relatively simple, so to operating system
Requiring the highest, and the hardware memory space being limited by photographic head itself is less, the kernel of this operating system typically can be cut out
Cut and meet the basic required of photographic head, even without in view of utilizing extra memory space to back up.Whenever taking the photograph
When issuing more redaction as the operating system of head, generally require user oneself and notice and download photographic head manufacturer on its site
The operating system of the latest edition issued.Operating system is most important, in the startup of photographic head to the normal work of photographic head
Cheng Zhong, if the system file existing problems of operating system, then photographic head cannot normally start.If it addition, the behaviour of photographic head
Occur that system file is lost or other faults as system, it is desired nonetheless to user finds voluntarily on the website of photographic head manufacturer should
The operating system of photographic head model carries out firmware reparation.
So, renewal and the reparation of the camera operation system of prior art bother the most very much.
Summary of the invention
In view of the above problems, the present invention proposes system backup update method and the device of a kind of cradle head camera, it is possible to
The operating system realizing photographic head easily and fast automatically updates and backs up.
The embodiment of the present invention provides the system backup update method of a kind of cradle head camera, including:
The memory space of operating system is divided into normal subregion and backup subregion, and wherein said normal subregion is used for storing
Operating system file, described backup subregion is for the backup file of described operating system file;
When the operating system file of described normal partitioned storage updates, the backup file of described backup subregion is carried out same
Step updates;
When the operating system file of described normal partitioned storage breaks down, read the standby of renewal from described backup subregion
Operating system described in part file start.
Preferably, when the operating system file of described normal partitioned storage breaks down, read from described backup subregion
After the step of operating system described in the backup file start updated, also include:
According to the index of file name, described normal partitioned storage replaced by the backup file updated by described backup subregion
Operating system file, restores the operating system file of described normal subregion.
Preferably, when the operating system file of described normal partitioned storage updates, by the backup literary composition of described backup subregion
Part carries out the step of synchronized update, including:
Read operation system update bag, updates the operating system file that described normal subregion is current;
According to the file encryption check code in described operating system update bag, it is judged that the operation system that described normal subregion is current
System file the most correctly updates;
After described current operating system file is correctly updated, update the backup file of described backup subregion.
Preferably, when the operating system file of described normal partitioned storage updates, by the backup literary composition of described backup subregion
Part carries out the step of synchronized update, including:
When every the default time cycle, according to the renewal of the operating system file of described normal partitioned storage, will increase
Amount backup file adds to described backup subregion.
Preferably, when the operating system file of described normal partitioned storage updates, by the backup literary composition of described backup subregion
Part carries out the step of synchronized update, including:
When every the default time cycle, according to the renewal of the operating system file of described normal partitioned storage, will be poor
Amount backup file adds to described backup subregion.
Preferably, when the operating system file of described normal partitioned storage updates, by the backup literary composition of described backup subregion
After part carries out the step of synchronized update, also include:
The backup file of described backup subregion is carried out lossless compress.
Preferably, when the operating system file of described normal partitioned storage updates, by the backup literary composition of described backup subregion
After part carries out the step of synchronized update, also include:
The backup file of described backup subregion is carried out file block compression.
Preferably, when the operating system file of described normal partitioned storage updates, by the backup literary composition of described backup subregion
After part carries out the step of synchronized update, also include:
The backup file of described backup subregion is carried out Differential Compression.
Preferably, after the operating system file of described normal partitioned storage breaks down, read from described backup subregion
Before taking the step of operating system described in the backup file start of renewal, also include:
The backup file being compressed described backup subregion decompresses.
Preferably, the backup file being compressed described backup subregion decompresses, including:
The operating system file of described normal partitioned storage replaced by backup file after decompressing.
Correspondingly, embodiments provide the system backup updating device of a kind of cradle head camera, including:
System division unit, for being divided into normal subregion and backup subregion, Qi Zhongsuo by the memory space of operating system
Stating normal subregion for storing operating system file, described backup subregion is for the backup file of described operating system file;
Backup updating unit, for when the operating system file of described normal partitioned storage updates, dividing described backup
The backup file in district carries out synchronized update;
Unit is read in backup, for when the operating system file of described normal partitioned storage breaks down, from described standby
Part subregion reads operating system described in the backup file start updated.
Preferably, also include: read, with described backup, the system reset unit that unit is connected, for according to file name
Index, by described backup subregion update backup file replace described normal partitioned storage operating system file, to described just
Often the operating system file of subregion restores.
Preferably, described backup updating unit, including:
Update and read subelement, for read operation system update bag, update the operating system that described normal subregion is current
File;
Update syndrome unit, for according to the file encryption check code in described operating system update bag, it is judged that described
The operating system file that normally subregion is current the most correctly updates;
Update backup subelement, for after described current operating system file is correctly updated, update described backup
The backup file of subregion.
Preferably, including: the incremental update unit being connected with described backup updating unit, for every the default time
During the cycle, according to the renewal of the operating system file of described normal partitioned storage, incremental backup file is added to described backup
Subregion.
Preferably, including: the residual quantity updating block being connected with described backup updating unit, for every the default time
During the cycle, according to the renewal of the operating system file of described normal partitioned storage, differential backup file is added to described backup
Subregion.
Preferably, described backup updating unit, also include:
First compression unit, for carrying out lossless compress to the backup file of described backup subregion.
Preferably, described backup updating unit, also include:
Second compression unit, for carrying out file block compression to the backup file of described backup subregion.
Preferably, described backup updating unit, also include:
3rd compression unit, for carrying out Differential Compression to the backup file of described backup subregion.
Preferably, unit is read in described backup, also includes:
Compression lifting unit, decompresses for the backup file being compressed described backup subregion.
Preferably, including: automatically repair unit with described compression lifting unit is connected, the backup after decompressing
The operating system file of described normal partitioned storage replaced by file.
Relative to prior art, the scheme that the present invention provides, the memory space of operating system is divided into normal subregion and
Backup subregion, if the operating system file of normal subregion breaks down, can read backup file from backup subregion and open
Dynamic operating system.Compared with prior art, it is not necessary to the website download logging in manufacturer specifies the operating system of model to carry out firmware
Repair, facilitate user, improve Consumer's Experience.It addition, the backup file of backup subregion also can be in the operation system of normal subregion
When system file updates, carry out the renewal synchronized.So, when needs start operating system by backup subregion, the behaviour started
The operating system of latest edition it is still that, it is to avoid user needs again to upgrade or early version system occurs incompatible as system
Trouble.
Aspect and advantage that the present invention adds will part be given in the following description, and these will become from the following description
Obtain substantially, or recognized by the practice of the present invention.
Accompanying drawing explanation
For the technical scheme being illustrated more clearly that in the embodiment of the present invention, in embodiment being described below required for make
Accompanying drawing be briefly described, it should be apparent that, below describe in accompanying drawing be only some embodiments of the present invention, for
From the point of view of those skilled in the art, on the premise of not paying creative work, it is also possible to obtain the attached of other according to these accompanying drawings
Figure.
Fig. 1 is the flow chart of the system backup update method of cradle head camera of the present invention;
Fig. 2 is the embodiment flow chart of the system backup update method of cradle head camera of the present invention;
Fig. 3 is the schematic diagram of the system backup updating device of cradle head camera of the present invention;
Fig. 4 is the embodiment schematic diagram of the system backup updating device of cradle head camera of the present invention.
Detailed description of the invention
In order to make those skilled in the art be more fully understood that the present invention program, below in conjunction with in the embodiment of the present invention
Accompanying drawing, is clearly and completely described the technical scheme in the embodiment of the present invention.
In some flow processs of description in description and claims of this specification and above-mentioned accompanying drawing, contain according to
Particular order occur multiple operations, but it should be clearly understood that these operation can not according to its occur in this article suitable
Sequence performs or executed in parallel, the sequence number of operation such as 101,102 etc., is only used for distinguishing each different operation, sequence number
Itself does not represent any execution sequence.It addition, these flow processs can include more or less of operation, and these operations can
To perform in order or executed in parallel.It should be noted that " first ", " second " herein etc. describe, it is for distinguishing not
Message together, equipment, module etc., do not represent sequencing, and not limiting " first " and " second " is different types.
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete
Describe, it is clear that described embodiment is only a part of embodiment of the present invention rather than whole embodiments wholely.Based on
Embodiment in the present invention, the every other enforcement that those skilled in the art are obtained under not making creative work premise
Example, broadly falls into the scope of protection of the invention.
In the current Internet of Things epoch, people are increasing to the dependence of data, and mechanism is often caused by loss of data, destruction
Havoc.At some high serialitys, high availability applied environment, the loss caused due to loss of data, service disconnection and
Impact is difficult to estimate especially.Thus, data protection is particularly important.System backup as data protection key technology becomes
Based on one of the core of facility.
But, a lot of small household appliances skinny devices in Internet of Things, such as photographic head, MP3, printer etc., due to function phase
To relatively simple, fixing, so the requirement to operating system is the highest, and it is limited by the hardware memory space of equipment itself relatively
Little, the kernel of this type operating system typically can be cut into and meet the basic required of equipment, even without in view of utilizing
Extra memory space backs up.So, the operating system update of the photographic head of prior art, MP3, printer etc. and reparation
Bother the most very much.
To this end, Fig. 1 is the flow chart of the system backup update method of cradle head camera of the present invention, including:
S101: the memory space of operating system is divided into normal subregion and backup subregion, and wherein said normal subregion is used
In storage operating system file, described backup subregion is for the backup file of described operating system file;
S102: when the operating system file of described normal partitioned storage updates, by the backup file of described backup subregion
Carry out synchronized update;
S103: when the operating system file of described normal partitioned storage breaks down, reads more from described backup subregion
Operating system described in new backup file start.
The memory space of operating system is divided into normal subregion and backup subregion by the present invention, if the operation of normal subregion
When system file breaks down, backup file can be read from backup subregion and start operating system.Compared with prior art, nothing
The website download that need to log in manufacturer specifies the operating system of model to carry out firmware reparation, facilitates user, improves user's body
Test.It addition, the backup file of backup subregion also can carry out, when the operating system file of normal subregion updates, the renewal synchronized.
So, when needs start operating system by backup subregion, the operating system started is still that the operation system of latest edition
System, it is to avoid user needs again to upgrade or incompatible trouble occurs in early version system.
Fig. 2 is the embodiment flow chart of the system backup update method of cradle head camera of the present invention, compared to Figure 1, Fig. 2's
Embodiment can also realize restoring the system file of normal subregion, and/or bag is correct updates operating system etc. by updating.
S201: memory space is divided into normal subregion and backup subregion, and wherein said normal subregion is used for storing operation
System file, described backup subregion is for the backup file of described operating system file;
S202: read operation system update bag, updates the operating system file that described normal subregion is current;
S203: according to the file encryption check code in described operating system update bag, it is judged that described normal subregion is current
Operating system file the most correctly updates;
S204: after described current operating system file is correctly updated, updates the backup file of described backup subregion;
S205: when the operating system file of described normal partitioned storage breaks down, reads more from described backup subregion
Operating system described in new backup file start.
S206: according to the index of file name, described normal subregion replaced by the backup file updated by described backup subregion
The operating system file of storage, restores the operating system file of described normal subregion.
Preferably, memory space is divided into normal subregion and backup subregion by the present embodiment, and wherein said normal subregion is used
In storage operating system file, described backup subregion is for the backup file of described operating system file.Described normal subregion is worked as
Front operating system file can be updated by updating bag, as a example by photographic head, is connected to deposit by USB line by photographic head
Contain update bag terminal unit, described terminal unit runs described update bag, described renewal bag is arranged on described in take the photograph
As on the normal subregion of head, it is achieved the renewal of described normal partition operating system file.If it addition, photographic head itself has nothing
Line network connecting function, it is also possible to automatically inquired about the renewal bag of remote terminal by the operating system of photographic head, work as remote terminal
When upper issue has the operating system update bag of the redaction identical with local photographic head model, read operation system update bag, more
The operating system file that new described normal subregion is current.
In the middle of abovementioned steps S102, when the operating system file of described normal partitioned storage updates, described backup is divided
The backup file in district carries out synchronized update.If the operating system file of described normal subregion updates wrong, then directly influence
Effective backup of backup subregion.So, it is provided with file encryption check code in described operating system update bag, according to described operation system
System updates the file encryption check code in bag, first judges that the current operating system file of described normal subregion the most correctly updates,
After described current operating system file is correctly updated, update the backup file of described backup subregion.
Preferably, described file encryption check code uses MD5 check value.MD5(Message Digest Algorithm
5, Message Digest Algorithm 5), typical case's application such as, has a lot of software to have downloading when under Unix operating system
One filename is identical, the file of the entitled .md5 of file extent, the most generally only has a line text, general configuration
Such as: MD5 (tanajiya.tgz)=38bc2c1093dd0fec383c940515 here it is the numeral of tanajiya.tgz file
Signature.Whole file as a big text message, by its irreversible character string mapping algorithm, is created this by MD5
Unique MD5 check value.Be particularly applicable in the middle of our operating system update bag, its effect be that we can under
Carry after operating system update bag, do a MD5 verification to downloading the renewal file returned, with guarantee file that we obtain with should
The file that manufacturer's website provides is same renewal file, the most identical by comparing the two value, just can judge the literary composition downloaded
Whether part makes mistakes, and whether the file downloaded in other words is tampered, and judges, with this, the operating system file that described normal subregion is current
Whether it is correctly updated.
It is further preferred that the present embodiment is except can be accurately in addition to backup operation system, it is also possible to normal subregion is worked as
In impaired operating system file restore.According to the index of file name, the backup file that described backup subregion is updated
Replace the operating system file of described normal partitioned storage, the operating system file of described normal subregion is restored.When again
During secondary restarting equipment, operating system can start from the normal subregion after restoring.
Traditional Data Protection Technologies, in order to ensure the restorability of data, reduces the possibility of loss of data, takes to improve
Frequency of your backups or use the technology such as snapshot, continuous data protection will make backup data volume sharply increase, increased the weight of storage and
Bandwidth burden, can affect the most again data backup and resume performance.Producing mainly due to traditional data of this contradiction
The repetition data that resist technology can not effectively identify and eliminate in backup.Backup refers to the volume to former data in computer engineering
Outer copy, in order to can be come by Backup and Restore when former data are damaged or lose.Common backup mode has three kinds, point
It is not full backup, incremental backup and differential backup.Full backup refers to specifying all data in data set all to carry out standby
Part.If file is surprisingly lost, data are easy to be restored from full backup copies.Obviously, periodic full backup
Substantial amounts of data redundancy can be produced, waste memory space.
Wherein in the middle of an embodiment, when every the default time cycle, according to the behaviour of described normal partitioned storage
Make the renewal of system file, incremental backup file is added to described backup subregion.
Incremental backup refers to only back up the data changed since last backup procedure completes.Although incremental backup
Decrease the redundant data in backup, but the effect that space is saved is limited.Because file-level incremental backup is only twice backup
Between eliminate the repetition data of file-level.Judge whether file changes by file metadata rather than file content, this
Sample only filename identical to content or the different file of other file metadata can not identify and eliminate redundancy.Block level increment is standby
Although part can eliminate the redundancy of smaller particle size, but the most only eliminates the repetition data block between twice backup, it is impossible at overall situation model
Enclose interior elimination repeatable block.One major defect of incremental backup is to extend the process that data are recovered, because complete to data
Recover often to relate to a full backup and the recovery of several incremental backup.
Wherein in the middle of an embodiment, when every the default time cycle, according to the behaviour of described normal partitioned storage
Make the renewal of system file, differential backup file is added to described backup subregion.
Differential backup refers to back up the data changed since last full backup process completes.Relative to increment
Backup, differential backup accelerates data recovery procedure because its data recovery procedure relates merely to a full backup and
The recovery of one differential backup.The but differential backup storage of relatively incremental backup can more repeat data, because repeatedly continuous print
Differential backup is all to carry out Backup Data with a full backup for starting point.
In order to save the memory space of camera device, the backup file of described backup subregion is also pressed by the present invention
Contracting, concrete compress mode can use one of following three kinds of technology to realize:
The backup file of described backup subregion is carried out lossless compress;Or,
The backup file of described backup subregion is carried out file block compression, or,
The backup file of described backup subregion is carried out Differential Compression.
Data compression technique is generally divided into lossy compression method and lossless compress.Lossless compress refer to reconstruct compression data (reduction,
Decompress), and it is identical with original data to reconstruct data.And lossy compression method refer to reconstruct compression data, its reconstruct data with
Former data are different, but do not affect raw data expressing information.Lossy compression method is widely used in the number of voice, image and video
According to compression.The present embodiment is recommended to use lossless data compression technology, and such data are after overcompression, and information is not suffered a loss, moreover it is possible to
It is completely recovered to the former state before compression.Lossless flow compression reaches data pressure by eliminating the redundant data in data stream input window
Contracting purpose.The different frequency occurred in window according to character, the coding of different length distributes to character with being statically or dynamically
So that the length of output stream is less than the length of inlet flow.Owing to compressor can only assess the statistics spy of stream in compression window
Property, and compress window and be limited to memory headroom, therefore compression effectiveness is limited, is typically only capable of reaching the data compression of 1.5~2.5
Rate.The program of typical compression algorithm have zip, compress, lharc, gzip (based on lempel-ziv compression algorithm) and
Bzip2 (based on Burrows-Wheeler compression compression algorithm) etc..
The basic thought of file block compression is that file or data stream are carried out piecemeal, then eliminates the data block of redundancy.
In order to improve the efficiency of redundant data block identification, generally use anti-collision strong hash function such as MD5 and SHA-1 to data
The content of block carries out Hash to obtain the fingerprint of identification data block, by comparing fingerprint to identify and to eliminate redundant data block.?
Simple partitioned mode is the cutting method of fixed-length block, and this mode is consistent with the mode of main flow file system storage file, because of
And it is easy to storage management.
Differential Compression compresses also known as Delta, and it is by comparing two file Vr and Vi to generate a less Delta literary composition
Part △ r, i, in order to given file Vr and △ r, i, can go back original Vi by Delta inverse operation.Delta file △ r, i is
One optimal editor's operation series or Minimum covering set of character block movement directive being converted to file Vi from file Vr.Vr claims
For reference document, and Vi is version file.If Vr and Vi has bigger similarity, then file △ r, i can be the least, so,
With store △ r, i replace storage Vi can save the biggest memory space.Differential Compression is normally used for saving memory space or number
According to transmission bandwidth.In storage application, after a reference document is stored, the subsequent modification version of this reference document is the most permissible
The form of Delta file stores in systems.Such as version control system RCS just uses Differential Compression instrument diff compressed file
Different editions to save memory space.When storage has the file set particularly version file collection of bigger similarity, use
Differential Compression technology, can greatly reduce memory space occupation rate, the compression ratio of even up to more than 100: 1.
In sum, after the backup file of described backup subregion is compressed, in addition it is also necessary to, to described backup subregion
The backup file compressed decompresses, in order to start operating system.
Wherein in the middle of an embodiment, also including, described normal partitioned storage replaced by the backup file after decompressing
Operating system file.During the operating system starting backup subregion, repair the operating system file of normal subregion, more
Add and conveniently restore normal subregion, improve Consumer's Experience.
Fig. 3 is the schematic diagram of the system backup updating device of cradle head camera of the present invention, including:
System division unit, for being divided into normal subregion and backup subregion, Qi Zhongsuo by the memory space of operating system
Stating normal subregion for storing operating system file, described backup subregion is for the backup file of described operating system file;
Backup updating unit, for when the operating system file of described normal partitioned storage updates, dividing described backup
The backup file in district carries out synchronized update;
Unit is read in backup, for when the operating system file of described normal partitioned storage breaks down, from described standby
Part subregion reads operating system described in the backup file start updated.
Fig. 4 is the embodiment schematic diagram of the system backup updating device of cradle head camera of the present invention.
As shown in Figure 4, the operating system backup updating device of described cradle head camera, also include:
The system reset unit that unit is connected is read, for the index according to file name, by described standby with described backup
The backup file that part subregion updates replaces the operating system file of described normal partitioned storage, the operation system to described normal subregion
System file restores.
As shown in Figure 4, described backup updating unit, including:
Update and read subelement, for read operation system update bag, update the operating system that described normal subregion is current
File;
Update syndrome unit, for according to the file encryption check code in described operating system update bag, it is judged that described
The operating system file that normally subregion is current the most correctly updates;
Update backup subelement, for after described current operating system file is correctly updated, update described backup
The backup file of subregion.
Wherein in the middle of an embodiment, including:
The incremental update unit being connected with described backup updating unit, is used for when every the default time cycle, according to
The renewal of the operating system file of described normal partitioned storage, adds incremental backup file to described backup subregion.
Wherein in the middle of an embodiment, including:
The residual quantity updating block being connected with described backup updating unit, is used for when every the default time cycle, according to
The renewal of the operating system file of described normal partitioned storage, adds differential backup file to described backup subregion.
Wherein in the middle of an embodiment, described backup updating unit, also include:
First compression unit, for carrying out lossless compress to the backup file of described backup subregion.
Wherein in the middle of an embodiment, described backup updating unit, also include:
Second compression unit, for carrying out file block compression to the backup file of described backup subregion.
Wherein in the middle of an embodiment, described backup updating unit, also include:
3rd compression unit, for carrying out Differential Compression to the backup file of described backup subregion.
Wherein in the middle of an embodiment, unit is read in described backup, also includes:
Compression lifting unit, decompresses for the backup file being compressed described backup subregion.
Wherein in the middle of an embodiment, including:
Automatically repairing unit with described compression lifting unit is connected, the backup file after decompressing is replaced described
The operating system file of normal partitioned storage.
Those skilled in the art is it can be understood that arrive, for convenience and simplicity of description, and the system of foregoing description,
The specific works process of device and unit, is referred to the corresponding process in preceding method embodiment, does not repeats them here.
Embodiment described above only have expressed the several embodiments of the present invention, and it describes more concrete and detailed, but also
Therefore the restriction to the scope of the claims of the present invention can not be interpreted as.It should be pointed out that, for those of ordinary skill in the art
For, without departing from the inventive concept of the premise, it is also possible to make some deformation and improvement, these broadly fall into the guarantor of the present invention
Protect scope.Therefore, the protection domain of patent of the present invention should be as the criterion with claims.
Claims (10)
1. the operating system backup updating method of a cradle head camera, it is characterised in that including:
Memory space is divided into normal subregion and backup subregion, and wherein said normal subregion is used for storing operating system file,
Described backup subregion is for the backup file of described operating system file;
When the operating system file of described normal partitioned storage updates, carry out synchronizing more by the backup file of described backup subregion
Newly;
When the operating system file of described normal partitioned storage breaks down, read the backup literary composition updated from described backup subregion
Part starts described operating system.
The operating system backup updating method of cradle head camera the most according to claim 1, it is characterised in that when described just
When often the operating system file of partitioned storage breaks down, read from described backup subregion and grasp described in the backup file start updated
After making the step of system, also include:
According to the index of file name, the operation of described normal partitioned storage replaced by the backup file updated by described backup subregion
System file, restores the operating system file of described normal subregion.
The operating system backup updating method of cradle head camera the most according to claim 1, it is characterised in that described just
When often the operating system file of partitioned storage updates, the backup file of described backup subregion is carried out the step of synchronized update, bag
Include:
Read operation system update bag, updates the operating system file that described normal subregion is current;
According to the file encryption check code in described operating system update bag, it is judged that the operating system literary composition that described normal subregion is current
Part the most correctly updates;
After described current operating system file is correctly updated, update the backup file of described backup subregion.
The operating system backup updating method of cradle head camera the most according to claim 1, it is characterised in that described just
When often the operating system file of partitioned storage updates, the backup file of described backup subregion is carried out the step of synchronized update, bag
Include:
When every the default time cycle, according to the renewal of the operating system file of described normal partitioned storage, increment is standby
Part file adds to described backup subregion.
The operating system backup updating method of cradle head camera the most according to claim 1, it is characterised in that described just
When often the operating system file of partitioned storage updates, the backup file of described backup subregion is carried out the step of synchronized update, bag
Include:
When every the default time cycle, according to the renewal of the operating system file of described normal partitioned storage, residual quantity is standby
Part file adds to described backup subregion.
6. the operating system backup updating device of a cradle head camera, it is characterised in that including:
System division unit, for memory space is divided into normal subregion and backup subregion, wherein said normal subregion is used for
Storage operating system file, described backup subregion is for the backup file of described operating system file;
Backup updating unit, for when the operating system file of described normal partitioned storage updates, by described backup subregion
Backup file carries out synchronized update;
Unit is read in backup, for when the operating system file of described normal partitioned storage breaks down, divides from described backup
District reads operating system described in the backup file start updated.
The operating system backup updating device of cradle head camera the most according to claim 6, it is characterised in that also include:
Read, with described backup, the system reset unit that unit is connected, for the index according to file name, described backup is divided
The operating system file of described normal partitioned storage replaced by the backup file that district updates, the operating system literary composition to described normal subregion
Part restores.
The operating system backup updating device of cradle head camera the most according to claim 6, it is characterised in that described backup
Updating block, including:
Update and read subelement, for read operation system update bag, update the operating system file that described normal subregion is current;
Update syndrome unit, for according to the file encryption check code in described operating system update bag, it is judged that described normally
The current operating system file of subregion the most correctly updates;
Update backup subelement, for after described current operating system file is correctly updated, update described backup subregion
Backup file.
The operating system backup updating device of cradle head camera the most according to claim 6, it is characterised in that including:
The incremental update unit being connected with described backup updating unit, for when every the default time cycle, according to described
The renewal of the operating system file of normal partitioned storage, adds incremental backup file to described backup subregion.
The operating system backup updating device of cradle head camera the most according to claim 6, it is characterised in that including:
The residual quantity updating block being connected with described backup updating unit, for when every the default time cycle, according to described
The renewal of the operating system file of normal partitioned storage, adds differential backup file to described backup subregion.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610366281.1A CN106055430A (en) | 2016-05-27 | 2016-05-27 | System backup updating method and device for PTZ camera |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610366281.1A CN106055430A (en) | 2016-05-27 | 2016-05-27 | System backup updating method and device for PTZ camera |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106055430A true CN106055430A (en) | 2016-10-26 |
Family
ID=57175902
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610366281.1A Pending CN106055430A (en) | 2016-05-27 | 2016-05-27 | System backup updating method and device for PTZ camera |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106055430A (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107247603A (en) * | 2017-04-18 | 2017-10-13 | 深圳市广和通无线股份有限公司 | Support the remote upgrade method and system of firmware auto restore facility |
CN109408153A (en) * | 2018-11-01 | 2019-03-01 | 百度在线网络技术(北京)有限公司 | Software start-up method and method for upgrading software |
CN109597588A (en) * | 2018-12-11 | 2019-04-09 | 浙江中智达科技有限公司 | A kind of date storage method, data restoration method and device |
CN113824620A (en) * | 2021-08-20 | 2021-12-21 | 中国第一汽车股份有限公司 | Partition switching method, device, vehicle and storage medium |
CN113821235A (en) * | 2021-06-15 | 2021-12-21 | 荣耀终端有限公司 | Operating system data updating method, operating system data updating apparatus, storage medium, and program product |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1456980A (en) * | 2002-05-08 | 2003-11-19 | 联想(北京)有限公司 | Hard disc data duplicating and reproducing method |
EP1199636A3 (en) * | 2000-10-06 | 2005-12-14 | Hewlett-Packard Company | Self-repairing operating system for computer entities |
CN102681917A (en) * | 2012-04-24 | 2012-09-19 | 中标软件有限公司 | Operating system (OS) and recovery method thereof |
CN104484199A (en) * | 2014-12-08 | 2015-04-01 | 东软集团股份有限公司 | Method and device for updating data of IFE (in-flight entertainment) systems of aircrafts |
CN105550071A (en) * | 2015-12-28 | 2016-05-04 | 迈普通信技术股份有限公司 | System file upgrading and detecting method and communication device |
-
2016
- 2016-05-27 CN CN201610366281.1A patent/CN106055430A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP1199636A3 (en) * | 2000-10-06 | 2005-12-14 | Hewlett-Packard Company | Self-repairing operating system for computer entities |
CN1456980A (en) * | 2002-05-08 | 2003-11-19 | 联想(北京)有限公司 | Hard disc data duplicating and reproducing method |
CN102681917A (en) * | 2012-04-24 | 2012-09-19 | 中标软件有限公司 | Operating system (OS) and recovery method thereof |
CN104484199A (en) * | 2014-12-08 | 2015-04-01 | 东软集团股份有限公司 | Method and device for updating data of IFE (in-flight entertainment) systems of aircrafts |
CN105550071A (en) * | 2015-12-28 | 2016-05-04 | 迈普通信技术股份有限公司 | System file upgrading and detecting method and communication device |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107247603A (en) * | 2017-04-18 | 2017-10-13 | 深圳市广和通无线股份有限公司 | Support the remote upgrade method and system of firmware auto restore facility |
CN109408153A (en) * | 2018-11-01 | 2019-03-01 | 百度在线网络技术(北京)有限公司 | Software start-up method and method for upgrading software |
CN109408153B (en) * | 2018-11-01 | 2022-03-01 | 百度在线网络技术(北京)有限公司 | Software starting method and software upgrading method |
CN109597588A (en) * | 2018-12-11 | 2019-04-09 | 浙江中智达科技有限公司 | A kind of date storage method, data restoration method and device |
CN109597588B (en) * | 2018-12-11 | 2020-09-04 | 浙江中智达科技有限公司 | Data storage method, data restoration method and device |
CN113821235A (en) * | 2021-06-15 | 2021-12-21 | 荣耀终端有限公司 | Operating system data updating method, operating system data updating apparatus, storage medium, and program product |
CN113821235B (en) * | 2021-06-15 | 2023-10-20 | 荣耀终端有限公司 | Operating system data updating method, device, storage medium and program product |
CN113824620A (en) * | 2021-08-20 | 2021-12-21 | 中国第一汽车股份有限公司 | Partition switching method, device, vehicle and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106055430A (en) | System backup updating method and device for PTZ camera | |
US7797279B1 (en) | Merging of incremental data streams with prior backed-up data | |
US8407189B2 (en) | Finding and fixing stability problems in personal computer systems | |
US8135748B2 (en) | Virtual machine data replication | |
US7730031B2 (en) | Method and system for updating an archive of a computer file | |
US7783604B1 (en) | Data de-duplication and offsite SaaS backup and archiving | |
US9465695B2 (en) | Efficient backup replication | |
CN101930387A (en) | Improved fault tolerance method and device used for updating compressed read-only file system | |
CN102880663A (en) | Optimization of a partially deduplicated file | |
CN112286728A (en) | Data backup method, device, equipment and computer storage medium | |
US7900088B1 (en) | System for performing incremental file system check | |
US8909606B2 (en) | Data block compression using coalescion | |
US10613923B2 (en) | Recovering log-structured filesystems from physical replicas | |
US20070055834A1 (en) | Performance improvement for block span replication | |
US10169381B2 (en) | Database recovery by container | |
CN113254267B (en) | Data backup method and device for distributed database | |
US20200192760A1 (en) | Apparatus and method for deduplicating data | |
CN109254786B (en) | Software backup restoration method and system | |
CN113220500A (en) | Recovery method, apparatus and program product based on reverse differential recovery | |
US11449389B2 (en) | Techniques for performing incremental data backups | |
US10394760B1 (en) | Browsable data backup | |
US11645333B1 (en) | Garbage collection integrated with physical file verification | |
US20210042271A1 (en) | Distributed garbage collection for dedupe file system in cloud storage bucket | |
KR100503899B1 (en) | Database replication system and the replication method | |
Chao et al. | Incremental local data backup system based on bacula |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20161026 |
|
RJ01 | Rejection of invention patent application after publication |