CN103246534B - operating system migration method and device - Google Patents

operating system migration method and device Download PDF

Info

Publication number
CN103246534B
CN103246534B CN201310127943.6A CN201310127943A CN103246534B CN 103246534 B CN103246534 B CN 103246534B CN 201310127943 A CN201310127943 A CN 201310127943A CN 103246534 B CN103246534 B CN 103246534B
Authority
CN
China
Prior art keywords
operating system
hardware
hard disk
source terminal
drive program
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
CN201310127943.6A
Other languages
Chinese (zh)
Other versions
CN103246534A (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.)
Sangfor Technologies Co Ltd
Original Assignee
Sangfor Network Technology Shenzhen 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 Sangfor Network Technology Shenzhen Co Ltd filed Critical Sangfor Network Technology Shenzhen Co Ltd
Priority to CN201310127943.6A priority Critical patent/CN103246534B/en
Publication of CN103246534A publication Critical patent/CN103246534A/en
Application granted granted Critical
Publication of CN103246534B publication Critical patent/CN103246534B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Stored Programmes (AREA)

Abstract

The present invention relates to a kind of operating system migration method and device, its method includes:Start a reservation system on a target terminal, be used as migration operation platform;Based on migration operation platform, the hardware information required for the hardware drive program for the hard disk for scanning loaded targets terminal;Pass through the corresponding hardware drive program of hardware information collection;According to hardware information and corresponding hardware drive program, source terminal operating system is transformed and improved operating system data are stored, so as to automate the migration for realizing operating system, it is follow-up only to obtain improved operating system data, start improved operating system on the hard disk of target terminal, so solve when the operating system in source terminal is incompatible or carry out when the hardware abstraction layer of None- identified target terminal, pci bus controller or hard disk controller after system migration can not activation system the problem of.

Description

Operating system migration method and device
Technical field
The present invention relates to field of computer technology, more particularly to a kind of operating system migration method and device.
Background technology
The migration of Windows operating system refers to move the Windows operating system and data in source computer on hard disk Move on on object-computer, wherein, source computer refers to the computer for having installed Windows operating system and data, can To be a virtual machine or a physical computer;Object-computer refers to another computer different from source computer, can To be a virtual machine or a physical computer.
At present, realize that the migration of Windows operating system generally uses following methods under identical hardware platform:Directly The hard disk of source computer is removed, is connected on object-computer;Or the hard disk of source computer is passed through into ghost or other Similar hdcopy copies the hard disk on object-computer to.
But, above-mentioned moving method all can only operate in identical hardware platform, then can not for different hardware platforms Realize.The migration of Windows operating system generally uses following several method under now different hardware platforms:
1st, the operating system of source computer is copied the hard disk of object-computer to after the encapsulation tool encapsulation of Microsoft On;
2nd, the operating system of source computer is copied on the hard disk of object-computer, target is then used on source computer The hard disk startup of computer, then encapsulated with the encapsulation tool of Microsoft, the hard disk of object-computer is connected into target afterwards calculates On machine;
3rd, the encapsulation tool of the Microsoft in 1,2 schemes is replaced with third-party encapsulation tool.
The method of above-mentioned three kinds of migration operation systems under different hardware platforms has the following disadvantages:Transition process can not be real Now automate, the time of cost is very long, and when the Windows operating system in source computer is incompatible or None- identified target When the hardware abstraction layer of computer, pci bus controller, hard disk controller or CPU drivers, the system after migration can not be just Often start.
The content of the invention
It is a primary object of the present invention to provide a kind of operating system migration method and device, it is intended to which automation is realized different The migration of operating system under hardware platform.
In order to achieve the above object, the present invention proposes a kind of operating system migration method, including:
Start a reservation system on a target terminal, be used as migration operation platform;
Based on the migration operation platform, scanning is loaded required for the hardware drive program of the hard disk of the target terminal Hardware information;
Pass through the corresponding hardware drive program of the hardware information collection;
According to the hardware information and corresponding hardware drive program, source terminal operating system is transformed and stored changed Operating system data after making.
Preferably, it is described the step of transformed source terminal operating system and store improved operating system data it Also include afterwards:
The improved operating system data are obtained, start improved operation system on the hard disk of the target terminal System.
Preferably, it is described according to hardware information and corresponding hardware drive program, source terminal operating system is transformed And include the step of store improved operating system data:
Obtain the operating system data on the hard disk of source terminal;
According to the hardware information and corresponding hardware drive program, the operating system data are transformed;
By improved operating system data storage on the hard disk of the target terminal, or on the network storage equipment, Or on the hard disk of the source terminal.
Preferably, it is described obtain source terminal hard disk on operating system data the step of include:
The operating system data in the hard disk of the source terminal are obtained by virtual hard disk.
Preferably, the reservation system is at least Linux the or WinPE systems from USB flash disk, CD or network startup;It is described Hardware information at least includes one below:Hardware abstraction layer information, computer bus information and hard disk controller information.
The present invention also proposes a kind of operating system migration device, including:
Starting module, for starting a reservation system on a target terminal, is used as migration operation platform;
Scan module, drives for the hardware based on the migration operation platform, the hard disk of the scanning loading target terminal Hardware information required for dynamic program;
Collection module, for passing through the corresponding hardware drive program of the hardware information collection;
Memory module is transformed, is for according to the hardware information and corresponding hardware drive program, being operated to source terminal System is transformed and stores improved operating system data.
Preferably, the starting module is additionally operable to obtain the improved operating system data, in the target terminal Hard disk on start improved operating system.
Preferably, the transformation memory module includes:
Acquiring unit, the operating system data on hard disk for obtaining source terminal;
Unit is transformed, for according to the hardware information and corresponding hardware drive program, to the operating system data Transformed;
Memory cell, for by improved operating system data storage in the hard disk of the target terminal, or net In network storage device, or on the hard disk of the source terminal.
Preferably, the acquiring unit is additionally operable to obtain the operating system in the hard disk of the source terminal by virtual hard disk Data.
Preferably, the reservation system is at least Linux the or WinPE systems from USB flash disk, CD or network startup;It is described Hardware information at least includes one below:Hardware abstraction layer information, computer bus information and hard disk controller information.
A kind of operating system migration method and device proposed by the present invention, by starting a predetermined system on a target terminal System, is used as migration operation platform;Based on the migration operation platform, the hardware driving required for the hard disk of loaded targets terminal is scanned The hardware information of program;Pass through the corresponding hardware drive program of hardware information collection;Then according to hardware information and corresponding hard Part driver, is transformed source terminal operating system and stores improved operating system data, so as to automate realization The migration of operating system, it is follow-up only to obtain improved operating system data, start on the hard disk of target terminal after transformation Operating system, and then solve when the operating system in source terminal is incompatible or the hardware abstraction of None- identified target terminal Layer, pci bus controller or carry out during hard disk controller after system migration can not activation system the problem of.
Brief description of the drawings
Fig. 1 is the schematic flow sheet of operating system migration method first embodiment of the present invention;
Fig. 2 is according to hardware information and corresponding hardware drive program, to source terminal operating system in the embodiment of the present invention Transformed and stored the schematic flow sheet of improved operating system data;
Fig. 3 is the schematic flow sheet of operating system migration method second embodiment of the present invention;
Fig. 4 is the structural representation of operating system migration device preferred embodiment of the present invention;
Fig. 5 is the structural representation of transformation memory module in operating system migration device preferred embodiment of the present invention.
Embodiment
The solution main thought of the embodiment of the present invention is:Start a reservation system on a target terminal, be used as migration Operating platform;Based on the migration operation platform, the hardware of the hardware drive program required for the hard disk of scanning loaded targets terminal Information;Pass through the corresponding hardware drive program of hardware information collection;Then according to hardware information and corresponding hardware drive program, Source terminal operating system is transformed and improved operating system data are stored, the migration of operating system is realized in automation, It is follow-up only to obtain improved operating system data, start improved operating system on the hard disk of target terminal.
Operating system includes but is not limited to grasp with Windows in Windows operating system, following embodiment in the present invention Make system illustration.
As shown in figure 1, a kind of operating system migration method that first embodiment of the invention is proposed, including:
Step S101, starts a reservation system on a target terminal, is used as migration operation platform;
The present embodiment can realize the operating system migration between different hardware platforms.Wherein:Different hardware platforms refer to Two computer platforms with same instruction set, different CPU or internal memory or peripheral hardware, the present embodiment is defined as source terminal and mesh Mark to install on terminal, the hard disk of source terminal needs to receive changing for migration on active Windows operating system, the hard disk of target terminal Windows operating system after making.
Specifically, above-mentioned same instruction set refers to the instruction set for having compatibility, such as two computer platforms all instruct for X86 System or the instruction system all for ARM;Different internal memories refers to the internal memory or different size of internal memory of different manufacturers;Different Peripheral hardware refers to different I/O devices, such as one computer is ICH9 platforms, and another computer is sandy-bridge platforms; Or, such as one computer is the physical computer of X86-based, and another computer is the virtual machine of X86-based.
First, a reservation system is started on a target terminal, as migration operation platform, subsequent operation process is all moved herein Move on operating platform and perform.
Above-mentioned reservation system refers to one that downloads startup from CD, USB flash disk or network on a target terminal specific system System, specifically, the system can be that Linux the or WinPE systems of startup are downloaded from USB flash disk, CD or network.
Step S102, based on the migration operation platform, the hardware driving journey of the hard disk of the scanning loading target terminal Hardware information required for sequence;
Then on above-mentioned migration operation platform, required for the hardware drive program for the hard disk for scanning loaded targets terminal Hardware information, the hardware information required for loading the hardware drive program of hard disk includes hardware abstraction layer information, computer bus Information, hard disk controller information etc., according to the hardware drive program of the target terminal hard disk of actual loaded, can select scanning to obtain Take the one or more in above-mentioned hardware information.
Above-mentioned hardware abstraction layer information refers to the basic framework of computer defined in Windows operating system, that is, includes It is defined at present:“Standard PC”、“Advanced Configuration and Power Interface (ACPI) PC ", " ACPI Uniprocessor PC ", " ACPI Multiprocessor PC ", " MPS Uniprocessor PC " and " MPS Multiprocessor PC " etc., its scan method can directly be obtained from specific operating system or directly logical Inspection BIOS is crossed to obtain.
Above computer bus message refers to the bus case used in computer, such as conventional at present be pci bus or PCI-E buses, its scan method can directly be obtained from specific operating system or directly from ACPI configuration spaces or IO Read port.
Above-mentioned hard disk controller information refers to the interface controller of computer and hard disk, such as IDE controllers, SATA are controlled Device or AHCI controllers, its scan method can be that acquisition or scanning computer bus are obtained directly from specific operating system Take.
Step S103, passes through the corresponding hardware drive program of the hardware information collection;
The hardware drive program of corresponding hardware is driven by hardware information collection, its collection method is each hard by matching The driver for taking correspondence hardware is looked in the special hardware ID of part, slave driver database.
Wherein, driver database can be downloaded from network or extracted from the Drivers Library defined before automatically.
Step S104, according to the hardware information and corresponding hardware drive program, changes to source terminal operating system Make and store improved operating system data.
In the present embodiment, the Windows system reforms to source terminal refer to transform whole from source by the hardware information of collection Hardware abstraction layer in the Windows systems obtained in end, and the hardware drive program being collected into is installed to from source terminal In the Windows systems of middle acquisition.
Detailed process is as shown in Figure 2:
First, the operating system data on the hard disk of source terminal are obtained.
As a kind of acquisition modes, the operating system in the hard disk of the source terminal can be obtained by network virtual hard disk Data.
It is responsible for the data of hard disk in source terminal being supplied to mesh as shown in Fig. 2 the hard disc data in source terminal provides program The virtual hard disk remote access of terminal is marked, is then supplied to target terminal to use by virtual hard disk, to the Windows of source terminal The transformation memory module of operating system is responsible for according to the hardware information being collected into and the hardware drive program being collected into virtual hard Windows operating system transformation in disk, and improved Windows operating system data are stored.
Storage when, can by improved Windows operating system data storage on the hard disk of target terminal, or On the network storage equipment, it can also be stored on the hard disk of source terminal, can be from corresponding when subsequently starting improved system Storage device obtain improved Windows operating system data, and realize that system starts on a target terminal;If after transformation Windows operating system data storage on the hard disk of target terminal, then can be obtained directly on the hard disk of target terminal Improved Windows operating system data, and realize that system starts on a target terminal.
The above-mentioned remodeling method to source terminal Windows operating system includes:Change source terminal Windows operating system The hardware drive program that hardware abstraction layer and installation are collected into.
Wherein, changing the method for the hardware abstraction layer of source terminal Windows operating system is:According to hardware abstraction layer information Change the corresponding system file of source terminal Windows operating system, specifically include the respective hardware abstraction layer of replacing corresponding HAL.DLL and Ntoskrnl.dll files.
The method for the hardware drive program that above-mentioned installation is collected into is:Copy and wanted in each hardware drive program installation file Ask the file of copy, and increase or the registration table for changing required increase or modification in each hardware drive program installation file .
The present embodiment realizes the migration of operating system by such scheme, automation, follow-up only to obtain improved Operating system data, start improved operating system on the hard disk of target terminal, so as to solve as the behaviour in source terminal Make be when incompatible system or hardware abstraction layer of None- identified target terminal, pci bus controller or hard disk controller System migration after can not activation system the problem of.
It should be noted that in above-mentioned steps S104, improved Windows systems are stored into the hard disk to target terminal Process be incremental mode, need to only store the system data of change to the hard disk of target terminal, only start in target terminal When accessing the hard disc data not stored afterwards, just provide program from the hard disc data of source terminal on demand and obtain.
In addition, above-mentioned steps S102, step S103 and step S104 are not only limited and performed on a target terminal, can also Performed on source terminal.
As shown in figure 3, a kind of operating system migration method that second embodiment of the invention is proposed, in above-mentioned first embodiment On the basis of, also include after above-mentioned steps S104:
Step S105, obtains the improved operating system data, starts transformation on the hard disk of the target terminal Operating system afterwards.
The difference of the present embodiment and above-described embodiment is that the present embodiment, which is additionally included in start on the hard disk of target terminal, to be changed The process of operating system after making.
Specifically, by taking Windows operating system as an example, the present embodiment is opened after the migration of Windows operating system is realized Improved system is moved, i.e., obtains improved Windows operating system data from corresponding storage device, and in target terminal On realize system start;If improved Windows operating system data storage, can be direct on the hard disk of target terminal Improved Windows operating system data are obtained on the hard disk of target terminal, and realize that system starts on a target terminal.
Because the present embodiment is accordingly transformed the source terminal Windows operating system for needing to migrate, therefore, when source is whole Operating system in end is incompatible or hardware abstraction layer of None- identified target terminal, pci bus controller or hard disk controller When, it is ensured that can normally it start after system migration, so as to improve the transportable property of system.
As shown in figure 4, present pre-ferred embodiments propose a kind of operating system migration device, including:Starting module 201, Scan module 202, collection module 203 and transformation memory module 204, wherein:
Starting module 201, for starting a reservation system on a target terminal, is used as migration operation platform;
Scan module 202, for based on the migration operation platform, scanning to be loaded required for the hard disk of the target terminal Hardware drive program hardware information;
Collection module 203, for passing through the corresponding hardware drive program of the hardware information collection;
Memory module 204 is transformed, for according to the hardware information and corresponding hardware drive program, being operated to source terminal System is transformed and stores improved operating system data.
The present embodiment can realize the operating system migration between different hardware platforms.Wherein:Different hardware platforms refer to Two computer platforms with same instruction set, different CPU or internal memory or peripheral hardware, the present embodiment is defined as source terminal and mesh Mark to install on terminal, the hard disk of source terminal needs to receive changing for migration on active Windows operating system, the hard disk of target terminal Windows operating system after making.
Above-mentioned same instruction set refers to have the instruction set of compatibility, such as two computer platforms all for X86 instruction systems or Person is ARM instruction system;Different internal memories refers to the internal memory or different size of internal memory of different manufacturers;Different peripheral hardwares are Refer to different I/O devices, such as one computer is ICH9 platforms, and another computer is sandy-bridge platforms;Or, Such as one computer is the physical computer of X86-based, and another computer is the virtual machine of X86-based.
Specifically, first, starting module 201 starts a reservation system on a target terminal, as migration operation platform, after Continuous operating process is performed all on this migration operation platform.
Above-mentioned reservation system refers to one that downloads startup from CD, USB flash disk or network on a target terminal specific system System, specifically, the system can be that Linux the or WinPE systems of startup are downloaded from USB flash disk, CD or network.
Then on above-mentioned migration operation platform, the hardware driving of the hard disk of the scanning loaded targets terminal of scan module 202 Hardware information required for program, the hardware information required for loading the hardware drive program of hard disk is believed including hardware abstraction layer Breath, computer bus information, hard disk controller information etc., according to the hardware drive program of the target terminal hard disk of actual loaded, Scanning can be selected to obtain the one or more in above-mentioned hardware information.
Above-mentioned hardware abstraction layer information refers to the basic framework of computer defined in Windows operating system, that is, includes It is defined at present:“Standard PC”、“Advanced Configuration and Power Interface (ACPI) PC ", " ACPI Uniprocessor PC ", " ACPI Multiprocessor PC ", " MPS Uniprocessor PC " and " MPS Multiprocessor PC " etc., its scan method can directly be obtained from specific operating system or directly logical Inspection BIOS is crossed to obtain.
Above computer bus message refers to the bus case used in computer, such as conventional at present be pci bus or PCI-E buses, its scan method can directly be obtained from specific operating system or directly from ACPI configuration spaces or IO Read port.
Above-mentioned hard disk controller information refers to the interface controller of computer and hard disk, such as IDE controllers, SATA are controlled Device or AHCI controllers, its scan method can be that acquisition or scanning computer bus are obtained directly from specific operating system Take.
Then, collection module 203 drives the hardware drive program of corresponding hardware by hardware information collection, its collection method It is that the driver for taking correspondence hardware is looked in the hardware ID special by matching each hardware, slave driver database.
Wherein, driver database can be downloaded from network or extracted from the Drivers Library defined before automatically.
Finally transformation memory module 204 is according to hardware information and corresponding hardware drive program, to source terminal operating system Transformed and store improved operating system data.
In the present embodiment, the Windows system reforms to source terminal refer to transform whole from source by the hardware information of collection Hardware abstraction layer in the Windows systems obtained in end, and the hardware drive program being collected into is installed to from source terminal In the Windows systems of middle acquisition.
Detailed process is as shown in Figure 2:
First, the operating system data on the hard disk of source terminal are obtained.
As a kind of acquisition modes, the operating system in the hard disk of the source terminal can be obtained by network virtual hard disk Data.
It is responsible for the data of hard disk in source terminal being supplied to mesh as shown in Fig. 2 the hard disc data in source terminal provides program The virtual hard disk remote access of terminal is marked, is then supplied to target terminal to use by virtual hard disk, to the Windows of source terminal The transformation memory module of operating system is responsible for according to the hardware information being collected into and the hardware drive program being collected into virtual hard Windows operating system transformation in disk, and improved Windows operating system data are stored.
Storage when, can by improved Windows operating system data storage on the hard disk of target terminal, or On the network storage equipment, it can also be stored on the hard disk of source terminal, can be from corresponding when subsequently starting improved system Storage device obtain improved Windows operating system data, and realize that system starts on a target terminal;If after transformation Windows operating system data storage on the hard disk of target terminal, then can be obtained directly on the hard disk of target terminal Improved Windows operating system data, and realize that system starts on a target terminal.
The above-mentioned remodeling method to source terminal Windows operating system includes:Change source terminal Windows operating system The hardware drive program that hardware abstraction layer and installation are collected into.
Wherein, changing the method for the hardware abstraction layer of source terminal Windows operating system is:According to hardware abstraction layer information Change the corresponding system file of source terminal Windows operating system, specifically include the respective hardware abstraction layer of replacing corresponding HAL.DLL and Ntoskrnl.dll files.
The method for the hardware drive program that above-mentioned installation is collected into is:Copy and wanted in each hardware drive program installation file Ask the file of copy, and increase or the registration table for changing required increase or modification in each hardware drive program installation file .
The present embodiment realizes the migration of operating system by such scheme, automation, follow-up only to obtain improved Operating system data, start improved operating system on the hard disk of target terminal, so as to solve as the behaviour in source terminal Make be when incompatible system or hardware abstraction layer of None- identified target terminal, pci bus controller or hard disk controller System migration after can not activation system the problem of.
It should be noted that in the operating process of above-mentioned transformation memory module 204, improved Windows systems are deposited The process for storing up the hard disk of target terminal is incremental mode, need to only store the system data of change to the hard disk of target terminal, When only accessing the hard disc data not stored after target terminal startup, just provide program from the hard disc data of source terminal on demand and obtain Take.
In addition, the operating process of above-mentioned scan module 202, collection module 203 and transformation memory module 204 is not only Limitation is performed on a target terminal, can also be performed on source terminal, that is to say, that said apparatus can be arranged on target terminal On, scan module 202 therein, collection module 203 and transformation memory module 204 can also be arranged on source terminal.
Further, the starting module 201 is additionally operable to obtain the improved operating system data, in the target Start improved operating system on the hard disk of terminal.
Specifically, by taking Windows operating system as an example, the present embodiment is opened after the migration of Windows operating system is realized Improved system is moved, i.e., obtains improved Windows operating system data from corresponding storage device, and in target terminal On realize system start;If improved Windows operating system data storage, can be direct on the hard disk of target terminal Improved Windows operating system data are obtained on the hard disk of target terminal, and realize that system starts on a target terminal.
More specifically, as shown in figure 5, above-mentioned transformation memory module 204 can include:Acquiring unit 2041, transformation are single Member 2042 and memory cell 2043, wherein:
Acquiring unit 2041, the operating system data on hard disk for obtaining source terminal;Specifically can be by virtual hard Examine and seize the operating system data in the hard disk for taking the source terminal.
Unit 2042 is transformed, for according to the hardware information and corresponding hardware drive program, to the operating system Data are transformed;
Memory cell 2043, for by improved operating system data storage the target terminal hard disk, or On person's network storage equipment, or on the hard disk of the source terminal.
Operating system migration method and device of the embodiment of the present invention, by starting a reservation system on a target terminal, makees For migration operation platform;Based on the migration operation platform, the hardware drive program required for the hard disk of loaded targets terminal is scanned Hardware information;Pass through the corresponding hardware drive program of hardware information collection;Then driven according to hardware information and corresponding hardware Dynamic program, is transformed source terminal operating system and stores improved operating system data, so as to automate realization operation The migration of system;Improved operating system data are subsequently obtained as needed, are started on the hard disk of target terminal after transformation Operating system, due to the present embodiment by need migrate source terminal Windows operating system accordingly transformed, therefore, when Operating system in source terminal is incompatible or hardware abstraction layer of None- identified target terminal, pci bus controller or hard disk control During device processed, it is ensured that can normally start after system migration, so as to improve the transportable property of system.
The preferred embodiments of the present invention are the foregoing is only, are not intended to limit the scope of the invention, it is every to utilize Equivalent structure or the flow conversion that description of the invention and accompanying drawing content are made, or directly or indirectly it is used in other related skills Art field, is included within the scope of the present invention.

Claims (10)

1. a kind of operating system migration method, it is characterised in that including:
Start a reservation system on a target terminal, as migration operation platform, wherein, the reservation system refers to whole in target A specific system of startup is downloaded on end from CD, USB flash disk or network;
Based on the migration operation platform, the hardware required for the hardware drive program of the hard disk of the scanning loading target terminal Information;
Pass through the corresponding hardware drive program of the hardware information collection;
According to the hardware information and corresponding hardware drive program, source terminal operating system is transformed and stored after transformation Operating system data;
Wherein, the method that the source terminal operating system is transformed is included:Change the hard of source terminal Windows operating system The hardware drive program that part level of abstraction and installation are collected into;
It is described change source terminal Windows operating system the method for hardware abstraction layer be:Changed according to hardware abstraction layer information The corresponding system file of source terminal Windows operating system;
The method of hardware drive program being collected into of installing is:Copy required in each hardware drive program installation file copy The file of shellfish, and increase or the registry entry for changing required increase or modification in each hardware drive program installation file.
2. according to the method described in claim 1, it is characterised in that it is described source terminal operating system is transformed and stored change Also include after the step of operating system data after making:
The improved operating system data are obtained, start improved operating system on the hard disk of the target terminal.
3. according to the method described in claim 1, it is characterised in that described according to hardware information and corresponding hardware driving journey Sequence, is transformed source terminal operating system and is included the step of storing improved operating system data:
Obtain the operating system data on the hard disk of source terminal;
According to the hardware information and corresponding hardware drive program, the operating system data are transformed;
By improved operating system data storage on the hard disk of the target terminal, either on the network storage equipment or On the hard disk of the source terminal.
4. method according to claim 3, it is characterised in that the operating system data on the hard disk of the acquisition source terminal The step of include:
The operating system data in the hard disk of the source terminal are obtained by virtual hard disk.
5. the method according to any one of claim 1-4, it is characterised in that the reservation system is at least from USB flash disk, light Linux the or WinPE systems of disk or network startup;The hardware information at least includes one below:Hardware abstraction layer information, meter Calculation machine bus message and hard disk controller information.
6. a kind of operating system migration device, it is characterised in that including:
Starting module, for starting a reservation system on a target terminal, as migration operation platform, wherein, the predetermined system System refers to one that downloads startup from CD, USB flash disk or network on a target terminal specific system;
Scan module, for based on the migration operation platform, the hardware driving journey of the hard disk of the scanning loading target terminal Hardware information required for sequence;
Collection module, for passing through the corresponding hardware drive program of the hardware information collection;
Memory module is transformed, for according to the hardware information and corresponding hardware drive program, entering to source terminal operating system Row is transformed and stores improved operating system data;
Wherein, the method that the source terminal operating system is transformed is included:Change the hard of source terminal Windows operating system The hardware drive program that part level of abstraction and installation are collected into;
It is described change source terminal Windows operating system the method for hardware abstraction layer be:Changed according to hardware abstraction layer information The corresponding system file of source terminal Windows operating system;
The method of hardware drive program being collected into of installing is:Copy required in each hardware drive program installation file copy The file of shellfish, and increase or the registry entry for changing required increase or modification in each hardware drive program installation file.
7. device according to claim 6, it is characterised in that the starting module is additionally operable to obtain the improved behaviour Make system data, start improved operating system on the hard disk of the target terminal.
8. device according to claim 6, it is characterised in that the transformation memory module includes:
Acquiring unit, the operating system data on hard disk for obtaining source terminal;
Unit is transformed, for according to the hardware information and corresponding hardware drive program, being carried out to the operating system data Transformation;
Memory cell, for, in the hard disk of the target terminal, or network to deposit by improved operating system data storage Store up in equipment, or on the hard disk of the source terminal.
9. device according to claim 8, it is characterised in that the acquiring unit is additionally operable to obtain institute by virtual hard disk State the operating system data in the hard disk of source terminal.
10. the device according to any one of claim 6-9, it is characterised in that the reservation system be at least from USB flash disk, Linux the or WinPE systems of CD or network startup;The hardware information at least includes one below:Hardware abstraction layer information, Computer bus information and hard disk controller information.
CN201310127943.6A 2013-04-12 2013-04-12 operating system migration method and device Active CN103246534B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310127943.6A CN103246534B (en) 2013-04-12 2013-04-12 operating system migration method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310127943.6A CN103246534B (en) 2013-04-12 2013-04-12 operating system migration method and device

Publications (2)

Publication Number Publication Date
CN103246534A CN103246534A (en) 2013-08-14
CN103246534B true CN103246534B (en) 2017-07-28

Family

ID=48926066

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310127943.6A Active CN103246534B (en) 2013-04-12 2013-04-12 operating system migration method and device

Country Status (1)

Country Link
CN (1) CN103246534B (en)

Families Citing this family (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105117260B (en) * 2015-09-07 2019-11-26 北京金山安全软件有限公司 Method and system for installing hardware device driver
CN105159720B (en) * 2015-09-07 2019-06-28 珠海豹趣科技有限公司 Hardware device driver installation method and system
CN105808289B (en) * 2016-02-29 2019-09-24 联想(北京)有限公司 Information processing method and electronic equipment
CN107220110A (en) * 2017-04-27 2017-09-29 深圳市科力锐科技有限公司 The automatic adaptive method of hardware and system
CN107992381A (en) * 2017-12-11 2018-05-04 深圳市科力锐科技有限公司 System reducing method, device, system, backup and reduction server and storage medium
CN108920216B (en) * 2018-08-03 2021-11-09 武汉斗鱼网络科技有限公司 Method, device, terminal and storage medium for closing software compatible mode
CN110795149B (en) * 2019-10-09 2023-08-01 深圳市证通电子股份有限公司 Terminal platform operation method, device, equipment and readable storage medium
CN113326069A (en) * 2020-02-28 2021-08-31 广东龙芯中科电子科技有限公司 Operating system starting method and device, electronic equipment and storage medium
CN113485755B (en) * 2021-06-30 2023-08-18 深圳市科力锐科技有限公司 Device driver verification method, device and storage medium
CN113326105B (en) * 2021-08-04 2021-11-05 深圳市科力锐科技有限公司 Hardware equipment configuration method, device and equipment based on host migration
CN114296810A (en) * 2021-12-29 2022-04-08 上海英方软件股份有限公司 Operating system migration method, device, server and storage medium
CN117215602A (en) * 2023-10-30 2023-12-12 广州鼎甲计算机科技有限公司 Method, device, computer equipment and storage medium for updating drive program
CN118170431A (en) * 2024-05-13 2024-06-11 中移(苏州)软件技术有限公司 Cross-operating system service migration method and device and electronic equipment

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1464387A (en) * 2002-06-26 2003-12-31 联想(北京)有限公司 Hardware equipment drive program installing method and computer therefor
CN1932765A (en) * 2005-09-15 2007-03-21 英业达股份有限公司 Method for setting operating system with additional drive program and structure
CN101866306A (en) * 2010-06-10 2010-10-20 中国铝业股份有限公司 Method for mirror image package of computer system

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070061818A1 (en) * 2005-09-12 2007-03-15 Microsoft Corporation Detection of devices during operating system setup

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1464387A (en) * 2002-06-26 2003-12-31 联想(北京)有限公司 Hardware equipment drive program installing method and computer therefor
CN1932765A (en) * 2005-09-15 2007-03-21 英业达股份有限公司 Method for setting operating system with additional drive program and structure
CN101866306A (en) * 2010-06-10 2010-10-20 中国铝业股份有限公司 Method for mirror image package of computer system

Also Published As

Publication number Publication date
CN103246534A (en) 2013-08-14

Similar Documents

Publication Publication Date Title
CN103246534B (en) operating system migration method and device
CN107784152B (en) Simulation comprising a plurality of simulators
CN103109275B (en) The system of virtual instrument, method and apparatus is used in semiconductor test environment
TW454147B (en) Recoverable software installation process and apparatus for a computer system
US8918778B2 (en) Method of fail safe flashing management device and application of the same
CN101030140A (en) Device and method for on-line updating fastener programm
CN105260208A (en) Method for automatically refreshing RAID card drive in batches by server
US9965288B2 (en) Preconfiguring hardware and speeding up server discovery prior to bios boot
CN106775928A (en) A kind of virtual machine Autonomic Migration Framework system and method between isomery cloud platform
CN107690630A (en) Bridge configuration in computing device
US20130024857A1 (en) Method and system for flexible resource mapping for virtual storage appliances
CN110825403A (en) Method and system for flashing ECU (electronic control Unit) of automobile
US20180018189A1 (en) Platform simulation for management controller development projects
WO2016073388A1 (en) Test of semiconductor storage power consumption on basis of executed access commands
CN104077166A (en) EPCS and EPCQ storer online upgrading method based on IP core in FPGA
CN105718377A (en) Method and apparatus for copying magnetic disk data in virtual application
CN109426527A (en) Share the computer system and its method of blue-teeth data between UEFI firmware and operating system
CN104699615A (en) System failure processing method and device
CN110637521B (en) Data real-time storage method and system based on model simulation
CN101145121B (en) Computer test method
US20130007375A1 (en) Device and method for exchanging data between memory controllers
CN102135897A (en) Convenient server maintenance tool integration manufacturing method
CN102262589B (en) Application server for realizing copying of hard disc driver and method
CN103713922B (en) A kind of method and system of dynamic replacement driver codes of modules of Android device
CN111352664B (en) Distributed machine learning task starting method, system, equipment and storage medium

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20200618

Address after: Nanshan District Xueyuan Road in Shenzhen city of Guangdong province 518000 No. 1001 Nanshan Chi Park building A1 layer

Patentee after: SANGFOR TECHNOLOGIES Inc.

Address before: 518000 Nanshan Science and Technology Pioneering service center, No. 1 Qilin Road, Guangdong, Shenzhen 418, 419,

Patentee before: Shenxin network technology (Shenzhen) Co.,Ltd.