CN104144212B - A kind of virtual desktop image transfer method, apparatus and system - Google Patents

A kind of virtual desktop image transfer method, apparatus and system Download PDF

Info

Publication number
CN104144212B
CN104144212B CN201410337916.6A CN201410337916A CN104144212B CN 104144212 B CN104144212 B CN 104144212B CN 201410337916 A CN201410337916 A CN 201410337916A CN 104144212 B CN104144212 B CN 104144212B
Authority
CN
China
Prior art keywords
order
intensive
bitmap
total
terminal
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.)
Active
Application number
CN201410337916.6A
Other languages
Chinese (zh)
Other versions
CN104144212A (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.)
Ruijie Networks Co Ltd
Original Assignee
Fujian Star Net Communication 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 Fujian Star Net Communication Co Ltd filed Critical Fujian Star Net Communication Co Ltd
Priority to CN201410337916.6A priority Critical patent/CN104144212B/en
Publication of CN104144212A publication Critical patent/CN104144212A/en
Application granted granted Critical
Publication of CN104144212B publication Critical patent/CN104144212B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention discloses a kind of virtual desktop image transfer method, apparatus and system, including:When detecting the intensive drawing for order of operation generation virtual desktop of virtual opetrating system, server reads the multiple intensive drawing for orders stored in buffer module according to predetermined period and carries out dissection process respectively, obtains drawing area corresponding to each intensive drawing for order difference;Drawing area corresponding to each intensive drawing for order difference is merged, obtains total drawing area corresponding to multiple intensive drawing for orders;According to the sequencing for generating each intensive drawing for order, mapping operation is carried out in total drawing area using each intensive drawing for order, generates total bitmap;Drawing for order corresponding to total bitmap is sent to terminal, the drawing for order according to corresponding to total bitmap is drawn virtual desktop image and shown for prompt terminal.Using scheme provided in an embodiment of the present invention, reduce the quantity for sending drawing for order, save network bandwidth, improve the plotting speed of terminal, reduce drawing delay.

Description

A kind of virtual desktop image transfer method, apparatus and system
Technical field
The present invention relates to the communications field, more particularly to a kind of virtual desktop image transfer method, apparatus and system.
Background technology
Server in network can establish multiple virtual machines, and corresponding operation system can be fictionalized for each virtual machine Unite desktop, show on the display device for the terminal that the operating system desktop can be connected with server in a network, and Terminal can complete various tasks, but the operating system that actually terminal uses by the operating system desktop that server virtual goes out Do not run in terminal local, but run on server end.How the operating system desktop image fictionalized is transferred to end End, and it is the key using virtual opetrating system to carry out display in terminal.
The existing mode to virtual desktop image transmitting mainly has following two ways:
First way:Virtual desktop transmission means based on SPICE protocol, the VME operating system of server according to The concrete operations generation drawing for order of operating system, the operating system desktop of virtual machine can be drawn out according to the drawing for order, And the drawing for order is sent to terminal, terminal is drawn according to the content of drawing for order, obtained after drawing for order is received To operating system desktop image and show.Because in some applications, an operation may bear thousands of drawing for orders, Server will send substantial amounts of drawing for order to terminal, occupy substantial amounts of network bandwidth, terminal needs to handle thousands of fingers Plot Work is completed in order, and terminal consumes substantial amounts of resource.And just sent out after the reply message that server needs to wait terminal to return Send drawing for order so that the processing speed of server declines, and ultimately results in terminal drawing delay, influences Consumer's Experience.
The second way:Virtual desktop based on Virtual network computer (VNC, Virtual Network Computer) Transmission means, the region of variation of two virtual desktop bitmaps of the front and rear generation of server contrast, that is, contrast two virtual desktop positions The difference of the pixel value of figure same position pixel, the bitmap of region of variation is sent to terminal.Terminal is according to the variation zone of reception The bitmap in domain draws operating system desktop.Because server needs the whole Zhang Weitu of contrast operation's system desktop to calculate difference section Domain, bigger computing cost be present.And some operations may update a sheet of region, therefore it is sent to the bitmap of terminal Can be very big, take substantial amounts of network bandwidth.
The content of the invention
The embodiment of the present invention provides a kind of virtual desktop image transfer method, apparatus and system, to solve prior art Present in when the operation of virtual opetrating system generates intensive drawing for order, transmit intensive drawing for order and consume a large amount of Netowrk tapes Wide and the problem of being delayed of drawing.
The embodiment of the present invention provides a kind of virtual desktop image transfer method, including:
When detecting the intensive drawing for order of operation generation virtual desktop of virtual opetrating system, server is according to default Cycle reads the multiple intensive drawing for orders stored in buffer module and carries out dissection process respectively, obtains each intensive drawing for order Drawing area corresponding to respectively;
By each intensive drawing for order, corresponding drawing area merges respectively, obtains the multiple intensive drawing and refers to Total drawing area corresponding to order;
According to the sequencing for generating each intensive drawing for order, using each intensive drawing for order in total Drawing zone Mapping operation is carried out in domain, generates total bitmap;
Drawing for order corresponding to total bitmap is sent to terminal, for prompt terminal according to corresponding to total bitmap Drawing for order is drawn virtual desktop image and shown.
Using method provided in an embodiment of the present invention, because the operation when virtual opetrating system generates intensive drawing for order When, first by the storage of intensive drawing for order into buffer module, and periodically by the corresponding life of intensive drawing for order in buffer module Into a bitmap, the drawing for order of a bitmap is sent to terminal, i.e., it is multiple intensive drawing for orders are equivalent to generation one Drawing for order, without each intensive drawing for order is sent respectively into terminal, terminal according to each intensive drawing without referring to Order carries out mapping operation respectively, reduces the quantity for sending drawing for order, saves network bandwidth, while improve painting for terminal Figure speed, reduce drawing delay.
Further, detect that the operation of virtual opetrating system generates intensive drawing for order, specifically include:
Monitoring virtual opetrating system operation generation continuous predetermined number drawing for order between time interval be It is no all less than prefixed time interval;
When the time interval between the drawing for order of continuous predetermined number is all less than prefixed time interval, it is determined that empty The operation for intending operating system generates intensive drawing for order.
So, by detecting when meeting time interval between the drawing for order of continuous predetermined number all less than default During this condition of time interval, it is determined that generating intensive drawing for order.
Further, the above method, in addition to:
After it is determined that the operation of virtual opetrating system generates intensive drawing for order, when the operation for monitoring virtual opetrating system When time interval between the continuous intensive drawing for order of generation is not less than the prefixed time interval, stop buffering intensive paint Figure instruction, the terminal is sent respectively to by the drawing for order being subsequently generated.
So, when monitoring that the operation of virtual opetrating system does not regenerate intensive drawing for order, it is not necessary to will be multiple intensive Drawing for order generates an equivalent drawing for order and is sent to terminal, because drawing for order is not intensive, can distinguish drawing for order It is sent to terminal.
Further, the drawing for order includes bitmap, the drawing area position of bitmap and command code.
The embodiment of the present invention additionally provides a kind of virtual desktop image transmission, including:
Resolution unit, for when detect virtual opetrating system operation generation virtual desktop intensive drawing for order when, The multiple intensive drawing for orders stored in buffer module are read according to predetermined period and carry out dissection process respectively, are obtained each intensive Drawing area corresponding to drawing for order difference;
Combining unit, for by each intensive drawing for order, corresponding drawing area to merge respectively, obtain described Total drawing area corresponding to multiple intensive drawing for orders;
Image-drawing unit, for according to the sequencing for generating each intensive drawing for order, using each intensive drawing for order Mapping operation is carried out in total drawing area, generates total bitmap;
First transmitting element, for drawing for order corresponding to total bitmap to be sent into terminal, for prompt terminal root Virtual desktop image is drawn according to drawing for order corresponding to total bitmap and is shown.
Using device provided in an embodiment of the present invention, because the operation when virtual opetrating system generates intensive drawing for order When, first by the storage of intensive drawing for order into buffer module, and periodically by the corresponding life of intensive drawing for order in buffer module Into a bitmap, the drawing for order of a bitmap is sent to terminal, i.e., it is multiple intensive drawing for orders are equivalent to generation one Drawing for order, without each intensive drawing for order is sent respectively into terminal, terminal according to each intensive drawing without referring to Order carries out mapping operation respectively, reduces the quantity for sending drawing for order, saves network bandwidth, while improve painting for terminal Figure speed, reduce drawing delay.
Further, the resolution unit, the operation specifically for monitoring virtual opetrating system generate continuous default Whether the time interval between the drawing for order of quantity is all less than prefixed time interval;When the drawing of continuous predetermined number refers to When time interval between order is all less than prefixed time interval, determine that the intensive drawing of operation generation of virtual opetrating system refers to Order.
So, by detecting when meeting time interval between the drawing for order of continuous predetermined number all less than default During this condition of time interval, it is determined that generating intensive drawing for order.
Further, said apparatus, in addition to:
Second transmitting element, for after it is determined that the operation of virtual opetrating system generates intensive drawing for order, when monitoring Time interval between the continuous intensive drawing for order of the operation generation of virtual opetrating system is not less than between the preset time Every when, stop buffering intensive drawing for order, the drawing for order being subsequently generated be sent respectively to the terminal.
So, when monitoring that the operation of virtual opetrating system does not regenerate intensive drawing for order, it is not necessary to will be multiple intensive Drawing for order generates an equivalent drawing for order and is sent to terminal, because drawing for order is not intensive, can distinguish drawing for order It is sent to terminal.
Further, the drawing for order includes bitmap, the drawing area position of bitmap and command code.
The embodiment of the present invention additionally provides a kind of virtual desktop image delivering system, including:Server and terminal, wherein:
The server, including above-mentioned virtual desktop image transmission;
The terminal, the drawing for order of the total bitmap sent for receiving the server;According to the drawing for order Draw virtual desktop image and shown.
Using system provided in an embodiment of the present invention, because the operation when virtual opetrating system generates intensive drawing for order When, first by the storage of intensive drawing for order into buffer module, and periodically by the corresponding life of intensive drawing for order in buffer module Into a bitmap, the drawing for order of a bitmap is sent to terminal, i.e., it is multiple intensive drawing for orders are equivalent to generation one Drawing for order, without each intensive drawing for order is sent respectively into terminal, terminal according to each intensive drawing without referring to Order carries out mapping operation respectively, reduces the quantity for sending drawing for order, saves network bandwidth, while improve painting for terminal Figure speed, reduce drawing delay.
Other features and advantage will illustrate in the following description, also, partly become from specification Obtain it is clear that or being understood by implementing the application.The purpose of the application and other advantages can be by the explanations write Specifically noted structure is realized and obtained in book, claims and accompanying drawing.
Brief description of the drawings
Accompanying drawing is used for providing a further understanding of the present invention, and a part for constitution instruction, implements with the present invention Example is used to explain the present invention together, is not construed as limiting the invention.In the accompanying drawings:
Fig. 1 is the flow chart of virtual desktop image transfer method provided in an embodiment of the present invention;
Fig. 2 is the flow chart for the virtual desktop image transfer method that the embodiment of the present invention 1 provides;
Fig. 3 is the structural representation for the virtual desktop image transmission that the embodiment of the present invention 2 provides;
Fig. 4 is the structural representation for the virtual desktop image delivering system that the embodiment of the present invention 3 provides;
Fig. 5 is the structural representation for the server that the embodiment of the present invention 3 provides.
Embodiment
In order to provide when the operation of virtual opetrating system generates intensive drawing for order, save and transmit intensive drawing for order Network bandwidth, and reduce draw delay implementation, the embodiments of the invention provide a kind of virtual desktop image transfer method, Apparatus and system, the preferred embodiments of the present invention are illustrated below in conjunction with Figure of description, it will be appreciated that described herein Preferred embodiment be merely to illustrate and explain the present invention, be not intended to limit the present invention.And in the case where not conflicting, this The feature in embodiment and embodiment in application can be mutually combined.
The embodiment of the present invention provides a kind of virtual desktop image transfer method, as shown in figure 1, including:
Step 101, when detect virtual opetrating system operation generation virtual desktop intensive drawing for order when, according to pre- If the cycle carries out dissection process respectively to the multiple intensive drawing for orders stored in buffer module, each intensive drawing for order point is obtained Not corresponding drawing area.
Step 102, by each intensive drawing for order, corresponding drawing area merges respectively, obtains multiple intensive drawing and refers to Total drawing area corresponding to order.
Step 103, the sequencing according to each intensive drawing for order of generation, using each intensive drawing for order in total drawing Mapping operation is carried out in region, generates total bitmap.
Step 104, drawing for order corresponding to total bitmap is sent to terminal, for prompt terminal according to total bitmap pair The drawing for order answered is drawn virtual desktop image and shown.
In the embodiment of the present invention, server can establish multiple virtual machines, the corresponding pseudo operation system of each virtual machine System, when detecting the intensive drawing for order of operation generation virtual desktop of virtual opetrating system, intensive painted what is be subsequently generated Figure instruction buffer, and multiple intensive drawing for orders are generated into an equivalent drawing for order and are sent to terminal.When pseudo operation system When the drawing for order of the operation generation virtual desktop of system is not intensive, each drawing for order can be sent respectively to by server respectively Terminal, terminal draw virtual desktop according to the drawing for order received.Using virtual desktop, user can use clothes by terminal The resource being engaged on device.Wherein, the terminal can be thin-client, and thin-client refers in client-sever network system A terminal substantially without application program.Drawing for order includes bitmap, command code, the drawing area position of bitmap Etc. information.
Below in conjunction with the accompanying drawings, method and device provided by the invention and corresponding system are retouched in detail with specific embodiment State.
Embodiment 1:
Fig. 2 is the flow chart for the virtual desktop image transfer method that the embodiment of the present invention 1 provides, and specifically includes following processing Step:
The time for the drawing for order that the operation of step 201, monitoring virtual opetrating system generates.
In this step, user can be used the input instructions such as keyboard, mouse, be led to by the virtual desktop shown in terminal The interface channel crossed between terminal and server is sent to server, for the resource using virtual opetrating system, pseudo operation System can operate according to corresponding to being carried out the specific instruction that server receives, and in general a, operation may generate multiple paint Figure instruction, such as:In the application such as Microsoft Office Access, Microsoft Office Excel, process is used In an operation can produce thousands of drawing for orders.
Step 202, determine time interval between the drawing for order of continuous predetermined number whether all less than it is default when Between be spaced, if not, into step 203, if it is, into step 204.
Wherein, the predetermined number and the prefixed time interval can flexibly be set according to practical experience and needs, example Such as, the predetermined number could be arranged to 50, and the prefixed time interval could be arranged to 0.5ms.Between time between drawing for order Difference between the time for being generation present figure instruction and the time of last generation drawing for order.
In this step, the number that prefixed time interval can be less than to the time interval between drawing for order counts, For example, when the time interval between first drawing for order and second drawing for order is less than prefixed time interval, by number Count is calculated as 1, when the time interval between second drawing for order and the 3rd drawing for order is less than prefixed time interval, Number count is increased into by 1, i.e. count=2, by that analogy.
Because in one application, an operation sets appropriate predetermined number can there may be thousands of drawing for orders Effectively to judge the generation of intensive drawing for order, the erroneous judgement of intensive drawing for order is prevented.
Step 203, when the time interval between the drawing for order of continuous predetermined number at least one time interval not During less than prefixed time interval, continue the time of monitoring generation drawing for order.
In this step, when the time interval between the drawing for order of continuous predetermined number occurs not less than between preset time Every when, count is reset.
Step 204, when the time interval between the drawing for order of continuous predetermined number is all less than prefixed time interval When, determine that the operation of virtual opetrating system generates intensive drawing for order.
In this step, when count continuous counters are to predetermined number, such as count down to 50, virtual opetrating system is determined Operation generates intensive drawing for order.
Step 201- steps 204, can painting by server to monitor whether to generate the processing procedure of intensive drawing for order Figure instruction detecting module is handled accordingly.
Step 205, after it is determined that the operation of virtual opetrating system generates intensive drawing for order, intensive painted what is be subsequently generated Figure instruction deposit buffer module.
Step 206, according to predetermined period the multiple intensive drawing for orders stored in buffer module are carried out at parsing respectively Reason, obtain drawing area corresponding to each intensive drawing for order difference.
Wherein, the predetermined period according to practical experience and can need flexibly be set, for example, the predetermined period can be with It is set to 30ms.Specifically, when the operation for determining virtual opetrating system generates intensive drawing for order and is stored in buffer module close When collecting drawing for order, buffer module can start 30ms timer, be read every the processing module in 30ms, server All intensive drawing for orders stored in buffer module, dissection process is carried out for each intensive drawing for order, it is close to obtain this Collect the drawing area in drawing for order, usual drawing area is rectangle, and the drawing area is the intensive drawing for order Bitmap The shared region in screen, the position of the drawing area can be by the coordinate representation on the rectangle summit of the drawing area.
Step 207, by each intensive drawing for order, corresponding drawing area merges respectively, obtains multiple intensive drawing and refers to Total drawing area corresponding to order.
Step 208, for each intensive drawing for order, according to the sequencing for generating each intensive drawing for order, use The intensive drawing for order corresponding opening position in total drawing area carries out mapping operation, generates total bitmap.
Specifically, corresponding opening position is drawn this and painted in total drawing area using the command code in the intensive drawing for order Bitmap in figure instruction, such as:Mapping operation corresponding to command code can be copy, filling etc..By all intensive drawing for orders After completing, total bitmap corresponding to all intensive drawing for orders is obtained, total bitmap represents the aobvious of all intensive drawing for orders Show result.Such as:When using Microsoft Access, Microsoft Access are generating a white rectangular patterns When, it is the rectangle that white is depicted as by thousands of white lines, each lines is corresponding to generate a drawing for order, each Drawing for order includes corresponding lines bitmap, copy function code, the positional information of the lines, sentences when according to step 202-204 When thousands of individual drawing for orders of disconnected birth are intensive drawing for order, according to the sequencing for generating each drawing for order, to each Drawing for order is drawn in corresponding opening position respectively corresponding to individual white line, obtains white rectangle, that is, is obtained all close Collect total bitmap corresponding to drawing for order.
Step 209, generate drawing for order corresponding to total bitmap.
Drawing for order corresponding to total bitmap that is, an equivalent drawing for order corresponding to all intensive drawing for orders, Including total bitmap, total drawing area and command code, because total bitmap is the display result that represents all intensive drawing for orders, because Total bitmap is carried out copy function by this, and the command code is copy.Largely intensive paint is substituted using equivalent drawing for order Figure instruction, can be greatly decreased the drawing for order quantity for being sent to terminal.Exemplified by drawing white rectangle in step 208, by several Each self-corresponding drawing for order of thousand white lines generates a total bitmap i.e. white rectangle, to should white rectangle generation one Bar drawing for order.
Step 210, drawing for order corresponding to total bitmap is sent to terminal.
In this step, terminal is sent to after drawing for order corresponding to total bitmap can be compressed to processing.That is, Terminal is sent to after a drawing for order corresponding to white rectangle is compressed into processing, rather than respectively by each white wire Drawing for order corresponding to bar is sent to terminal after being compressed processing.
Step 211, when drawing for order corresponding to terminal receives total bitmap, drawn and referred to according to corresponding to total bitmap Virtual desktop image is drawn in order, and is shown by display screen.
If drawing for order corresponding to total bitmap that terminal receives is handled through overcompression, can first be decompressed Contracting is handled, and obtains drawing for order corresponding to total bitmap.
Further, after it is determined that the operation of virtual opetrating system generates intensive drawing for order, the drawing for order of server Detecting module continues to be monitored the time interval between drawing for order, when the operation generation for monitoring virtual opetrating system When time interval between continuous intensive drawing for order is not less than prefixed time interval, stop buffering intensive drawing for order, will The drawing for order being subsequently generated is sent respectively to terminal, i.e., when the drawing for order monitored is no longer intensive, due to may be one Seldom drawing for order is produced in individual predetermined period, drawing for order quantity can take a small amount of network bandwidth, then will need not paint less Figure instruction is cached, and each drawing for order can be sent respectively into terminal.Now, notified by drawing for order detecting module The intensive drawing for order of buffer module terminates, if not reaching the time of a predetermined period also now, i.e., in distance service device Processing module reads all intensive drawing for orders stored in buffer module and has not timed out predetermined period 30ms, buffer module 30ms timers will be started immediately, the processing module in server is to all intensive drawing for orders for currently being preserved in buffer module The processing of above-mentioned steps 206- steps 210 is carried out, after the completion of processing, buffer module Off Timer, and no longer buffer intensive Drawing for order is untill drawing for order detecting module detects and generates intensive drawing for order next time.
The method provided by the above embodiment of the present invention 1, because the operation when virtual opetrating system generates intensive drawing During instruction, first by the storage of intensive drawing for order into buffer module, and periodically by the intensive drawing for order pair in buffer module A bitmap should be generated, the drawing for order of a bitmap is sent to terminal, i.e., by multiple intensive drawing for orders to generation one Equivalent drawing for order, without each intensive drawing for order is sent respectively into terminal, terminal according to each without intensive painting Figure instruction carries out mapping operation respectively, reduces the quantity for sending drawing for order, saves network bandwidth, while improve terminal Plotting speed, reduce drawing delay.
Embodiment 2:
Based on same inventive concept, the virtual desktop image transfer method provided according to the above embodiment of the present invention, accordingly Ground, the embodiment of the present invention 2 additionally provide a kind of virtual desktop image transmission, and its structural representation is as shown in figure 3, specific bag Include:
Resolution unit 301, for when the intensive drawing for order for the operation generation virtual desktop for detecting virtual opetrating system When, read the multiple intensive drawing for orders stored in buffer module according to predetermined period and carry out dissection process respectively, obtain each Drawing area corresponding to intensive drawing for order difference;
Combining unit 302, for corresponding drawing area to merge respectively by each intensive drawing for order, obtain institute State total drawing area corresponding to multiple intensive drawing for orders;
Image-drawing unit 303, for according to the sequencing for generating each intensive drawing for order, being referred to using each intensive drawing Order carries out mapping operation in total drawing area, generates total bitmap;
First transmitting element 304, for drawing for order corresponding to total bitmap to be sent into terminal, for prompt terminal Virtual desktop image is drawn according to drawing for order corresponding to total bitmap and shown.
Further, the resolution unit 301, the continuous pre- of generation is operated specifically for monitoring virtual opetrating system If whether the time interval between the drawing for order of quantity is all less than prefixed time interval;When the drawing of continuous predetermined number When time interval between instruction is all less than prefixed time interval, determine that the intensive drawing of operation generation of virtual opetrating system refers to Order.
Further, said apparatus, in addition to:
Second transmitting element 305, for it is determined that after the intensive drawing for order of operation generation of virtual opetrating system, working as monitoring It is not less than the preset time to the time interval between the continuous intensive drawing for order of the operation generation of virtual opetrating system During interval, stop buffering intensive drawing for order, the drawing for order being subsequently generated is sent respectively to the terminal.
Further, the drawing for order includes bitmap, the drawing area position of bitmap and command code.
The respective handling step that the function of above-mentioned each unit may correspond in flow shown in Fig. 1 or Fig. 2, it is no longer superfluous herein State.
Embodiment 3:
Based on same inventive concept, the virtual desktop image transfer method provided according to the above embodiment of the present invention, accordingly Ground, the embodiment of the present invention 3 additionally provide a kind of virtual desktop image delivering system, its structural representation as shown in figure 4, including: Server 401 and terminal 402, wherein:
The server 401, including the virtual desktop image transmission in embodiment 2.
The terminal 402, the drawing for order of the total bitmap sent for receiving the server;Referred to according to the drawing Order is drawn virtual desktop image and shown.
Further, the server, as shown in figure 5, including:Drawing for order detecting module 501, buffer module 502, place Module 503 is managed, wherein:
Whether the drawing for order detecting module 501, the operation for detecting virtual opetrating system generate virtual desktop Intensive drawing for order;When the intensive drawing for order for the operation generation virtual desktop for detecting virtual opetrating system, will be subsequently generated Intensive drawing for order be sent to buffer module;
The function of drawing for order detecting module 501 corresponds to the partial function of the resolution unit in the embodiment of the present invention 2;
The buffer module 502, the intensive drawing for order sent for storing the drawing for order detecting module;
The processor 503, the multiple intensive drawing for orders stored in buffer module and difference are read for predetermined period Dissection process is carried out, obtains drawing area corresponding to each intensive drawing for order difference;Each intensive drawing for order is right respectively The drawing area answered merges, and obtains total drawing area corresponding to the multiple intensive drawing for order;It is each intensive according to generating The sequencing of drawing for order, mapping operation is carried out in total drawing area using each intensive drawing for order, is generated Total bitmap;Drawing for order corresponding to total bitmap is sent to terminal.
The above-mentioned virtual desktop image delivering system as shown in Figure 4 provided in the embodiment of the present invention 3, wherein included Server 401,402 further function of terminal, the respective handling step that may correspond in flow shown in Fig. 1, Fig. 2, herein not Repeat again.
In summary, scheme provided in an embodiment of the present invention, when the operation for detecting virtual opetrating system generates virtual table During the intensive drawing for order in face, server reads the multiple intensive drawing for orders stored in buffer module according to predetermined period and divided Dissection process is not carried out, obtains drawing area corresponding to each intensive drawing for order difference;Each intensive drawing for order is corresponded to respectively Drawing area merge, obtain total drawing area corresponding to multiple intensive drawing for orders;Refer to according to each intensive drawing is generated The sequencing of order, mapping operation is carried out in total drawing area using each intensive drawing for order, generates total bitmap;This is total Drawing for order is sent to terminal corresponding to bitmap, and for terminal, the drawing for order according to corresponding to total bitmap draws virtual desktop figure Picture is simultaneously shown.Using scheme provided in an embodiment of the present invention, reduce the quantity for sending drawing for order, save network bandwidth, And then the plotting speed of terminal is improved, reduce drawing delay.
The virtual desktop image transmission and system that embodiments herein is provided can be realized by computer program. Those skilled in the art are it should be appreciated that above-mentioned Module Division mode is only one kind in numerous Module Division modes, such as Fruit is divided into other modules or non-division module, as long as virtual desktop image transmission and system have above-mentioned function, all should This is within the protection domain of the application.
The application is with reference to the flow according to the method for the embodiment of the present application, equipment (system) and computer program product Figure and/or block diagram describe.It should be understood that can be by every first-class in computer program instructions implementation process figure and/or block diagram Journey and/or the flow in square frame and flow chart and/or block diagram and/or the combination of square frame.These computer programs can be provided The processors of all-purpose computer, special-purpose computer, Embedded Processor or other programmable data processing devices is instructed to produce A raw machine so that produced by the instruction of computer or the computing device of other programmable data processing devices for real The device for the function of being specified in present one flow of flow chart or one square frame of multiple flows and/or block diagram or multiple square frames.
These computer program instructions, which may be alternatively stored in, can guide computer or other programmable data processing devices with spy Determine in the computer-readable memory that mode works so that the instruction being stored in the computer-readable memory, which produces, to be included referring to Make the manufacture of device, the command device realize in one flow of flow chart or multiple flows and/or one square frame of block diagram or The function of being specified in multiple square frames.
These computer program instructions can be also loaded into computer or other programmable data processing devices so that counted Series of operation steps is performed on calculation machine or other programmable devices to produce computer implemented processing, so as in computer or The instruction performed on other programmable devices is provided for realizing in one flow of flow chart or multiple flows and/or block diagram one The step of function of being specified in individual square frame or multiple square frames.
Obviously, those skilled in the art can carry out the essence of various changes and modification without departing from the present invention to the present invention God and scope.So, if these modifications and variations of the present invention belong to the scope of the claims in the present invention and its equivalent technologies Within, then the present invention is also intended to comprising including these changes and modification.

Claims (9)

  1. A kind of 1. virtual desktop image transfer method, it is characterised in that including:
    When detecting the intensive drawing for order of operation generation virtual desktop of virtual opetrating system, server is according to predetermined period Read the multiple intensive drawing for orders stored in buffer module and carry out dissection process respectively, obtain each intensive drawing for order difference Corresponding drawing area;
    By each intensive drawing for order, corresponding drawing area merges respectively, obtains the multiple intensive drawing for order pair The total drawing area answered;
    According to the sequencing for generating each intensive drawing for order, using each intensive drawing for order in total drawing area Mapping operation is carried out, generates total bitmap;
    Drawing for order corresponding to total bitmap is sent to terminal, for prompt terminal drawing according to corresponding to total bitmap Instruction is drawn virtual desktop image and shown;Wherein, drawing for order corresponding to total bitmap is multiple intensive drawing for order lifes Into an equivalent drawing for order.
  2. 2. the method as described in claim 1, it is characterised in that detect that the intensive drawing of operation generation of virtual opetrating system refers to Order, is specifically included:
    Whether the time interval monitored between the drawing for order of the continuous predetermined number of the operation generation of virtual opetrating system is complete Portion is less than prefixed time interval;
    When the time interval between the drawing for order of continuous predetermined number is all less than prefixed time interval, it is determined that virtual behaviour The operation for making system generates intensive drawing for order.
  3. 3. method as claimed in claim 2, it is characterised in that also include:
    After it is determined that the operation of virtual opetrating system generates intensive drawing for order, when the operation for monitoring virtual opetrating system generates Continuous intensive drawing for order between time interval when being not less than the prefixed time interval, stop the intensive drawing of buffering and refer to Order, the terminal is sent respectively to by the drawing for order being subsequently generated.
  4. 4. the method as described in claim 1, it is characterised in that the drawing for order includes bitmap, the drawing area position of bitmap Put and command code.
  5. A kind of 5. virtual desktop image transmission, it is characterised in that including:
    Resolution unit, for when detect virtual opetrating system operation generation virtual desktop intensive drawing for order when, according to Predetermined period reads the multiple intensive drawing for orders stored in buffer module and carries out dissection process respectively, obtains each intensive drawing Drawing area corresponding to instruction difference;
    Combining unit, for by each intensive drawing for order, corresponding drawing area to merge respectively, obtain the multiple Total drawing area corresponding to intensive drawing for order;
    Image-drawing unit, for the sequencing according to each intensive drawing for order of generation, using each intensive drawing for order in institute State and mapping operation is carried out in total drawing area, generate total bitmap;
    First transmitting element, for drawing for order corresponding to total bitmap to be sent into terminal, for prompt terminal according to institute Drawing for order corresponding to total bitmap is stated to draw virtual desktop image and show;Wherein, drawing for order corresponding to total bitmap is One equivalent drawing for order of multiple intensive drawing for order generations.
  6. 6. device as claimed in claim 5, it is characterised in that the resolution unit, specifically for monitoring virtual opetrating system Operation generation continuous predetermined number drawing for order between time interval whether all less than prefixed time interval;When When continuously the time interval between the drawing for order of predetermined number is all less than prefixed time interval, virtual opetrating system is determined Operation generate intensive drawing for order.
  7. 7. device as claimed in claim 6, it is characterised in that also include:
    Second transmitting element, it is virtual when monitoring for after it is determined that the operation of virtual opetrating system generates intensive drawing for order When time interval between the continuous intensive drawing for order of the operation generation of operating system is not less than the prefixed time interval, Stop buffering intensive drawing for order, the drawing for order being subsequently generated is sent respectively to the terminal.
  8. 8. the device as described in claim 5-7 is any, it is characterised in that the drawing for order includes the drawing of bitmap, bitmap Regional location and command code.
  9. A kind of 9. virtual desktop image delivering system, it is characterised in that including:Server and terminal, wherein:
    The server, including the device as described in claim 5-7 is any;
    The terminal, the drawing for order of the total bitmap sent for receiving the server;Drawn according to the drawing for order Virtual desktop image is simultaneously shown.
CN201410337916.6A 2014-07-16 2014-07-16 A kind of virtual desktop image transfer method, apparatus and system Active CN104144212B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410337916.6A CN104144212B (en) 2014-07-16 2014-07-16 A kind of virtual desktop image transfer method, apparatus and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410337916.6A CN104144212B (en) 2014-07-16 2014-07-16 A kind of virtual desktop image transfer method, apparatus and system

Publications (2)

Publication Number Publication Date
CN104144212A CN104144212A (en) 2014-11-12
CN104144212B true CN104144212B (en) 2017-12-26

Family

ID=51853279

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410337916.6A Active CN104144212B (en) 2014-07-16 2014-07-16 A kind of virtual desktop image transfer method, apparatus and system

Country Status (1)

Country Link
CN (1) CN104144212B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106873927A (en) * 2015-12-11 2017-06-20 成都长天信息技术有限公司 A kind of long-range three-dimensional desktop image transfer method based on KVM platforms
CN105677282B (en) * 2016-01-29 2019-04-26 腾讯科技(深圳)有限公司 A kind of method of Image Rendering, user equipment, server and system
CN109168071A (en) * 2018-09-21 2019-01-08 西安万像电子科技有限公司 Image processing method and device
CN109802989A (en) * 2018-11-28 2019-05-24 华为技术有限公司 Data transmission method and device, server and terminal

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102480463A (en) * 2010-11-23 2012-05-30 腾讯科技(深圳)有限公司 Network interaction method and network interaction system
CN102521027A (en) * 2011-12-02 2012-06-27 华中科技大学 Window interface transmission method in virtual desktop system
EP2237145A3 (en) * 2009-04-01 2012-11-07 Fuji Xerox Co., Ltd. Image processing apparatus, image forming apparatus, image processing method and program
CN103294438A (en) * 2013-06-21 2013-09-11 镇江冈山电子有限公司 Transmission control method and system of virtual desktop images

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2237145A3 (en) * 2009-04-01 2012-11-07 Fuji Xerox Co., Ltd. Image processing apparatus, image forming apparatus, image processing method and program
CN102480463A (en) * 2010-11-23 2012-05-30 腾讯科技(深圳)有限公司 Network interaction method and network interaction system
CN102521027A (en) * 2011-12-02 2012-06-27 华中科技大学 Window interface transmission method in virtual desktop system
CN103294438A (en) * 2013-06-21 2013-09-11 镇江冈山电子有限公司 Transmission control method and system of virtual desktop images

Also Published As

Publication number Publication date
CN104144212A (en) 2014-11-12

Similar Documents

Publication Publication Date Title
CN107908296B (en) KVM control method, device, storage medium and computer equipment
CN104144212B (en) A kind of virtual desktop image transfer method, apparatus and system
CN105518587B (en) Terminal device display methods and terminal device
CN106201413A (en) Touch-control distribution method, device and the liquid crystal indicator of one screen windows display
US20120235924A1 (en) Display systems, methods, and apparatus
CN102207812A (en) Touch electronic device and multi-window management method thereof
CN108958630A (en) Written contents display methods, device and electronic equipment
CN103529954A (en) Method for mutual exclusion of remote virtual machine keyboard mouse and local monitor
CN109426430A (en) Touch message fusion method and terminal, computer readable storage medium
CN105245408A (en) Synchronous data monitoring method and device
CN109739712A (en) FPGA accelerator card transmission performance test method, device and equipment and medium
CN105407135A (en) Method and system for data breakpoint continuous transmission
CN105490785B (en) A kind of FC network remaining sending control systems and method based on shared buffer memory
CN112583741A (en) Multi-rate mode data transmission control method and device based on cache queue
CN112202613A (en) Optical cable fault processing method, device, equipment and computer readable storage medium
CN113179325B (en) Multi-terminal collaborative interaction method and device, gateway box and medium
CN106406871A (en) Touch response method and device
CN115081413A (en) Report generation method, device, system, equipment and medium
WO2022082950A1 (en) Method for improving device serial communication efficiency and terminal
CN108241487A (en) The system architecture of mobile equipment performance can be improved
CN114757159A (en) Packaging development method and system of multifunctional data table component
US20170255340A1 (en) Information processing apparatus, and control method and control program thereof
CN107491205B (en) Integrated machine
CN107066360B (en) Information transmission method and server
US10511701B2 (en) Information processing apparatus, and control method and control program thereof

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
CP01 Change in the name or title of a patent holder

Address after: Cangshan District of Fuzhou City, Fujian province 350002 Jinshan Road No. 618 Garden State Industrial Park 19 floor

Patentee after: RUIJIE NETWORKS Co.,Ltd.

Address before: Cangshan District of Fuzhou City, Fujian province 350002 Jinshan Road No. 618 Garden State Industrial Park 19 floor

Patentee before: Fujian Star-net Ruijie Network Co.,Ltd.

CP01 Change in the name or title of a patent holder
EE01 Entry into force of recordation of patent licensing contract

Application publication date: 20141112

Assignee: Ruijie network (Suzhou) Co.,Ltd.

Assignor: RUIJIE NETWORKS Co.,Ltd.

Contract record no.: X2022350000027

Denomination of invention: A kind of virtual desktop image transmission method, device and system

Granted publication date: 20171226

License type: Common License

Record date: 20220817

EE01 Entry into force of recordation of patent licensing contract