CN104333603A - System and method for implementing file uploading to virtual machines - Google Patents

System and method for implementing file uploading to virtual machines Download PDF

Info

Publication number
CN104333603A
CN104333603A CN201410657347.3A CN201410657347A CN104333603A CN 104333603 A CN104333603 A CN 104333603A CN 201410657347 A CN201410657347 A CN 201410657347A CN 104333603 A CN104333603 A CN 104333603A
Authority
CN
China
Prior art keywords
virtual machine
file
module
computing node
rom drive
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.)
Pending
Application number
CN201410657347.3A
Other languages
Chinese (zh)
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.)
WUHAN OS-EASY CLOUD COMPUTING Co Ltd
Original Assignee
WUHAN OS-EASY CLOUD COMPUTING 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 WUHAN OS-EASY CLOUD COMPUTING Co Ltd filed Critical WUHAN OS-EASY CLOUD COMPUTING Co Ltd
Priority to CN201410657347.3A priority Critical patent/CN104333603A/en
Publication of CN104333603A publication Critical patent/CN104333603A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/06Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces
    • G06F9/452Remote windowing, e.g. X-Window System, desktop virtualisation

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention provides a system and a method for implementing file uploading to virtual machines and relates to the technical field of cloud computing. The system comprises a user management host and a virtualization platform, wherein the virtualization platform comprises a control node and at least one computational node; the user management host is connected with the control node by use of the Internet; the control node is connected with each computational node by use of an intranet, and each computational node is provided with at least one virtual machine. According to the system and the method for implementing file uploading to the virtual machines, the file transmission process is simple and fast and not limited by the distance of the physical environment and the isolation of the internal and external networks.

Description

A kind of upload file realizes system and method to virtual machine
Technical field
The present invention relates to field of cloud computer technology, is specifically that a kind of upload file realizes system and method to virtual machine.
Background technology
In the virtual scene of cloud computing, virtual machine is normally operated on physical server, and physical server is placed on central machine room, and user is managed virtual machine by browser or client logs administration interface.In management and virtual machine process, needing the file using user this locality, as installed various software, or using local document.
Leaving local software in install in virtual machine, or the file that process is local, needing first by files passe or share to virtual machine.Current upload file mainly contains two kinds to the mode of virtual machine:
1. physically based deformation transmission medium.By the file copy of needs on this kind of physical transmission medium of USB flash disk, be then inserted on the physical server at respective virtual machine place, by virtual management platform, physical transmission medium mapped to virtual machine use afterwards, finally copy files in virtual machine.This is that user is the most familiar, the simplest mode, and with under conventional P C environment, between different physical machine, the mode of copied files is consistent.But also inconvenient in this mode virtualized environment, due in physical server all centre machine room, not all user can freely come in and go out, even some machine room is in order to safety is with secret, also limits the use of this kind equipment of USB flash disk.
2. based on file-sharing service.In order to solve restriction physically, FTP (File Transfer Protocol, file transfer protocol (FTP)) this kind of file-sharing service can also be used, by network, file-sharing is used to virtual machine.File-sharing service built by virtual management platform, and in this locality and virtual machine, installation file shares client, and local file uploads in shared server by user, in virtual machine, then pass through to share corresponding file in client shared server.The mode of this file-sharing, although solve restriction physically, user right can also be set by the shared server on configuration management platform, ensure the safety problem of shared file, but this implementation method still has some shortcomings: first to need in local and virtual machine all installation files to share client, use and bother.Secondly, need virtual machine internal network and user in same network, if virtual machine network is abnormal, or other network segment must be used due to the service needed of operation, then can not use this function.
Summary of the invention
For the defect existed in prior art, the object of the present invention is to provide a kind of upload file to realize system and method, document transmission process simple and fast of the present invention to virtual machine, the distance limit of physical environment and the isolation restriction of intranet and extranet can not be limited to.
For reaching above object, the technical scheme that the present invention takes is: a kind of upload file realizes system to virtual machine, comprise user management main frame and virtual platform, described virtual platform comprises Controlling vertex and at least one computing node, described user management main frame is connected with Controlling vertex by the Internet, Controlling vertex is connected with each computing node by internal network, and each computing node is at least provided with a virtual machine.
On the basis of technique scheme, described Controlling vertex is connected with each computing node by switch.
On the basis of technique scheme, described Controlling vertex comprises files passe module, internal communication sending module; Described computing node comprises internal communication receiver module, virtualization management module, file packetization module; Files passe module, for receiving the packet that user management main frame sends; Internal communication sending module, for by the Packet Generation on Controlling vertex to target computing nodes; Internal communication receiver module, for receiving the packet that Controlling vertex sends; File packetization module, for the packet on computing node is converted to ISO file, for virtual machine CD-ROM drive; Virtualization management module, for simulating the various equipment of virtual machine, for virtual machine provides running environment.
On the basis of technique scheme, described virtualization management module is for simulating the equipment such as CD-ROM drive, CPU, internal memory, disk of virtual machine.
The present invention also provides a kind of upload file based on said system to the method for virtual machine, comprises the following steps: step S1. user management main frame, by internet access virtual platform, sends to Controlling vertex and needs the file uploading to virtual machine; Step S2. files passe module receives the packet of described file, and by internal communication sending module by Packet Generation to the computing node at target virtual machine place; The internal communication receiver module of computing node described in step S3. receives packet and preserves; Packet is converted to ISO file by step S4. file packetization module; ISO file is replaced in the CD-ROM drive of target virtual machine by step S5. virtualization management module, and user checks the file in virtual machine CD-ROM drive by user management main frame.
On the basis of technique scheme, in step S1, user is by the Web browser on user management main frame or client-access virtual management platform.
On the basis of technique scheme, in step S3, computing node sets up a separate category for each virtual machine, and authority is set only allows corresponding virtual machine to access this catalogue; Packet is saved in separate category corresponding to target virtual machine by described internal communication receiver module.
On the basis of technique scheme, in step S5, the CD-ROM equipment of virtual machine is simulated by the virtualization management module of place computing node, and the content in CD-ROM drive is the ISO file in computing node file system; Virtualization management module dynamically changes the content in CD-ROM drive, and the operating system of virtual machine identifies the change of CD-ROM drive content automatically.
Beneficial effect of the present invention is:
1, file of the present invention first arrives Controlling vertex by outside internet, then forwards corresponding computing node to by internal network, therefore document transmission process simple and fast, can not be limited to the distance limit of physical environment and the isolation restriction of intranet and extranet.
2, the file uploaded in the present invention leaves the computing node at virtual machine place in, final with ISO (Isolation, compact disc image files) file directly for virtual machine CD-ROM drive, do not rely on virtual machine network, and not by server physical environment and virtual machine network environmental limitations.
3, in the present invention, user only need select the local file that will upload, and other processes are completed automatically by backstage completely, and user does not need to install any third party's instrument, simple to operation.
4, the file uploaded in the present invention leaves in separate category corresponding to target virtual machine, is prevented the access of other virtual machine, ensure that the fail safe of file by catalogue isolation.
Accompanying drawing explanation
Fig. 1 be in the embodiment of the present invention upload file to the structural representation of the system that realizes of virtual machine;
Fig. 2 is the structural representation of each module in the embodiment of the present invention;
Fig. 3 is based on the method flow schematic diagram of the upload file of virtual machine CD-ROM drive to virtual machine in the embodiment of the present invention.
Embodiment
Below in conjunction with drawings and Examples, the present invention is described in further detail.
Shown in Figure 1, a kind of upload file realizes system to virtual machine, comprise user management main frame and virtual platform, described virtual platform comprises Controlling vertex and at least one computing node, described user management main frame is connected with Controlling vertex by the Internet, Controlling vertex is connected with each computing node by internal network, and each computing node is at least provided with a virtual machine.Preferably, described Controlling vertex is connected with each computing node by switch.
Shown in Figure 2, described Controlling vertex comprises files passe module, internal communication sending module; Described computing node comprises internal communication receiver module, virtualization management module, file packetization module; Files passe module, for receiving the packet that user management main frame sends; Internal communication sending module, for by the Packet Generation on Controlling vertex to target computing nodes, i.e. the computing node at target virtual machine place; Internal communication receiver module, for receiving the packet that Controlling vertex sends; File packetization module, for the packet on computing node is converted to ISO file, for virtual machine CD-ROM drive; Virtualization management module, for simulating the various equipment of virtual machine, for virtual machine provides running environment.Preferably, described virtualization management module is for simulating the equipment such as CD-ROM drive, CPU, internal memory, disk of virtual machine.
Shown in Figure 3, based on the upload file based on virtual machine CD-ROM drive of said system to the method for virtual machine, comprise the following steps:
Step S1. user management main frame, by internet access virtual platform, sends to Controlling vertex and needs the file uploading to virtual machine; Wherein, user is by the Web browser on user management main frame or client-access virtual management platform.
Step S2. files passe module receives the packet of described file, and by internal communication sending module by Packet Generation to the computing node at target virtual machine place.
Step S3. sets up a separate category for each virtual machine on computing node, and arranges authority and only allow corresponding virtual machine to access this catalogue; The internal communication receiver module of described computing node receives packet and is saved in separate category corresponding to target virtual machine.
Packet is converted to ISO file by step S4. file packetization module.ISO file can be used as CD by virtual machine CD-ROM drive and directly use, and local file is the actual content of this ISO file.Packing process does not relate to data compression, and therefore execution efficiency is high.
ISO file is replaced in the CD-ROM drive of target virtual machine by step S5. virtualization management module, and namely user checks the file in virtual machine CD-ROM drive by user management main frame.Wherein, the CD-ROM equipment of virtual machine is simulated by the virtualization management module of place computing node, and the content in CD-ROM drive is the ISO file in computing node file system; Virtualization management module dynamically changes the content in CD-ROM drive, and the operating system of virtual machine identifies the change of CD-ROM drive content automatically.
The present invention is not limited to above-mentioned execution mode, and for those skilled in the art, under the premise without departing from the principles of the invention, can also make some improvements and modifications, these improvements and modifications are also considered as within protection scope of the present invention.The content be not described in detail in this specification belongs to the known prior art of professional and technical personnel in the field.

Claims (8)

1. a upload file realizes system to virtual machine, it is characterized in that: comprise user management main frame and virtual platform, described virtual platform comprises Controlling vertex and at least one computing node, described user management main frame is connected with Controlling vertex by the Internet, Controlling vertex is connected with each computing node by internal network, and each computing node is at least provided with a virtual machine.
2. upload file as claimed in claim 1 realizes system to virtual machine, it is characterized in that: described Controlling vertex is connected with each computing node by switch.
3. upload file as claimed in claim 1 realizes system to virtual machine, it is characterized in that: described Controlling vertex comprises files passe module, internal communication sending module; Described computing node comprises internal communication receiver module, virtualization management module, file packetization module;
Files passe module, for receiving the packet that user management main frame sends;
Internal communication sending module, for by the Packet Generation on Controlling vertex to target computing nodes;
Internal communication receiver module, for receiving the packet that Controlling vertex sends;
File packetization module, for the packet on computing node is converted to ISO file, for virtual machine CD-ROM drive;
Virtualization management module, for simulating the various equipment of virtual machine, for virtual machine provides running environment.
4. upload file as claimed in claim 3 realizes system to virtual machine, it is characterized in that: described virtualization management module is for simulating the equipment such as CD-ROM drive, CPU, internal memory, disk of virtual machine.
5. based on the upload file of system described in claim 1 to the method for virtual machine, it is characterized in that: described Controlling vertex comprises files passe module, internal communication sending module; Described computing node comprises internal communication receiver module, virtualization management module, file packetization module; The method comprises the following steps:
Step S1. user management main frame, by internet access virtual platform, sends to Controlling vertex and needs the file uploading to virtual machine;
Step S2. files passe module receives the packet of described file, and by internal communication sending module by Packet Generation to the computing node at target virtual machine place;
The internal communication receiver module of computing node described in step S3. receives packet and preserves;
Packet is converted to ISO file by step S4. file packetization module;
ISO file is replaced in the CD-ROM drive of target virtual machine by step S5. virtualization management module, and user checks the file in virtual machine CD-ROM drive by user management main frame.
6. the upload file based on virtual machine CD-ROM drive as claimed in claim 5 is to the method for virtual machine, it is characterized in that: in step S1, and user is by the Web browser on user management main frame or client-access virtual management platform.
7. as claimed in claim 5 based on the upload file of virtual machine CD-ROM drive to the method for virtual machine, it is characterized in that: in step S3, computing node sets up a separate category for each virtual machine, and authority is set only allows corresponding virtual machine to access this catalogue; Packet is saved in separate category corresponding to target virtual machine by described internal communication receiver module.
8. as claimed in claim 5 based on the upload file of virtual machine CD-ROM drive to the method for virtual machine, it is characterized in that: in step S5, the CD-ROM equipment of virtual machine is simulated by the virtualization management module of place computing node, and the content in CD-ROM drive is the ISO file in computing node file system; Virtualization management module dynamically changes the content in CD-ROM drive, and the operating system of virtual machine identifies the change of CD-ROM drive content automatically.
CN201410657347.3A 2014-11-18 2014-11-18 System and method for implementing file uploading to virtual machines Pending CN104333603A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410657347.3A CN104333603A (en) 2014-11-18 2014-11-18 System and method for implementing file uploading to virtual machines

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410657347.3A CN104333603A (en) 2014-11-18 2014-11-18 System and method for implementing file uploading to virtual machines

Publications (1)

Publication Number Publication Date
CN104333603A true CN104333603A (en) 2015-02-04

Family

ID=52408252

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410657347.3A Pending CN104333603A (en) 2014-11-18 2014-11-18 System and method for implementing file uploading to virtual machines

Country Status (1)

Country Link
CN (1) CN104333603A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106301965A (en) * 2016-10-25 2017-01-04 郑州云海信息技术有限公司 A kind of network architecture calculating node server more
CN107272549A (en) * 2016-04-07 2017-10-20 欧姆龙株式会社 Control device, control method and program
CN107968794A (en) * 2016-10-18 2018-04-27 中兴通讯股份有限公司 A kind of virtual drive hanging method and system, server, terminal

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130191912A1 (en) * 2011-07-26 2013-07-25 Somnath Chakrabarti Secure network topology on a virtualized server
CN103259847A (en) * 2013-04-15 2013-08-21 中国联合网络通信集团有限公司 File pushing method, desktop cloud platform and server
CN103620578A (en) * 2011-06-21 2014-03-05 英特尔公司 Native cloud computing via network segmentation

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103620578A (en) * 2011-06-21 2014-03-05 英特尔公司 Native cloud computing via network segmentation
US20130191912A1 (en) * 2011-07-26 2013-07-25 Somnath Chakrabarti Secure network topology on a virtualized server
CN103259847A (en) * 2013-04-15 2013-08-21 中国联合网络通信集团有限公司 File pushing method, desktop cloud platform and server

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107272549A (en) * 2016-04-07 2017-10-20 欧姆龙株式会社 Control device, control method and program
CN107968794A (en) * 2016-10-18 2018-04-27 中兴通讯股份有限公司 A kind of virtual drive hanging method and system, server, terminal
CN106301965A (en) * 2016-10-25 2017-01-04 郑州云海信息技术有限公司 A kind of network architecture calculating node server more

Similar Documents

Publication Publication Date Title
US11178225B2 (en) Data files synchronization with cloud storage service
US11422908B2 (en) Non-disruptive controller replacement in a cross-cluster redundancy configuration
JP6498230B2 (en) Flexible HDD / SSD storage support system and method
US10126961B2 (en) Securely recovering stored data in a dispersed storage network
US10693640B2 (en) Use of key metadata during write and read operations in a dispersed storage network memory
US20170153853A1 (en) Load balancing and service differentiation within a dispersed storage network
US10673947B2 (en) System and method for providing a client device seamless access to a plurality of remote storage devices presented as a virtual device
US9843619B2 (en) System and method for accessing disk image files using HTML5 KVM/vmedia client running in a web browser
US10097634B1 (en) Storage tier selection for replication and recovery
CN105391652A (en) USB equipment network sharing system and method based on USB redirection
CN106648838B (en) Resource pool management configuration method and device
CN104333603A (en) System and method for implementing file uploading to virtual machines
CN108390886A (en) Educate big data secure access control system
CN103019847B (en) To the method and system that virtual-machine data is moved
EP3407571A1 (en) Method for providing network-based services to user of network storage server, associated network storage server and associated storage system
US10678754B1 (en) Per-tenant deduplication for shared storage
EP3163469A1 (en) Method and device for realizing ip disk file storage
CN112256797A (en) MongoDB-based data synchronization system and method for public security network and government affair network
CN103037031A (en) Internet protocol (IP) address administration method of internet small computer system interface (ISCSI) target device
US11115221B2 (en) Verifying a rebuilt encoded data slice using slice verification information
US20180107554A1 (en) Partial rebuilding techniques in a dispersed storage unit
CN102103524B (en) A kind of virtual machine (vm) migration devices and methods therefor of memory redundancy oriented
US20190391567A1 (en) Systems and methods for cloud-based control and data acquisition with abstract state
Tang Research on disaster recovery model of cloud-based digital library
Hu et al. A Design of Cloud Storage Gateway Based on Data Dispersal

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: 430000 Hubei city of Wuhan Province, East Lake New Technology Development Zone, Optics Valley Road No. 465 building 17 room 1701 creative

Applicant after: WUHAN OS-EASY CLOUD COMPUTING CO., LTD.

Address before: 430074 Hubei city of Wuhan province Kuanshan East Lake Development Zone, Road No. 465 Optics Valley creative industry base building C block 17

Applicant before: WUHAN OS-EASY CLOUD COMPUTING CO., LTD.

COR Change of bibliographic data
RJ01 Rejection of invention patent application after publication

Application publication date: 20150204

RJ01 Rejection of invention patent application after publication