CN105159749B - A kind of cloud terminal redirects local disk to the method and system of virtual machine - Google Patents
A kind of cloud terminal redirects local disk to the method and system of virtual machine Download PDFInfo
- Publication number
- CN105159749B CN105159749B CN201510575695.0A CN201510575695A CN105159749B CN 105159749 B CN105159749 B CN 105159749B CN 201510575695 A CN201510575695 A CN 201510575695A CN 105159749 B CN105159749 B CN 105159749B
- Authority
- CN
- China
- Prior art keywords
- server
- disk
- cloud terminal
- virtual machine
- simulation
- 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
Links
Landscapes
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
The present invention provides a kind of method and system of cloud terminal redirection local disk to virtual machine.When method includes: that cloud terminal establishes connection with server, local disk information is sent to server, server goes out the USB disk with the local disk same size according to the local disk information simulation, and the USB disk of the simulation is inserted into virtual machine;When server receives the read-write requests to the simulation USB disk, the read-write requests are transmitted to cloud terminal, cloud terminal operates corresponding disk according to the read-write requests, and operating result is returned to server;When cloud terminal and server disconnect, server extracts the USB disk of the simulation from virtual machine.System includes: cloud terminal, server and the virtual machine being sequentially connected;It further include the simulation USB disk patched with virtual machine.
Description
[technical field]
The present invention relates to computer network field, especially a kind of cloud terminal redirects local disk to the method for virtual machine
And system.
[background technique]
In current technology, when cloud terminal is connected to virtual machine, user may may require that virtual machine is able to access that terminal
The content of disk, it is therefore desirable to which cloud terminal redirects local disk into virtual machine.Existing technology is usually local disk
Subregion share on the network out, the share directory of terminal is then directly accessed in virtual machine.The drawbacks of this way, has:
The disk operating of more bottom is not supported;It is shared to bring safety problem.
[summary of the invention]
It is above-mentioned to solve the present invention provides a kind of method and system of cloud terminal redirection local disk to virtual machine
Problem of the prior art.
A kind of cloud terminal of the invention redirects local disk to the method for virtual machine, including the following steps: S1, cloud terminal
When establishing connection with server, local disk information is sent to server, server is according to the local disk information simulation
Out with the USB disk of the local disk same size, and the USB disk of the simulation is inserted into virtual machine;S2, work as service
When device receives the read-write requests to the simulation USB disk, the read-write requests are transmitted to cloud terminal, cloud terminal is according to institute
The read-write requests stated operate corresponding disk, and operating result is returned to server;S3, cloud terminal and server disconnect
When, server extracts the USB disk of the simulation from virtual machine;Server described in step S2 is by the read-write requests
It is transmitted to cloud terminal, the read-write requests are transmitted to cloud terminal particular by shared disk channel.
When cloud terminal described in step S1 and server establish connection, local disk information is sent to server, specifically
It include: detection local disk information;The local disk information is sent to server by shared disk channel.
Before step S2 further include: refresh the display simulation USB disk.
Server described in step S2 receives the read-write requests to the simulation USB disk, specifically includes: Yong Hufang
When asking the file on the simulation USB disk, server obtains disk read-write by virtual equipment driver and requests.
After operating result is returned to server in step S2, further includes: be transmitted to the operating result virtually
Machine, user's operation are completed.
When step S3 medium cloud terminal and server disconnect, is sent by cloud terminal to server and disconnect local disk life
It enables.
A kind of cloud terminal of the invention redirects local disk to the system of virtual machine, comprising: the cloud terminal that is sequentially connected,
Server and virtual machine;It further include the simulation USB disk patched with virtual machine;When cloud terminal and server establish connection, send
Local disk information goes out and the local disk same size to server, server according to the local disk information simulation
USB disk, and the USB disk of the simulation is inserted into virtual machine;When server is received to the simulation USB disk
When read-write requests, the read-write requests are transmitted to cloud terminal, cloud terminal operates corresponding disk according to the read-write requests,
And operating result is returned into server;When cloud terminal and server disconnect, server by the USB disk of the simulation from
It is extracted in virtual machine.
Cloud terminal of the invention redirects local disk to the method and system of virtual machine, redirects this on hardware view
Local disk avoids the disk operating that the prior art does not support more bottom into virtual machine, shared to bring safe topic.
[Detailed description of the invention]
Fig. 1 is the step flow chart of the embodiment of the present invention 1;
Fig. 1-1 is the detailed steps flow chart of step S11 in the embodiment of the present invention 1;
Fig. 1-2 is the detailed steps flow chart of step S12 in the embodiment of the present invention 1;
Fig. 1-3 is the detailed steps flow chart of step S13 in the embodiment of the present invention 1;
Fig. 2 is the system structure diagram of inventive embodiments 2.
[specific embodiment]
The present invention relates to a kind of method and system of cloud terminal redirection local disk to virtual machine.It is above-mentioned existing in order to solve
There is the problem of technology, inventor is in view of that can transmit the information of local disk when cloud terminal and server establish connection
To server, server simulates a USB mobile disk and is inserted into virtual machine, Jin Ershi according to terminal disc information
Existing cloud terminal redirects local disk to virtual machine.Specific embodiment is as follows.
The method of embodiment 1, the cloud terminal of the present embodiment redirection local disk to virtual machine, it is shown in Figure 1, including
Following key step:
When S11, cloud terminal and server establish connection, local disk information is sent to server, server is according to
Local disk information simulation go out USB disk with the local disk same size, and the USB disk of the simulation is inserted into
In virtual machine.
S12, when server receive to it is described simulation USB disk read-write requests when, the read-write requests are transmitted to
Cloud terminal, cloud terminal operates corresponding disk according to the read-write requests, and operating result is returned to server.
When S13, cloud terminal and server disconnect, server extracts the USB disk of the simulation from virtual machine.
The detailed process of above-mentioned steps S11 is referring to shown in Fig. 1-1, including following details step:
S1101, detection local disk information;
S1102, local disk information is sent to server;
S1103, a new USB disk is simulated according to disc information;
S1104, new USB disk is inserted into virtual machine;
After S1105, refreshing, VME operating system shows new USB disk.
The detailed process of above-mentioned steps S12 is referring to shown in Fig. 1-2, including following details step:
S1201, user access the file on USB disk;
S1202, disk read-write request is obtained by virtual equipment driver;
S1203, disk read-write request is forwarded to cloud terminal;
S1204, corresponding local disk is operated according to disk read-write request;
S1205, operating result is sent out a server;
S1206, operating result is transmitted to virtual machine;
S1207, user's operation successfully complete.
The detailed process of above-mentioned steps S13 is joined as shown in figure 1 to 3, including following details step:
S1301, disconnection local disk order is sent to server;
S1302, USB disk is extracted from virtual machine;
S1303, USB disk disappear.
Embodiment 2, the cloud terminal of the present embodiment redirect local disk to the systems approach of virtual machine, shown in Figure 2, packet
It includes: cloud terminal 21, server 22 and the virtual machine 23 being sequentially connected;It further include the simulation USB disk 24 patched with virtual machine 23;
When cloud terminal 21 and server 22 establish connection, local disk information is sent to server 22,22 basis of server
The local disk information simulation goes out USB disk 24 with the local disk same size, and by the USB disk of the simulation
24 are inserted into virtual machine 23;When server 22 receives the read-write requests to the simulation USB disk 24, by the read-write
Request is transmitted to cloud terminal 21, and cloud terminal 21 operates corresponding disk according to the read-write requests, and operating result is returned
To server 22;When cloud terminal 21 and server 22 disconnect, server 22 is by the USB disk 24 of the simulation from virtual machine
It is extracted in 23.
Here description of the invention and application are all only illustrative and exemplary, are not intended to the scope of the present invention
Limitation is in the above-described embodiments.The deformation and change of embodiments disclosed herein be it is entirely possible, for those this fields
Those of ordinary skill for, embodiment replacement and equivalent various parts be well known.Those skilled in the art also answer
Should it is clear that without departing from the spirit or essential characteristics of the invention, the present invention can in other forms, structure,
Arrangement, ratio, and realized with other components, material and component, and the case where not departing from scope and spirit of the present invention
Under, other deformations and change can be carried out to embodiments disclosed herein.
Claims (1)
1. a kind of cloud terminal redirects local disk to the system of virtual machine characterized by comprising the cloud being sequentially connected is whole
End, server and virtual machine;It further include the simulation USB disk patched with virtual machine;
When cloud terminal and server establish connection, local disk information is sent to server, server is according to this described earth magnetism
Disk information simulation goes out the USB disk with the local disk same size, and the USB disk of the simulation is inserted into virtual machine
In;Refresh the display simulation USB disk;When server receives the read-write requests to the simulation USB disk, by institute
It states read-write requests and is transmitted to cloud terminal, cloud terminal operates corresponding disk according to the read-write requests, and operating result is returned
Back to server;When cloud terminal and server disconnect, server extracts the USB disk of the simulation from virtual machine;
The operating result is transmitted to virtual machine, user's operation is completed;
The read-write requests are transmitted to cloud terminal by the server, particular by shared disk channel by the read-write requests
It is transmitted to cloud terminal;
When the cloud terminal and server establish connection, local disk information is sent to server, specifically includes: detecting this earth magnetism
Disk information;The local disk information is sent to server by shared disk channel;
The server receives the read-write requests to the simulation USB disk, and specifically include: user accesses the simulation USB
When file on disk, server passes through virtual equipment driver and obtains disk read-write request;
When the cloud terminal and server disconnect, is sent by cloud terminal to server and disconnect local disk order.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510575695.0A CN105159749B (en) | 2015-09-11 | 2015-09-11 | A kind of cloud terminal redirects local disk to the method and system of virtual machine |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510575695.0A CN105159749B (en) | 2015-09-11 | 2015-09-11 | A kind of cloud terminal redirects local disk to the method and system of virtual machine |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105159749A CN105159749A (en) | 2015-12-16 |
CN105159749B true CN105159749B (en) | 2019-02-12 |
Family
ID=54800613
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510575695.0A Active CN105159749B (en) | 2015-09-11 | 2015-09-11 | A kind of cloud terminal redirects local disk to the method and system of virtual machine |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105159749B (en) |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106528265A (en) * | 2016-10-24 | 2017-03-22 | 郑州云海信息技术有限公司 | Virtual machine management method and system based on distributed SAN (Storage Area Network) storage architecture |
CN107247618B (en) * | 2017-05-13 | 2021-01-15 | 成都长天信息技术有限公司 | Disk redirection method based on instruction external acquisition architecture |
CN110795156B (en) * | 2019-10-24 | 2023-09-05 | 深信服科技股份有限公司 | Mobile memory loading method, thin client, storage medium and device |
CN111782318A (en) * | 2020-06-16 | 2020-10-16 | 贵州省广播电视信息网络股份有限公司 | Sharing access system and method for remotely mounting local disk to cloud desktop virtual machine |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102368787A (en) * | 2011-12-02 | 2012-03-07 | 浪潮集团有限公司 | Cloud computing system based on KVM (Keyboard Video and Mouse) virtualization and media redirection |
CN102368231A (en) * | 2011-10-14 | 2012-03-07 | 深圳市京华科讯科技有限公司 | Method and system for redirecting USB (universal serial bus) devices |
CN102819449A (en) * | 2012-07-04 | 2012-12-12 | 深圳市京华科讯科技有限公司 | Method and system for graphic card redirection |
CN104092760A (en) * | 2014-07-15 | 2014-10-08 | 东莞市微云系统科技有限公司 | System and method for cloud terminal multicast redirection |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102487380B (en) * | 2010-12-01 | 2016-09-07 | 中兴通讯股份有限公司 | Desktop virtual terminal entrusting method and system |
CN103051687B (en) * | 2012-12-10 | 2016-05-25 | 浪潮(北京)电子信息产业有限公司 | A kind of system and method that applied business is deployed to cloud storage virtual machine |
CN103679068B (en) * | 2013-12-25 | 2017-02-01 | 北京云巢动脉科技有限公司 | Method, device and system for safely handling USB flash disk |
-
2015
- 2015-09-11 CN CN201510575695.0A patent/CN105159749B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102368231A (en) * | 2011-10-14 | 2012-03-07 | 深圳市京华科讯科技有限公司 | Method and system for redirecting USB (universal serial bus) devices |
CN102368787A (en) * | 2011-12-02 | 2012-03-07 | 浪潮集团有限公司 | Cloud computing system based on KVM (Keyboard Video and Mouse) virtualization and media redirection |
CN102819449A (en) * | 2012-07-04 | 2012-12-12 | 深圳市京华科讯科技有限公司 | Method and system for graphic card redirection |
CN104092760A (en) * | 2014-07-15 | 2014-10-08 | 东莞市微云系统科技有限公司 | System and method for cloud terminal multicast redirection |
Also Published As
Publication number | Publication date |
---|---|
CN105159749A (en) | 2015-12-16 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105159749B (en) | A kind of cloud terminal redirects local disk to the method and system of virtual machine | |
US9203874B2 (en) | Portal multi-device session context preservation | |
CN104735108B (en) | A kind of method, apparatus and cloud desktop system using cloud desktop | |
CN103812755A (en) | Message synchronization method and device in instant messaging application | |
PH12014501895B1 (en) | Content sharing method, terminal, server, and system, and computer storage medium | |
WO2013178053A1 (en) | Methods and apparatuses for sharing information | |
CN108134816B (en) | Access to data on remote device | |
CN104243578A (en) | Localized information presentation and interaction system and device based on digital panorama | |
WO2017166508A1 (en) | Data processing method and device | |
CN104426939A (en) | Information processing method and electronic equipment | |
US11824826B2 (en) | System and method for multi-channel group communications | |
KR20160051939A (en) | Method for providing service based on location and electronic device thereof | |
CN105323243A (en) | Method and device for secure voice communication based on instant messaging | |
WO2017054510A1 (en) | Data communication method, apparatus and system in communication process | |
CN109889468A (en) | Transmission method, system, device, equipment and the storage medium of network data | |
US20160321328A1 (en) | Dynamic visualization of big data | |
CN105981356A (en) | Information transmission and processing method and device | |
CN104685488B (en) | System and method for being created for the virtual disk mirror image that remote computer uses | |
EP3178002A1 (en) | Data backup to and restore from trusted devices in close physical proximity | |
CN114613060A (en) | Information pushing method and device, electronic equipment and computer readable medium | |
CN108111374A (en) | Method, apparatus, equipment and the computer storage media of synchronizer list | |
CN105141694B (en) | A kind of method and system of cloud desktop sharing data | |
US20140101246A1 (en) | Location based social networking system and method | |
CN112131092A (en) | Page debugging method and device | |
CN105681262A (en) | Interaction message allocating method 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 | ||
CB02 | Change of applicant information |
Address after: 523000 Room 101, 1 / F, 10 / F building 10, Songshan Lake hi tech Industrial Development Zone, Guangdong, China Applicant after: Guangdong Microcloud Technology Inc. Address before: Innovation and Technology Park in Guangdong province Dongguan Songshan Lake high tech Industrial Development Zone No. 10 Vice floor 1 building 101 room Applicant before: DONGGUAN MCIROCLOUD SYSTEMS CO., LTD. |
|
CB02 | Change of applicant information | ||
GR01 | Patent grant | ||
GR01 | Patent grant |