CN102209082A - Terminal operation method and terminal - Google Patents

Terminal operation method and terminal Download PDF

Info

Publication number
CN102209082A
CN102209082A CN2010101366197A CN201010136619A CN102209082A CN 102209082 A CN102209082 A CN 102209082A CN 2010101366197 A CN2010101366197 A CN 2010101366197A CN 201010136619 A CN201010136619 A CN 201010136619A CN 102209082 A CN102209082 A CN 102209082A
Authority
CN
China
Prior art keywords
disk
disk sector
sector
terminal
mirror image
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
CN2010101366197A
Other languages
Chinese (zh)
Other versions
CN102209082B (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.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing 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 Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CN201010136619.7A priority Critical patent/CN102209082B/en
Publication of CN102209082A publication Critical patent/CN102209082A/en
Application granted granted Critical
Publication of CN102209082B publication Critical patent/CN102209082B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention provides a terminal operation method and a terminal. The terminal operation method comprises the following steps of: acquiring a basic mirror image stored by a server, wherein the basic mirror image comprises a first part and at least one second part; acquiring a bitmap corresponding to the attribute of the terminal, wherein the bitmap comprises information indicating whether each disk sector corresponding to the at least one second part can be accessed or not; generating a virtual disk corresponding to the terminal according to the basic mirror image and the bitmap, wherein the virtual disk comprises a disk sector corresponding to the first part and accessible disk sectors corresponding to the second part. By the adoption of the terminal operation method, the mirror file storage space of the server can be saved and a personalized virtual disk can be provided for the terminal.

Description

A kind of operation method of terminal and terminal
Technical field
The present invention relates to not have flaking network technical field, be specifically related to a kind of operation method and terminal of terminal.
Background technology
No flaking network is used widely at present.All terminals are not installed hard disk (the perhaps very little hard disk of installed capacity) in the no flaking network, and all start by the webserver, and such network does not have the flaking network exactly.No flaking network can be saved the hardware cost of network, can also make things convenient for Network Management and maintenance simultaneously.
In the prior art, a kind of operation method of terminal is, different user uses same image file to start, and the system that all users see all is the same with application program.Though this method server only need be preserved an image file, do not realize personalized data, services at different user.
In the use of no dish product, because different terminal uses may have different job specification, so that also also inequality to the demand of the application program of operating system prepackage.Demand for the individuation data service of satisfying the user, the operational mode of a kind of terminal of prior art is: preserve the image file (comprising operating system and application-specific respectively) at different user on server, the user is after the terminal login, download corresponding image file from server, thereby realize the correspondence of different user and different mirror images.The shortcoming of this scheme is: server need be preserved different image files at different user, therefore can take a large amount of memory spaces, causes the waste of the storage resources of server.
Summary of the invention
Embodiment of the invention technical problem to be solved provides a kind of operation method and terminal of terminal, when saving the server mirroring file storage, can provide personalized virtual disk for terminal.
For solving the problems of the technologies described above, the embodiment of the invention provides scheme as follows:
A kind of operation method of terminal, described terminal is connected with a server, and described operation method comprises:
Obtain the basic mirror image that described server is preserved, described basic mirror image comprises first and at least one second portion;
Obtain the bitmap of the attribute correspondence of described terminal, described bitmap comprises the information whether disk sector of each described at least one second portion correspondence can visit;
According to described basic mirror image and described bitmap, generate described terminal corresponding virtual disk, described virtual disk comprises the disk sector of described first correspondence and the disk sector of the second portion correspondence that can visit.
Preferably, described in the above-mentioned operation method according to described basic mirror image and described bitmap, generate described terminal corresponding virtual disk, comprising:
According to described basic mirror image, start client operating system;
Tackle the first disk read command that produces in the start-up course of described client operating system;
Resolve the described first disk read command, obtain the first corresponding disk sector;
When described first disk sector is the disk sector of described first correspondence, generate disk sector corresponding in the described virtual disk according to described first disk sector;
When described first disk sector is the disk sector of described at least one second portion correspondence, according to described bitmap, judge whether described first disk sector can visit: when described first disk sector can be visited, generate disk sector corresponding in the described virtual disk according to described first disk sector; When described first disk sector can not be visited, return the indication of the described first disk sector free of data.
Preferably, in the above-mentioned operation method, described obtain the basic mirror image that described server preserves before, also comprise:
Download start-up code from described server,, start virtual machine according to described start-up code.
Preferably, in the above-mentioned operation method,
After the described terminal corresponding virtual of described generation disk, also comprise:
Tackle the disk write order that described client operating system produces;
Parsing obtains the second disk sector of the described basic mirror image of described disk write order correspondence;
Described disk write order is redirected to the 3rd disk sector of user data area, and write down mapping relations between described second disk sector and described the 3rd disk sector, wherein said user data area be described server in advance for described terminal distribution, be independent of the memory block of described basic mirror image.
Preferably, in the above-mentioned operation method,
After the described terminal corresponding virtual of described generation disk, also comprise:
Tackle the second disk read command that described client operating system produces;
Parsing obtains the 4th disk sector of the described basic mirror image of described second disk read command correspondence;
Judge the 5th disk sector that whether has described the 4th disk sector correspondence in the described mapping relations;
When in described mapping relations, having described the 5th disk sector, described second disk read command is redirected to described the 5th disk sector in the described user data area;
When in described mapping relations, not having described the 5th disk sector, from described basic mirror image, read the data of described the 4th disk sector.
Preferably, in the above-mentioned operation method, the attribute of described terminal is the IP address of described terminal or the login user of described terminal.
The embodiment of the invention also provides a kind of terminal, comprising:
First acquiring unit is used to obtain the basic mirror image that server is preserved, and described basic mirror image comprises first and at least one second portion;
Second acquisition unit is used to obtain the bitmap of the attribute correspondence of described terminal, and described bitmap comprises the information whether disk sector of each described at least one second portion correspondence can visit;
The disk generation unit is used for according to described basic mirror image and described bitmap, generates described terminal corresponding virtual disk, and described virtual disk comprises the disk sector of described first correspondence and the disk sector of the second portion correspondence that can visit.
Preferably, in the above-mentioned terminal, described disk generation unit comprises:
Start unit is used for according to described basic mirror image, starts client operating system;
Interception unit is used for tackling the first disk read command that the start-up course of described client operating system produces;
First resolution unit is used to resolve first disk sector that obtains the described first disk read command correspondence;
First generation unit is used for when described first disk sector is the disk sector of described first correspondence, generates disk sector corresponding in the described virtual disk according to described first disk sector;
Second generation unit, be used for when described first disk sector is the disk sector of described at least one second portion correspondence, according to described bitmap, judge whether described first disk sector can visit: when described first disk sector can be visited, generate disk sector corresponding in the described virtual disk according to described first disk sector; When described first disk sector can not be visited, return the indication of the described first disk sector free of data.
Preferably, in the above-mentioned terminal, also comprise:
Virtual machine;
The virtual machine activation unit is used for downloading start-up code from described server, according to described start-up code, starts described virtual machine.
Preferably, in the above-mentioned terminal, also comprise:
Second interception unit is used for tackling the disk write order that described client operating system produces after described client operating system startup is finished;
Second resolution unit is used to resolve the second disk sector of the described basic mirror image that obtains described disk write order correspondence;
Write operation unit is used for described disk write order is redirected to the 3rd disk sector of user data area, wherein said user data area be described server in advance for described terminal distribution, be independent of the memory block of described basic mirror image;
Map unit is used to write down the mapping relations between described second disk sector and described the 3rd disk sector.
Preferably, in the above-mentioned terminal, also comprise:
The 3rd interception unit is used for tackling the second disk read command that described client operating system produces after described client operating system startup is finished;
The 3rd resolution unit is used to resolve the 4th disk sector of the described basic mirror image that obtains described second disk read command correspondence;
Second judging unit is used for judging whether described mapping relations exist the 5th disk sector of described the 4th disk sector correspondence;
The third reading operating unit is used for when there is described the 5th disk sector in described mapping relations, and described second disk read command is redirected to described the 5th disk sector in the described user data area;
The 4th read operation unit is used for when there is not described the 5th disk sector in described mapping relations, directly reads the data of described the 4th disk sector from described basic mirror image.
From the above as can be seen, the operation method of the terminal that the embodiment of the invention provides and terminal, server only need be preserved a basic mirror image, and this basis mirror image comprises first and at least one second portion; And, in bitmap, preserve the information of the second portion that can visit of terminal attribute correspondence in advance, when generating the virtual disk of terminal, bitmap according to the terminal attribute correspondence, second portion in the basic mirror image is filtered, the disk sector that can visit that only keeps this terminal attribute correspondence, thereby realized according to the different terminals attribute, the virtual disk that comprises different second portions (as application program) is provided, realized the individuation data service of terminal, different user has been embodied different operative scenario.Simultaneously, because the server place only need preserve a basic mirror image, when having avoided preserving a plurality of mirror image, the waste of the basic operating system mirror image that comprises in each mirror image or the application program storage resources that mirror image causes of repetition.
Description of drawings
Fig. 1 is the schematic flow sheet of the operation method of the described terminal of the embodiment of the invention;
Fig. 2 is the structural representation of the described terminal of the embodiment of the invention.
Embodiment
The embodiment of the invention combines virtual machine technique with mirror image technology, when saving the server stores space, can also provide the individuation data service for the user.Below in conjunction with accompanying drawing, the present invention is described further by specific embodiment.
In the operation method of the terminal that present embodiment provides, described terminal is connected with a server.As shown in Figure 1, described operation method may further comprise the steps:
Step 11 is obtained the basic mirror image that described server is preserved, and described basic mirror image comprises first and at least one second portion.
Step 12 is obtained the bitmap of the attribute correspondence of described terminal, and described bitmap comprises the information whether disk sector of each described at least one second portion correspondence can visit.
Step 13 according to described basic mirror image and described bitmap, generates described terminal corresponding virtual disk, and described virtual disk comprises the disk sector of described first correspondence and the disk sector of the second portion correspondence that can visit.
By above step as can be seen, in the said method, bitmap has been preserved the information of the individuation data of terminal needs, based on bitmap and basic mirror image, can be that different terminals generates personalized virtual disk.Simultaneously, because server side only need preserve a basic mirror image, therefore conserve storage resource greatly.
Below said method is elaborated.
The embodiment of the invention only need be preserved an image file at the server place, promptly basic mirror image comprises first and at least one second portion in this basis mirror image.Common, described first is the disk sector of operating system correspondence, described second portion is mounted in the disk sector of the application program correspondence on this operating system.When server is in set up applications, can obtain the disk sector of application file correspondence.
Simultaneously, the server place also preserves corresponding to the bitmap of the attribute of each terminal (bitmap), includes the information whether disk sector of each described at least one second portion correspondence can visit in the described bitmap.Wherein, whether each described second portion can visit, and is definite according to the attribute (as the login user of this terminal) of this terminal in advance.For example, when login user needed certain application program, the disk sector of this application program correspondence in bitmap was set to and can visits this moment; Otherwise, then be arranged to and can not visit.Like this, present embodiment utilizes bitmap to preserve the information which application program is terminal need, and providing at the individuation data of terminal has been provided.
Bitmap can adopt the expression mode of binary number mapping.For example, a disk sector of second portion in the corresponding basic mirror image of the bit of each in bitmap (bit).When this bit value was 0, the disk sector of representing this bit correspondence was that this terminal can not be visited, and when this bit value was 1, then expression was that this terminal can be visited.Because when set up applications, operating system can be obtained the corresponding relation of application file and disk sector, therefore can generate the bitmap of this terminal according to the pairing disk sector of application program of operating system and terminal needs.
Here, the attribute of described terminal can be the IP address of terminal, at this moment, determine the bitmap of this terminal correspondence according to the IP address of terminal, promptly login the different user of same terminal or use the different client operating systems of same terminal, because have identical IP address, so identical bitmap is all arranged, the final virtual disk that generates all is identical; The attribute of described terminal can also be the login user of terminal, as login username and password, at this moment, logins the different user of same terminal, each self-corresponding bitmap not simultaneously, the final virtual disk difference that generates.
Before above-mentioned steps 11, the operation method of the described terminal of present embodiment also comprises:
Step 10 behind the terminal electrifying startup, is carried out initial work, comprises by network going out to download start-up code from server, and according to described start-up code, guiding virtual machine (VM, Virtual Machine) starts.
In the above-mentioned steps 11~12, after virtual machine activation is finished, obtain the bitmap of the attribute correspondence of basic mirror image that described server preserves and this terminal, the attribute of described terminal is specially the IP address of described terminal or the login user of described terminal.For example, when described attribute was the IP address of terminal, virtual machine was to the IP address of server transmission terminal, and server receives this IP address, determines the bitmap of this IP address correspondence, and the bitmap with correspondence sends to this virtual machine then.Again for example, when described attribute is the login user of terminal, virtual machine receives the identity information (as username and password) of login user input and sends to server, server receives this identity information and carries out authentication, after checking is passed through, determine the bitmap of this login user correspondence according to identity information, and then the bitmap of correspondence is sent to this virtual machine.
In the above-mentioned steps 13, described according to described basic mirror image and described bitmap, generate described terminal corresponding virtual disk, specifically comprise:
Step 131 after virtual machine activation is finished, according to described basic mirror image, starts client operating system.
Here, after virtual machine activation was finished, virtual machine was according to described basic mirror image, and the guiding client operating system starts, and specifically comprises: foundation is connected with described basic mirror image; Described basic Mirroring Mapping is become a local drive; Start client operating system from this drive.
Step 132 is tackled the first disk read command that produces in the start-up course of described client operating system;
Here, in the start-up course of client operating system, by the virtual machine manager (VMM, Virtual Machine Monitor) of virtual machine, interception comprises the magnetic disc i/o operational order of disk read command.
Step 133 is resolved the described first disk read command, obtains the first corresponding disk sector;
Step 134 when described first disk sector is the disk sector of described first correspondence, generates disk sector corresponding in the described virtual disk according to described first disk sector; When described first disk sector is the disk sector of described at least one second portion correspondence, according to described bitmap, judge whether described first disk sector can visit: when described first disk sector can be visited, generate disk sector corresponding in the described virtual disk according to described first disk sector; When described first disk sector can not be visited, return the indication of the described first disk sector free of data.
In the above-mentioned steps 134, behind first disk sector that obtains the described first disk read command correspondence, judge the part under first disk sector is in described basic mirror image:, then directly generate disk sector corresponding in the described virtual disk according to described first disk sector if first disk sector is the disk sector of described first; If first disk sector is the disk sector of described second portion, then need further to judge according to described bitmap whether first disk sector can visit, in the time can visiting, just generate disk sector corresponding in the described virtual disk according to described first disk sector, return the indication of the described first disk sector free of data in the time can not visiting, generate corresponding data this moment in virtual disk be empty disk sector.
For example, when first disk sector can be visited, virtual machine manager can all be changed to the value of an internal memory 1 (complete 1 expression is without any data), and indicating what preserve in this internal memory of client operating system then is the data of first disk sector; After client operating system reads complete 1 data of this internal memory, will think in first disk sector be empty corresponding disk sector without any data so generate data, start-up course is down carried out in continuation then.
Through above step, client operating system after startup is finished, the application program of installing carried out full scan after, can obtain the needed application program of this terminal, the unwanted application program of this terminal then can not be installed in this client operating system.
From the above as can be seen, present embodiment is in the start-up course of client operating system, according to the bitmap that sets in advance, sector in the basic mirror image is filtered, the client operating system that comprises different second portions (application program) is provided for different terminals, thereby realized the individuation data service of terminal, different user has been embodied different operative scenario.Simultaneously, because the server place only need preserve a basic mirror image, when having avoided preserving a plurality of mirror image, the waste of the basic operating system mirror image that comprises in each mirror image or the application program storage resources that mirror image causes of repetition.
In the present embodiment, described basic mirror image all is read-only to all users, considers the issuable data writing operation of user, the operation method of the described terminal of present embodiment, finish in described client operating system startup, generate after the described terminal corresponding virtual disk, also comprise the steps:
Step 14, virtual machine manager are tackled the disk write order that described client operating system produces.
Step 15, virtual machine manager are resolved described disk write order, obtain the second disk sector of the described basic mirror image of described disk write order correspondence.
Step 16, described disk write order is redirected to the 3rd disk sector of user data area, carry out write operation at the 3rd disk sector, and write down mapping relations between described second disk sector and described the 3rd disk sector, wherein said user data area be described server in advance for described terminal distribution, be independent of the memory block of described basic mirror image.
Like this, the write operation of client operating system will be written to the user data area that is independent of basic mirror image, guarantee that basic mirror image can not change because of the write operation of client operating system.
After the client operating system startup is finished, if client operating system sends the disk read command, whether the disk sector that present embodiment also needs further to judge disk read command correspondence carried out write operation, and then where decision from removing read data, that is, the operation method of the described terminal of present embodiment is finished in described client operating system startup, generate after the described terminal corresponding virtual disk, also comprise the steps:
Step 17 is tackled the second disk read command that described client operating system produces.
Step 18, parsing obtains the 4th disk sector of the described basic mirror image of described second disk read command correspondence.
Step 19 is judged the 5th disk sector that whether has described the 4th disk sector correspondence in the described mapping relations.
Step 20 when having described the 5th disk sector in described mapping relations, is redirected to described the 5th disk sector in the described user data area with described second disk read command.
Step 21 when not having described the 5th disk sector in described mapping relations, reads the data of described the 4th disk sector from described basic mirror image.
By above step, make client operating system can obtain the up-to-date sector data that basic mirror-write operation is generated.
Based on the operation method of above-mentioned terminal, the embodiment of the invention also provides a kind of terminal.Please refer to Fig. 2, the terminal that present embodiment provides comprises:
First acquiring unit is used to obtain the basic mirror image that server is preserved, and described basic mirror image comprises first and at least one second portion;
Second acquisition unit is used to obtain the bitmap of the attribute correspondence of described terminal, and described bitmap comprises the information whether disk sector of each described at least one second portion correspondence can visit;
The disk generation unit is used for according to described basic mirror image and described bitmap, generates described terminal corresponding virtual disk, and described virtual disk comprises the disk sector of described first correspondence and the disk sector of the second portion correspondence that can visit.
Concrete, described disk generation unit comprises:
Start unit is used for according to described basic mirror image, starts client operating system;
Interception unit is used for tackling the first disk read command that the start-up course of described client operating system produces;
First resolution unit is used to resolve first disk sector that obtains the described first disk read command correspondence;
First generation unit is used for when described first disk sector is the disk sector of described first correspondence, generates disk sector corresponding in the described virtual disk according to described first disk sector;
Second generation unit, be used for when described first disk sector is the disk sector of described at least one second portion correspondence, according to described bitmap, judge whether described first disk sector can visit: when described first disk sector can be visited, generate disk sector corresponding in the described virtual disk according to described first disk sector; When described first disk sector can not be visited, return the indication of the described first disk sector free of data.
Preferably, above-mentioned terminal also comprises:
Virtual machine;
The virtual machine activation unit is used for downloading start-up code from described server, according to described start-up code, starts described virtual machine.
Preferably, above-mentioned terminal also comprises:
Second interception unit is used for tackling the disk write order that described client operating system produces after described client operating system startup is finished;
Second resolution unit is used to resolve the second disk sector of the described basic mirror image that obtains described disk write order correspondence;
Write operation unit is used for described disk write order is redirected to the 3rd disk sector of user data area, wherein said user data area be described server in advance for described terminal distribution, be independent of the memory block of described basic mirror image;
Map unit is used to write down the mapping relations between described second disk sector and described the 3rd disk sector.
Preferably, above-mentioned terminal also comprises:
The 3rd interception unit is used for tackling the second disk read command that described client operating system produces after described client operating system startup is finished;
The 3rd resolution unit is used to resolve the 4th disk sector of the described basic mirror image that obtains described second disk read command correspondence;
Second judging unit is used for judging whether described mapping relations exist the 5th disk sector of described the 4th disk sector correspondence;
The third reading operating unit is used for when there is described the 5th disk sector in described mapping relations, and described second disk read command is redirected to described the 5th disk sector in the described user data area;
The 4th read operation unit is used for when there is not described the 5th disk sector in described mapping relations, directly reads the data of described the 4th disk sector from described basic mirror image.
In sum, the operation method of the terminal that the embodiment of the invention provides and terminal can be saved the storage resources of server, provide personalized data, services for the user simultaneously.
The above only is embodiments of the present invention; should be pointed out that for those skilled in the art, under the prerequisite that does not break away from the principle of the invention; can also make some improvements and modifications, these improvements and modifications also should be considered as protection scope of the present invention.

Claims (11)

1. the operation method of a terminal, described terminal is connected with a server, it is characterized in that, and described operation method comprises:
Obtain the basic mirror image that described server is preserved, described basic mirror image comprises first and at least one second portion;
Obtain the bitmap of the attribute correspondence of described terminal, described bitmap comprises the information whether disk sector of each described at least one second portion correspondence can visit;
According to described basic mirror image and described bitmap, generate described terminal corresponding virtual disk, described virtual disk comprises the disk sector of described first correspondence and the disk sector of the second portion correspondence that can visit.
2. operation method as claimed in claim 1 is characterized in that, and is described according to described basic mirror image and described bitmap, generates described terminal corresponding virtual disk, comprising:
According to described basic mirror image, start client operating system;
Tackle the first disk read command that produces in the start-up course of described client operating system;
Resolve the described first disk read command, obtain the first corresponding disk sector;
When described first disk sector is the disk sector of described first correspondence, generate disk sector corresponding in the described virtual disk according to described first disk sector;
When described first disk sector is the disk sector of described at least one second portion correspondence, according to described bitmap, judge whether described first disk sector can visit: when described first disk sector can be visited, generate disk sector corresponding in the described virtual disk according to described first disk sector; When described first disk sector can not be visited, return the indication of the described first disk sector free of data.
3. operation method as claimed in claim 1 or 2 is characterized in that, described obtain the basic mirror image that described server preserves before, also comprise:
Download start-up code from described server,, start virtual machine according to described start-up code.
4. operation method as claimed in claim 1 is characterized in that,
After the described terminal corresponding virtual of described generation disk, also comprise:
Tackle the disk write order that described client operating system produces;
Parsing obtains the second disk sector of the described basic mirror image of described disk write order correspondence;
Described disk write order is redirected to the 3rd disk sector of user data area, and write down mapping relations between described second disk sector and described the 3rd disk sector, wherein said user data area be described server in advance for described terminal distribution, be independent of the memory block of described basic mirror image.
5. operation method as claimed in claim 4 is characterized in that,
After the described terminal corresponding virtual of described generation disk, also comprise:
Tackle the second disk read command that described client operating system produces;
Parsing obtains the 4th disk sector of the described basic mirror image of described second disk read command correspondence;
Judge the 5th disk sector that whether has described the 4th disk sector correspondence in the described mapping relations;
When in described mapping relations, having described the 5th disk sector, described second disk read command is redirected to described the 5th disk sector in the described user data area;
When in described mapping relations, not having described the 5th disk sector, from described basic mirror image, read the data of described the 4th disk sector.
6. operation method as claimed in claim 1 is characterized in that, the attribute of described terminal is the IP address of described terminal or the login user of described terminal.
7. a terminal is characterized in that, comprising:
First acquiring unit is used to obtain the basic mirror image that server is preserved, and described basic mirror image comprises first and at least one second portion;
Second acquisition unit is used to obtain the bitmap of the attribute correspondence of described terminal, and described bitmap comprises the information whether disk sector of each described at least one second portion correspondence can visit;
The disk generation unit is used for according to described basic mirror image and described bitmap, generates described terminal corresponding virtual disk, and described virtual disk comprises the disk sector of described first correspondence and the disk sector of the second portion correspondence that can visit.
8. terminal as claimed in claim 7 is characterized in that, described disk generation unit comprises:
Start unit is used for according to described basic mirror image, starts client operating system;
Interception unit is used for tackling the first disk read command that the start-up course of described client operating system produces;
First resolution unit is used to resolve first disk sector that obtains the described first disk read command correspondence;
First generation unit is used for when described first disk sector is the disk sector of described first correspondence, generates disk sector corresponding in the described virtual disk according to described first disk sector;
Second generation unit, be used for when described first disk sector is the disk sector of described at least one second portion correspondence, according to described bitmap, judge whether described first disk sector can visit: when described first disk sector can be visited, generate disk sector corresponding in the described virtual disk according to described first disk sector; When described first disk sector can not be visited, return the indication of the described first disk sector free of data.
9. terminal as claimed in claim 7 is characterized in that, also comprises:
Virtual machine;
The virtual machine activation unit is used for downloading start-up code from described server, according to described start-up code, starts described virtual machine.
10. terminal as claimed in claim 7 is characterized in that, also comprises:
Second interception unit is used for tackling the disk write order that described client operating system produces after described client operating system startup is finished;
Second resolution unit is used to resolve the second disk sector of the described basic mirror image that obtains described disk write order correspondence;
Write operation unit is used for described disk write order is redirected to the 3rd disk sector of user data area, wherein said user data area be described server in advance for described terminal distribution, be independent of the memory block of described basic mirror image;
Map unit is used to write down the mapping relations between described second disk sector and described the 3rd disk sector.
11. terminal as claimed in claim 10 is characterized in that, also comprises:
The 3rd interception unit is used for tackling the second disk read command that described client operating system produces after described client operating system startup is finished;
The 3rd resolution unit is used to resolve the 4th disk sector of the described basic mirror image that obtains described second disk read command correspondence;
Second judging unit is used for judging whether described mapping relations exist the 5th disk sector of described the 4th disk sector correspondence;
The third reading operating unit is used for when there is described the 5th disk sector in described mapping relations, and described second disk read command is redirected to described the 5th disk sector in the described user data area;
The 4th read operation unit is used for when there is not described the 5th disk sector in described mapping relations, directly reads the data of described the 4th disk sector from described basic mirror image.
CN201010136619.7A 2010-03-29 2010-03-29 Terminal operation method and terminal Active CN102209082B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201010136619.7A CN102209082B (en) 2010-03-29 2010-03-29 Terminal operation method and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201010136619.7A CN102209082B (en) 2010-03-29 2010-03-29 Terminal operation method and terminal

Publications (2)

Publication Number Publication Date
CN102209082A true CN102209082A (en) 2011-10-05
CN102209082B CN102209082B (en) 2015-06-03

Family

ID=44697746

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201010136619.7A Active CN102209082B (en) 2010-03-29 2010-03-29 Terminal operation method and terminal

Country Status (1)

Country Link
CN (1) CN102209082B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112860325A (en) * 2017-09-21 2021-05-28 成都领沃网络技术有限公司 Automatic and rapid hardware drive preassembling method and system in diskless environment

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101419535A (en) * 2008-11-19 2009-04-29 北京航空航天大学 Distributed virtual magnetic disc system of virtual machine
CN101420360A (en) * 2007-10-26 2009-04-29 徐广斌 A kind of stage network memory access method
CN101667161A (en) * 2008-09-02 2010-03-10 联想(北京)有限公司 Method and device for protecting data of storage device and computer system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101420360A (en) * 2007-10-26 2009-04-29 徐广斌 A kind of stage network memory access method
CN101667161A (en) * 2008-09-02 2010-03-10 联想(北京)有限公司 Method and device for protecting data of storage device and computer system
CN101419535A (en) * 2008-11-19 2009-04-29 北京航空航天大学 Distributed virtual magnetic disc system of virtual machine

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
夏楠: "面向信息管理的支持透明计算的I/O管理研究", 《万方平台学位论文数据库》 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112860325A (en) * 2017-09-21 2021-05-28 成都领沃网络技术有限公司 Automatic and rapid hardware drive preassembling method and system in diskless environment
CN112860325B (en) * 2017-09-21 2022-10-21 成都领沃网络技术有限公司 Automatic and rapid hardware drive preassembling method and system in diskless environment

Also Published As

Publication number Publication date
CN102209082B (en) 2015-06-03

Similar Documents

Publication Publication Date Title
US7823023B2 (en) Test framework for testing an application
CN104137085A (en) Method for controlling access of clients to a service in a cluster environment
US10440132B2 (en) Tracking application usage in a computing environment
CN105095103A (en) Storage device management method and device used for cloud environment
CN104011698A (en) Access to supplemental data based on identifier derived from corresponding primary application data
CN103699635A (en) Information processing method and device
CN108205482B (en) File mount restoration methods
CN108243207B (en) A kind of date storage method of network cloud disk
CN104517067A (en) Method, device and system for data access
US20090150882A1 (en) System and method for software application installation
CN101022425A (en) ISCSI-based storage resource distributing method
CN105162833A (en) Client computer management system and method applied to diskless workstation
CN117370107A (en) BIOS log collection method and computing device
CN102209082A (en) Terminal operation method and terminal
CN104714923A (en) Method and device for achieving equipment sharing
CN113132241B (en) ACL template dynamic configuration method and device
CN115562871A (en) Memory allocation management method and device
CN102934124B (en) The method of signal conditioning package and in the apparatus executive utility
CN115543372A (en) Terminal equipment upgrade management method, device, system and storage medium
CN101714092A (en) Method for controlling boot sequence of server
CN115269116A (en) Thermal migration method and medium of cloud host and electronic equipment
JP6443059B2 (en) Information processing apparatus, information processing method, and program
CN114490189A (en) Cloud platform database backup method and device, electronic equipment and storage medium
CN107885537A (en) Configuration file loading method and device
CN103051607B (en) Access method, equipment and system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant