CN104869167A - Server and load balance system of desktop virtual application - Google Patents

Server and load balance system of desktop virtual application Download PDF

Info

Publication number
CN104869167A
CN104869167A CN201510288112.6A CN201510288112A CN104869167A CN 104869167 A CN104869167 A CN 104869167A CN 201510288112 A CN201510288112 A CN 201510288112A CN 104869167 A CN104869167 A CN 104869167A
Authority
CN
China
Prior art keywords
module
application program
video card
cpu usage
preset value
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.)
Granted
Application number
CN201510288112.6A
Other languages
Chinese (zh)
Other versions
CN104869167B (en
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.)
SHENZHEN YUNSHU NETWORK TECHNOLOGY Co Ltd
Original Assignee
SHENZHEN YUNSHU NETWORK TECHNOLOGY Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by SHENZHEN YUNSHU NETWORK TECHNOLOGY Co Ltd filed Critical SHENZHEN YUNSHU NETWORK TECHNOLOGY Co Ltd
Priority to CN201510288112.6A priority Critical patent/CN104869167B/en
Publication of CN104869167A publication Critical patent/CN104869167A/en
Application granted granted Critical
Publication of CN104869167B publication Critical patent/CN104869167B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

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/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1001Protocols in which an application is distributed across nodes in the network for accessing one among a plurality of replicated servers

Abstract

The invention discloses a server which comprises a first reception module, a first processing unit, a first determination module, a first calling module and a first sending module, wherein the first reception module receives an application running request sent from a client; the first processing unit obtains the CPU occupancy rate and the video card occupancy rate to run the application; the first determination module determines whether the CPU occupancy rate exceeds a first preset value or the video card occupancy rate exceeds a second preset value; the first calling module calls the application and the VOI runtime environment from a storage device when the CPU occupancy rate exceeds the first preset value or the video card occupancy rate exceeds the second preset value; and the first sending module sends the application and the VOI runtime environment to the client. The invention also discloses a load balance system of the desktop virtual application. When the server determines that application running is overload, the application is run in the VOI runtime environment by the client, the throughput and resource utilization rate of the server are improved, and the response time is reduced.

Description

The load balance system of a kind of server and desktop virtual application
Technical field
The present invention relates to areas of information technology, particularly relate to the load balance system of a kind of server and desktop virtual application.
Background technology
Existing desktop virtual technology mainly performs under following two kinds of frameworks:
The first: virtual desktop architecture (Virtual Desktop Infrastructure, VDI).Under this architecture, be not that each client runs application, but server runs application, and the desktop of client is carried out virtual.But when server performs some application programs, the overload of server, then can cause that the throughput of server is not high, the response time is long and resource utilization is low.
The second: virtual opetrating system architecture (Virtual OS Infrastructure, VOI).This framework can allow virtual system from the vectoring phase just adapter computer hardware platforms, on-line operation, on the hardware platform of the machine, no longer needs the support of underlying system.But, only support the operating system (Windows, Linux) of the PC platform of standard, as VDI framework, desktop can not be linked at any time by browser, so that the scope of application be narrow.
Summary of the invention
In view of this, be necessary in fact to provide that a kind of throughput of settlement server is not high, the response time is long, resource utilization is low and the load balance system of the server of the technical problem of narrow application range and desktop virtual application.
A kind of server comprises the first receiver module, the first processing unit, the first judge module, first transfer module and the first sending module.First receiver module, the application program sent for receiving client runs request.First processing unit, for obtaining CPU usage and the video card occupancy of executive utility.First judge module, for judge CPU usage whether more than the first preset value and video card occupancy whether more than the second preset value.First transfers module, for when CPU usage more than the first preset value or video card occupancy more than the second preset value time, from memory device, transfer application program and VOI running environment.First sending module, sends application program and VOI running environment to client, for client executive utility under VOI environment.
Preferably, the first processing unit comprises the second judge module and acquisition module.Second judge module, there is the load detecting record corresponding with application program for judging whether, load detecting record comprises CPU usage and video card occupancy.Acquisition module, for when there is load detecting record, obtains the CPU usage in load detecting record and video card occupancy.
Preferably, the first processing unit also comprises program operation module and record generation module.Program runs module, also for when there is not load detecting record, running application and obtaining CPU usage and video card occupancy.Record generation module, for generating corresponding with this application program and comprising the load detecting record of CPU usage and video card occupancy, and stores load detecting record.
Preferably, acquisition module, also for when CPU usage more than the first preset value and video card occupancy more than the second preset value time, obtain current CPU usage and video card utilization rate.First judge module, also for judge CPU usage and CPU usage sum whether more than the first preset value and video card utilization rate and video card occupancy sum whether more than the second preset value.First transfers module, also for when CPU usage and CPU usage sum more than the first preset value and video card utilization rate and video card occupancy sum more than the second preset value time, from memory device, transfer application program and VDI running environment.First processing unit, also for executive utility under VDI running environment.First sending module, also for by the data information memory in application program implementation in memory device.
Preferably, this server also comprises: compression module, is compressed data packets for compression applications program and VOI running environment.
A load balance system for desktop virtual application, it comprises server, client and memory device.Server comprises the first receiver module, the first processing unit, the first judge module, first transfer module and the first sending module.Client comprises the second sending module, the second processing unit, the second receiver module and output module.Memory device stores application program, VDI running environment and VOI running environment.Second sending module, runs request to the first receiver module for sending application program.First receiver module, runs request for receiving application program.First processing unit, for obtaining CPU usage and the video card occupancy of executive utility.First judge module, for judge CPU usage whether more than the first preset value and video card occupancy whether more than the second preset value.First transfers module, for when CPU usage more than the first preset value or video card occupancy more than the second preset value time, from memory device, transfer application program and the VOI running environment corresponding with application program.First sending module, for sending application program and VOI running environment to the second receiver module.Second receiver module, for receiving application program and VOI running environment.Second processing unit, for executive utility under VOI running environment.Second sending module, also for by the data information memory in application program implementation in memory device.Output module, for exporting the operation result of application program.
Preferably, the first processing unit comprises the second judge module and acquisition module.Second judge module, there is the load detecting record corresponding with application program for judging whether, load detecting record comprises CPU usage and video card occupancy.Acquisition module, also for when there is load detecting record, obtains the CPU usage in load detecting record and video card occupancy.
Preferably, the first processing unit also comprises program operation module and record generation module.Program runs module, also for when there is not load detecting record, running application and obtaining CPU usage and video card occupancy.Record generation module, for generating corresponding with this application program and comprising the load detecting record of CPU usage and video card occupancy, and stores load detecting record.
Preferably, acquisition module, also for when CPU usage more than the first preset value and video card occupancy more than the second preset value time, obtain current CPU usage and video card utilization rate.First judge module, also for judge CPU usage and CPU usage sum whether more than the first preset value and video card utilization rate and video card occupancy sum whether more than the second preset value.First transfers module, also for when CPU usage and CPU usage sum more than the first preset value and described video card utilization rate and described video card occupancy sum do not exceed described second preset value time, from memory device, transfer application program and VDI running environment.First processing unit, also for executive utility under VDI running environment.First sending module, also for by the data information memory in application program implementation in memory device, output module, also for exporting the operation result of application program.
Preferably, server also comprises compression module, and client also comprises decompression module.Compression module, obtains compressed data packets for application program and VOI running environment are carried out compression.First sending module, for being sent to the second receiver module by compressed data packets.Second receiver module, for receiving compressed data bag.Decompression module, to be applied program and VOI running environment for compressed data packets being carried out decompress(ion).
When the load of server Predicated execution application program is overweight, performs in VOI running environment application program to alternately client, improve throughput and the resource utilization of server, and reduce the response time.
Accompanying drawing explanation
Fig. 1 is a kind of high-level schematic functional block diagram of load balance system of desktop virtual application of execution mode.
Fig. 2 is the high-level schematic functional block diagram of the load balance system of the desktop virtual application of another kind of execution mode.
Fig. 3 is the high-level schematic functional block diagram of server in Fig. 1.
Fig. 4 is the high-level schematic functional block diagram of server in Fig. 2.
Fig. 5 is a kind of flow chart of balancing method of loads of desktop virtual application of execution mode.
Fig. 6 is the flow chart of the balancing method of loads of the desktop virtual application of another kind of execution mode.
Embodiment
In order to make object of the present invention, technical scheme and advantage clearly understand, below in conjunction with drawings and Examples, the present invention is further elaborated.Should be appreciated that specific embodiment described herein only in order to explain the present invention, be not used for limiting the present invention.
As shown in Figure 1, it is a kind of high-level schematic functional block diagram of load balance system of desktop virtual application of execution mode.The load balance system of this desktop virtual application comprises server 10, client 20 and memory device 30.Server 10 comprises the first receiver module 101, first processing unit 102, first judge module 103, first and transfers module 104, compression module 105 and the first sending module 106.Client 20 comprises the second sending module 201, second processing unit 202, decompression module 203, output module 204 and the second receiver module 205.Memory device 30 stores the data message produced in the whole process of application program, VDI running environment, VOI running environment and executive utility.
Running environment (English: Runtime environment, also known as " run-time system ", run-timesystem), refer to a kind of environment that semicompiled operation code is run on the target machine.
VDI running environment refers to a kind of code sequence, and this code sequence runs at server and then forms VDI running environment.Application program performs after both can being carried out compiling and interpreting by the code sequence of VDI running environment, also directly can perform under VDI running environment.
VOI running environment is also a kind of code sequence, and this code sequence runs in client and then forms VOI running environment.Application program performs after both can being carried out compiling and interpreting by the code sequence of VOI running environment, also directly can perform in VOI running environment.
Second sending module 201, runs request to the first receiver module 101 for sending application program.First receiver module 101, runs request for receiving application program.First processing unit 102, for obtaining CPU usage and the video card occupancy of executive utility.First judge module 103, for judge CPU usage whether more than the first preset value and video card occupancy whether more than the second preset value.First transfers module 104, for when CPU usage more than the first preset value or video card occupancy more than the second preset value time, from memory device 30, transfer application program and VOI running environment.First sending module 106, for sending application program and VOI running environment to the second receiver module 205.Second receiver module 205, for receiving application program and VOI running environment.Second processing unit 202, for performing described application program under VOI running environment.Second sending module 201, also for by the data information memory in application program implementation in memory device 30.Output module 204, for exporting the operation result of application program.
First processing unit 102 comprises the second judge module 1021, acquisition module 1022, program operation module 1023 and record generation module 1024.Second judge module 1021, there is the load detecting record corresponding with application program for judging whether, load detecting record comprises CPU usage and video card occupancy.Acquisition module 1022, also for when there is load detecting record, obtains the CPU usage in load detecting record and video card occupancy.Program runs module 1023, also for when there is not load detecting record, running application and obtaining CPU usage and video card occupancy; Record generation module 1024, for generating corresponding with this application program and comprising the load detecting record of CPU usage and video card occupancy, and stores load detecting record.
Acquisition module 1022, also for when CPU usage more than the first preset value and video card occupancy more than the second preset value time, obtain current CPU usage and video card utilization rate.First judge module 103, also for judge CPU usage and CPU usage sum whether more than the first preset value and video card utilization rate and video card occupancy sum whether more than the second preset value.First transfers module 104, also for when CPU usage and CPU usage sum more than the first preset value and video card utilization rate and video card occupancy sum more than the second preset value time, from memory device 30, transfer application program and VDI running environment.First processing unit 102, also for performing described application program under VDI running environment; First sending module 106, also for by the data information memory in application program implementation in memory device 30, output module 204, also for exporting the operation result of application program.
First transfers module 104, also for when CPU usage and CPU usage sum more than the first preset value or video card utilization rate and video card occupancy sum more than the second preset value time, from memory device 30, transfer application program and VOI running environment.First sending module 106, for sending application program and VOI running environment to the second receiver module 205.Second receiver module 205, for receiving application program and VOI running environment.Second processing unit 202, for performing described application program under VOI running environment.Second sending module 201, also for by the data information memory in application program implementation in memory device 30.Output module 204, for exporting the operation result of application program.
Server 10 also comprises compression module 105, and client 20 also comprises decompression module 203; Compression module 105, obtains compressed data packets for application program and VOI running environment are carried out compression; First sending module 106, for being sent to the second receiver module 205 by compressed data packets; Second receiver module 205, for receiving compressed data bag; Decompression module 203, to be applied program and VOI running environment for compressed data packets being carried out decompress(ion).
As shown in Figure 2, it is the high-level schematic functional block diagram of the load balance system of the desktop virtual application of another kind of execution mode.The load balance system of this desktop virtual application, it comprises server 10, client 20.Server 10 comprises the first receiver module 101, first processing unit 102, first judge module 103, first and transfers module 104, memory module 105, compression module 106 and the first sending module 107.The data message produced in the whole process of application program, VDI running environment and VOI running environment and executive utility is stored in memory module 105.Client 20 comprises the second sending module 201, second processing unit 202, decompression module 203, output module 204 and the second receiver module 205.
Second sending module 201, runs request to the first receiver module 101 for sending application program.First receiver module 101, runs request for receiving application program.First processing unit 102, for obtaining CPU usage and the video card occupancy of executive utility.First judge module 103, for judge CPU usage whether more than the first preset value and video card occupancy whether more than the second preset value.First transfers module 104, for when CPU usage more than the first preset value or video card occupancy more than the second preset value time, from memory module 105, transfer application program and the VOI running environment corresponding with application program.First sending module 107, for sending application program and VOI running environment to the second receiver module 205.Second receiver module 205, for receiving application program and VOI running environment.Second processing unit 202, for executive utility under VOI running environment.Second sending module 201, also for by the data information memory in application program implementation in memory module 105.Output module 204, for exporting the operation result of application program.
First processing unit 102 comprises the second judge module 1021, acquisition module 1022, program operation module 1023 and record generation module 1024.Second judge module 1021, there is the load detecting record corresponding with application program for judging whether, load detecting record comprises CPU usage and video card occupancy.Acquisition module 1022, also for when there is load detecting record, obtains the CPU usage in load detecting record and video card occupancy.Program runs module 1023, also for when there is not load detecting record, running application and obtaining CPU usage and video card occupancy.Record generation module 1024, for generating corresponding with this application program and comprising the load detecting record of CPU usage and video card occupancy, and stores load detecting record.
Acquisition module 1022, also for when CPU usage more than the first preset value and video card occupancy more than the second preset value time, obtain current CPU usage and video card utilization rate.First judge module 103, also for judge CPU usage and CPU usage sum whether more than the first preset value and video card utilization rate and video card occupancy sum whether more than the second preset value.First transfers module 104, also for when CPU usage and CPU usage sum more than the first preset value and video card utilization rate and video card occupancy sum more than the second preset value time, from memory module 105, transfer application program and VDI running environment.First processing unit 102, also for executive utility under VDI running environment, and by the data information memory in application program implementation in memory module 105.Output module 204, also for exporting the operation result of application program.
First transfers module 104, also for when CPU usage and CPU usage sum more than the first preset value or video card utilization rate and video card occupancy sum more than the second preset value time, from memory module 105, transfer application program and the VOI running environment corresponding with application program.First sending module 107, for sending application program and VOI running environment to the second receiver module 205.Second receiver module 205, for receiving application program and VOI running environment.Second processing unit 202, for executive utility under VOI running environment.Second sending module 201, also for by the data information memory in application program implementation in memory module 105.Output module 204, for exporting the operation result of application program.
Server 10 also comprises compression module 106, and client 20 also comprises decompression module 203.Compression module 106, obtains compressed data packets for application program and VOI running environment are carried out compression.First sending module 107, for being sent to the second receiver module 205 by compressed data packets.Second receiver module 205, for receiving compressed data bag.Decompression module 203, to be applied program and VOI running environment for compressed data packets being carried out decompress(ion).
As shown in Figure 3, it is a kind of high-level schematic functional block diagram of server of execution mode.This server 10 comprises the first receiver module 101, first processing unit 102, first judge module 103, first and transfers module 104, compression module 105 and the first sending module 106.First receiver module 101, the application program sent for receiving client runs request.First processing unit 102, for obtaining CPU usage and the video card occupancy of executive utility.First judge module 103, for judge CPU usage whether more than the first preset value and video card occupancy whether more than the second preset value.First transfers module 104, for when CPU usage more than the first preset value or video card occupancy more than the second preset value time, from memory device, transfer application program and VOI running environment.First sending module 106, sends application program and VOI running environment to client, for client executive utility under VOI running environment.
First processing unit 102 comprises the second judge module 1021, acquisition module 1022, program operation module 1023 and record generation module 1024.Second judge module 1021, there is the load detecting record corresponding with application program for judging whether, load detecting record comprises CPU usage and video card occupancy.Acquisition module 1022, for when there is load detecting record, obtains the CPU usage in load detecting record and video card occupancy.Program runs module 1023, also for when there is not load detecting record, running application and obtaining CPU usage and video card occupancy.Record generation module 1024, for generating corresponding with this application program and comprising the load detecting record of CPU usage and video card occupancy, and stores load detecting record.
Acquisition module 1022, also for when CPU usage more than the first preset value and video card occupancy more than the second preset value time, obtain current CPU usage and video card utilization rate.First judge module 103, also for judge CPU usage and CPU usage sum whether more than the first preset value and video card utilization rate and video card occupancy sum whether more than the second preset value.First transfers module 104, also for when CPU usage and CPU usage sum more than the first preset value and video card utilization rate and video card occupancy sum more than the second preset value time, from memory device, transfer application program and VDI running environment.First processing unit 102, also for executive utility under VDI running environment.First sending module 106, also for by the data information memory in application program implementation in memory device.
First transfers module 104, also for when CPU usage and CPU usage sum more than the first preset value or video card utilization rate and video card occupancy sum more than the second preset value time, from memory device, transfer application program and VOI running environment.First sending module 106, sends application program and VOI running environment to client, for client executive utility under VOI running environment.
Compression module 105 is compressed data packets for compression applications program and VOI running environment.
As shown in Figure 4, it is the high-level schematic functional block diagram of the server of another kind of execution mode.This server 10 comprises the first receiver module 101, first processing unit 102, first judge module 103, first and transfers module 104, memory module 105, compression module 106 and the first sending module 107.Memory module 105 stores the data message produced in the whole process of application program, VDI running environment, VOI running environment and executive utility.
First receiver module 101, the application program sent for receiving client runs request.First processing unit 102, for obtaining CPU usage and the video card occupancy of executive utility.First judge module 103, for judge CPU usage whether more than the first preset value and video card occupancy whether more than the second preset value.First transfers module 104, for when CPU usage more than the first preset value or video card occupancy more than the second preset value time, from memory module 105, transfer application program and VOI running environment.First sending module 107, sends application program and VOI running environment to client, for client executive utility under VOI running environment.
First processing unit 102 comprises the second judge module 1021, acquisition module 1022, program operation module 1023 and record generation module 1024.Second judge module 1021, there is the load detecting record corresponding with application program for judging whether, load detecting record comprises CPU usage and video card occupancy.Acquisition module 1022, for when there is load detecting record, obtains the CPU usage in load detecting record and video card occupancy.Program runs module 1023, also for when there is not load detecting record, running application and obtaining CPU usage and video card occupancy.Record generation module 1024, for generating corresponding with this application program and comprising the load detecting record of CPU usage and video card occupancy, and stores load detecting record.
Acquisition module 1022, also for when CPU usage more than the first preset value and video card occupancy more than the second preset value time, obtain current CPU usage and video card utilization rate.First judge module 103, also for judge CPU usage and CPU usage sum whether more than the first preset value and video card utilization rate and video card occupancy sum whether more than the second preset value.First transfers module 104, also for when CPU usage and CPU usage sum more than the first preset value and video card utilization rate and video card occupancy sum more than the second preset value time, from memory module 105, transfer application program and VDI running environment.First processing unit 102, also for executive utility under VDI running environment.First sending module 107, also for by the data information memory in application program implementation in memory module 105.
First transfers module 104, also for when CPU usage and CPU usage sum more than the first preset value or video card utilization rate and video card occupancy sum more than the second preset value time, from memory module 105, transfer application program and VOI running environment.First sending module 107, sends application program and VOI running environment to client, for client executive utility under VOI running environment.
Compression module 106 is compressed data packets for compression applications program and VOI running environment.
As shown in Figure 5, it is a kind of flow chart of balancing method of loads of desktop virtual application of execution mode.The balancing method of loads of this desktop virtual application comprises the steps:
Step S1, client sends application program and runs request to server.
Step S2, after server receives application program operation request, determine whether to there is the load detecting record corresponding with application program, load detecting record comprises CPU usage and video card occupancy.
Step S3, when there is load detecting record, server obtains CPU usage and video card occupancy according to load detecting record.
Step S4, server judge CPU usage whether more than the first preset value and video card occupancy whether more than the second preset value.
Step S5, when server judge CPU usage more than the first preset value or video card occupancy more than the second preset value time, server transfers application program and VOI running environment from memory device, and is compressed data packets by application program and VOI running environment, sends compressed data packets to client.
Step S6, this compressed data packets of client decompress(ion) is applied program and VOI running environment, executive utility under VOI running environment.
Step S7, application program is performed the data message that produces in whole process through server stores in memory device by client, and exports the operation result of application program.
Step S8, when server judges there is not load detecting record, runs application and obtains CPU usage and video card occupancy.
Step S9, server generates corresponding with this application program and comprises the load detecting record of CPU usage and video card occupancy, and is stored by load detecting record.
Step S10, when server judge CPU usage more than the first preset value and video card occupancy more than the second preset value time, server obtains current CPU usage and video card utilization rate.
Step S11, server judge CPU usage and CPU usage sum whether more than the first preset value and video card utilization rate and video card occupancy sum whether more than the second preset value.
Step S12, when CPU usage and CPU usage sum more than the first preset value or video card utilization rate and video card occupancy sum more than the second preset value, go to step S5, when CPU usage and CPU usage sum more than the first preset value and video card utilization rate and video card occupancy sum more than the second preset value time, server transfers application program and VDI running environment from memory device, executive utility under VDI running environment.
Step S13, the operation result of application program in memory device, and is exported the data information memory that produces in application program implementation to client by server.
As shown in Figure 6, it is the flow chart of the balancing method of loads of the desktop virtual application of another kind of execution mode.The balancing method of loads of this desktop virtual application comprises the steps:
Step S1, client sends application program and runs request to server.
Step S2, after server receives application program operation request, determine whether to there is the load detecting record corresponding with application program, load detecting record comprises CPU usage and video card occupancy.
Step S3, when there is load detecting record, server obtains CPU usage and video card occupancy according to load detecting record.
Step S4, server judge CPU usage whether more than the first preset value and video card occupancy whether more than the second preset value.
Step S5, when server judge CPU usage more than the first preset value or video card occupancy more than the second preset value time, server transfers out application program and VOI running environment, and is compressed data packets by application program and VOI running environment, sends compressed data packets to client.
Step S6, this compressed data packets of client decompress(ion) is applied program and VOI running environment, executive utility under VOI running environment.
Step S7, application program is performed the data message produced in whole process and is sent to server and stores by client, and exports the operation result of application program.
Step S8, when server judges there is not load detecting record, runs application and obtains CPU usage and video card occupancy.
Step S9, server generates corresponding with this application program and comprises the load detecting record of CPU usage and video card occupancy, and is stored by load detecting record.
Step S10, when server judge CPU usage more than the first preset value and video card occupancy more than the second preset value time, server obtains current CPU usage and video card utilization rate.
Step S11, server judge CPU usage and CPU usage sum whether more than the first preset value and video card utilization rate and video card occupancy sum whether more than the second preset value.
Step S12, when CPU usage and CPU usage sum more than the first preset value or video card utilization rate and video card occupancy sum more than the second preset value, go to step S5, when CPU usage and CPU usage sum more than the first preset value and video card utilization rate and video card occupancy sum more than the second preset value time, server transfers out application program and VDI running environment, executive utility under VDI running environment.
Step S13, the data message produced in application program implementation stores by server, and exports the operation result of application program to client.
Detect directx (Direct eXtension, be called for short DX, the Multimedia Programming interface created by Microsoft) input/output frequency of the data of interface and OpenGL (Open Graphics Library is across the graphic package interface of the specialty of programming language, cross-platform DLL (dynamic link library) specification) interface is higher than preset value, then video card occupancy is high, if detect the input/output frequency of the data of directx interface and OpenGL interface lower than preset value, then video card occupancy is low.
By bus of arithmetic unit, cache memory, state and control etc. to the total value taken of CPU higher than preset value time, CPU usage is high, otherwise CPU usage is low.
First, the CPU usage of server Predicated execution application program of the present invention or video card occupancy too high time, application program and VOI running environment are sent to client by server, for client Complied executing application program under VOI running environment.Therefore, server need not perform this application program, the throughput that this improves server, the response time reducing server and improve the resource utilization of server.In addition, due to client Complied executing application program under VOI running environment, therefore, client runs application on a hardware platform, so that slave driver, application program all do not exist remote port mapping relations to various equipment, but direct inner location.Therefore, the execution efficiency of the application program of client is also improved.
Secondly, the CPU usage of server Predicated execution application program of the present invention or video card occupancy not high time, server is Complied executing application program under VDI environment, therefore, client can be linked into desktop at any time by browser, therefore, has widened the scope of application of the present invention.
Again, the present invention performs the load behaviour in service information of each application program by record, and generates load detecting record according to this load behaviour in service information.When to receive application program each time and run request, determine it is perform this application program or in this application program of client executing at server according to load detecting record fast.Create a further reduction the response time of server.
Again, the present invention both by the data information memory in application program, VDI running environment, VOI running environment and application program implementation in the memory module of server, also can adopt the data message in independent memory device storage application program, VDI running environment, VOI running environment and application program implementation.User can determine to adopt which kind of mode according to the size of memory capacity.
Finally, the present invention the CPU usage of Predicated execution application program or video card occupancy too high time, first application program and VOI running environment are carried out compression process.Decrease the amount of transfer of data, decrease the time of transfer of data.
Be described in detail the embodiment of invention above, but it is as example, the present invention does not limit and embodiment described above.For a person skilled in the art, any equivalent modifications or alternative also all among category of the present invention that this invention is carried out, therefore, not departing from the equalization conversion and amendment, improvement etc. done under the spirit and principles in the present invention scope, all should contain within the scope of the invention.

Claims (10)

1. a server, is characterized in that, it comprises:
First receiver module, the application program sent for receiving client runs request;
First processing unit, for obtaining the CPU usage and video card occupancy that perform described application program;
First judge module, for judge described CPU usage whether more than the first preset value and described video card occupancy whether more than the second preset value;
First transfers module, for when described CPU usage more than the first preset value or described video card occupancy more than the second preset value time, from memory device, transfer described application program and VOI running environment; And
First sending module, sends described application program and described VOI running environment extremely described client, performs described application program for described client under described VOI running environment.
2. server according to claim 1, is characterized in that, described first processing unit comprises:
Second judge module, there is the load detecting record corresponding with described application program for judging whether, described load detecting record comprises CPU usage and video card occupancy; And
Acquisition module, for when there is described load detecting record, obtains the described CPU usage in described load detecting record and described video card occupancy.
3. server according to claim 2, is characterized in that, described first processing unit also comprises:
Program runs module, also for when there is not described load detecting record, running described application program and obtaining described CPU usage and described video card occupancy; And
Record generation module, for generating corresponding with this application program and comprising the load detecting record of described CPU usage and described video card occupancy, and stores described load detecting record.
4. server according to claim 1 and 2, is characterized in that,
Described acquisition module, also for when described CPU usage more than the first preset value and described video card occupancy more than the second preset value time, obtain current CPU usage and video card utilization rate;
Described first judge module, also for judging whether described CPU usage and described CPU usage sum exceed described first preset value and whether described video card utilization rate and described video card occupancy sum exceed described second preset value;
Described first transfers module, also for do not exceed described first preset value when described CPU usage and described CPU usage sum and described video card utilization rate and described video card occupancy sum do not exceed described second preset value time, from memory device, transfer described application program and VDI running environment;
Described first processing unit, also for performing described application program under described VDI running environment;
Described first sending module, also for by the data information memory in described application program implementation in described memory device.
5. server according to claim 1, is characterized in that, it also comprises: compression module, for compressing described application program and described VOI running environment is compressed data packets.
6. the load balance system of a desktop virtual application, it is characterized in that, it comprises server, client and memory device, described server comprises the first receiver module, the first processing unit, the first judge module, first transfer module and the first sending module, and described client comprises the second sending module, the second processing unit, the second receiver module and output module; Described memory device stores application program, VDI running environment and VOI running environment, described second sending module, runs request to the first receiver module for sending application program; Described first receiver module, runs request for receiving described application program; Described first processing unit, for obtaining the CPU usage and video card occupancy that perform described application program; Described first judge module, for judge described CPU usage whether more than the first preset value and described video card occupancy whether more than the second preset value; Described first transfers module, for when described CPU usage more than the first preset value or described video card occupancy more than the second preset value time, transfer from memory device described application program and and described VOI running environment; Described first sending module, for sending described application program and described VOI running environment to the second receiver module; Described second receiver module, for receiving described application program and described VOI running environment; Described second processing unit, for performing described application program under described VOI running environment; Described second sending module, also for by the data information memory in described application program implementation in described memory device; Described output module, for exporting the operation result of described application program.
7. the load balance system of desktop virtual application according to claim 6, it is characterized in that, described first processing unit comprises the second judge module and acquisition module, described second judge module, there is the load detecting record corresponding with described application program for judging whether, described load detecting record comprises CPU usage and video card occupancy; Described acquisition module, also for when there is described load detecting record, obtains the described CPU usage in described load detecting record and described video card occupancy.
8. the load balance system of desktop virtual application according to claim 7, it is characterized in that, described first processing unit also comprises program and runs module and record generation module, described program runs module, also for when there is not described load detecting record, running described application program and obtaining described CPU usage and described video card occupancy; Described record generation module, for generating corresponding with this application program and comprising the load detecting record of described CPU usage and described video card occupancy, and stores described load detecting record.
9. the load balance system of the desktop virtual application according to claim 6 or 7, it is characterized in that, described acquisition module, also for when described CPU usage more than the first preset value and described video card occupancy more than the second preset value time, obtain current CPU usage and video card utilization rate; Described first judge module, also for judging whether described CPU usage and described CPU usage sum exceed described first preset value and whether described video card utilization rate and described video card occupancy sum exceed described second preset value; Described first transfers module, also for do not exceed described first preset value when described CPU usage and described CPU usage sum and described video card utilization rate and described video card occupancy sum do not exceed described second preset value time, from memory device, transfer described application program and VDI running environment; Described first processing unit, also for performing described application program under described VDI running environment; Described first sending module, also for by the data information memory in described application program implementation in described memory device, described output module, also for exporting the operation result of described application program.
10. the load balance system of desktop virtual application according to claim 6, is characterized in that, described server also comprises compression module, and described client also comprises decompression module; Described compression module, obtains compressed data packets for described application program and described VOI running environment are carried out compression; Described first sending module, for being sent to the second receiver module by described compressed data packets; Described second receiver module, for receiving described compressed data packets; Described decompression module, obtains described application program and described VOI running environment for described compressed data packets being carried out decompress(ion).
CN201510288112.6A 2015-05-29 2015-05-29 A kind of load balance system of server and desktop virtual application Expired - Fee Related CN104869167B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510288112.6A CN104869167B (en) 2015-05-29 2015-05-29 A kind of load balance system of server and desktop virtual application

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510288112.6A CN104869167B (en) 2015-05-29 2015-05-29 A kind of load balance system of server and desktop virtual application

Publications (2)

Publication Number Publication Date
CN104869167A true CN104869167A (en) 2015-08-26
CN104869167B CN104869167B (en) 2018-02-23

Family

ID=53914684

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510288112.6A Expired - Fee Related CN104869167B (en) 2015-05-29 2015-05-29 A kind of load balance system of server and desktop virtual application

Country Status (1)

Country Link
CN (1) CN104869167B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109040150A (en) * 2017-06-08 2018-12-18 中国电信股份有限公司 Cloud desktop services method, client platform and system
CN109240768A (en) * 2018-09-18 2019-01-18 广东微云科技股份有限公司 The operation method and system of virtual machine under a kind of mixed computing model
CN109656714A (en) * 2018-12-04 2019-04-19 成都雨云科技有限公司 A kind of GPU resource dispatching method virtualizing video card

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103593227A (en) * 2013-11-08 2014-02-19 何钦淋 Method for running tabletop virtual system on client side and client side
CN103677962A (en) * 2013-12-20 2014-03-26 上海电机学院 System and method for achieving desktop delivery device based on virtualization technology
US20140282512A1 (en) * 2013-03-14 2014-09-18 David Pacheco Zone management of compute-centric object stores
US20150089510A1 (en) * 2013-09-24 2015-03-26 Kabushiki Kaisha Toshiba Device, system, apparatus, method and program product for scheduling
CN104601568A (en) * 2015-01-13 2015-05-06 深圳市深信服电子科技有限公司 Virtual security isolation method and device
CN104618473A (en) * 2015-01-26 2015-05-13 上海视聪网络信息技术有限公司 Virtual machine desktop display method and device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140282512A1 (en) * 2013-03-14 2014-09-18 David Pacheco Zone management of compute-centric object stores
US20150089510A1 (en) * 2013-09-24 2015-03-26 Kabushiki Kaisha Toshiba Device, system, apparatus, method and program product for scheduling
CN103593227A (en) * 2013-11-08 2014-02-19 何钦淋 Method for running tabletop virtual system on client side and client side
CN103677962A (en) * 2013-12-20 2014-03-26 上海电机学院 System and method for achieving desktop delivery device based on virtualization technology
CN104601568A (en) * 2015-01-13 2015-05-06 深圳市深信服电子科技有限公司 Virtual security isolation method and device
CN104618473A (en) * 2015-01-26 2015-05-13 上海视聪网络信息技术有限公司 Virtual machine desktop display method and device

Non-Patent Citations (4)

* Cited by examiner, † Cited by third party
Title
何钦淋: "基于VOI的桌面虚拟化研究", 《信息安全与通信保密》 *
徐快: "桌面虚拟化模式在桌面计算中的应用", 《宁德师范学院学报(自然科学版)》 *
胡观兵: "混合型桌面云服务端的设计与实现", 《中国优秀硕士学位论文全文数据库》 *
马文杰: "桌面虚拟化技术在高校数字化校园中的研究与应用", 《凯里学院学报》 *

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109040150A (en) * 2017-06-08 2018-12-18 中国电信股份有限公司 Cloud desktop services method, client platform and system
CN109240768A (en) * 2018-09-18 2019-01-18 广东微云科技股份有限公司 The operation method and system of virtual machine under a kind of mixed computing model
CN109656714A (en) * 2018-12-04 2019-04-19 成都雨云科技有限公司 A kind of GPU resource dispatching method virtualizing video card

Also Published As

Publication number Publication date
CN104869167B (en) 2018-02-23

Similar Documents

Publication Publication Date Title
US9219779B1 (en) Cloud-based server computing system for and method of providing cross-platform remote access to 3D graphics applications
US20140189708A1 (en) Terminal and method for executing application in same
US20140089910A1 (en) Dynamically building locale objects or subsections of locale objects based on historical data
CN113050940A (en) Method for previewing small program, related device and computer program product
CN104869168A (en) Load balance method of desktop virtual application
US8984542B2 (en) Method and system for binding objects in dynamic programming languages using caching techniques
WO2020248383A1 (en) Cross-platform-based data processing method and apparatus, and computer device
WO2014200511A1 (en) Unified extensible firmware interface (uefi) driver and protocol
US9437032B1 (en) Server computing system for and method of providing cross-platform remote access to 3D graphics applications
CN111427579A (en) Plug-in, application program implementing method and system, computer system and storage medium
CN110795181A (en) Application program interface display method and device based on skip protocol and electronic equipment
CN113010827A (en) Page rendering method and device, electronic equipment and storage medium
US20140344447A1 (en) Method and apparatus for executing application
CN104869167A (en) Server and load balance system of desktop virtual application
CN113590403A (en) Pressure testing method, device, system, electronic equipment, storage medium and product
CN109829546B (en) Platform as-a-service cloud server and machine learning data processing method thereof
CN111026439A (en) Application program compatibility method, device, equipment and computer storage medium
US8745173B1 (en) Client computing system for and method of receiving cross-platform remote access to 3D graphics applications
CN112835615B (en) Plug-in processing method and device for software development kit and electronic equipment
CN113138768B (en) Application package generation method and device, electronic equipment and readable storage medium
CN108599774B (en) Compression method, system, device and computer readable storage medium
CN112132271A (en) Neural network accelerator operation method, architecture and related device
CN115033301A (en) Equipment access method, device, equipment and storage medium of edge computing host
CN114064176A (en) View interaction method and device, electronic equipment and computer readable medium
CN114253671A (en) GPU pooling method of Android container

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
EXSB Decision made by sipo to initiate substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
PE01 Entry into force of the registration of the contract for pledge of patent right

Denomination of invention: Server and load balance system of desktop virtual application

Effective date of registration: 20180829

Granted publication date: 20180223

Pledgee: He Chunzhe

Pledgor: Shenzhen Yunshu Network Technology Co., Ltd.

Registration number: 2018980000150

PE01 Entry into force of the registration of the contract for pledge of patent right
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20180223

Termination date: 20190529

CF01 Termination of patent right due to non-payment of annual fee