Applying virtual implementation method and system based on Windows system and network transmission
Technical field
The present invention relates to information-based applying virtual technical field, relate in particular to applying virtual implementation method and system based on Windows system and network transmission.
Background technology
The applying virtual technology is that the man-machine interaction logical AND computational logic of application program is kept apart.When user's access application, the displaying of application and being present in alternately on the terminal equipment, the deployment of using and operation then concentrate on data center.The benefit of doing like this comprises: the application terminal is not stored data and has been solved safety problem, and the low configuration requirement in application terminal has reduced equipment cost, and the concentrated deployment of the indifference of application terminal and application and management have reduced maintenance cost and improved maintenance efficiency.
The virtual realization of current application mainly contains technology and the product of two major companies, and the one, the RDP agreement realization of company of Microsoft (Microsoft), the 2nd, HDX (ICA) agreement of thinking outstanding (Citrix) company realizes.Based on the realization of RDP agreement, there is the subject matter of the following aspects at present, the one, volume of transmitted data is big, the network bandwidth requirement height, the 2nd, can't the normal play HD video, three are based on the realization of conversation mechanism, have increased extra resource consumption and complexity.Based on HDX(ICA) realization of agreement, aspect network bandwidth requirement and the HD video broadcast comprehensive improvement is being arranged, but the same dialogue-based mechanism of HDX (ICA) and RDP realizes, has consumed extra internal memory and cpu resource on the one hand, on the one hand its limitation of complexity the function expansion.
Summary of the invention
Purpose of the present invention is exactly in order to address the above problem, applying virtual implementation method and system based on Windows system and network transmission are provided, this method is by using capture program, (mainly be image information with the application information that operates in the Windows system, also comprise audio-frequency information) gather, compress, organize bag, and send to the application reception program of far-end.Use the reception program and receive application information, be reduced into image behind the decompress(ion) and display (audio-frequency information is exported by sound card).Simultaneously, the mutual input of people and application is caught by using the reception program, and sends to the application capture program, by use capture program with input action in application program.The present invention has realized that the application program operation represents with application program and mutual isolation.
To achieve these goals, the present invention adopts following technical scheme:
Applying virtual implementation method based on Windows system and network transmission mainly may further comprise the steps:
Step (1): the application acquisition module obtains application image information from the corresponding region of virtual reality equipment, and with after the packing of application image Information Compression, sends the application receiver module to by network;
Step (2): use receiver module and ask for list of application to using acquisition module; Use acquisition module and extract list of application; Use acquisition module and return list of application to using receiver module; Use receiver module and show list of application;
Step (3): the user sends the request that starts application program, and the request that the application receiver module will start application program sends to the application acquisition module, and the request of using acquisition module reception startup application program also distributes virtual demonstration resource to start application program;
Step (4): use acquisition module acquisition applications image, and return application message to using receiver module, use receiver module and show application image;
Step (5): use receiver module and receive the user interactions input, and send incoming event to using acquisition module, use acquisition module and reappear incoming event, return step (4).
Based on the applying virtual implementation method of Windows system and network transmission, detailed step is as follows:
Step 1): application program is installed in the Windows operating system of using runtime server, and in this Windows operating system, installs and use acquisition module, start and use acquisition module; Use the virtual super large display device of acquisition module;
Step 2): on the application terminal, the application receiver module is installed, after the application receiver module starts, with the communication of application acquisition module, is asked for the list of application of having installed, and show automatically;
Use in the acquisition module, after the request that receives " the asking for list of application " of using receiver module, return list of application can for the application receiver module;
Step 3): user's needed application of selection from the list of application that the application receiver module is showed, and select to start application program, the application receiver module request of " request starts application " accordingly sends to the application acquisition module;
Step 4): after using the request of acquisition module reception " request starts application ", at first in virtual display device, apply for a suitable viewing area, start application program based on this viewing area then, behind the application program launching, use acquisition module from the specific region acquisition applications program operation image of virtual display device, after the compression packing is handled " application operation information " sent to the application terminal of this application of request, the application operation information that returns simultaneously comprises that is also used an ID, and this application ID is unique using runtime server;
Step 5): use receiver module and receive " application operation information ", after the decompress(ion) reduction, create native window and show and use operation image that preserve corresponding application ID simultaneously, this moment, the user saw the operation result of application;
Step 6): user's input information, use receiver module simultaneously and can capture corresponding event, mainly be mouse event and KeyEvent, this event is communicated with application ID and sends to the application acquisition module by network;
Step 7): after the application acquisition module receives user's incoming event, based on using the viewing area that ID identification is used, coordinate based on the viewing area, mode with the Windows event is carried out playback to incoming event, act on corresponding application program, the feedback of application program shows that sending to the application receiver module with image format also shows simultaneously, thereby finishes the mutual of user and application program.
The user can open a plurality of application as required simultaneously.
The concrete job step of described application receiver module is as follows:
Step (1-1): start and use receiving terminal;
Step (1-2): connect the application schedules server based on configuration and obtain server info;
Step (1-3): ask for the application list with the server communication that distributes;
Step (1-4): receive the application list and displaying;
Step (1-5): judge whether to refresh application; If just return step (1-3); If not, enter step (1-6);
Step (1-6): judge whether to start and use; If enter step (1-7); If not, return step (1-5);
Step (1-7): send the startup application request, enter step (1-8);
Step (1-8): receive and use operation information and presentation program image; Stop if desired using and just enter step (1-9); If exist input just to enter step (1-10);
Step (1-9): judge whether to stop to use, if just enter step (1-11); If not, repeating step (1-5);
Step (1-10): judge whether to have input, if just enter step (1-12); If not, repeating step (1-5);
Step (1-11): notice is used capture program and is closed current application program; Finish;
Step (1-12): catch incoming event and send collection terminal; Return step (1-8).
The concrete job step of described application acquisition module is as follows:
Step (2-1): start and use collection terminal; Judge whether to ask for application if desired and just enter step (2-2); Judge whether if desired to start to use and just enter step (2-4);
Step (2-2): judge whether to ask for application; If just enter step (2-3); Just enter step (2-4) if not;
Step (2-3): extract local set up applications and send the application list, return step (2-2);
Step (2-4): judge whether to start and use; If just enter step (2-5); Just return step (2-2) if not;
Step (2-5): start local the application; Enter step (2-6);
Step (2-6): obtain the application operation information; Enter step (2-7);
Step (2-7): will use operation information and send to the reception program; Judge whether if desired to stop to use and just enter step (2-8); Judge whether to exist input just to enter step (2-9) if desired;
Step (2-8): judge whether to stop to use; If just enter step (2-10); Just enter step (2-4) if not;
Step (2-9): judge whether to exist input; If just enter step (2-11); Just enter step (2-4) if not;
Step (2-10): stop application program, finish;
Step (2-11): the analog input event, return step (2-6).
Applying virtual realization system based on Windows system and network transmission, comprise the application receiver module that communicates by network and use acquisition module, described application receiver module comprises application terminal and the virtual application dispatch server of two-way communication each other, and described application acquisition module comprises the storage server of two-way communication each other and uses runtime server.
Described storage server is used for all users' of centralized stores personal data (content that exists with various disk file forms), obtains personal data from storage server in user's operational applications.
Described application runtime server is installed Windows operating system, and the application program used of user, and when the user need use application program, application program can be moved at this server; Described application runtime server installation and operation is simultaneously used capture program, realizes long-range the presenting of using.
The function of described virtual application dispatch server comprises two aspects, the one, to user's identity authentication, use system to guarantee validated user, and the 2nd, be the environment of multi-user's coordinated allocation application program operation, equalizing system load.
The transmission of catching of the reception displaying of application program operation image and user interactions input is realized by using the reception program in the mutual place of described application terminal virtual application.Described application terminal comprises common PC, notebook, intelligent terminal, portable terminal or handheld computing device, and described application terminal is without the need for powerful operation capacity, only require possess network communication, image shows, input capability.
Described application receiver module installation portion is deployed on the application terminal; The configuration of described application receiver module comprises the address (such as the IP address) of specifying the virtual application dispatch server at least, so that when the user logins, knows that log-on message with the user sends to the virtual application dispatch server and carries out user rs authentication.
Described application acquisition module installation portion is deployed on the application runtime server of Windows operating system of user application operation, and starts with the system service form; Use acquisition module at the display device of the virtual suitable size of initial phase meeting, so that the application program that will move later on outputs on this display device; In running, using capture program can dynamically shine upon and visit the users personal data of correspondence on the shared storage server according to the user who is assigned on the book server.
Beneficial effect of the present invention:
1 this method is in the process of acquisition module startup and acquisition applications, no longer distinguish based on the conversation mechanism of Windows system and use, and the division that is based on virtual display device realizes, thereby has avoided the internal memory and the CPU that are produced by session management in batch application delivery process to consume.
2 these methods based on virtual display device, realize image change incremental detection and compression processing in driving stage, thereby have improved Video processing efficient in acquisition module, strengthened the smooth effect of playing of HD video.
The startup of using in 3 these methods and session are irrelevant, and making no longer needs to carry out the system login authentication in the application start process, thereby have shortened the application start time.
Description of drawings
Fig. 1 uses mutual schematic diagram;
Fig. 2 system communication structural representation;
Fig. 3 uses the reception schematic flow sheet;
Fig. 4 uses the collecting flowchart schematic diagram;
Fig. 5 entire system configuration diagram;
Fig. 6 virtual display device mapping schematic diagram.
Embodiment
The invention will be further described below in conjunction with accompanying drawing and embodiment.
As shown in Figure 1, the applying virtual implementation method based on Windows system and network transmission mainly may further comprise the steps:
Step (1): the application acquisition module obtains application image information from the corresponding region of virtual reality equipment, and with after the packing of application image Information Compression, sends the application receiver module to by network;
Step (2): use receiver module and ask for list of application to using acquisition module; Use acquisition module and extract list of application; Use acquisition module and return list of application to using receiver module; Use receiver module and show list of application;
Step (3): the user sends the request that starts application program, and the request that the application receiver module will start application program sends to the application acquisition module, and the request of using acquisition module reception startup application program also distributes virtual demonstration resource to start application program;
Step (4): use acquisition module acquisition applications image, and return application message to using receiver module, use receiver module and show application image;
Step (5): use receiver module and receive the user interactions input, and send incoming event to using acquisition module, use acquisition module and reappear incoming event, return step (4).
As shown in Figure 2, based on the applying virtual implementation method of Windows system and network transmission, detailed step is as follows:
Step 1): application program is installed in the Windows operating system of using runtime server, and in this Windows operating system, installs and use acquisition module, start and use acquisition module; Use the virtual super large display device of acquisition module;
Step 2): on the application terminal, the application receiver module is installed, after the application receiver module starts, with the communication of application acquisition module, is asked for the list of application of having installed, and show automatically;
Use in the acquisition module, after the request that receives " the asking for list of application " of using receiver module, return list of application can for the application receiver module;
Step 3): user's needed application of selection from the list of application that the application receiver module is showed, and select to start application program, the application receiver module request of " request starts application " accordingly sends to the application acquisition module;
Step 4): after using the request of acquisition module reception " request starts application ", (as shown in Figure 6) at first in virtual display device, apply for a suitable viewing area, start application program based on this viewing area then, behind the application program launching, use acquisition module from the specific region acquisition applications program operation image of virtual display device, after the compression packing is handled " application operation information " sent to the application terminal of this application of request, the application operation information that returns simultaneously comprises that is also used an ID, and this application ID is unique using runtime server;
Step 5): use receiver module and receive " application operation information ", after the decompress(ion) reduction, create native window and show and use operation image that preserve corresponding application ID simultaneously, this moment, the user saw the operation result of application;
Step 6): user's input information, use receiver module simultaneously and can capture corresponding event, mainly be mouse event and KeyEvent, this event is communicated with application ID and sends to the application acquisition module by network;
Step 7): after the application acquisition module receives user's incoming event, based on using the viewing area that ID identification is used, coordinate based on the viewing area, mode with the Windows event is carried out playback to incoming event, act on corresponding application program, the feedback of application program shows that sending to the application receiver module with image format also shows simultaneously, thereby finishes the mutual of user and application program.
The user can open a plurality of application as required simultaneously.
As shown in Figure 3, the concrete job step of described application receiver module is as follows:
Step (1-1): start and use receiving terminal;
Step (1-2): connect the application schedules server based on configuration and obtain server info;
Step (1-3): ask for the application list with the server communication that distributes;
Step (1-4): receive the application list and displaying;
Step (1-5): judge whether to refresh application; If just return step (1-3); If not, enter step (1-6);
Step (1-6): judge whether to start and use; If enter step (1-7); If not, return step (1-5);
Step (1-7): send the startup application request, enter step (1-8);
Step (1-8): receive and use operation information and presentation program image; Stop if desired using and just enter step (1-9); If exist input just to enter step (1-10);
Step (1-9): judge whether to stop to use, if just enter step (1-11); If not, repeating step (1-5);
Step (1-10): judge whether to have input, if just enter step (1-12); If not, repeating step (1-5);
Step (1-11): notice is used capture program and is closed current application program; Finish;
Step (1-12): catch incoming event and send collection terminal; Return step (1-8).
As shown in Figure 4, the concrete job step of described application acquisition module is as follows:
Step (2-1): start and use collection terminal; Judge whether to ask for application if desired and just enter step (2-2); Judge whether if desired to start to use and just enter step (2-4);
Step (2-2): judge whether to ask for application; If just enter step (2-3); Just enter step (2-4) if not;
Step (2-3): extract local set up applications and send the application list, return step (2-2);
Step (2-4): judge whether to start and use; If just enter step (2-5); Just return step (2-2) if not;
Step (2-5): start local the application; Enter step (2-6);
Step (2-6): obtain the application operation information; Enter step (2-7);
Step (2-7): will use operation information and send to the reception program; Judge whether if desired to stop to use and just enter step (2-8); Judge whether to exist input just to enter step (2-9) if desired;
Step (2-8): judge whether to stop to use; If just enter step (2-10); Just enter step (2-4) if not;
Step (2-9): judge whether to exist input; If just enter step (2-11); Just enter step (2-4) if not;
Step (2-10): stop application program, finish;
Step (2-11): the analog input event, return step (2-6).
As shown in Figure 5, applying virtual realization system based on Windows system and network transmission, comprise the application receiver module that communicates by network and use acquisition module, described application receiver module comprises application terminal and the virtual application dispatch server of two-way communication each other, and described application acquisition module comprises the storage server of two-way communication each other and uses runtime server.
Described storage server is used for all users' of centralized stores personal data (content that exists with various disk file forms), obtains personal data from storage server in user's operational applications.
Described application runtime server is installed Windows operating system, and the application program that may use of user, and when the user need use application program, application program can be moved at this server; Described application runtime server installation and operation is simultaneously used capture program, realizes long-range the presenting of using.
The function of described virtual application dispatch server comprises two aspects, the one, to user's identity authentication, use system to guarantee validated user, and the 2nd, be the environment of multi-user's coordinated allocation application program operation, equalizing system load.
The transmission of catching of the reception displaying of application program operation image and user interactions input is realized by using the reception program in the mutual place of described application terminal virtual application.Described application terminal comprises common PC, notebook, intelligent terminal, portable terminal or handheld computing device, and described application terminal is without the need for powerful operation capacity, only require possess network communication, image shows, input capability.
Described application receiver module installation portion is deployed on the application terminal; The configuration of described application receiver module comprises the address (such as the IP address) of specifying the virtual application dispatch server at least, so that when the user logins, knows that log-on message with the user sends to the virtual application dispatch server and carries out user rs authentication.
Described application acquisition module installation portion is deployed on the application runtime server of Windows operating system of user application operation, and starts with the system service form; Use acquisition module at the display device of the virtual suitable size of initial phase meeting, so that the application program that will move later on outputs on this display device; In running, using capture program can dynamically shine upon and visit the users personal data of correspondence on the shared storage server according to the user who is assigned on the book server.
Though above-mentionedly by reference to the accompanying drawings the specific embodiment of the present invention is described; but be not limiting the scope of the invention; one of ordinary skill in the art should be understood that; on the basis of technical scheme of the present invention, those skilled in the art do not need to pay various modifications that creative work can make or distortion still in protection scope of the present invention.