CN103473067A - Embedded Linux partitioning and data recovery method, embedded Linux partitioning and data recovery system and system development method - Google Patents

Embedded Linux partitioning and data recovery method, embedded Linux partitioning and data recovery system and system development method Download PDF

Info

Publication number
CN103473067A
CN103473067A CN201310435177XA CN201310435177A CN103473067A CN 103473067 A CN103473067 A CN 103473067A CN 201310435177X A CN201310435177X A CN 201310435177XA CN 201310435177 A CN201310435177 A CN 201310435177A CN 103473067 A CN103473067 A CN 103473067A
Authority
CN
China
Prior art keywords
subregion
file system
partition
bootloader
data
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.)
Granted
Application number
CN201310435177XA
Other languages
Chinese (zh)
Other versions
CN103473067B (en
Inventor
甘禹
黄歆颋
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
FUJIAN SANYUANDA SOFTWARE Co Ltd
Original Assignee
FUJIAN SANYUANDA SOFTWARE Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by FUJIAN SANYUANDA SOFTWARE Co Ltd filed Critical FUJIAN SANYUANDA SOFTWARE Co Ltd
Priority to CN201310435177.XA priority Critical patent/CN103473067B/en
Priority to CN201610410615.0A priority patent/CN106095620B/en
Publication of CN103473067A publication Critical patent/CN103473067A/en
Application granted granted Critical
Publication of CN103473067B publication Critical patent/CN103473067B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/14Error detection or correction of the data by redundancy in operation
    • G06F11/1402Saving, restoring, recovering or retrying
    • G06F11/1446Point-in-time backing up or restoration of persistent data
    • G06F11/1458Management of the backup or restore process
    • G06F11/1469Backup restoration techniques

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention discloses an embedded Linux partitioning and data recovery method which comprises the following steps that S101, a bootloader creates an initial partition table in an information area; S102, the bootloader upgrades a mirror image program according to the initial partition table, upgrades the partition table according to an upgraded mirror image data address and stores upgraded mirror image data into a backup mirror image partition; and S103, the bootloader transmits partition information into a Linux inner core, the Linux inner core analyzes the partition information and the partition information which is successfully analyzed is associated with a storage medium. The invention also discloses an embedded Linux partitioning and data recovery system and a system development method. Compared with the prior art, the embedded Linux partitioning and data recovery method has the advantages that dynamic partitioning on an embedded Linux system and fault recovery of a file system can be implemented; and maintenance and development cost of a product is reduced.

Description

Built-in Linux subregion and data restoration method, system and system development method
Technical field
The present invention relates to computer application field, relate in particular to a kind of built-in Linux subregion and data restoration method, system and system development method.
Background technology
Embedded Linux system is used at present widely in electron trade and microcomputer industry, is characterized in developing convenient, portable strong, task highly-efficient treatment and saving hardware resource.
Embedded Linux system main data storage medium at present has hard disk, Nandflash and iNand/SD/MMC, and wherein Nandflash is due to storer cheap, that memory capacity large and highly versatile is generally used in industry.Nandflash is because the electrical specification of himself is to carry out Update Table with charge-discharge principle, this will inevitably cause the storage unit of data, produce the number of non-compliances certificate after repeatedly revising, this number of non-compliances is according to the storage unit at place, we are commonly called as bad piece (invalid block), the generation of bad piece a series of data storage problems such as will inevitably cause the breakage of file system under linux system and subregion normally not to use.
In view of the phenomenon of bad piece may appear in the Linux storage medium, and Embedded Industry is used the subregion of Linux generally to use default settings in linux kernel at present, can have the failure of subregion carry and the abnormal risk of file system data.
Summary of the invention
For addressing the above problem, the technical scheme that the present invention adopts is:
A kind of built-in Linux subregion and data restoration method are provided, comprise step: S101, bootloader create the primary partition table in block of information, partition table is for recording the corresponding partition information of mirrored partition, and mirrored partition comprises bootloader subregion, linux kernel subregion, backup image subregion, root file system subregion, user file system partitioning; S102, bootloader be according to primary partition table upgrade image program, and according to the mirror image data address regeneration block table of upgrading, and the mirror image data of upgrading is stored to the backup image subregion; S103, bootloader import partition information into linux kernel, and linux kernel is resolved partition information and the partition information of successfully resolved is associated with storage medium.
Another technical solution used in the present invention is:
A kind of built-in Linux subregion and data restoring system development approach are provided, comprise step: the external Man Machine Interface of bootloader is set, for supporting under default delivering path, the upgrading of all subregion mirror images of data storage medium and parameter setting; The bootloader data storage medium is set and drives interface, for judging bad piece and correctly reading and writing data; Preset primary partition table in the bootloader code, partition table is kept at block of information, block of information is the configuration information district, position that bad piece can not appear in data storage medium, partition table is for recording the corresponding partition information of mirrored partition, and mirrored partition comprises bootloader subregion, linux kernel subregion, backup image subregion, root file system subregion, user file system partitioning; In the bootloader code, design bad block management mechanism, when bad piece appears in the programmed decision of bootloader upgrade image, skip bad piece by the start address of subregion and move backward, and the start address of new subregion is updated to partition table.The partition information data layout that design Linux can identify in the bootloader code is to import partition table into linux kernel, and partition information comprises start address, subregion capacity, the zone attribute of partition number, partition name, subregion; Add the analytical function to the partition information data layout in the Linux source code, for kernel, resolve partition information and the partition information of successfully resolved is associated with storage medium, wherein resolving is in early or init stage.
Built-in Linux subregion provided by the invention and data restoration method, system and system development method, utilize management and the protection of bootloader to each mirror image, when starting, embedded Linux kernel imports dynamic partition information into, the partition information that embedded Linux kernel parsing bootloader imports into is also associated with data storage medium, root file system is read-only and can guide carry user file system, when carry failure or customer requirements reduction, obliterated data storage medium mark zone marked invalid, bootloader judges that whether the user file system region is invalid while starting, if invalid, it is reduced from backup area.Compared to prior art, the present invention increases embedded Linux system dynamic partition, the reduction of file system fault, reduces maintenance and the cost of development of product.
The accompanying drawing explanation
Fig. 1 is the flowchart of a kind of built-in Linux subregion and data restoring system development approach in an embodiment of the present invention;
Fig. 2 is the mirrored partition schematic diagram in an embodiment of the present invention;
Fig. 3 is the flowchart of a kind of built-in Linux subregion and data restoration method in an embodiment of the present invention;
Fig. 4 is the concrete flowchart of data reduction step;
Fig. 5 is the concrete flowchart of step S102;
Fig. 6 is a kind of built-in Linux subregion and data restoring system in an embodiment of the present invention;
Fig. 7 is the functional block diagram of upgrading module in Fig. 6.
The main element symbol description
Figure BDA00003857638800031
Embodiment
By describing technology contents of the present invention, structural attitude in detail, being realized purpose and effect, below in conjunction with embodiment and coordinate accompanying drawing to be explained in detail.
Referring to Fig. 1, is the flowchart of a kind of built-in Linux dynamic partition and data restoring system development approach in an embodiment of the present invention.
A kind of built-in Linux subregion and data restoring system development approach, comprise the steps:
Step S301, the external Man Machine Interface of bootloader is set, described external Man Machine Interface is for supporting under default delivering path, the upgrading of all subregion mirror images of data storage medium and parameter setting.
Step S302, the bootloader data storage medium is set drives interface, described storage medium drives interface for judging bad piece and correctly reading and writing data.
Step S303, in the bootloader code preset primary partition table, partition table is kept at block of information, block of information is the configuration information district, position that bad piece can not appear in data storage medium, partition table is for recording the corresponding partition information of mirrored partition.Referring to Fig. 2, is the mirrored partition schematic diagram in an embodiment of the present invention.In the present embodiment, mirrored partition comprises bootloader subregion, linux kernel subregion, backup image subregion, root file system subregion, user file system partitioning.
Step S304, in the bootloader code design bad block management mechanism, described bad block management mechanism is for when bad piece appears in the programmed decision of bootloader upgrade image, the start address of subregion is skipped to bad piece and move backward, and after completing movement, the start address of new subregion is updated to partition table.
Step S305, the partition information data layout that design Linux can identify in the bootloader code, partition information comprises start address, subregion capacity, the zone attribute of partition number, partition name, subregion.
Particularly, the partition information group is wrapped in cmdline, its form is as follows:
cmdline=mtdarry:[num],[name],[start],[size],[opt];
Wherein, num means the mtd partition number, and name means the mtd partition name, and start means the start address of current subregion, and size means the subregion capacity, and opt means zone attribute.
Step S306, add the analytical function to the partition information data layout in the Linux source code, described analytical function is resolved partition information and the partition information of successfully resolved is associated with storage medium for kernel, and wherein resolving is in early or init stage.
In the present embodiment, described a kind of built-in Linux dynamic partition and data restoring system development approach also comprise step:
Step S307, in the bootloader code designing backup mechanism, described back mechanism is for being stored to the mirror image data of upgrading backup image subregion backup.
Step S308, add the carry failure mechanism in the script of root file system carry user file system, described carry failure mechanism for being labeled as the illegal starting system of laying equal stress on by the user file system partitioning when carry is failed.
Step S309, in the bootloader code, design reduction mechanism, described reduction mechanism is illegal for before starting at linux kernel, judging whether the user file system partitioning is labeled as, and from described backup image subregion, the mirror image data of upgrading is copied to the user file system partitioning when judgement is illegal, it is legal then the user file system partitioning to be labeled as.
Wherein, also comprise step before described step S308: add an implementing procedure for erasable subregion in root file system; Described " by the user file system partitioning, being labeled as illegal " is specially: use described implementing procedure that the user file system partitioning is wiped to 10 pieces with the 0th block address skew; Described " judging whether the user file system partitioning is labeled as illegal " is specially: judge whether the data on the 0th block address of user file system partitioning are wiped free of, if be wiped free of be judged to be illegal; Described " it is legal that the user file system partitioning is labeled as " is specially the data markers on the 0th block address of user file system partitioning as using.For example, suppose that the user file system is at mtd the 3rd subregion, and belong to the UBI file system, add as issued orders:
Figure BDA00003857638800051
The meaning of above order is, carry mtd3 subregion, if failure mtd3 is wiped to 10 pieces, then software restarting equipment with 0 address offset.
Wherein, described implementing procedure is used open source software mtd-utils-tools compiling to generate.
Built-in Linux subregion of the present invention and data restoring system development approach, the system that solved causes bad piece of the data storage medium normal problem of using of subregion that exerts an influence in escalation process repeatedly, has reduced modification and the maintenance of kernel source code; Having solved the damaged situation of file system can't carry, thereby need to do over again maintenance replacement data storage medium and the problem that refreshes mirror image, has saved to a great extent development and maintenance cycle and cost.
Below the built-in Linux dynamic partition developed based on above-mentioned development approach and performed a kind of built-in Linux dynamic partition and the data restoration method of data restoring system are described.
Referring to Fig. 3, is the flowchart of a kind of built-in Linux subregion and data restoration method in an embodiment of the present invention, comprises step:
Step S101, bootloader create the primary partition table in block of information, partition table is for recording the corresponding partition information of mirrored partition, and mirrored partition comprises bootloader subregion, linux kernel subregion, backup image subregion, root file system subregion, user file system partitioning.
Wherein, described block of information is the position that bad piece can not appear in data storage medium, and described partition information comprises start address, the subregion capacity of each subregion.
Step S102, bootloader be according to primary partition table upgrade image program, and according to the mirror image data address regeneration block table of upgrading, and the mirror image data of upgrading is stored to the backup image subregion.
Step S103, bootloader import partition information into linux kernel, and linux kernel is resolved partition information and the partition information of successfully resolved is associated with storage medium.
In the present embodiment, described a kind of built-in Linux subregion and data restoration method also comprise the data reduction step, refer to Fig. 4, are the concrete flowchart of data reduction step.This data reduction step specifically comprises:
It is legal that step S201, bootloader judged whether the user file system partitioning is labeled as before linux kernel starts, and if not, enters step S202, if enter step S203;
Step S202, bootloader copy to the user file system partitioning from described backup image subregion by the mirror image data of upgrading, and it is legal then the user file system partitioning to be labeled as, and enters step S201;
Step S203, after linux kernel starts, carry out root file system carry alternative document system and also judge whether the carry success, if not, enter step S204, if system is normally moved;
Step S204, the user file system partitioning is labeled as to the illegal starting system of laying equal stress on.
Wherein, described " being labeled as illegal by the user file system partitioning " concrete steps are: the tool using program is wiped 10 pieces by the user file system partitioning with the 0th block address skew; Described " judging whether the user file system partitioning is labeled as illegal " is specially: judge whether the data on the 0th block address of user file system partitioning are wiped free of, if be wiped free of be judged to be illegal; Described " it is legal that the user file system partitioning is labeled as " is specially the data markers on the 0th block address of user file system partitioning as using.
Wherein, referring to Fig. 5, is the concrete flowchart of step S102.Described step S102 specifically comprises:
Step S1021, bootloader download to linux kernel, user file system and other data in specified partition, in this process, if the subregion head in bad piece zone, moves a unit by the corresponding data of subregion, the table of regeneration block simultaneously backward;
Step S1022, when bootloader upgrade image program, judge whether to occur bad piece;
Step S1023, when bad piece judge occurring, the start address of subregion is skipped to bad piece and moves backward;
Step S1024, when complete mobile after, the start address of new subregion is updated to partition table.
Referring to Fig. 6, is in the functional module of a kind of built-in Linux dynamic partition and data restoring system in an embodiment of the present invention.Described built-in Linux dynamic partition and data restoring system 100 comprise creation module 10, upgrading module 20, relating module 30.
Creation module 10 is for being used bootloader to create the primary partition table in block of information, partition table is for recording the corresponding partition information of mirrored partition, and mirrored partition comprises bootloader subregion, linux kernel subregion, backup image subregion, root file system subregion, user file system partitioning.
Upgrading module 20 is for using bootloader according to primary partition table upgrade image program, and, according to the mirror image data address regeneration block table of upgrading, and the mirror image data of upgrading is stored to the backup image subregion;
Relating module 30 is for using bootloader to import partition information into linux kernel, and linux kernel is resolved partition information and the partition information of successfully resolved is associated with storage medium.
Wherein, described block of information is the position that bad piece can not appear in data storage medium, and described partition information comprises start address, the subregion capacity of each subregion.
In the present embodiment, described a kind of built-in Linux subregion and data restoring system 100 also comprise the first judge module 40, replication module 50, carry judge module 60, restart module 70.
The first judge module 40 is legal for using bootloader to judge whether the user file system partitioning is labeled as before linux kernel starts.
When replication module 50 is legal for being labeled as when the first judge module 40 judgement user file systems, use bootloader, from described backup image subregion, the mirror image data of upgrading is copied to the user file system partitioning, then it is legal the user file system partitioning to be labeled as, and then notifies the first judge module 40 to carry out decision operation.
Carry judge module 60 is for judging that when the first judge module 40 the user file system marks is when legal, and, after linux kernel starts, carries out root file system carry alternative document system and also judge whether the carry success, if system is normally moved.
Restart module 70 for when the judgement of carry judge module does not have the carry success, the user file system partitioning is labeled as to the illegal starting system of laying equal stress on.
Referring to Fig. 7, is the functional block diagram of upgrading module in Fig. 6.In the present embodiment, described upgrading module 20 specifically comprises that downloading submodule 21, upgrading judgement submodule 22, bad piece skips submodule 23, upgrades submodule 24.
Download submodule 21 for using bootloader that linux kernel, user file system and other data are downloaded to specified partition, in this process, if the subregion head, in bad piece zone, moves a unit backward by the corresponding data of subregion, the table of regeneration block simultaneously.
Upgrading judgement submodule 22, for when the bootloader upgrade image program, judges whether to occur bad piece.
Bad piece is skipped submodule 23 and, the start address of subregion is skipped to bad piece and move backward when judging the bad piece of appearance for judge submodule when upgrading.
Upgrade submodule 24 for after skipping submodule 23 when bad piece and completing movement, the start address of new subregion is updated to partition table.
Built-in Linux subregion provided by the invention and data restoration method, system and system development method, utilize management and the protection of bootloader to each mirror image, when starting, embedded Linux kernel imports dynamic partition information into, the partition information that embedded Linux kernel parsing bootloader imports into is also associated with data storage medium, root file system is read-only and can guide carry user file system, when carry failure or customer requirements reduction, obliterated data storage medium mark zone marked invalid, bootloader judges that whether the user file system region is invalid while starting, if invalid, it is reduced from backup area.Compared to prior art, the present invention can realize embedded Linux system dynamic partition, the reduction of file system fault are reduced to maintenance and the cost of development of product.
The foregoing is only embodiments of the invention; not thereby limit the scope of the claims of the present invention; every equivalent structure or conversion of equivalent flow process that utilizes instructions of the present invention and accompanying drawing content to do; or directly or indirectly be used in other relevant technical fields, all in like manner be included in scope of patent protection of the present invention.

Claims (12)

1. a built-in Linux subregion and data restoration method, is characterized in that, comprises step:
S101, bootloader create the primary partition table in block of information, partition table is for recording the corresponding partition information of mirrored partition, and mirrored partition comprises bootloader subregion, linux kernel subregion, backup image subregion, root file system subregion, user file system partitioning;
S102, bootloader be according to primary partition table upgrade image program, and according to the mirror image data address regeneration block table of upgrading, and the mirror image data of upgrading is stored to the backup image subregion;
S103, bootloader import partition information into linux kernel, and linux kernel is resolved partition information and the partition information of successfully resolved is associated with storage medium.
2. a kind of built-in Linux subregion according to claim 1 and data restoration method, is characterized in that, described block of information is the position that bad piece can not appear in data storage medium, and described partition information comprises start address, the subregion capacity of each subregion.
3. a kind of built-in Linux subregion according to claim 2 and data restoration method, is characterized in that, also comprises the data reduction step, and this data reduction step specifically comprises:
It is legal that S201, bootloader judged whether the user file system partitioning is labeled as before linux kernel starts, and if not, enters step S202, if enter step S203;
S202, bootloader copy to the user file system partitioning from described backup image subregion by the mirror image data of upgrading, and it is legal then the user file system partitioning to be labeled as, and enters step S201;
S203, after linux kernel starts, carry out root file system carry alternative document system and also judge whether the carry success, if not, enter step S204, if system is normally moved;
S204, the user file system partitioning is labeled as to the illegal starting system of laying equal stress on.
4. a kind of built-in Linux subregion according to claim 2 and data restoration method, is characterized in that, described step S102 specifically comprises:
Bootloader downloads to linux kernel, user file system and other data in specified partition, in this process, if the subregion head in bad piece zone, moves a unit by the corresponding data of subregion, the table of regeneration block simultaneously backward;
When bootloader upgrade image program, judge whether to occur bad piece;
When judging the bad piece of appearance, the start address of subregion is skipped to bad piece and move backward;
After completing movement, the start address of new subregion is updated to partition table.
5. a built-in Linux subregion and data restoring system, is characterized in that, comprising:
Creation module, for using bootloader to create the primary partition table in block of information, partition table is for recording the corresponding partition information of mirrored partition, and mirrored partition comprises bootloader subregion, linux kernel subregion, backup image subregion, root file system subregion, user file system partitioning;
The upgrading module, for using bootloader according to primary partition table upgrade image program, and according to the mirror image data address regeneration block table of upgrading, and the mirror image data of upgrading is stored to the backup image subregion;
Relating module, import partition information into linux kernel for using bootloader, and linux kernel is resolved partition information and the partition information of successfully resolved is associated with storage medium.
6. a kind of built-in Linux subregion according to claim 5 and data restoring system, is characterized in that, described block of information is the position that bad piece can not appear in data storage medium, and described partition information comprises start address, the subregion capacity of each subregion.
7. a kind of built-in Linux subregion according to claim 6 and data restoring system, is characterized in that, also comprises:
The first judge module, legal for using bootloader to judge whether the user file system partitioning is labeled as before linux kernel starts;
Replication module, when legal for being labeled as when the first judge module judgement user file system, use bootloader, from described backup image subregion, the mirror image data of upgrading is copied to the user file system partitioning, then it is legal the user file system partitioning to be labeled as, and then notifies the first judge module to carry out decision operation;
The carry judge module, for judging that when the first judge module the user file system marks is when legal, and, after linux kernel starts, carry out root file system carry alternative document system and also judge whether the carry success, if system is normally moved;
Restart module, while for judging when the carry judge module, there is no the carry success, the user file system partitioning is labeled as to the illegal starting system of laying equal stress on.
8. a kind of built-in Linux subregion according to claim 6 and data restoring system, is characterized in that, described upgrading module specifically comprises:
Download submodule, for using bootloader that linux kernel, user file system and other data are downloaded to specified partition, in this process, if the subregion head is in bad piece zone, the corresponding data of subregion is moved to a unit backward, the table of regeneration block simultaneously;
Upgrading judgement submodule, for when the bootloader upgrade image program, judge whether to occur bad piece;
Bad piece is skipped submodule, for judge submodule when upgrading, when judging the bad piece of appearance, the start address of subregion is skipped to bad piece and move backward;
Upgrade submodule, for after skipping submodule when bad piece and completing movement, the start address of new subregion is updated to partition table.
9. a built-in Linux subregion and data restoring system development approach, is characterized in that, comprises step:
The external Man Machine Interface of bootloader is set, and described external Man Machine Interface is used for supporting under default delivering path, the upgrading of all subregion mirror images of data storage medium and parameter setting;
The bootloader data storage medium is set and drives interface, described data storage medium drives interface for judging bad piece and correctly reading and writing data;
Preset primary partition table in the bootloader code, partition table is kept at block of information, block of information is the configuration information district, position that bad piece can not appear in data storage medium, partition table is for recording the corresponding partition information of mirrored partition, and mirrored partition comprises bootloader subregion, linux kernel subregion, backup image subregion, root file system subregion, user file system partitioning;
Design bad block management mechanism in the bootloader code, described bad block management mechanism is for when bad piece appears in the programmed decision of bootloader upgrade image, the start address of subregion is skipped to bad piece and move backward, the start address of new subregion is updated to partition table;
The partition information data layout that design Linux can identify in the bootloader code, partition information comprises start address, subregion capacity, the zone attribute of partition number, partition name, subregion;
Add the analytical function to the partition information data layout in the Linux source code, described analytical function is resolved partition information and the partition information of successfully resolved is associated with storage medium for kernel, and wherein resolving is in early or init stage.
10. a kind of built-in Linux subregion according to claim 9 and data restoring system development approach, is characterized in that, also comprises step:
Designing backup mechanism in the bootloader code, described back mechanism is for being stored to the mirror image data of upgrading the backup of backup image subregion;
Add the carry failure mechanism in the script of root file system carry user file system, described carry failure mechanism for being labeled as the illegal starting system of laying equal stress on by the user file system partitioning when carry is failed;
Design reduction mechanism in the bootloader code, described reduction mechanism is illegal for before starting at linux kernel, judging whether the user file system partitioning is labeled as, and from described backup image subregion, the mirror image data of upgrading is copied to the user file system partitioning when judgement is illegal, it is legal then the user file system partitioning to be labeled as.
11. a kind of built-in Linux subregion according to claim 10 and data restoring system development approach, is characterized in that, also comprises step: add an implementing procedure for erasable subregion in root file system;
Described " by the user file system partitioning, being labeled as illegal " is specially: use described implementing procedure that the user file system partitioning is wiped to 10 pieces with the 0th block address skew;
Described " judging whether the user file system partitioning is labeled as illegal " is specially: judge whether the data on the 0th block address of user file system partitioning are wiped free of, if be wiped free of be judged to be illegal;
Described " it is legal that the user file system partitioning is labeled as " is specially the data markers on the 0th block address of user file system partitioning as using.
12. a kind of built-in Linux subregion according to claim 11 and data restoring system development approach, is characterized in that, described implementing procedure is used open source software mtd-utils-tools compiling to generate.
CN201310435177.XA 2013-09-23 2013-09-23 Built-in Linux subregion and data restoration method, system and system development method Active CN103473067B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201310435177.XA CN103473067B (en) 2013-09-23 2013-09-23 Built-in Linux subregion and data restoration method, system and system development method
CN201610410615.0A CN106095620B (en) 2013-09-23 2013-09-23 A kind of development approach of built-in Linux partition holding

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310435177.XA CN103473067B (en) 2013-09-23 2013-09-23 Built-in Linux subregion and data restoration method, system and system development method

Related Child Applications (1)

Application Number Title Priority Date Filing Date
CN201610410615.0A Division CN106095620B (en) 2013-09-23 2013-09-23 A kind of development approach of built-in Linux partition holding

Publications (2)

Publication Number Publication Date
CN103473067A true CN103473067A (en) 2013-12-25
CN103473067B CN103473067B (en) 2016-08-31

Family

ID=49797939

Family Applications (2)

Application Number Title Priority Date Filing Date
CN201310435177.XA Active CN103473067B (en) 2013-09-23 2013-09-23 Built-in Linux subregion and data restoration method, system and system development method
CN201610410615.0A Active CN106095620B (en) 2013-09-23 2013-09-23 A kind of development approach of built-in Linux partition holding

Family Applications After (1)

Application Number Title Priority Date Filing Date
CN201610410615.0A Active CN106095620B (en) 2013-09-23 2013-09-23 A kind of development approach of built-in Linux partition holding

Country Status (1)

Country Link
CN (2) CN103473067B (en)

Cited By (19)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103677947A (en) * 2014-01-03 2014-03-26 深圳英飞拓科技股份有限公司 Equipment dual-system protection method and equipment dual-system upgrading method on basis of linux
CN103984571A (en) * 2014-05-21 2014-08-13 华为技术有限公司 Method and device for uprating operating system partition
CN104156281A (en) * 2014-08-15 2014-11-19 福建星网视易信息系统有限公司 Method and system for starting disk backups in embedded system
CN104216800A (en) * 2014-08-27 2014-12-17 福建星网视易信息系统有限公司 Automatic system fault recovering method and device based on data redundancy
CN104503804A (en) * 2014-12-31 2015-04-08 天津市通卡公用网络系统有限公司 Single chip microcomputer program online updating method
CN105095098A (en) * 2015-06-24 2015-11-25 青岛海信移动通信技术股份有限公司 Method and device for controlling memories having different capacities
WO2017049828A1 (en) * 2015-09-25 2017-03-30 中兴通讯股份有限公司 Method, device and system for data processing based on linux
TWI588742B (en) * 2015-07-27 2017-06-21 晨星半導體股份有限公司 Program codes loading method of application and computing system using the same
CN103699421B (en) * 2014-01-08 2017-07-11 深圳金三立视频科技股份有限公司 Embedded device method for upgrading system and its device
CN106951799A (en) * 2017-03-13 2017-07-14 北京理工大学 A kind of Android Double Datas subregion construction method
CN108052342A (en) * 2017-12-12 2018-05-18 杭州华为数字技术有限公司 Partition table restorative procedure, device and electronic equipment
CN109144779A (en) * 2018-08-01 2019-01-04 中影环球(北京)科技有限公司 The backup and restoration methods of TMS server, (SuSE) Linux OS
CN110162429A (en) * 2019-05-27 2019-08-23 深圳市网心科技有限公司 System repair, server and storage medium
CN111614764A (en) * 2020-05-21 2020-09-01 四川爱联科技有限公司 System and method for automatically repairing flash bad block of Internet of things equipment
CN111984195A (en) * 2020-08-19 2020-11-24 广州邦讯信息系统有限公司 Method and device for improving stability of embedded Linux system
CN112579360A (en) * 2020-12-25 2021-03-30 中标软件有限公司 System backup and restoration method based on kylin operating system embedded platform
CN113064604A (en) * 2021-03-18 2021-07-02 瑞芯微电子股份有限公司 Firmware upgrading method and device
CN115729586A (en) * 2021-06-15 2023-03-03 荣耀终端有限公司 Operating system upgrade method, apparatus, storage medium, and computer program product
CN116361817A (en) * 2023-06-02 2023-06-30 麒麟软件有限公司 Protection method of ubi file system under Linux

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106873913B (en) * 2017-02-17 2020-03-17 山东浪潮商用系统有限公司 Method for partitioning embedded system by self-adapting to different flash
CN107203338A (en) * 2017-04-25 2017-09-26 北京小鸟看看科技有限公司 A kind of storage method of virtual reality device, device and virtual reality device
CN107368389B (en) * 2017-06-26 2020-11-06 合肥美的智能科技有限公司 Control method and control device for one-key recovery function of operating system and EMMC
CN107943414B (en) * 2017-10-16 2020-11-17 积成电子股份有限公司 File system partition and data read-write method of embedded Linux
CN111142907B (en) * 2019-12-25 2022-07-29 声耕智能科技(西安)研究院有限公司 Partition upgrading method for off-line keyword recognition system
CN112527745B (en) * 2020-12-18 2022-07-12 厦门市美亚柏科信息股份有限公司 Embedded file system multi-partition analysis method, terminal device and storage medium
CN113742283B (en) * 2021-07-20 2023-11-24 电信科学技术第五研究所有限公司 NANDFLASH non-file system bad block management method based on LINUX operation system
CN115221824B (en) * 2022-07-18 2023-05-02 北京极光星通科技有限公司 Asynchronous reconstruction method, device and computer equipment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100268909A1 (en) * 2009-04-16 2010-10-21 Hon Hai Precision Industry Co., Ltd. Storage system and controlling system and method thereof
CN101923473A (en) * 2009-06-11 2010-12-22 英华达(南京)科技有限公司 Embedded electronic device and method for updating firmware thereof
CN103049298A (en) * 2013-01-17 2013-04-17 四川省安全科学技术研究院 Nandflash burning writing method
CN103064710A (en) * 2012-12-26 2013-04-24 深圳市诺威达科技有限公司 Flash programming method and device
CN103092634A (en) * 2011-10-31 2013-05-08 四川长虹电器股份有限公司 Set-top box software upgrading method for multiple flash devices

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI366135B (en) * 2008-03-26 2012-06-11 Asustek Comp Inc Method for restoring bios and computer thereof
CN102629206B (en) * 2012-02-29 2018-02-06 深圳市赛格导航科技股份有限公司 A kind of method for updating embedded system software and system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100268909A1 (en) * 2009-04-16 2010-10-21 Hon Hai Precision Industry Co., Ltd. Storage system and controlling system and method thereof
CN101923473A (en) * 2009-06-11 2010-12-22 英华达(南京)科技有限公司 Embedded electronic device and method for updating firmware thereof
CN103092634A (en) * 2011-10-31 2013-05-08 四川长虹电器股份有限公司 Set-top box software upgrading method for multiple flash devices
CN103064710A (en) * 2012-12-26 2013-04-24 深圳市诺威达科技有限公司 Flash programming method and device
CN103049298A (en) * 2013-01-17 2013-04-17 四川省安全科学技术研究院 Nandflash burning writing method

Cited By (28)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103677947B (en) * 2014-01-03 2016-11-02 深圳英飞拓科技股份有限公司 Equipment dual system based on linux protection and upgrade method
CN103677947A (en) * 2014-01-03 2014-03-26 深圳英飞拓科技股份有限公司 Equipment dual-system protection method and equipment dual-system upgrading method on basis of linux
CN103699421B (en) * 2014-01-08 2017-07-11 深圳金三立视频科技股份有限公司 Embedded device method for upgrading system and its device
CN103984571A (en) * 2014-05-21 2014-08-13 华为技术有限公司 Method and device for uprating operating system partition
CN104156281A (en) * 2014-08-15 2014-11-19 福建星网视易信息系统有限公司 Method and system for starting disk backups in embedded system
CN104156281B (en) * 2014-08-15 2017-06-06 福建星网视易信息系统有限公司 Start the method and its system of Disk Backup in a kind of embedded system
CN104216800A (en) * 2014-08-27 2014-12-17 福建星网视易信息系统有限公司 Automatic system fault recovering method and device based on data redundancy
CN104503804A (en) * 2014-12-31 2015-04-08 天津市通卡公用网络系统有限公司 Single chip microcomputer program online updating method
CN104503804B (en) * 2014-12-31 2017-08-08 天津通卡智能网络科技股份有限公司 A kind of method of online updating SCM program
CN105095098A (en) * 2015-06-24 2015-11-25 青岛海信移动通信技术股份有限公司 Method and device for controlling memories having different capacities
TWI588742B (en) * 2015-07-27 2017-06-21 晨星半導體股份有限公司 Program codes loading method of application and computing system using the same
WO2017049828A1 (en) * 2015-09-25 2017-03-30 中兴通讯股份有限公司 Method, device and system for data processing based on linux
CN106951799A (en) * 2017-03-13 2017-07-14 北京理工大学 A kind of Android Double Datas subregion construction method
CN106951799B (en) * 2017-03-13 2019-11-19 北京理工大学 A kind of Android Double Data subregion construction method
CN108052342A (en) * 2017-12-12 2018-05-18 杭州华为数字技术有限公司 Partition table restorative procedure, device and electronic equipment
CN109144779A (en) * 2018-08-01 2019-01-04 中影环球(北京)科技有限公司 The backup and restoration methods of TMS server, (SuSE) Linux OS
CN110162429A (en) * 2019-05-27 2019-08-23 深圳市网心科技有限公司 System repair, server and storage medium
CN110162429B (en) * 2019-05-27 2021-09-24 深圳市网心科技有限公司 System repair method, server and storage medium
CN111614764A (en) * 2020-05-21 2020-09-01 四川爱联科技有限公司 System and method for automatically repairing flash bad block of Internet of things equipment
CN111614764B (en) * 2020-05-21 2023-04-21 四川爱联科技股份有限公司 Automatic flash bad block repairing system and method for Internet of things equipment
CN111984195A (en) * 2020-08-19 2020-11-24 广州邦讯信息系统有限公司 Method and device for improving stability of embedded Linux system
CN112579360A (en) * 2020-12-25 2021-03-30 中标软件有限公司 System backup and restoration method based on kylin operating system embedded platform
CN113064604A (en) * 2021-03-18 2021-07-02 瑞芯微电子股份有限公司 Firmware upgrading method and device
CN113064604B (en) * 2021-03-18 2022-06-21 瑞芯微电子股份有限公司 Firmware upgrading method and device
CN115729586A (en) * 2021-06-15 2023-03-03 荣耀终端有限公司 Operating system upgrade method, apparatus, storage medium, and computer program product
CN115729586B (en) * 2021-06-15 2023-10-20 荣耀终端有限公司 Operating system upgrade method, device, storage medium and computer program product
CN116361817A (en) * 2023-06-02 2023-06-30 麒麟软件有限公司 Protection method of ubi file system under Linux
CN116361817B (en) * 2023-06-02 2023-08-22 麒麟软件有限公司 Protection method of ubi file system under Linux

Also Published As

Publication number Publication date
CN106095620A (en) 2016-11-09
CN103473067B (en) 2016-08-31
CN106095620B (en) 2019-02-05

Similar Documents

Publication Publication Date Title
CN103473067A (en) Embedded Linux partitioning and data recovery method, embedded Linux partitioning and data recovery system and system development method
US8499289B2 (en) Method, device and system for realizing kernel online patching
CN104239082B (en) The hot patch implementation method of embedded system
JP7090657B2 (en) Methods, devices, devices and storage media for upgrading applications
CN101937340B (en) Method and device for dynamically updating and controlling software by using patches
CN105511911B (en) The generation method and device of system firmware upgrade package
CN102023881B (en) Method and device for upgrading software as well as embedded device
US20080196019A1 (en) Method and Apparatus for Generating an Update Package
CN103077043B (en) A kind of method of quick Start-up and operating performance Linux
WO2016101503A1 (en) Hot patching realization method and apparatus
CN103092662A (en) Software module upgrading method for terminal device based on embedded operating system
CN102141921A (en) Method for upgrading system of terminal equipment and terminal equipment
CN103345412A (en) Patching method and device
CN106033362A (en) Method and device for processing flash memory partition
CN104077167A (en) Boot loading method and device based on NAND FLASH
CN111045712A (en) Single system upgrading method and system with backup function
CN103645888A (en) System and method for automatically building operation system
CN104407899A (en) Method for restoring boot of network card after MAC (Media Access Control) address change under REDHAT operation system
CN115617687A (en) Program instrumentation method, apparatus, device and storage medium
CN107168719A (en) Application program operation method, device, terminal and computer-readable recording medium
CN104866388A (en) Data processing method and device
CN104331311B (en) A kind of AKU generation method and device
CN110928570A (en) Firmware upgrading method and device and readable storage medium
CN102216901B (en) Module expansion method and device thereof
CN105700900A (en) Method and device for optimizing wireless local area network function

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information

Address after: Copper Road Software Park G District, Gulou District of Fuzhou city in Fujian province 350000 Building No. 16

Applicant after: Hengonda Technology Co., Ltd.

Address before: 350001, Fujian Fuzhou Gulou District software Avenue 89, Fuzhou Software Park industrial base two, building 7, third floor

Applicant before: Fujian Sanyuanda Software Co., Ltd.

COR Change of bibliographic data
C14 Grant of patent or utility model
GR01 Patent grant