CN108512928A - Cloud virtual machine and its file management method, system, virtual machine thin-client - Google Patents

Cloud virtual machine and its file management method, system, virtual machine thin-client Download PDF

Info

Publication number
CN108512928A
CN108512928A CN201810306193.1A CN201810306193A CN108512928A CN 108512928 A CN108512928 A CN 108512928A CN 201810306193 A CN201810306193 A CN 201810306193A CN 108512928 A CN108512928 A CN 108512928A
Authority
CN
China
Prior art keywords
file
virtual machine
cloud virtual
client
cloud
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
CN201810306193.1A
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.)
Shanghai Micro Dome Mdt Infotech Ltd
Original Assignee
Shanghai Micro Dome Mdt Infotech 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 Shanghai Micro Dome Mdt Infotech Ltd filed Critical Shanghai Micro Dome Mdt Infotech Ltd
Priority to CN201810306193.1A priority Critical patent/CN108512928A/en
Publication of CN108512928A publication Critical patent/CN108512928A/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/02Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
    • H04L67/025Protocols based on web technology, e.g. hypertext transfer protocol [HTTP] for remote control or remote monitoring of applications
    • 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/455Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
    • G06F9/45533Hypervisors; Virtual machine monitors
    • G06F9/45558Hypervisor-specific management and integration aspects
    • 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/08Protocols specially adapted for terminal emulation, e.g. Telnet
    • 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/455Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
    • G06F9/45533Hypervisors; Virtual machine monitors
    • G06F9/45558Hypervisor-specific management and integration aspects
    • G06F2009/45562Creating, deleting, cloning virtual machine instances

Abstract

The embodiment of the invention discloses a kind of cloud virtual machine and its file management method, system and virtual machine thin-clients, the open command sent including receiving the virtual machine thin-client being set on terminal device, and open corresponding cloud virtual machine application according to open command;Receive the file operation instruction that the application of cloud virtual machine is sent, and it is instructed to virtual machine thin-client according to file operation and sends file operation message, so that corresponding file operation interface is transferred and shown to virtual machine thin-client according to file operation message, so that user carries out operational administrative by file operation interface to corresponding file.The embodiment of the present invention realizes user and is applied to the corresponding operational administrative of file progress in mobile client by cloud virtual machine, increases user to the usage experience of cloud virtual machine, meets user demand significantly.

Description

Cloud virtual machine and its file management method, system, virtual machine thin-client
Technical field
The present embodiments relate to cloud virtual machine technical fields, more particularly to a kind of file management of cloud virtual machine Method.It is thin that the embodiment of the present invention further relates to a kind of file management method of cloud virtual machine, system, cloud virtual machine and virtual machine Client.
Background technology
VMI (Virtual Mobile Infrastructure, virtually move architecture) technology is a kind of Android platform Virtualization technology, on x86 servers create Android virtual machines, user mobile phone by network connection Android virtual machine come Realize mobile desktop transmission and manipulation.By this technology can significantly simplify the management of local user side desktop and application program with more Newly, it and then reduces management cost and improves the safety of data preservation.
The management operations such as picture, the checking of the files such as video, preview or selection are carried out in the application of virtual machine beyond the clouds Become daily demand.Currently, the files such as picture or video that user browses in virtual machine beyond the clouds are to come from cloud virtual Library (for example, picture or video are stored in picture library) namely user on machine can be conveniently to storing to cloud File in the virtual machine file library of end browsed, page turning, the operational administratives such as checks and select.It is continuous with user demand Increase, the demand that user is managed the file in mobile client in virtual machine beyond the clouds is also higher and higher, still, at present The files such as the image, the video that are stored in the library of mobile client can not be operated with the application by cloud virtual machine Management, it is difficult to meet user demand.
In consideration of it, how to provide a kind of file management method, system, the cloud of the cloud virtual machine solving above-mentioned technical problem Virtual machine and virtual machine thin-client is held to become the current problem to be solved of those skilled in the art.
Invention content
The purpose of the embodiment of the present invention is to provide a kind of file management method of cloud virtual machine, in use user It can be applied by cloud virtual machine and corresponding operational administrative is carried out to the file in mobile client, increase user to high in the clouds The usage experience of virtual machine, meets user demand significantly;The another object of the embodiment of the present invention is to provide a kind of cloud virtual File management system, cloud virtual machine and the virtual machine thin-client of machine, specifically with the file management side of above-mentioned cloud virtual machine The identical advantageous effect of method.
In order to solve the above technical problems, an embodiment of the present invention provides a kind of file management method of cloud virtual machine, packet It includes:
The open command that the virtual machine thin-client being set on terminal device is sent is received, and according to the open command Open corresponding cloud virtual machine application;
Receive the file operation instruction that the cloud virtual machine application is sent, and is instructed to described according to the file operation Virtual machine thin-client sends file operation message, so that the virtual machine thin-client is transferred according to the file operation message And show corresponding file operation interface, so that user carries out operation pipe by the file operation interface to corresponding file Reason.
Optionally, the file operation instruction is file selection instruction;
The method further includes:
Receive the file response message that the virtual machine thin-client returns;The file response message is the virtual machine What thin-client was obtained according to user by the file destination that the file operation interface selects;
Corresponding file destination is obtained according to the file response message, and corresponding choosing is generated according to the file destination Select result information;
The selection result information is back to the cloud virtual machine application, so as to the cloud virtual machine application foundation The selection result information obtains the file destination.
Optionally, the file response message includes file storage address;Wherein, the file storage address is the void What quasi- machine thin-client obtained after storing the file destination that the user selects to file server;
The process for obtaining corresponding file destination according to the file response message is:
The file response message is parsed, the file storage address is obtained;
The file destination is obtained from the file server according to the file storage address.
Optionally, the process that corresponding selection result information is generated according to the file destination is:
Corresponding file destination information is extracted according to the file destination, and using the file destination information as choosing Select result information;It is described that the selection result information is back to the cloud virtual machine application, so as to the cloud virtual machine It is specially using the file destination is obtained according to the selection result information:
The file destination information is back to the cloud virtual machine, described in the cloud virtual machine direct basis File destination information obtains the file destination.
Optionally, the process that corresponding selection result information is generated according to the file destination is:
The file destination is stored into being locally stored;
It obtains the file destination and routing information is locally stored in described be locally stored, and road is locally stored by described Diameter information alternatively result information;
It is described that the selection result information is back to the cloud virtual machine application, so as to the cloud virtual machine application Obtaining the file destination process according to the selection result information is:
The routing information that is locally stored is back to the cloud virtual machine application, so as to the cloud virtual machine application Routing information is locally stored according to described in, the middle acquisition file destination is locally stored from described.
The embodiment of the present invention additionally provides a kind of file management method of cloud virtual machine, including:
It establishes and connects with corresponding cloud virtual machine according to log-on message input by user;
Open command is sent to the cloud virtual machine, so that the cloud virtual machine opens phase according to the open command The cloud virtual machine application answered, and the file operation instruction sent according to cloud virtual machine application generates file operation report Text;
The file operation message is received, and is transferred according to the file operation message and shows corresponding file operation circle Face, so that user carries out operational administrative by the file operation interface to corresponding file.
Optionally, the method further includes:
The file destination that user is selected by the file operation interface is obtained, and file is generated according to the file destination Response message;
The file response message is back to the cloud virtual machine, so that the cloud virtual machine is according to the file Response message obtains corresponding file destination, and the file destination is back to the cloud virtual machine application.
Optionally, the process that file response message is generated according to the file destination is:
The file destination is uploaded in file server and is stored;
Receive file storage address that the file server returns, corresponding with the file destination;
File response message is generated according to the file storage address, and the file response message is back to the cloud Virtual machine is held, so that the cloud virtual machine parses the file response message to obtain the file storage address, and The file destination is obtained from the file server according to the file storage address.
The embodiment of the present invention provides a kind of cloud virtual machine accordingly, including:
Opening module, the open command sent for receiving the virtual machine thin-client being set on terminal device, and according to Corresponding cloud virtual machine application is opened according to the open command;
Message sending module, the file operation instruction sent for receiving the cloud virtual machine application, and according to described File operation instructs to the virtual machine thin-client and sends file operation message, so that the virtual machine thin-client is according to institute State file operation message and transfer and show corresponding file operation interface, so as to user by the file operation interface to corresponding File carry out operational administrative.
Optionally, further include:
Receiving module, the file response message returned for receiving the virtual machine thin-client;The file response letter Breath is what the virtual machine thin-client was obtained according to user by the file destination that the file operation interface selects;
File selection module, for obtaining corresponding file destination according to the file response message, and according to the mesh Mark the corresponding selection result information of file generated;
First returns to module, for the selection result information to be back to the cloud virtual machine application, so as to described Cloud virtual machine is applied obtains the file destination according to the selection result information.
The embodiment of the present invention provides a kind of virtual machine thin-client accordingly, including:
Module is established, is connected for being established with corresponding cloud virtual machine according to log-on message input by user;
Sending module, for sending open command to the cloud virtual machine, so that the cloud virtual machine is according to described in Open command opens corresponding cloud virtual machine application, and instructs life according to the file operation that cloud virtual machine application is sent At file operation message;
Calling module transfers corresponding text for receiving the file operation message, and according to the file operation message Part operation interface;
Display module, for showing the file operation interface, so as to user by the file operation interface to corresponding File carry out operational administrative.
Optionally, further include:
Document processing module, the file destination selected by the file operation interface for obtaining user, and according to institute It states file destination and generates file response message;
Second returns to module, for the file response message to be back to the cloud virtual machine, so as to the high in the clouds Virtual machine obtains corresponding file destination according to the file response message, and the file destination is back to the high in the clouds void Quasi- machine application.
The embodiment of the present invention additionally provides a kind of file management system of cloud virtual machine, including high in the clouds as described above Virtual machine and virtual machine thin-client as described above.
An embodiment of the present invention provides a kind of file management methods of cloud virtual machine, including receive and be set to terminal device On the open command that sends of virtual machine thin-client, and open corresponding cloud virtual machine application according to open command;Receive The file operation instruction that the application of cloud virtual machine is sent, and instructed to virtual machine thin-client according to file operation and send file behaviour Make message, so that corresponding file operation interface is transferred and shown to virtual machine thin-client according to file operation message, so as to Family carries out operational administrative by file operation interface to corresponding file.
The embodiment of the present invention is communicated by the virtual machine thin-client being set on terminal device with the foundation of cloud virtual machine Connection, and corresponding cloud virtual machine application, cloud virtual machine in cloud virtual machine can be opened by virtual machine thin-client It applies and sends corresponding file operation after unlatching and instruct to cloud virtual machine, cloud virtual machine is given birth to according to this document operational order At file operation message, virtual machine thin-client calls and shows corresponding file operation interface according to this document operation message, User can carry out operational administrative by this document operation interface to corresponding file.The embodiment of the present invention realizes user and passes through Cloud virtual machine applies the function that operational administrative is carried out to the file in mobile client, increases user to cloud virtual machine Usage experience meets user demand significantly.
In addition, present invention also provides a kind of file management system of cloud virtual machine, cloud virtual machine and virtual machine are thin Client has advantageous effect identical with the file management method of cloud virtual machine provided by the present application.
Description of the drawings
It to describe the technical solutions in the embodiments of the present invention more clearly, below will be to institute in the prior art and embodiment Attached drawing to be used is needed to be briefly described, it should be apparent that, the accompanying drawings in the following description is only some implementations of the present invention Example, for those of ordinary skill in the art, without creative efforts, can also obtain according to these attached drawings Obtain other attached drawings.
Fig. 1 is a kind of flow diagram of the file management method of cloud virtual machine provided in an embodiment of the present invention;
Fig. 2 is the flow diagram of the file management method of another cloud virtual machine provided in an embodiment of the present invention;
Fig. 3 is the flow diagram of the file management method of another cloud virtual machine provided in an embodiment of the present invention;
Fig. 4 is a kind of structural schematic diagram of cloud virtual machine provided in an embodiment of the present invention;
Fig. 5 is the structural schematic diagram of another cloud virtual machine provided in an embodiment of the present invention;
Fig. 6 is a kind of structural schematic diagram of virtual machine thin-client provided in an embodiment of the present invention.
Specific implementation mode
An embodiment of the present invention provides a kind of file management method of cloud virtual machine, user can lead in use It crosses cloud virtual machine to apply to the corresponding operational administrative of file progress in mobile client, increases user to cloud virtual machine Usage experience, meet user demand significantly;The embodiment of the present invention additionally provides a kind of file management system of cloud virtual machine System, cloud virtual machine and virtual machine thin-client, it is specifically identical with the above-mentioned file management method of cloud virtual machine beneficial to effect Fruit.
In order to make the object, technical scheme and advantages of the embodiment of the invention clearer, below in conjunction with the embodiment of the present invention In attached drawing, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment is A part of the embodiment of the present invention, instead of all the embodiments.Based on the embodiments of the present invention, those of ordinary skill in the art The every other embodiment obtained without making creative work, shall fall within the protection scope of the present invention.
Fig. 1 is please referred to, Fig. 1 is that a kind of flow of the file management method of cloud virtual machine provided in an embodiment of the present invention is shown It is intended to.
The file management method of the cloud virtual machine, including:
S11:The open command that the virtual machine thin-client being set on terminal device is sent is received, and according to open command Open corresponding cloud virtual machine application;
It should be noted that the virtual machine thin-client in the application is mounted on mobile client (such as pad, intelligent hand Machine etc.) in software application, this application can remotely be equal to cloud virtual machine, and carry out various operations in virtual machine beyond the clouds, The application of cloud virtual machine is such as opened by open command.
Specifically, user is set to the virtual machine thin-client on terminal device by information registrations such as accounts, and After user logins successfully, virtual machine thin-client determines corresponding cloud virtual machine according to information such as the accounts of user, and with this Cloud virtual machine establishes connection, and after virtual machine thin-client is connect with cloud virtual machine, virtual-machine client is empty to high in the clouds Quasi- machine sends open command, and cloud virtual machine opens corresponding cloud virtual machine application according to the open command.For example, the unlatching Instruction is that picture browsing instructs, then cloud virtual machine is opened cloud virtual machine corresponding with picture browsing according to the open command and answered With.
It should be noted that the open command in the application can be after user's login virtual machine thin-client, virtual machine Receive what client was generated according to opening imformation input by user.
Specifically, after virtual machine thin-client establishes connection with corresponding cloud virtual machine, virtual machine thin-client will The each cloud virtual machine application installed in cloud virtual machine is shown, and user can select corresponding high in the clouds empty according to demand Quasi- machine application, virtual machine thin-client can position corresponding cloud virtual machine according to opening imformation input by user and answer on schedule With to generate the open command for including corresponding cloud virtual machine application site information, cloud virtual machine is according to the open command The selected cloud virtual machine application of user can be opened.
It is understood that each cloud virtual machine application exhibition that will be installed in cloud virtual machine in virtual machine thin-client It shows after coming, user can input unlatching clicking shown in interface, by way of the icon of corresponding cloud virtual machine application Information;Certainly, virtual machine thin-client can also show input frame, user while showing each cloud virtual machine application The cloud virtual machine for wanting to open can be inputted by the input frame applies corresponding Apply Names, to input opening imformation, Such as the input titles such as mailbox or video player.
S12:Receive the file operation instruction that the application of cloud virtual machine is sent, and instructs according to file operation thin to virtual machine Client sends file operation message, so that virtual machine thin-client is transferred according to file operation message and shows corresponding file Operation interface, so that user carries out operational administrative by file operation interface to corresponding file.
Specifically, after virtual machine opens the application of cloud virtual machine beyond the clouds, the application of cloud virtual machine can automatically generate text Part operational order, can also be after receiving the file operation information that user is inputted by virtual machine thin-client, according to this article Part operation information generates file operation instruction.After virtual machine application generates file operation instruction beyond the clouds, cloud virtual machine foundation This document operational order generates file operation message, and this document operation message is sent to virtual machine thin-client.Virtual machine Thin-client can show that corresponding file operation interface, user can be by these after receiving file operation message to user File operation interface is operated and is managed to corresponding file.
For example, the file operation instruction that the application of cloud virtual machine generates is that picture browsing instructs, then corresponding file operation Message is the message for including picture browsing instruction, and virtual machine thin-client shows picture after receiving this document operation message Check interface, user can carry out browsing to corresponding each image by the interface and check that surfing is very fast, efficiency compared with It is high.
It is instructed it should be noted that file operation instruction can be file operation corresponding with files such as image, videos, tool Body can be that browsing file checks that instruction, file selection, move etc. are deleted in instruction, file, and file operation instruction is specific right The operation answered can be determined according to actual conditions, can be specifically determined according to file operation information input by user.
In addition, cloud virtual machine after receiving file operation instruction, can call high in the clouds according to this document operational order Virtual machine communication interface, and file operation message is constructed by the cloud virtual machine communication interface.In the embodiment of the present invention, high in the clouds Virtual machine communication interface indicates the cloud virtual machine file operation interface in Android system, can be indicated with SDK, wherein SDK (Software Development Kit) is Software Development Kit.
The embodiment of the present invention is communicated by the virtual machine thin-client being set on terminal device with the foundation of cloud virtual machine Connection, and corresponding cloud virtual machine application, cloud virtual machine in cloud virtual machine can be opened by virtual machine thin-client It applies and sends corresponding file operation after unlatching and instruct to cloud virtual machine, cloud virtual machine is given birth to according to this document operational order At file operation message, virtual machine thin-client calls and shows corresponding file operation interface according to this document operation message, User can carry out operational administrative by this document operation interface to corresponding file.The embodiment of the present invention realizes user and passes through Cloud virtual machine applies the function that operational administrative is carried out to the file in mobile client, increases user to cloud virtual machine Usage experience meets user demand significantly.
Fig. 2 is please referred to, on the basis of the above embodiments:
As preferred embodiment, this method can also include S13, specially:
S11:The open command that the virtual machine thin-client being set on terminal device is sent is received, and according to open command Open corresponding cloud virtual machine application;
S12:Receive the file operation instruction that the application of cloud virtual machine is sent, and instructs according to file operation thin to virtual machine Client sends file operation message, so that virtual machine thin-client is transferred according to file operation message and shows corresponding file Operation interface, so that user carries out operational administrative by file operation interface to corresponding file;
S13:Receive the file response message that virtual machine thin-client returns;File response message is virtual machine thin-client It is obtained by the file destination that file operation interface selects according to user;
It should be noted that when file operation instruction is file selection instruction, then user can pass through virtual machine client The file operation interface (being at this time file selection interface) of end display is browsed and is checked to file, and is being browsed and checked During user can be with selection target file, at this point, virtual machine thin-client, which can obtain user, passes through file selection interface The file destination of selection, and corresponding file response message is generated according to file destination, then the file response message that will be generated It is back to cloud virtual machine.
Specifically, virtual machine thin-client obtain user selection file destination after, can be directly by file destination In fileinfo be back to cloud virtual machine as file response message, file destination that first user selects can also be uploaded To being stored in the file server (specifically can by but be not limited only to be uploaded by http protocol interface) in high in the clouds, And obtain file storage address (URL (the Uniform Resource of such as file of the file destination in file server Locator, uniform resource locator)), then cloud virtual is back to using this document storage address as file response message again Machine.
It should be noted that the file response message in the embodiment of the present invention which information specifically included can be according to reality Situation is determined, and the embodiment of the present invention does not do this particular determination, can realize the purpose of the embodiment of the present invention.
For example, user sends mail, attachment (such as picture or file) position of addition by the mailbox in cloud virtual machine In on terminal device, then user can log in cloud virtual machine by the virtual machine thin-client being set on terminal device, And after opening mailbox, mailbox generates file selection instruction, and virtual machine thin-client selects message to call simultaneously according to corresponding file Show file selection interface, by the interface, user can will be selected with selection target file, virtual machine thin-client according to user File destination generate file response message, and this document response message is back to cloud virtual machine, so as to cloud virtual machine After obtaining file destination by this document response message, the relevant selection result information of file destination is sent to cloud virtual machine Using, it is applied so as to cloud virtual machine and obtains corresponding file destination according to selection result information, it is further to complete attachment addition.
S14:Corresponding file destination is obtained according to file response message, and corresponding selection knot is generated according to file destination Fruit information;
Specifically, when file response message includes the fileinfo of file destination, directly obtained according to this document information Corresponding file destination;It, then can be according to this document storage address from text when file response message includes file storage address Corresponding file destination is downloaded in part server, to obtain the file destination of user's selection.
S15:The selection result information is back to the cloud virtual machine application, so as to the cloud virtual machine application The file destination is obtained according to the selection result information.
It should be noted that after virtual machine obtains file destination beyond the clouds, selection result letter is generated according to the file destination Breath, and the selection result information is back to cloud virtual machine application.
Further, the foundation file destination in S14 generates the process of corresponding selection result information, is specifically as follows:
Corresponding file destination information is extracted according to file destination, and alternatively result is believed by file destination information Breath;
Selection result information in S14 is file destination information (i.e. the fileinfo of file destination);
Then, selection result information is back to cloud virtual machine application, so that cloud virtual machine is applied according to selection result Information obtains file destination:
File destination information is back to cloud virtual machine, so that cloud virtual machine direct basis file destination information obtains File destination.
Specifically, cloud virtual machine after obtaining file destination, can generate corresponding selection result according to file destination Information, one side cloud virtual machine can directly extract file destination information (the i.e. text of file destination corresponding with file destination Part information), and alternatively result information is back to cloud virtual machine application by the file destination information, so as to cloud virtual machine Using directly file destination is obtained according to the file destination information, that is, the application of cloud virtual machine directly sends file destination To cloud virtual machine application, to improve the speed that the application of cloud virtual machine obtains file.
Further, the foundation file destination in S14 generates the process of corresponding selection result information, is specifically as follows:
File destination is stored into being locally stored;
It obtains file destination and routing information is locally stored in being locally stored, and routing information will be locally stored as choosing Select result information;
It should be noted that cloud virtual machine after obtaining file destination, not only can directly make file destination information It is back to cloud virtual machine application for selection result information, the file destination of acquisition can also be stored first to the sheet of cloud virtual machine In ground storage, then obtains file destination and routing information is locally stored in being locally stored, then again by the sheet of file destination Alternatively result information is back to cloud virtual machine application to ground store path information, not only cloud virtual machine can be made to apply Routing information is locally stored from the corresponding file destination of middle load is locally stored by this when this attachment uploads, it can also be under It is primary need to check the file destination or routing information be directly locally stored from being locally stored by this when preview obtain Corresponding file destination is taken, without being obtained from terminal device again, helps to improve file management efficiency.
Then, selection result information is back to cloud virtual machine application in S15, so that cloud virtual machine is applied according to choosing It selects result information and obtains file destination process, be specifically as follows:
Routing information will be locally stored and be back to cloud virtual machine application, so that cloud virtual machine applies foundation to be locally stored Routing information is from being locally stored middle acquisition file destination.
Further, the file response message in S13 includes file storage address;Wherein, file storage address is virtual What machine thin-client obtained after storing the file destination that user selects to file server;
Specifically, virtual machine thin-client can pass through client file after the file destination for getting user's selection The file destination that user selects is uploaded in file server by uploading module, and file server stores the file of file destination Address is back to virtual machine thin-client, and virtual machine thin-client constructs file response message (i.e. according to this document storage address File response message).
Wherein, the file destination of user's selection can be with one or multiple, and it is special that the embodiment of the present invention does not do this It limits, and when file destination is larger, is uploaded in file server again after can also compressing it, it specifically can be according to reality Situation is determined.In addition, the file server in the application corresponds to multiple cloud virtual machines.
It should be noted that after virtual machine thin-client receives the file storage address that file server returns, with this File storage address is parameter call client network information module, and the client network communication module is according to file storage address File response message is constructed, and this document selection message is back to cloud virtual machine.Wherein, client network communication module is Network communication components in virtual machine thin-client, user realize that the information between virtual machine thin-client and cloud virtual machine is handed over Mutually.
Then, the foundation file response message in S14 obtains the process of corresponding file destination, is specifically as follows:
File response message is parsed, file storage address is obtained;
File destination is obtained from file server according to file storage address.
It should be noted that cloud virtual machine after obtaining file response message, needs to carry out this document response message Parsing, obtains file storage address of the file destination in file server, then further according to this document storage address to file Corresponding file destination is downloaded in server.
Specifically, cloud virtual machine can pass through cloud virtual machine file operation (SDK (Software Development Kit, Software Development Kit)) interface file response message, and by the cloud virtual machine file operation interface to file Selection message is parsed, and corresponding file storage address is obtained.
It should also be noted that, may include file type and operational attribute in file operation instruction in the application, In, operational attribute can specifically include check, browse, preview, selection and one or more combination on the move;File type May include image, video or document etc..
On the basis of the above embodiments, the embodiment of the present invention additionally provides a kind of file management side of cloud virtual machine Method, specifically please refers to Fig. 3, and this method includes:
S21:It establishes and connects with corresponding cloud virtual machine according to log-on message input by user;
Specifically, user can be set to the virtual machine thin-client on terminal device by information registrations such as accounts, it is empty Quasi- machine thin-client can determine corresponding cloud virtual machine according to log-on message input by user, and with corresponding cloud virtual Machine establishes connection.
S22:Open command is sent to cloud virtual machine, so that cloud virtual machine opens corresponding high in the clouds according to open command Virtual machine application, and the file operation instruction sent according to the application of cloud virtual machine generates file operation message;
It should be noted that cloud virtual machine receive cloud virtual machine application send file operation instruction after, according to It is instructed according to file operation and generates file operation message.
S23:File operation message is received, and corresponding file operation interface is transferred and shown according to file operation message, So that user carries out operational administrative by file operation interface to corresponding file.
Specifically, the client network information module of virtual machine Thin clients end side is after receiving file operation message, it is right File operation notice is generated according to this document operation message, and this document operational notification is sent to virtual machine thin-client, it is empty Quasi- machine thin-client calls the file selection module of client according to this document operational notification, and aobvious by this document selecting module Show corresponding file operation interface, so that user carries out operational administrative by this document operation interface to corresponding file, such as Check, browse, adjustment sequence etc. operations.
Further, this method further includes:
S24:The file destination that user is selected by file operation interface is obtained, and file response is generated according to file destination Information;
S25:File response message is back to cloud virtual machine, so that cloud virtual machine is obtained according to file response message Corresponding file destination, and file destination is back to cloud virtual machine application.
Further, the process for generating file response message according to file destination in S24, is specifically as follows:
File destination is uploaded in file server and is stored;
Receive file storage address that file server returns, corresponding with file destination;
File response message is generated according to file storage address, and file response message is back to cloud virtual machine, with Just cloud virtual machine parses file response message to obtain file storage address, and is taken from file according to file storage address File destination is obtained in business device.
Specifically, when file destination is excessive, in order to improve file transfer speed, the virtual machine in the embodiment of the present invention is thin The file destination that first user selects can be uploaded to the file in high in the clouds by client after the file destination for obtaining user's selection Server is stored in (specifically can by but be not limited only to be uploaded by http protocol interface), and obtains target text File storage address (URL (Uniform Resource Locator, the unified resource of such as file of the part in file server Finger URL)), it then is back to cloud virtual machine using this document storage address as file response message again, so as to cloud virtual Machine downloads corresponding file destination according to the file storage address in file response message from file server, and due to text The transmission speed of part storage address is far longer than the transmission speed of file destination, is obtained so as to greatly improve cloud virtual machine The speed of file destination.
Certainly, the virtual machine thin-client in the embodiment of the present invention also may be used after the file destination for obtaining user's selection The fileinfo in file destination is directly back to cloud virtual machine as file response message, namely directly by target text The corresponding fileinfo of part is back to cloud virtual machine.Specifically use which kind of mode to cloud virtual machine transmission objectives file, it can To be determined according to file destination size or actual conditions, the embodiment of the present invention does not do this particular determination, can realize this hair The purpose of bright embodiment.
On the basis of the above embodiments, an embodiment of the present invention provides a kind of cloud virtual machine, specifically please refer to Fig. 4 and Fig. 5, the cloud virtual machine include:
Opening module 11, the open command sent for receiving the virtual machine thin-client being set on terminal device, and Corresponding cloud virtual machine application is opened according to open command;
Message sending module 12, the file operation instruction sent for receiving the application of cloud virtual machine, and grasped according to file It instructs to virtual machine thin-client and sends file operation message, so that virtual machine thin-client is transferred according to file operation message And show corresponding file operation interface, so that user carries out operational administrative by file operation interface to corresponding file.
Further, which further includes:
Receiving module 13, the file response message for receiving the return of virtual machine thin-client;File response message is void What quasi- machine thin-client was obtained according to user by the file destination that file operation interface selects;
File selection module 14, for obtaining corresponding file destination according to file response message, and according to file destination Generate corresponding selection result information;
First returns to module 15, for selection result information to be back to cloud virtual machine application, so as to cloud virtual machine File destination is obtained using according to selection result information.
It should be noted that the cloud virtual machine provided in the embodiment of the present invention has and high in the clouds provided by the present application void The identical advantageous effect of file management method of quasi- machine.In addition, for cloud virtual machine involved in the embodiment of the present invention File management method it is specific introduction please refer to above method embodiment, details are not described herein by the application.
On the basis of the above embodiments, the embodiment of the present invention provides a kind of virtual machine thin-client accordingly, specifically Fig. 6 is please referred to, which includes:
Module 21 is established, is connected for being established with corresponding cloud virtual machine according to log-on message input by user;
Sending module 22, for sending open command to cloud virtual machine, so that cloud virtual machine is beaten according to open command Corresponding cloud virtual machine application is opened, and the file operation instruction sent according to the application of cloud virtual machine generates file operation report Text;
Calling module 23 transfers corresponding file operation for receiving file operation message, and according to file operation message Interface;
Display module 24, for showing file operation interface, so as to user by file operation interface to corresponding file Carry out operational administrative.
Optionally, which further includes:
Document processing module 25, the file destination selected by file operation interface for obtaining user, and according to target File generated file response message;
Second returns to module 26, for file response message to be back to cloud virtual machine, so as to cloud virtual machine foundation File response message obtains corresponding file destination, and file destination is back to cloud virtual machine application.
It should be noted that the virtual machine thin-client that the embodiment of the present invention is provided has and high in the clouds provided by the present application The identical advantageous effect of file management method of virtual machine.In addition, for cloud virtual involved in the embodiment of the present invention The specific introduction of the file management method of machine please refers to above method embodiment, and details are not described herein by the application.
The embodiment of the present invention additionally provides a kind of file management system of cloud virtual machine, includes such as above-mentioned cloud virtual Machine and such as above-mentioned virtual machine thin-client.
It should be noted that the file management system for the cloud virtual machine that the embodiment of the present invention is provided has and the application The identical advantageous effect of file management method of the cloud virtual machine of offer.In addition, for involved in the embodiment of the present invention Cloud virtual machine file management method it is specific introduction please refer to above method embodiment, details are not described herein by the application.
It should also be noted that, in the present specification, relational terms such as first and second and the like be used merely to by One entity or operation are distinguished with another entity or operation, without necessarily requiring or implying these entities or operation Between there are any actual relationship or orders.Moreover, the terms "include", "comprise" or its any other variant meaning Covering non-exclusive inclusion, so that the process, method, article or equipment including a series of elements includes not only that A little elements, but also include other elements that are not explicitly listed, or further include for this process, method, article or The intrinsic element of equipment.In the absence of more restrictions, the element limited by sentence "including a ...", is not arranged Except there is also other identical elements in the process, method, article or apparatus that includes the element.
The foregoing description of the disclosed embodiments enables those skilled in the art to implement or use the present invention. Various modifications to these embodiments will be apparent to those skilled in the art, as defined herein General Principle can be realized in other embodiments without departing from the spirit or scope of the present invention.Therefore, of the invention It is not intended to be limited to the embodiments shown herein, and is to fit to and the principles and novel features disclosed herein phase one The widest range caused.

Claims (13)

1. a kind of file management method of cloud virtual machine, which is characterized in that including:
The open command that the virtual machine thin-client being set on terminal device is sent is received, and is opened according to the open command Corresponding cloud virtual machine application;
Receive the file operation instruction that the cloud virtual machine application is sent, and is instructed to described virtual according to the file operation Machine thin-client sends file operation message, so that the virtual machine thin-client is transferred and shown according to the file operation message Show corresponding file operation interface, so that user carries out operational administrative by the file operation interface to corresponding file.
2. the file management method of cloud virtual machine according to claim 1, which is characterized in that the file operation instruction For file selection instruction;
The method further includes:
Receive the file response message that the virtual machine thin-client returns;The file response message is the thin visitor of the virtual machine What family end was obtained according to user by the file destination that the file operation interface selects;
Corresponding file destination is obtained according to the file response message, and corresponding selection knot is generated according to the file destination Fruit information;
The selection result information is back to the cloud virtual machine application, so that the cloud virtual machine is applied according to described in Selection result information obtains the file destination.
3. the file management method of cloud virtual machine according to claim 2, which is characterized in that the file response message Including file storage address;Wherein, the file storage address is the mesh that the virtual machine thin-client selects the user What mark file obtained after storing to file server;
The process for obtaining corresponding file destination according to the file response message is:
The file response message is parsed, the file storage address is obtained;
The file destination is obtained from the file server according to the file storage address.
4. the file management method of cloud virtual machine according to claim 2 or 3, which is characterized in that described in the foundation The process that file destination generates corresponding selection result information is:
Corresponding file destination information is extracted according to the file destination, and the file destination information is alternatively tied Fruit information;
It is described that the selection result information is back to the cloud virtual machine application, so as to the cloud virtual machine application foundation The selection result information obtains the file destination:
The file destination information is back to the cloud virtual machine, so as to target described in the cloud virtual machine direct basis Fileinfo obtains the file destination.
5. the file management method of cloud virtual machine according to claim 2 or 3, which is characterized in that described in the foundation The process that file destination generates corresponding selection result information is:
The file destination is stored into being locally stored;
It obtains the file destination and routing information is locally stored in described be locally stored, and path letter is locally stored by described Cease alternatively result information;
It is described that the selection result information is back to the cloud virtual machine application, so as to the cloud virtual machine application foundation The selection result information obtains the file destination process:
The routing information that is locally stored is back to the cloud virtual machine application, so as to the cloud virtual machine application foundation The middle acquisition file destination is locally stored from described in the routing information that is locally stored.
6. a kind of file management method of cloud virtual machine, which is characterized in that including:
It establishes and connects with corresponding cloud virtual machine according to log-on message input by user;
Open command is sent to the cloud virtual machine, so that the cloud virtual machine is opened accordingly according to the open command Cloud virtual machine application, and the file operation instruction sent according to cloud virtual machine application generates file operation message;
The file operation message is received, and corresponding file operation interface is transferred and shown according to the file operation message, So that user carries out operational administrative by the file operation interface to corresponding file.
7. the file management method of cloud virtual machine according to claim 6, which is characterized in that the method further includes:
The file destination that user is selected by the file operation interface is obtained, and file response is generated according to the file destination Information;
The file response message is back to the cloud virtual machine, so that the cloud virtual machine is responded according to the file Information obtains corresponding file destination, and the file destination is back to the cloud virtual machine application.
8. the file management method of cloud virtual machine according to claim 7, which is characterized in that described according to the target The process of file generated file response message is:
The file destination is uploaded in file server and is stored;
Receive file storage address that the file server returns, corresponding with the file destination;
File response message is generated according to the file storage address, and the file response message is back to the high in the clouds void Quasi- machine, so that the cloud virtual machine parses the file response message to obtain the file storage address, and foundation The file storage address obtains the file destination from the file server.
9. a kind of cloud virtual machine, which is characterized in that including:
Opening module, the open command sent for receiving the virtual machine thin-client being set on terminal device, and according to institute It states open command and opens corresponding cloud virtual machine application;
Message sending module, the file operation instruction sent for receiving the cloud virtual machine application, and according to the file Operational order sends file operation message to the virtual machine thin-client, so that the virtual machine thin-client is according to the text Corresponding file operation interface is transferred and shown to part operation message, so as to user by the file operation interface to corresponding text Part carries out operational administrative.
10. cloud virtual machine according to claim 9, which is characterized in that further include:
Receiving module, the file response message returned for receiving the virtual machine thin-client;The file response message is What the virtual machine thin-client was obtained according to user by the file destination that the file operation interface selects;
File selection module, for obtaining corresponding file destination according to the file response message, and according to target text Part generates corresponding selection result information;
First returns to module, for the selection result information to be back to the cloud virtual machine application, so as to the high in the clouds Virtual machine is applied obtains the file destination according to the selection result information.
11. a kind of virtual machine thin-client, which is characterized in that including:
Module is established, is connected for being established with corresponding cloud virtual machine according to log-on message input by user;
Sending module, for sending open command to the cloud virtual machine, so that the cloud virtual machine is according to the unlatching The corresponding cloud virtual machine application of instruction unpack, and the file operation instruction sent according to cloud virtual machine application generates text Part operates message;
Calling module transfers corresponding file behaviour for receiving the file operation message, and according to the file operation message Make interface;
Display module, for showing the file operation interface, so as to user by the file operation interface to corresponding text Part carries out operational administrative.
12. virtual machine thin-client according to claim 11, which is characterized in that further include:
Document processing module, the file destination selected by the file operation interface for obtaining user, and according to the mesh Mark file generated file response message;
Second returns to module, for the file response message to be back to the cloud virtual machine, so as to the cloud virtual Machine obtains corresponding file destination according to the file response message, and the file destination is back to the cloud virtual machine Using.
13. a kind of file management system of cloud virtual machine, which is characterized in that include the high in the clouds as described in claim 9 or 10 Virtual machine and the virtual machine thin-client as described in claim 11 or 12.
CN201810306193.1A 2018-04-08 2018-04-08 Cloud virtual machine and its file management method, system, virtual machine thin-client Pending CN108512928A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810306193.1A CN108512928A (en) 2018-04-08 2018-04-08 Cloud virtual machine and its file management method, system, virtual machine thin-client

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810306193.1A CN108512928A (en) 2018-04-08 2018-04-08 Cloud virtual machine and its file management method, system, virtual machine thin-client

Publications (1)

Publication Number Publication Date
CN108512928A true CN108512928A (en) 2018-09-07

Family

ID=63381061

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810306193.1A Pending CN108512928A (en) 2018-04-08 2018-04-08 Cloud virtual machine and its file management method, system, virtual machine thin-client

Country Status (1)

Country Link
CN (1) CN108512928A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110300260A (en) * 2019-06-27 2019-10-01 深圳中兴网信科技有限公司 Camera control method, device, terminal, server and storage medium
CN111371885A (en) * 2020-02-29 2020-07-03 苏州浪潮智能科技有限公司 Method, device, equipment and medium for transmitting file to VMWare virtual machine
CN111694488A (en) * 2020-05-08 2020-09-22 广州微算互联信息技术有限公司 Cloud mobile phone screen turning control method and system and storage medium
CN112395259A (en) * 2021-01-21 2021-02-23 北京鲲鲸云科技有限公司 File operating system, operating method, computer equipment and medium
CN113805952A (en) * 2021-09-17 2021-12-17 中国联合网络通信集团有限公司 Peripheral virtualization management method, server and system

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102204210A (en) * 2011-05-18 2011-09-28 华为技术有限公司 Method, server, and system for starting application
CN103475953A (en) * 2013-09-13 2013-12-25 华为技术有限公司 Media control method and equipment based on desktop clouds
CN103595790A (en) * 2013-11-14 2014-02-19 华为技术有限公司 Remote accessing method for device, thin client side and virtual machine
US20140157260A1 (en) * 2012-11-30 2014-06-05 International Business Machines Corporation Virtual machine image migration
CN104090913A (en) * 2014-06-10 2014-10-08 深圳市深信服电子科技有限公司 File operation method and device based on thin client

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102204210A (en) * 2011-05-18 2011-09-28 华为技术有限公司 Method, server, and system for starting application
US20140157260A1 (en) * 2012-11-30 2014-06-05 International Business Machines Corporation Virtual machine image migration
CN103475953A (en) * 2013-09-13 2013-12-25 华为技术有限公司 Media control method and equipment based on desktop clouds
CN103595790A (en) * 2013-11-14 2014-02-19 华为技术有限公司 Remote accessing method for device, thin client side and virtual machine
CN104090913A (en) * 2014-06-10 2014-10-08 深圳市深信服电子科技有限公司 File operation method and device based on thin client

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110300260A (en) * 2019-06-27 2019-10-01 深圳中兴网信科技有限公司 Camera control method, device, terminal, server and storage medium
CN111371885A (en) * 2020-02-29 2020-07-03 苏州浪潮智能科技有限公司 Method, device, equipment and medium for transmitting file to VMWare virtual machine
CN111371885B (en) * 2020-02-29 2022-02-18 苏州浪潮智能科技有限公司 Method, device, equipment and medium for transmitting file to VMWare virtual machine
CN111694488A (en) * 2020-05-08 2020-09-22 广州微算互联信息技术有限公司 Cloud mobile phone screen turning control method and system and storage medium
CN111694488B (en) * 2020-05-08 2021-09-28 广州微算互联信息技术有限公司 Cloud mobile phone screen turning control method and system and storage medium
CN112395259A (en) * 2021-01-21 2021-02-23 北京鲲鲸云科技有限公司 File operating system, operating method, computer equipment and medium
CN113805952A (en) * 2021-09-17 2021-12-17 中国联合网络通信集团有限公司 Peripheral virtualization management method, server and system
CN113805952B (en) * 2021-09-17 2023-10-31 中国联合网络通信集团有限公司 Peripheral virtualization management method, server and system

Similar Documents

Publication Publication Date Title
CN108512928A (en) Cloud virtual machine and its file management method, system, virtual machine thin-client
JP5489807B2 (en) Information processing apparatus, form data creation method, and computer program
CN100426905C (en) Method and system for realizing virtual storage in mobile terminal
JP3812727B2 (en) Information processing system
CN107608647A (en) One kind throws screen method, system, server and computer-readable recording medium
US8577955B2 (en) Method and system for distributing images to client systems
JP7377237B2 (en) Audio broadcasting method, apparatus, electronic device, computer-readable storage medium and computer program
JP5528229B2 (en) Document generation apparatus, document generation system, document upload method, and program
CN100505758C (en) Mobile mail terminal adapting method and system
US20060009215A1 (en) Storing data content in a remote computer
CN103581272A (en) File transfer method and device
CN103024081B (en) Be applicable to the terminal scheduling method of the point-to-point communication of effective guarantee communication system
CN102355426A (en) Method for transmitting off-line file and system
CN103179156A (en) Method, system and device for sharing pictures
CN103547339B (en) File uploading method, client side and server side
CN104321760A (en) Method and system for publication and sharing of files via the internet
CN102571941B (en) Cloud point-to-point data transmission method and system
CN106453576B (en) A kind of exchange method, system and control centre based on mixing cloud platform
CN108418903B (en) Remote access system and access method for embedded software log
CN102447642A (en) Method and device for managing messages and pictures based on IM (Instant Messaging) client
CN103430489A (en) File download method, device, and system in content delivery network
JP2017041232A (en) Character transmission method, computer program, and character transmission system
CN106453668A (en) Reverse file uploading method and system
CN104579908B (en) The method and device that image is shown
CN100377522C (en) OMA download realizing method in content distributing network

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20180907