CN103777987B - The upgrade method and device of one species unix operating systems - Google Patents

The upgrade method and device of one species unix operating systems Download PDF

Info

Publication number
CN103777987B
CN103777987B CN201410039250.6A CN201410039250A CN103777987B CN 103777987 B CN103777987 B CN 103777987B CN 201410039250 A CN201410039250 A CN 201410039250A CN 103777987 B CN103777987 B CN 103777987B
Authority
CN
China
Prior art keywords
operating system
file
image file
update bag
module
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.)
Active
Application number
CN201410039250.6A
Other languages
Chinese (zh)
Other versions
CN103777987A (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.)
JIAXING GUODIAN TONGXIN ENERGY TECHNOLOGY CO., LTD.
Beijing Guodiantong Network Technology Co Ltd
Original Assignee
Jiaxing Guodian Tongxin Energy Technology Co Ltd
Beijing Guodiantong Network Technology Co Ltd
Beijing Fibrlink Communications 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 Jiaxing Guodian Tongxin Energy Technology Co Ltd, Beijing Guodiantong Network Technology Co Ltd, Beijing Fibrlink Communications Co Ltd filed Critical Jiaxing Guodian Tongxin Energy Technology Co Ltd
Priority to CN201410039250.6A priority Critical patent/CN103777987B/en
Publication of CN103777987A publication Critical patent/CN103777987A/en
Application granted granted Critical
Publication of CN103777987B publication Critical patent/CN103777987B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Stored Programmes (AREA)

Abstract

The invention discloses the upgrade method of a species unix operating systems, including:Obtain operating system update bag image file;The operating system update bag image file is replicated to the same storage catalogue of operating system foundation image file;Modification booting operating system configuration file start-up operation system since operating system update bag image file when making startup.The invention also discloses the update device of a species unix operating systems, including:Acquisition module, for obtaining operating system update bag image file;Replication module, for replicating the operating system update bag image file to the same storage catalogue of operating system foundation image file;Modified module, for changing when booting operating system configuration file makes startup the start-up operation system since operating system update bag image file.

Description

The upgrade method and device of one species unix operating systems
Technical field
The present invention relates to computer operating system technical field, the upgrade method of a species unix operating systems is particularly related to And device.
Background technology
Generally, the progress upgrading of issued operating system is included and makes concurrent on operating system basis The process of row AKU, and common ROMPaq is required for changing the partial content of native operating system, this results in making And it is extremely complex and cumbersome to issue the process of AKU, and correspondingly, operating system update is carried out according to the AKU of distribution Process also can be especially cumbersome, this will be unfavorable for the upgrading of operating system and uses.
The content of the invention
In view of this, it is an object of the invention to propose the upgrade method and device of a species unix operating systems, it is not The content of change native operating system is needed, the upgrade job of operating system is greatly simplify.
The upgrade method of the class unix operating systems provided based on the above-mentioned purpose present invention, including:
Obtain operating system update bag image file;
The operating system update bag image file is replicated to the same storage catalogue of operating system foundation image file;
The start-up operation since operating system update bag image file when modification booting operating system configuration file makes startup System.
In some embodiments, methods described also includes:
The operating system foundation image file is mounted to temp directory, and by union file system by its with Operating system root file system is merged;
Operating system update image file is mounted to temp directory, and by union file system by itself and operating system Root file system is merged.
In some embodiments, methods described also includes:
Obtain the catalogue of the storage medium institute carry of operating system foundation image file;
Search or create read-write file;
The read-write file and operating system root file system are merged.
In some embodiments, methods described also includes:
Reconstruction operation system kernel and initial root file system, and the two is copied into the operating system foundation reflected As the catalogue of the storage medium institute carry of file;
The read-write file is packaged into image file of the operating system foundation image file with form;
The operating system nucleus of the reconstruction and initial root file system and the read-write file image file are beaten It is bundled into the operating system update bag image file of the image file form of bootstrap support.
In some embodiments, methods described also includes:
The corresponding guiding of the operating system update bag image file is added in the booting operating system configuration file .
Present invention also offers the update device of a species unix operating systems, including:
Acquisition module, for obtaining operating system update bag image file;
Replication module, for replicating the operating system update bag image file to operating system foundation image file Same storage catalogue;
Modified module, for changing when booting operating system configuration file makes startup from operating system update bag image file Start start-up operation system.
In some embodiments, described device also includes:
Merging module, for the operating system foundation image file to be mounted into temp directory, and passes through joint File system merges it with operating system root file system;And, for by operating system update image file carry It is merged with operating system root file system to temp directory, and by union file system.
In some embodiments, described device also includes:Creation module, for creating read-write file;
The acquisition module is additionally operable to obtain the catalogue of the storage medium institute carry of operating system foundation image file;
The merging module is additionally operable to merge the read-write file and operating system root file system.
In some embodiments, described device also includes:Module is rebuild, for reconstruction operation system kernel and initial root File system;The replication module is additionally operable to copy to the operating system nucleus of the reconstruction and initial root file system described The catalogue of the storage medium institute carry of operating system foundation image file;
Packetization module, for the read-write file to be packaged into the operating system foundation image file apposition The image file of formula;Also, it is used for the operating system nucleus of the reconstruction and initial root file system and the read-write text Part folder image file is packaged into the operating system update bag image file of the image file form of bootstrap support.
In some embodiments, the modified module is additionally operable to add institute in the booting operating system configuration file State the corresponding boot entry of operating system update bag image file.
From the above it can be seen that the upgrade method and device of the species unix operating systems that the present invention is provided, lead to Cross and merge origin operation system-based part with upgrade file, and be fabricated to the operating system update bag image file, pass through The operating system update bag image file is run, according to the guiding of boot configuration file, from operating system update bag image text Part starts start-up operation system, you can complete the upgrading of operating system;Described method and device, it need not change original behaviour Make the content of system, greatly simplify the upgrade job of operating system.
Brief description of the drawings
The flow chart of the upgrade method one embodiment for the class unix operating systems that Fig. 1 provides for the present invention;
The flow chart for the upgrade method of class unix operating systems another embodiment that Fig. 2 provides for the present invention;
The structural representation of the update device one embodiment for the class unix operating systems that Fig. 3 provides for the present invention.
Embodiment
For the object, technical solutions and advantages of the present invention are more clearly understood, below in conjunction with specific embodiment, and reference Accompanying drawing, the present invention is described in more detail.
Referring to the drawings 1, the flow chart of upgrade method one embodiment of the class unix operating systems provided for the present invention.Institute The upgrade method of class unix operating systems is stated, including:
Step 101:Obtain operating system update bag image file;
Step 102:Replicate the operating system update bag image file same to operating system foundation image file Storage catalogue;
Step 103:Modification booting operating system configuration file is when making startup since operating system update bag image file Start-up operation system.
2, the flow chart of the upgrade method of class unix operating systems another embodiment provided for the present invention referring to the drawings.
The upgrade method of the class unix operating systems, including:
Step 201:The operating system foundation image file is mounted to temp directory, and passes through combined paper system System merges it with operating system root file system;
Step 202:Operating system update image file is mounted to temp directory, and by union file system by its with Operating system root file system is merged.
Step 203:Obtain the catalogue of the storage medium institute carry of operating system foundation image file;
Step 204:Search or create read-write file;
Step 205:The read-write file and operating system root file system are merged.
Step 206:Reconstruction operation system kernel and initial root file system, and the two is copied into the operating system base The catalogue of the storage medium institute carry of plinth partial image file;
Step 207:The read-write file is packaged into the operating system foundation image file with form Image file;
Step 208:The operating system nucleus of the reconstruction and initial root file system and the read-write file are reflected As file is packaged into the operating system update bag image file of the image file form of bootstrap support.
Step 209:Obtain operating system update bag image file;
Step 210:Replicate the operating system update bag image file same to operating system foundation image file Storage catalogue;
Step 211:Modification booting operating system configuration file is when making startup since operating system update bag image file Start-up operation system.
Further, the modification booting operating system configuration file includes:In the booting operating system configuration file It is middle to add the corresponding boot entry of the operating system update bag image file.
The upgrade method that can be seen that the species unix operating systems that the present invention is provided, leads to from the embodiments above Cross and merge origin operation system-based part with upgrade file, and be fabricated to the operating system update bag image file, pass through The operating system update bag image file is run, according to the guiding of boot configuration file, from operating system update bag image text Part starts start-up operation system, you can complete the upgrading of operating system;Described method and device, it need not change original behaviour Make the content of system, greatly simplify the upgrade job of operating system.
Refer to the attached drawing 3, the structural representation of update device one embodiment of the class unix operating systems provided for the present invention Figure.
The update device 300 of the class unix operating systems, including:
Acquisition module 301, for obtaining operating system update bag image file;
Replication module 302, for replicating the operating system update bag image file to operating system foundation image The same storage catalogue of file;
Modified module 303, for changing when booting operating system configuration file makes startup from operating system update bag image File starts start-up operation system.
Further, described device 300 also includes:
Merging module 304, for the operating system foundation image file to be mounted into temp directory, and passes through connection File system is closed to merge it with operating system root file system;And, for operating system update image file to be hung Temp directory is downloaded to, and is merged it with operating system root file system by union file system.
Further, described device 300 also includes:Creation module 305, for creating read-write file;
The acquisition module 301 is additionally operable to obtain the mesh of the storage medium institute carry of operating system foundation image file Record;
The merging module 304 is additionally operable to merge the read-write file and operating system root file system.
Further, described device 300 also includes:Module 306 is rebuild, for reconstruction operation system kernel and initial root text Part system;The replication module 302 is additionally operable to the operating system nucleus of the reconstruction and initial root file system copying to institute State the catalogue of the storage medium institute carry of operating system foundation image file;
Packetization module 307, for the read-write file to be packaged into the operating system foundation image file With the image file of form;Also, for by the operating system nucleus of the reconstruction and initial root file system and described readable Written document folder image file is packaged into the operating system update bag image file of the image file form of bootstrap support.
Further, the modified module 303 is additionally operable to add the behaviour in the booting operating system configuration file Make the corresponding boot entry of system upgrade bag image file.
From the above it can be seen that the update device of a species unix operating systems that the present invention is provided, by by original Operating system foundation merges with upgrade file, and is fabricated to the operating system update bag image file, by running Operating system update bag image file is stated, according to the guiding of boot configuration file, since operating system update bag image file Start-up operation system, you can complete the upgrading of operating system;Described method and device, it need not change native operating system Content, greatly simplify the upgrade job of operating system.
Those of ordinary skills in the art should understand that:The specific embodiment of the present invention is the foregoing is only, and The limitation present invention is not used in, within the spirit and principles of the invention, any modification, equivalent substitution and improvements done etc., It should be included within protection scope of the present invention.

Claims (2)

1. the upgrade method of a species unix operating systems, it is characterised in that including:
The operating system foundation image file is mounted to temp directory, and by union file system by itself and operation System root file system is merged;
Operating system update image file is mounted to temp directory, and it is by union file system that itself and operating system root is literary Part system is merged;
Obtain the catalogue of the storage medium institute carry of operating system foundation image file;
Search or create read-write file;
The read-write file and operating system root file system are merged;
Reconstruction operation system kernel and initial root file system, and the two is copied into the operating system foundation image text The catalogue of the storage medium institute carry of part;
The read-write file is packaged into image file of the operating system foundation image file with form;
The operating system nucleus of the reconstruction and initial root file system and the read-write file image file are packaged into The operating system update bag image file for the image file form that bootstrap is supported;
Obtain operating system update bag image file;
The operating system update bag image file is replicated to the same storage catalogue of operating system foundation image file;
Modification booting operating system configuration file start-up operation system since operating system update bag image file when making startup; The modification booting operating system configuration file includes:The operating system is added in the booting operating system configuration file The corresponding boot entry of AKU image file.
2. the update device of a species unix operating systems, it is characterised in that including:
Acquisition module, for obtaining operating system update bag image file;
Replication module, it is same to operating system foundation image file for replicating the operating system update bag image file Storage catalogue;
Modified module, for changing when booting operating system configuration file makes startup since operating system update bag image file Start-up operation system;And, the operating system update bag image file is added in the booting operating system configuration file Corresponding boot entry;
Merging module, for the operating system foundation image file to be mounted into temp directory, and passes through combined paper System merges it with operating system root file system;And, face for operating system update image file to be mounted to When catalogue, and it is merged with operating system root file system by union file system;
Creation module, for creating read-write file;
The acquisition module is additionally operable to obtain the catalogue of the storage medium institute carry of operating system foundation image file;
The merging module is additionally operable to merge the read-write file and operating system root file system;
Module is rebuild, for reconstruction operation system kernel and initial root file system;The replication module is additionally operable to will be described heavy The operating system nucleus and initial root file system built copy to the storage medium of the operating system foundation image file The catalogue of institute's carry;
Packetization module, for the read-write file to be packaged into the operating system foundation image file with form Image file;Also, it is used for the operating system nucleus of the reconstruction and initial root file system and the read-write file Image file is packaged into the operating system update bag image file of the image file form of bootstrap support.
CN201410039250.6A 2014-01-26 2014-01-26 The upgrade method and device of one species unix operating systems Active CN103777987B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410039250.6A CN103777987B (en) 2014-01-26 2014-01-26 The upgrade method and device of one species unix operating systems

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410039250.6A CN103777987B (en) 2014-01-26 2014-01-26 The upgrade method and device of one species unix operating systems

Publications (2)

Publication Number Publication Date
CN103777987A CN103777987A (en) 2014-05-07
CN103777987B true CN103777987B (en) 2017-09-15

Family

ID=50570265

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410039250.6A Active CN103777987B (en) 2014-01-26 2014-01-26 The upgrade method and device of one species unix operating systems

Country Status (1)

Country Link
CN (1) CN103777987B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105005491B (en) * 2015-08-11 2018-06-29 上海斐讯数据通信技术有限公司 The upgrade method and system of a kind of linux kernel and application program
CN108829442B (en) * 2017-05-04 2021-12-14 杭州海康威视数字技术股份有限公司 Program starting method and device
CN107908441B (en) * 2017-12-06 2021-07-02 郑州云海信息技术有限公司 Database upgrading method and upgrading device
CN109634682B (en) * 2018-11-29 2022-02-15 恒生电子股份有限公司 Configuration file updating method and device for application program
CN112463191A (en) * 2020-11-26 2021-03-09 北京沃东天骏信息技术有限公司 File updating method and device, equipment and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102193807A (en) * 2010-03-19 2011-09-21 联想(北京)有限公司 Method for upgrading image file, server and computer network system
CN103106091A (en) * 2013-01-31 2013-05-15 深圳市开立科技有限公司 Start-up system and method of operating system based on removable storage media
CN103514015A (en) * 2013-09-16 2014-01-15 亚太宝龙科技(湖南)有限公司 Method and device for booting operation system from storage medium

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2009143124A1 (en) * 2008-05-20 2009-11-26 Citrix Systems, Inc. Methods and systems for patching multiple disk images derived from a common base disk image

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102193807A (en) * 2010-03-19 2011-09-21 联想(北京)有限公司 Method for upgrading image file, server and computer network system
CN103106091A (en) * 2013-01-31 2013-05-15 深圳市开立科技有限公司 Start-up system and method of operating system based on removable storage media
CN103514015A (en) * 2013-09-16 2014-01-15 亚太宝龙科技(湖南)有限公司 Method and device for booting operation system from storage medium

Also Published As

Publication number Publication date
CN103777987A (en) 2014-05-07

Similar Documents

Publication Publication Date Title
CN103777987B (en) The upgrade method and device of one species unix operating systems
JP6073854B2 (en) Electronic equipment and firmware recovery program
US9141630B2 (en) Fat directory structure for use in transaction safe file system
CN103593216B (en) The system file of ubi forms is fabricated to factory's burning image file method
US11016785B2 (en) Method and system for mirror image package preparation and application operation
CN103473099A (en) Software upgrading method and system for mobile terminal
US20140244950A1 (en) Cloning live virtual machines
CN103517141B (en) Based on IP Set Top Box segmented data upgrade methods
WO2007111751A3 (en) Architecture for a smart enterprise framework and methods thereof
CN103777985B (en) Same subregion installs the method and device of multiple operating systems in storage medium
CN109542493A (en) A kind of image upgrade method and apparatus
CN103761107B (en) Software package customizing device and method
CN103713941B (en) Virtual machine image cloning process and system based on qcow2 forms
CN103777953A (en) Method and device for manufacturing Unix-like operating system upgrade patch
JP6404708B2 (en) Information processing apparatus, BIOS setting information changing method, and computer program
CN106371875A (en) Mobile phone application updating mechanism based on HTML(hypertext markup language) 5
US20160092281A1 (en) Information processing apparatus, method for controlling the same, and storage medium
CN106250125A (en) Obtain the method and device of daily record
CN106371819A (en) Parameter acquisition method and apparatus, and electronic device
CN106648732A (en) DOS-based extraction and modification method for BIOS
JP2011248742A (en) Storage management system, management computer, and program
CN103778033A (en) Method and device for backing up Unix-like operating system at multiple time points
CN103425550B (en) A kind of system cloning process and device
CN105786489B (en) A kind of construction method of the stateless virtualization calculate node of safety
CN104391719A (en) Compiling-free fast mirror image customizing method based on Android platform

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
CB03 Change of inventor or designer information
CB03 Change of inventor or designer information

Inventor after: Zhang Chunguang

Inventor after: Qi Shiqiang

Inventor after: Sun Qiao

Inventor after: Wang Sining

Inventor after: Leng Man

Inventor after: Qin Peng

Inventor after: Shi Hui

Inventor after: Sun Dandan

Inventor before: Deng Qinghua

TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20170612

Address after: 100070 Fengtai District, Feng Feng Road, the era of wealth on the 1st floor of the world's 28 floor, Beijing

Applicant after: Beijing Guodiantong Network Technology Co., Ltd.

Applicant after: JIAXING GUODIAN TONGXIN ENERGY TECHNOLOGY CO., LTD.

Applicant after: Fibrlink Networks Co., Ltd.

Address before: 411300 Shaoshan province Yong Park Science and Technology Park (hi tech Venture Center, building five), Hunan

Applicant before: Baolong computer system (Hunan) Co. Ltd.

GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20190604

Address after: 100070 the 28 tier of fortune Fortune Plaza, No.1, hang Feng Road, Fengtai District, Beijing.

Co-patentee after: JIAXING GUODIAN TONGXIN ENERGY TECHNOLOGY CO., LTD.

Patentee after: Beijing Guodiantong Network Technology Co., Ltd.

Address before: 100070 the 28 tier of fortune Fortune Plaza, No.1, hang Feng Road, Fengtai District, Beijing.

Co-patentee before: JIAXING GUODIAN TONGXIN ENERGY TECHNOLOGY CO., LTD.

Patentee before: Beijing Guodiantong Network Technology Co., Ltd.

Co-patentee before: Fibrlink Networks Co., Ltd.