Based on applying virtual implementation method and the system of the transmission of Windows System and Network
Technical field
The present invention relates to information-based applying virtual technical field, particularly relate to the applying virtual implementation method based on the transmission of Windows System and Network and system.
Background technology
Applying virtual technology is kept apart by the man-machine interaction logical AND computational logic of application program.When user's access application, the displaying of application and being present in alternately on terminal equipment, the deployment of application and run and then concentrate on data center.The benefit done like this comprises: application terminal does not store data and solves safety problem, and the low configuration requirement in application terminal reduces equipment cost, and the indifference of application terminal and the concentrated deployment of application and management reduce maintenance cost and improve maintenance efficiency.
The virtual realization of current application mainly contains technology and the product of two major companies, and one is the RDP protocol realization of Microsoft (Microsoft) company, and two is HDX (ICA) protocol realization thinking outstanding (Citrix) company.Based on the realization of RDP agreement, there is the subject matter of the following aspects at present, one is that volume of transmitted data is large, and network bandwidth requirement is high, and two is cannot normal play HD video, and three is realizations of dialogue-based mechanism, adds extra resource consumption and complexity.Based on HDX(ICA) realization of agreement, comprehensive improvement has been had in network bandwidth requirement and HD video broadcasting, but HDX (ICA) dialogue-based mechanism same with RDP realizes, consume extra internal memory and cpu resource on the one hand, its complexity limits Function Extension on the one hand.
Summary of the invention
Object of the present invention is exactly to solve the problem, applying virtual implementation method based on the transmission of Windows System and Network and system are provided, the method is by application capture program, by application information (the mainly image information operated in Windows system, also comprise audio-frequency information) gather, compress, organize bag, and send to the application reception program of far-end.Application reception program receives application information, is reduced into image and displays (audio-frequency information is exported by sound card) after decompress(ion).Meanwhile, the mutual input of people and application is caught by applying reception program, and sends to application capture program, by applying capture program by input action in application program.Present invention achieves application program operation to represent and mutual isolation with application program.
To achieve these goals, the present invention adopts following technical scheme:
Based on the applying virtual implementation method of Windows System and Network transmission, mainly comprise the following steps:
Step (1): application acquisition module obtains application image information from the corresponding region of virtual reality device, and after application image Information Compression being packed, send application receiver module to by network;
Step (2): application receiver module asks for list of application to application acquisition module; Application acquisition module extracts list of application; Application acquisition module returns list of application to application receiver module; Application receiver module shows list of application;
Step (3): user sends the request starting application program, applies receiver module and the request starting application program is sent to application acquisition module, and the reception of application acquisition module starts the request of application program and distributes virtual display resource startup application program;
Step (4): application acquisition module acquisition applications image, and return application message to application receiver module, application receiver module shows application image;
Step (5): application receiver module receives user interactions input, and send incoming event to application acquisition module, application acquisition module reappears incoming event, returns 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 arranged in the Windows operating system of application runtime server, and application acquisition module is installed in this Windows operating system, start application acquisition module; The virtual super large display device of application acquisition module;
Step 2): on application terminal, application receiver module is installed, after application receiver module starts, automatically with the communication of application acquisition module, asks for the list of application installed, and show;
In application acquisition module, when after the request of " asking for list of application " receiving application receiver module, return list of application can to application receiver module;
Step 3): the application required for user selects from the list of application that application receiver module is shown, and select to start application program, the request of corresponding " request starts application " is sent to application acquisition module by application receiver module;
Step 4): after application acquisition module receives the request of " request starts application ", first in virtual display device, apply for one piece of suitable viewing area, then application program is started based on this viewing area, after application program launching, application acquisition module is from the specific region acquisition applications program operation image of virtual display device, after compression packing process, " application operation information " is sent to the application terminal of this application of request, it is unique that the application operation information simultaneously returned also comprises application ID, this application ID on application runtime server;
Step 5): application receiver module receives " application operation information ", after decompress(ion) reduction, create native window and show application operation image, preserve corresponding application ID, now user sees the operation result of application simultaneously;
Step 6): user's input information, applies receiver module simultaneously and can capture corresponding event, mainly mouse event and KeyEvent, and this event is communicated with application ID and is sent to application acquisition module by network;
Step 7): after application acquisition module receives user's incoming event, the viewing area of application is identified based on application ID, based on the coordinate of viewing area, in the mode of Windows event, playback is carried out to incoming event, act on corresponding application program, the simultaneously feedback display of application program sends to application receiver module with image format and shows, thus completing user and application program is mutual.
User as required, can open multiple application simultaneously.
The specific works step of described application receiver module is as follows:
Step (1-1): start application receiving terminal;
Step (1-2): connect application schedules server based on configuration and obtain server info;
Step (1-3): ask for the application list with the server communication distributed;
Step (1-4): receive the application list and show;
Step (1-5): judge whether to need to refresh application; If just return step (1-3); If not, step (1-6) is entered;
Step (1-6): judge whether to start application; If so, step (1-7) is entered; If not, step (1-5) is returned;
Step (1-7): send and start application request, enter step (1-8);
Step (1-8): receive application operation information and presentation program image; If need to stop application just entering step (1-9); If there is input just enter step (1-10);
Step (1-9): judge whether to stop application, if just enter step (1-11); If not, step (1-5) is repeated;
Step (1-10): judge whether to there is input, if just enter step (1-12); If not, step (1-5) is repeated;
Step (1-11): notice application capture program closes current application program; Terminate;
Step (1-12): catch incoming event and send collection terminal; Return step (1-8).
The specific works step of described application acquisition module is as follows:
Step (2-1): start application collection terminal; If need to judge whether that asking for application just enters step (2-2); If need to judge whether that starting application just enters 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, returns step (2-2);
Step (2-4): judge whether to start application; If just enter step (2-5); Just return step (2-2) if not;
Step (2-5): start local application; Enter step (2-6);
Step (2-6): obtain application operation information; Enter step (2-7);
Step (2-7): application operation information is sent to reception program; If need to judge whether to stop application just entering step (2-8); If need to judge whether that there is input just enters step (2-9);
Step (2-8): judge whether to stop application; If just enter step (2-10); Just enter step (2-4) if not;
Step (2-9): judge whether to there is input; If just enter step (2-11); Just enter step (2-4) if not;
Step (2-10): stop application program, terminates;
Step (2-11): analog input event, returns step (2-6).
Applying virtual based on the transmission of Windows System and Network realizes system, comprise and carry out the application receiver module that communicates and application acquisition module by network, 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 storage server and the application runtime server of two-way communication each other.
Described storage server is used for concentrating the personal data (content existed with various disk file form) storing all users, obtains personal data when user operation application from storage server.
Described application runtime server installs Windows operating system, and the application program that user uses, and when user needs to use application program, application program can be run on this server; Described application runtime server is installation and operation application capture program simultaneously, realizes the long-range of application and presents.
The function of described virtual application dispatch server comprises two aspects, and one is the identity authentication to user, and to ensure that validated user uses system, two is the environment for the operation of multiple-user dispensing applications program, equalizing system load.
The mutual place of described application terminal virtual application, what realize the reception displaying of application program operation image and user interactions input by application reception program catches transmission.Described application terminal comprises common PC, notebook, intelligent terminal, mobile terminal or handheld computing device, and described application terminal, without the need for powerful operational capability, only requires to possess network communication, image shows, input capability.
Described application receiver module installation and deployment are on application terminal; The configuration of described application receiver module, at least comprises the address (such as IP address) of specifying virtual application dispatch server, so that when user logs in, knows that the log-on message of user is sent to virtual application dispatch server carries out user rs authentication.
On the application runtime server of the Windows operating system that described application acquisition module installation and deployment are run at user application, and start with system service form; Application acquisition module can the display device of a virtual suitable size at initial phase, to output on this display device by the application program run later; In running, application capture program can according to the user be assigned on book server, and dynamic mapping also access shares users personal data corresponding on storage server.
Beneficial effect of the present invention:
1 the method acquisition module start and acquisition applications process in, conversation mechanism no longer based on Windows system distinguishes application, but realize based on the division of virtual display device, thus avoid the internal memory and CPU consumption that are produced by session management in batch application delivery process.
2 the method, in acquisition module, based on virtual display device, realize image change incremental detection in driving stage and process with compression, thus improve Video processing efficiency, enhance the effect that HD video smoothness is play.
The startup of applying in 3 the method and session have nothing to do, and make no longer to need in application start process to carry out system login certification, thus shorten the application start time.
Accompanying drawing explanation
Fig. 1 applies mutual schematic diagram;
Fig. 2 system communication structural representation;
Fig. 3 application reception schematic flow sheet;
Fig. 4 application collecting flowchart schematic diagram;
Fig. 5 entire system configuration diagram;
Fig. 6 virtual display device maps schematic diagram.
Embodiment
Below in conjunction with accompanying drawing and embodiment, the invention will be further described.
As shown in Figure 1, based on the applying virtual implementation method of Windows System and Network transmission, mainly comprise the following steps:
Step (1): application acquisition module obtains application image information from the corresponding region of virtual reality device, and after application image Information Compression being packed, send application receiver module to by network;
Step (2): application receiver module asks for list of application to application acquisition module; Application acquisition module extracts list of application; Application acquisition module returns list of application to application receiver module; Application receiver module shows list of application;
Step (3): user sends the request starting application program, applies receiver module and the request starting application program is sent to application acquisition module, and the reception of application acquisition module starts the request of application program and distributes virtual display resource startup application program;
Step (4): application acquisition module acquisition applications image, and return application message to application receiver module, application receiver module shows application image;
Step (5): application receiver module receives user interactions input, and send incoming event to application acquisition module, application acquisition module reappears incoming event, returns 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 arranged in the Windows operating system of application runtime server, and application acquisition module is installed in this Windows operating system, start application acquisition module; The virtual super large display device of application acquisition module;
Step 2): on application terminal, application receiver module is installed, after application receiver module starts, automatically with the communication of application acquisition module, asks for the list of application installed, and show;
In application acquisition module, when after the request of " asking for list of application " receiving application receiver module, return list of application can to application receiver module;
Step 3): the application required for user selects from the list of application that application receiver module is shown, and select to start application program, the request of corresponding " request starts application " is sent to application acquisition module by application receiver module;
Step 4): after application acquisition module receives the request of " request starts application ", (as shown in Figure 6) first in virtual display device, apply for one piece of suitable viewing area, then application program is started based on this viewing area, after application program launching, application acquisition module is from the specific region acquisition applications program operation image of virtual display device, after compression packing process, " application operation information " is sent to the application terminal of this application of request, the application operation information simultaneously returned also comprises an application ID, this application ID is unique on application runtime server,
Step 5): application receiver module receives " application operation information ", after decompress(ion) reduction, create native window and show application operation image, preserve corresponding application ID, now user sees the operation result of application simultaneously;
Step 6): user's input information, applies receiver module simultaneously and can capture corresponding event, mainly mouse event and KeyEvent, and this event is communicated with application ID and is sent to application acquisition module by network;
Step 7): after application acquisition module receives user's incoming event, the viewing area of application is identified based on application ID, based on the coordinate of viewing area, in the mode of Windows event, playback is carried out to incoming event, act on corresponding application program, the simultaneously feedback display of application program sends to application receiver module with image format and shows, thus completing user and application program is mutual.
User as required, can open multiple application simultaneously.
As shown in Figure 3, the specific works step of described application receiver module is as follows:
Step (1-1): start application receiving terminal;
Step (1-2): connect application schedules server based on configuration and obtain server info;
Step (1-3): ask for the application list with the server communication distributed;
Step (1-4): receive the application list and show;
Step (1-5): judge whether to need to refresh application; If just return step (1-3); If not, step (1-6) is entered;
Step (1-6): judge whether to start application; If so, step (1-7) is entered; If not, step (1-5) is returned;
Step (1-7): send and start application request, enter step (1-8);
Step (1-8): receive application operation information and presentation program image; If need to stop application just entering step (1-9); If there is input just enter step (1-10);
Step (1-9): judge whether to stop application, if just enter step (1-11); If not, step (1-5) is repeated;
Step (1-10): judge whether to there is input, if just enter step (1-12); If not, step (1-5) is repeated;
Step (1-11): notice application capture program closes current application program; Terminate;
Step (1-12): catch incoming event and send collection terminal; Return step (1-8).
As shown in Figure 4, the specific works step of described application acquisition module is as follows:
Step (2-1): start application collection terminal; If need to judge whether that asking for application just enters step (2-2); If need to judge whether that starting application just enters 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, returns step (2-2);
Step (2-4): judge whether to start application; If just enter step (2-5); Just return step (2-2) if not;
Step (2-5): start local application; Enter step (2-6);
Step (2-6): obtain application operation information; Enter step (2-7);
Step (2-7): application operation information is sent to reception program; If need to judge whether to stop application just entering step (2-8); If need to judge whether that there is input just enters step (2-9);
Step (2-8): judge whether to stop application; If just enter step (2-10); Just enter step (2-4) if not;
Step (2-9): judge whether to there is input; If just enter step (2-11); Just enter step (2-4) if not;
Step (2-10): stop application program, terminates;
Step (2-11): analog input event, returns step (2-6).
As shown in Figure 5, applying virtual based on the transmission of Windows System and Network realizes system, comprise and carry out the application receiver module that communicates and application acquisition module by network, 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 storage server and the application runtime server of two-way communication each other.
Described storage server is used for concentrating the personal data (content existed with various disk file form) storing all users, obtains personal data when user operation application from storage server.
Described application runtime server installs Windows operating system, and the application program that user may use, and when user needs to use application program, application program can be run on this server; Described application runtime server is installation and operation application capture program simultaneously, realizes the long-range of application and presents.
The function of described virtual application dispatch server comprises two aspects, and one is the identity authentication to user, and to ensure that validated user uses system, two is the environment for the operation of multiple-user dispensing applications program, equalizing system load.
The mutual place of described application terminal virtual application, what realize the reception displaying of application program operation image and user interactions input by application reception program catches transmission.Described application terminal comprises common PC, notebook, intelligent terminal, mobile terminal or handheld computing device, and described application terminal, without the need for powerful operational capability, only requires to possess network communication, image shows, input capability.
Described application receiver module installation and deployment are on application terminal; The configuration of described application receiver module, at least comprises the address (such as IP address) of specifying virtual application dispatch server, so that when user logs in, knows that the log-on message of user is sent to virtual application dispatch server carries out user rs authentication.
On the application runtime server of the Windows operating system that described application acquisition module installation and deployment are run at user application, and start with system service form; Application acquisition module can the display device of a virtual suitable size at initial phase, to output on this display device by the application program run later; In running, application capture program can according to the user be assigned on book server, and dynamic mapping also access shares users personal data corresponding on storage server.
By reference to the accompanying drawings the specific embodiment of the present invention is described although above-mentioned; but 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 amendment or distortion that creative work can make still within protection scope of the present invention.