CN110515686A - A kind of image display method and apparatus - Google Patents

A kind of image display method and apparatus Download PDF

Info

Publication number
CN110515686A
CN110515686A CN201910800949.2A CN201910800949A CN110515686A CN 110515686 A CN110515686 A CN 110515686A CN 201910800949 A CN201910800949 A CN 201910800949A CN 110515686 A CN110515686 A CN 110515686A
Authority
CN
China
Prior art keywords
information
virtual desktop
desktop image
terminal
size
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
CN201910800949.2A
Other languages
Chinese (zh)
Other versions
CN110515686B (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.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing 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 Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CN201910800949.2A priority Critical patent/CN110515686B/en
Publication of CN110515686A publication Critical patent/CN110515686A/en
Application granted granted Critical
Publication of CN110515686B publication Critical patent/CN110515686B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces
    • G06F9/452Remote windowing, e.g. X-Window System, desktop virtualisation

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The present invention provides a kind of image display method and apparatus, after the first size information for getting the virtual desktop image that terminal is shown, the first size information of virtual desktop image is sent to server, server is in the first size information for receiving virtual desktop image, obtain the second dimension information of server virtual desktop image to be sent, virtual desktop image information is obtained based on first size information and the second dimension information, the display that virtual desktop image information carrys out controlling terminal is sent to terminal, thus, it is possible to obtain the virtual desktop image information that controlling terminal is shown in combination with first size information and the second dimension information, virtual desktop image information can be adjusted based on first size information and the second dimension information in advance when virtual desktop image to be sent cannot all be shown in the terminal in this way, so that virtual desktop image information occupies Network bandwidth reduce, and terminal data to be decoded can be reduced by adjusting virtual desktop image information, alleviate the decoding pressure of terminal.

Description

A kind of image display method and apparatus
Technical field
The invention belongs to technical field of image processing more particularly to a kind of image display method and apparatuses.
Background technique
For current desktop virtualization scheme, after server generates the corresponding virtual desktop image information of operating system, Virtual desktop image information is sent to terminal, terminal shows the corresponding image of virtual desktop image information in terminal side pair Server is controlled.
But server can send virtual desktop image information to terminal incessantly at present, and server and terminal is caused to need Continue to occupy a large amount of network bandwidth transmission virtual desktop image informations, and because server sends virtual desktop figure incessantly As it is aobvious to improve decoding terminals so that terminal needs persistently to be decoded display to the virtual desktop image information received for information The load shown.
Summary of the invention
In view of this, the purpose of the present invention is to provide a kind of image display method and apparatus, the void that is shown by terminal The first size information of quasi- desktop picture and the second dimension information of server virtual desktop image to be sent obtain virtual desktop Image information, to reduce the network bandwidth used and alleviate the decoding pressure of terminal.Technical solution is as follows:
The present invention provides a kind of image display method, which comprises
Obtain the first size information for the virtual desktop image that terminal is shown;
The first size information of the virtual desktop image is sent to server;
The virtual desktop image information of the server feedback is received, the virtual desktop image information keeps the terminal aobvious The size of the virtual desktop image shown and the second dimension information and described first of server virtual desktop image to be sent Dimension information matching in dimension information;
Show the corresponding virtual desktop image of the virtual desktop image information.
Preferably, the first size information for sending the virtual desktop image to server includes:
If monitoring that the first size information of the virtual desktop image changes, described in the transmission of Xiang Suoshu server First size information after virtual desktop image change.
Preferably, if the first size information for obtaining the virtual desktop image that terminal is shown includes: to monitor institute Stating the region that the virtual desktop image that terminal shows occupies is irregular area, obtains the of the virtual desktop image that terminal is shown One dimension information;
And/or
The region division that the virtual desktop image is occupied obtains each at least two regions with target shape The coordinate information in the region with target shape, using the coordinate information in each region with target shape as institute State the first size information of virtual desktop image.
The present invention also provides a kind of image display methods, which comprises
Receive the first size information for the virtual desktop image that terminal is sent;
The second dimension information and the first size information based on virtual desktop image to be sent, obtain virtual desktop Image information, the size and described second for the virtual desktop image that the virtual desktop image information is used to that the terminal to be made to show Dimension information matching in dimension information and the first size information;
The virtual desktop image information is sent to terminal.
Preferably, second dimension information based on virtual desktop image to be sent and the first size information, Obtaining virtual desktop image information includes:
Obtain the overlapping region in the virtual desktop image to be sent and the virtual desktop image of terminal transmission;
Using second dimension information and the first size information, the third size letter of the overlapping region is obtained Breath;
The third dimension information is encapsulated in virtual desktop image information.
Preferably, described to utilize second dimension information and the first size information, obtain the overlapping region Third dimension information includes:
The third dimension information of the overlapping region is value in second dimension information and the first size information Small dimension information.
Preferably, in the virtual desktop image for obtaining the virtual desktop image to be sent and terminal transmission Overlapping region includes:
By the coordinate information of each pixel in the virtual desktop image with it is each in the virtual desktop image to be sent The coordinate information of pixel carries out and operation, obtains the overlapping region.
The present invention also provides a kind of image display device, described device includes:
Acquiring unit, for obtaining the first size information for the virtual desktop image that terminal is shown;
Transmission unit, for sending the first size information of the virtual desktop image to server;
Receiving unit, for receiving the virtual desktop image information of the server feedback, the virtual desktop image letter Cease the size for the virtual desktop image for showing the terminal and the second size of server virtual desktop image to be sent Dimension information matching in information and the first size information;
Display unit, for showing the corresponding virtual desktop image of the virtual desktop image information.
The present invention also provides a kind of image display device, described device includes:
Receiving unit, the first size information of the virtual desktop image for receiving terminal transmission;
Information obtainment unit, for the second dimension information and the first size based on virtual desktop image to be sent Information obtains virtual desktop image information, the virtual desktop figure that the virtual desktop image information is used to that the terminal to be made to show The size of picture is matched with a dimension information in second dimension information and the first size information;
Transmission unit, for sending the virtual desktop image information to terminal.
The present invention also provides a kind of terminal, the terminal includes: processor, communication interface and display screen;
The processor passes through the communication for obtaining the first size information for the virtual desktop image that terminal is shown Interface sends the first size information of the virtual desktop image to server, and receives the service by the communication interface The virtual desktop image information of device feedback, the ruler for the virtual desktop image that the virtual desktop image information shows the terminal A size in very little the second dimension information and the first size information with server virtual desktop image to be sent Information matches;
The processor is also used to control the display screen and shows the corresponding virtual desktop of the virtual desktop image information Image.
The present invention also provides a kind of server, the server includes: processor and communication interface;
The communication interface, the first size information of the virtual desktop image for receiving terminal transmission;
The processor, for the second dimension information and first size letter based on virtual desktop image to be sent Breath obtains virtual desktop image information, and sends the virtual desktop image information to terminal by the communication interface, described The size for the virtual desktop image that virtual desktop image information is used to that the terminal to be made to show and second dimension information and institute State the dimension information matching in first size information.
The present invention also provides a kind of storage medium, the storage medium is stored with computer program code, the computer Program code realizes above-mentioned image display method when executing.
From above-mentioned technical proposal it is found that after the first size information for getting the virtual desktop image that terminal is shown, to Server sends the first size information of virtual desktop image, and server is in the first size letter for receiving virtual desktop image Breath obtains the second dimension information of server virtual desktop image to be sent, is based on first size information and the second dimension information Virtual desktop image information is obtained, sends the display that virtual desktop image information carrys out controlling terminal to terminal, thus, it is possible to simultaneously The virtual desktop image information that controlling terminal is shown is obtained in conjunction with first size information and the second dimension information, in this way to be sent Virtual desktop image can be adjusted in advance when cannot all show in the terminal based on first size information and the second dimension information Virtual desktop image information, so that the network bandwidth that virtual desktop image information occupies reduces, and by adjusting virtual desktop figure As information can reduce terminal data to be decoded, alleviate the decoding pressure of terminal.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is the present invention Some embodiments for those of ordinary skill in the art without creative efforts, can also basis These attached drawings obtain other attached drawings.
Fig. 1 is a kind of schematic diagram that virtual desktop image section is shown provided in an embodiment of the present invention;
Fig. 2 is the schematic diagram that another virtual desktop image section provided in an embodiment of the present invention is shown;
Fig. 3 is a kind of signaling diagram of image display method provided in an embodiment of the present invention;
Fig. 4 is the virtual desktop image and server virtual desktop figure to be sent that terminal provided in an embodiment of the present invention is sent The schematic diagram of relationship as between;
Fig. 5 is the signaling diagram of another image display method provided in an embodiment of the present invention;
Fig. 6 is a kind of structural schematic diagram of image display device provided in an embodiment of the present invention;
Fig. 7 is the structural schematic diagram of another image display device provided in an embodiment of the present invention.
Specific embodiment
At present server can incessantly to terminal send virtual desktop image information, will increase the occupancy of network bandwidth with And the reason of improving the load that decoding terminals are shown, this problem occur, is: server and end in desktop virtualization scheme at present There is no interaction feedback between end, so that between server and terminal respective variation, especially server will not be perceived each other not The display variation of meeting perception terminal, so that server can send always the void of the full content of corresponding virtual desktop image to terminal Quasi- desktop picture information.
Such as terminal interface of meeting while multiple APP (Application, application program) within a period, such as Fig. 1 institute Show, terminal shows the interface of APP1, APP2 and Console APP simultaneously, and wherein the interface of Console APP is virtual desktop figure As the corresponding virtual desktop image of information, the display of virtual desktop image is blocked by the interface of other APP as can be seen from Figure 1, so that Virtual desktop image cannot completely be shown at the terminal, but server can still continue to send corresponding virtual desktop image at this time The virtual desktop image information of full content, in another example shown in Fig. 2, the viewing area for being partly removed terminal of virtual desktop image Domain (dotted portion in such as 2 is the part being moved out of), server can also continue to send the complete of corresponding virtual desktop image at this time The virtual desktop image information of portion's content increases the occupancy to network bandwidth.Although corresponding terminal will not show virtual table The full content of face image, but its full content that can still parse virtual desktop image, improve the decoding pressure of terminal.
The present embodiment provides a kind of image display methods thus, increase the interaction feedback between server and terminal, so that The second of the first size information of the virtual desktop image that can be shown in conjunction with terminal and server virtual desktop image to be sent Dimension information obtains virtual desktop image, to reduce the occupancy of network bandwidth and alleviate the decoding pressure of terminal.
In order to make the object, technical scheme and advantages of the embodiment of the invention clearer, below in conjunction with the embodiment of the present invention In attached drawing, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment is A part of the embodiment of the present invention, instead of all the embodiments.Based on the embodiments of the present invention, those of ordinary skill in the art Every other embodiment obtained without making creative work, shall fall within the protection scope of the present invention.
Referring to Fig. 3, may include it illustrates a kind of signaling diagram of image display method provided in an embodiment of the present invention Following steps:
301: terminal obtains the first size information of the virtual desktop image of display.Wherein first size information shows terminal Current time display virtual desktop image size, such as virtual desktop image shown in the display area of terminal it is big It is small, as shown in Figure 1, first size information is the size watched when the display of virtual desktop image from user perspective.
The first size information of virtual desktop image can pass through seat of the virtual desktop image in the display area of terminal Mark indicates.Wherein the acquisition opportunity of first size information may is that if monitoring that the virtual desktop image that terminal is shown occupies Region be irregular area, obtain the first size information of virtual desktop image that terminal is shown.Such as server transmission The shape of the corresponding virtual desktop image of virtual desktop image information is rectangle, if virtual desktop image and clothes that terminal is shown Be engaged in the inconsistent (portion that such as terminal shows virtual desktop image of the corresponding virtual desktop image of virtual desktop image information that device is sent Divide content), illustrate that the region that the virtual desktop image that terminal is shown occupies is irregular area, an irregular shape in this way Region then needs to obtain the virtual desktop image information that first size information carrys out interaction between instruction terminal and server.If The virtual desktop image that terminal is shown virtual desktop image corresponding with the virtual desktop image information that server is sent is consistent, then It can forbid obtaining first size information, so that the interaction between terminal and server can be compatible with existing desktop virtualization side Case.
In the present embodiment, a kind of mode for obtaining first size information is: drawing in the region that virtual desktop image is occupied It is divided at least two regions with target shape, the coordinate information in each region with target shape is obtained, by each tool There is first size information of the coordinate information in the region of target shape as virtual desktop image.
Wherein the region with target shape can be shape and the same or similar region of target shape, can obtain The coordinate information in these regions with target shape is constituted, the coordinate information in the region with target shape can be being capable of body The coordinate information of the particular point in existing region, such as target shape can be rectangle, by irregular area be divided into multiple rectangles or Close to the region of rectangle, then the coordinate information on each vertex in these available regions, for region division and each tool There is the acquisition of the coordinate information in the region of target shape, the present embodiment is no longer described in detail.
302: the first size information of terminal to server transmission virtual desktop image.It is to be understood that terminal kimonos It is engaged between device there are multiple messages channel, each message channel is used for transmission the message of different function, and the of virtual desktop image One dimension information is transmitted by transmitting the message channel of picture material between terminal and server.And terminal and server Between interacted based on remote desktop communication protocol, therefore the first size of virtual desktop image that terminal to server is sent Information is also required to follow remote desktop communication protocol.
The message for being used for transmission first size information for wherein following remote desktop communication protocol includes message header and message Content, message header is for identifying current transmission message, to make server determine the message carried in the message by message header What content is, message content is then first size information, such as the coordinate information in above-mentioned each region with target shape, with The virtual desktop image currently shown by these coordinate information compositing terminals.
303: second dimension information and first size information of the server based on virtual desktop image to be sent obtain void Quasi- desktop picture information, wherein virtual desktop image to be sent is the virtual desktop figure that server will be sent to that terminal is shown Picture is persistently sent for complete virtual desktop image relative to existing, and the present embodiment sends virtual table to terminal in server Before the image of face, it is primarily based on the second dimension information and first size information of virtual desktop image to be sent, is obtained virtual Desktop picture information, virtual desktop image information are used for the size of controlling terminal virtual desktop image to be shown, keep terminal aobvious The size of the virtual desktop image shown is matched with a dimension information in the second dimension information and first size information.
In the present embodiment, the size and the second size for the virtual desktop image that virtual desktop image information shows terminal A matched purpose of dimension information in information and first size information is: being believed based on first size information and the second size Breath, obtains the size (a kind of form of expression of virtual desktop image information) of server virtual desktop image to be sent, so that Server send virtual desktop image can completely be shown in the region that terminal can show virtual desktop image, especially The virtual desktop image that terminal is shown is blocked (as shown in Figure 1 or 2), the virtual desktop image sent by adjusting server Size, it is possible to reduce the data volume that server is sent to terminal reduces the occupancy of network bandwidth with this.
Such as when first size information is greater than or equal to the second dimension information, illustrate that terminal being capable of complete display server The virtual desktop image of transmission can then be believed the second dimension information as the size of server virtual desktop image to be sent Breath illustrates that terminal cannot the virtual desktop figure that sends of complete display server when first size information is less than the second dimension information Picture, at this time then can be using first size information as the dimension information of server virtual desktop image to be sent, so that terminal Virtual desktop image corresponding with server is consistent.
It is corresponding, second dimension information and first size letter of the present embodiment based on virtual desktop image to be sent Breath, a kind of mode for obtaining virtual desktop image information is: obtaining the virtual table of virtual desktop image to be sent and terminal transmission Overlapping region in the image of face;Using the second dimension information and first size information, the third dimension information of overlapping region is obtained, Third dimension information is encapsulated in virtual desktop image information, in virtual desktop image information except include third dimension information it Outside, further include Pixel Information and coding staff in virtual desktop image with each pixel of third dimension information corresponding part Formula, in order to which decoding terminals are shown.
Wherein overlapping region refers to is overlapped for the virtual desktop image of virtual desktop image to be sent and terminal transmission Part, server can by terminal send virtual desktop image in each pixel coordinate information and virtual desktop to be sent The coordinate information of each pixel is carried out and is operated in image, obtains overlapping region, can be heavy by this after obtaining overlapping region The coordinate information of target point is used as third dimension information in folded region, and target point is to refer to reconstruction third in so-called overlapping region The point of the corresponding virtual desktop image of dimension information, such as overlapping region are a rectangular area, then target point is the rectangle region The vertex in domain.
In practical applications, the virtual desktop for enabling to terminal to send based on first size information and the second dimension information Image and server virtual desktop image to be sent form inclusion relation, and virtual desktop image to be sent as shown in Figure 4 includes eventually The virtual desktop image sent is held, therefore the third dimension information of overlapping region is the second dimension information and first in the present embodiment The small dimension information of value in dimension information.
Need exist for explanation is a bit: if terminal and server is respectively image using a coordinate system, needing The coordinate information of each pixel in the virtual desktop image of terminal transmission is converted into the coordinate under the corresponding coordinate system of server Information is carried out and is operated again.
304: server sends virtual desktop image information to terminal.Such as the message by being used for transmission picture material is logical Road sends virtual desktop image information to terminal, and follows the transmission of remote desktop communication protocol, for sending virtual desktop image Message format the present embodiment of information no longer illustrates.
305: terminal shows virtual desktop image information pair after receiving the virtual desktop image information of server feedback The virtual desktop image answered.Such as by being decoded to virtual desktop image information, virtual desktop image is obtained, so that terminal It can completely show virtual desktop image.
Be illustrated for the display of the terminal shown in Fig. 1 below, in existing desktop virtualization scheme no matter terminal can The virtual desktop image that complete display server is sent, server can all continue and send a complete virtual desktop image to Terminal, and the region of virtual desktop image is shown in terminal because of blocking prevent virtual desktop image is from complete for other interfaces It has been shown that, the present embodiment can be monitored the virtual desktop image that terminal is shown thus, to obtain the virtual desktop figure of display The first size information of picture, and the first size information of virtual desktop image is sent to server.Server receives first Determine that the second dimension information of virtual desktop image to be sent is greater than first size information after dimension information, if being based on the second ruler Very little information transmission virtual desktop image information, which has partial content, to be shown in terminal, and the transmission of this partial content can occupy The decoding resource of certain network bandwidth and meeting occupied terminal, server intercepts out from virtual desktop image to be sent thus Region corresponding with first size information, so that being sent to the size and the instruction of first size information of the virtual desktop image of terminal Size matching, realize the first size information of the virtual desktop image shown based on terminal to server virtual desktop to be sent Image is adjusted, so that the virtual desktop image that server is sent can completely show at the terminal that reduction can not be shown The occupancy of occupancy of the part to network bandwidth and the decoding resource to terminal.
From above-mentioned technical proposal it is found that after the first size information for getting the virtual desktop image that terminal is shown, to Server sends the first size information of virtual desktop image, and server is in the first size letter for receiving virtual desktop image Breath obtains the second dimension information of server virtual desktop image to be sent, is based on first size information and the second dimension information Virtual desktop image information is obtained, sends the display that virtual desktop image information carrys out controlling terminal to terminal, thus, it is possible to simultaneously The virtual desktop image information that controlling terminal is shown is obtained in conjunction with first size information and the second dimension information, in this way to be sent Virtual desktop image can be adjusted in advance when cannot all show in the terminal based on first size information and the second dimension information Virtual desktop image information, so that the network bandwidth that virtual desktop image information occupies reduces, and by adjusting virtual desktop figure As information can reduce terminal data to be decoded, alleviate the decoding pressure of terminal.
Referring to Fig. 5, can wrap it illustrates the signaling diagram of another image display method provided in an embodiment of the present invention Include following steps:
501: terminal obtains the first size information of the virtual desktop image of display.
502: if terminal monitors that the first size information of virtual desktop image changes, being sent to server virtual First size information after desktop picture variation.
503: second dimension information and first size information of the server based on virtual desktop image to be sent obtain void Quasi- desktop picture information.
504: server sends virtual desktop image information to terminal.
505: terminal shows virtual desktop image information pair after receiving the virtual desktop image information of server feedback The virtual desktop image answered.
The difference is that, the present embodiment is monitoring virtual desktop image with image display method shown in above-mentioned Fig. 3 First size information send variation Shi Caixiang server and send the first size information after virtual desktop image change, such as it is empty The first size information of quasi- desktop picture is to send virtual desktop figure shown in Fig. 2 to server shown in Fig. 2 from variation shown in Fig. 1 The first size information of picture, in this way operate the reason of be because are as follows: the virtual desktop image that terminal is shown within a certain period of time Size will not change, if network bandwidth can be occupied by still sending first size information to server in this period, so Virtual desktop image change is sent to server after the first size information of terminal monitoring to virtual desktop image changes First size information afterwards, to reduce the occupancy of network bandwidth.In the present embodiment, the transmission of the first size information after variation It may refer to the related description in above method embodiment, this present embodiment no longer illustrated.
For the various method embodiments described above, for simple description, therefore, it is stated as a series of action combinations, but Be those skilled in the art should understand that, the present invention is not limited by the sequence of acts described because according to the present invention, certain A little steps can be performed in other orders or simultaneously.Secondly, those skilled in the art should also know that, it is retouched in specification The embodiment stated belongs to preferred embodiment, and related actions and modules are not necessarily necessary for the present invention.
Corresponding with above method embodiment, the embodiment of the present invention also provides a kind of image display device, structure such as Fig. 6 It is shown, it may include: acquiring unit 10, transmission unit 20, receiving unit 30 and display unit 40.
Acquiring unit 10, for obtaining the first size information for the virtual desktop image that terminal is shown.Wherein first size Information shows the size of the virtual desktop image of terminal current time display, such as virtual desktop image is in the display area of terminal The first size information of the size shown, virtual desktop image can be by virtual desktop image in the display area of terminal Coordinate representation.Wherein the acquisition opportunity of first size information may is that if monitoring the virtual desktop image that terminal is shown The region of occupancy is irregular area, obtains the first size information for the virtual desktop image that terminal is shown.
In the present embodiment, a kind of mode for obtaining first size information is: drawing in the region that virtual desktop image is occupied It is divided at least two regions with target shape, the coordinate information in each region with target shape is obtained, by each tool There is first size information of the coordinate information in the region of target shape as virtual desktop image, illustrates and please refer to above-mentioned side Method embodiment no longer illustrates this present embodiment.
Transmission unit 20, for sending the first size information of virtual desktop image, wherein transmission unit 20 to server The first size information of virtual desktop image can be sent by being used for transmission the message channel of picture material, and being in transmission can be with Remote desktop communication protocol is followed, illustrates and please refers to embodiment of the method.
In the present embodiment, transmission unit 20 can monitor that the first size information of virtual desktop image changes, First size information after sending from virtual desktop image change to server, to reduce the transmission of first size information to Netowrk tape Wide occupancy.
Receiving unit 30, for receiving the virtual desktop image information of server feedback, virtual desktop image information makes end Hold the size of the virtual desktop image of display and the second dimension information and first size of server virtual desktop image to be sent Dimension information matching in information.
Display unit 40, for showing the corresponding virtual desktop image of virtual desktop image information.Such as by virtual Desktop picture information is decoded, and obtains virtual desktop image, enables the terminal to completely show virtual desktop image.
From above-mentioned technical proposal it is found that after the first size information for getting the virtual desktop image that terminal is shown, to Server sends the first size information of virtual desktop image, enables the server in combination with first size information and pending The second dimension information of virtual desktop image is sent to obtain the virtual desktop image information that controlling terminal is shown, in this way in void to be sent Quasi- desktop picture can adjust void based on first size information and the second dimension information when cannot all show in the terminal in advance Quasi- desktop picture information, so that the network bandwidth that virtual desktop image information occupies reduces, and by adjusting virtual desktop image Information can reduce terminal data to be decoded, alleviate the decoding pressure of terminal.
Referring to Fig. 7, may include: to receive it illustrates another image display device provided in an embodiment of the present invention Unit 100, information obtainment unit 200 and transmission unit 300.
Receiving unit 100, the first size information of the virtual desktop image for receiving terminal transmission.
Information obtainment unit 200, for the second dimension information and first size based on virtual desktop image to be sent Information obtains virtual desktop image information, the size for the virtual desktop image that virtual desktop image information is used to that terminal to be made to show It is matched with a dimension information in the second dimension information and first size information.
In the present embodiment, the size and the second size for the virtual desktop image that virtual desktop image information shows terminal A matched purpose of dimension information in information and first size information is: being believed based on first size information and the second size Breath, obtains the size (a kind of form of expression of virtual desktop image information) of server virtual desktop image to be sent, so that Server send virtual desktop image can completely be shown in the region that terminal can show virtual desktop image, especially The virtual desktop image that terminal is shown is blocked (as shown in Figure 1 or 2), the virtual desktop image sent by adjusting server Size, it is possible to reduce the data volume that server is sent to terminal reduces the occupancy of network bandwidth with this.
Wherein information obtainment unit 200, which obtains a kind of mode of virtual desktop image information, is: obtaining virtual table to be sent The overlapping region in virtual desktop image that face image and terminal are sent;Using the second dimension information and first size information, obtain To the third dimension information of overlapping region, third dimension information is encapsulated in virtual desktop image information, virtual desktop image It further include each with third dimension information corresponding part in virtual desktop image in information in addition to including third dimension information The Pixel Information and coding mode of pixel, in order to which decoding terminals are shown.
Wherein overlapping region refers to is overlapped for the virtual desktop image of virtual desktop image to be sent and terminal transmission Part, such as will terminal send virtual desktop image in each pixel coordinate information and virtual desktop image to be sent in The coordinate information of each pixel carries out and operation, obtains overlapping region, can be by the overlapping region after obtaining overlapping region The coordinate information of middle target point is as third dimension information, and target point is to refer to rebuild third size letter in so-called overlapping region The point of corresponding virtual desktop image is ceased, such as overlapping region is a rectangular area, then target point is the top of the rectangular area Point.
In practical applications, the virtual desktop for enabling to terminal to send based on first size information and the second dimension information Image and server virtual desktop image to be sent form inclusion relation, therefore the third size of overlapping region is believed in the present embodiment Breath is the dimension information that value is small in the second dimension information and first size information.
Transmission unit 300, for sending virtual desktop image information to terminal.Such as by being used for transmission picture material Message channel sends virtual desktop image information to terminal, and follows the transmission of remote desktop communication protocol, for sending virtual table Message format the present embodiment of face image information no longer illustrates.
From above-mentioned technical proposal it is found that in the first size information for receiving virtual desktop image, it is pending to obtain server The second dimension information for sending virtual desktop image obtains virtual desktop image letter based on first size information and the second dimension information Breath sends virtual desktop image information to terminal and carrys out the display of controlling terminal, thus, it is possible in combination with first size information and Second dimension information obtains the virtual desktop image information that controlling terminal is shown, in this way virtual desktop image to be sent cannot be Virtual desktop image information can be adjusted based on first size information and the second dimension information when all showing in terminal in advance, made Obtaining the network bandwidth that virtual desktop image information occupies reduces, and can reduce terminal by adjusting virtual desktop image information and wait for Decoding data alleviates the decoding pressure of terminal.
The embodiment of the present invention also provides a kind of terminal, and terminal includes: processor, communication interface and display screen.
Processor, for obtaining the first size information for the virtual desktop image that terminal is shown, by communication interface to clothes Business device sends the first size information of virtual desktop image, and passes through the virtual desktop image that communication interface receives server feedback Information, the size and server virtual desktop image to be sent of the virtual desktop image that virtual desktop image information shows terminal The second dimension information and first size information in a dimension information matching;Processor is also used to control display screen and shows The corresponding virtual desktop image of virtual desktop image information, please refers in above method embodiment the implementation procedure of processor Related description, this present embodiment is no longer illustrated.
The embodiment of the present invention also provides a kind of server, and server includes: processor and communication interface.
Communication interface, the first size information of the virtual desktop image for receiving terminal transmission.Processor, for being based on The second dimension information and first size information of virtual desktop image to be sent, obtain virtual desktop image information, and pass through Communication interface sends virtual desktop image information, the virtual desktop figure that virtual desktop image information is used to that terminal to be made to show to terminal The size of picture is matched with a dimension information in the second dimension information and first size information, for the implementation procedure of processor The related description in above method embodiment is please referred to, this present embodiment is no longer illustrated.
The embodiment of the present invention also provides a kind of storage medium, and storage medium is stored with computer program code, computer journey Sequence code realizes above-mentioned image display method when executing.
It should be noted that all the embodiments in this specification are described in a progressive manner, each embodiment weight Point explanation is the difference from other embodiments, and the same or similar parts between the embodiments can be referred to each other. For device class embodiment, since it is basically similar to the method embodiment, so being described relatively simple, related place ginseng See the part explanation of embodiment of the method.
Finally, it is to be noted that, herein, relational terms such as first and second and the like be used merely to by One entity or operation are distinguished with another entity or operation, without necessarily requiring or implying these entities or operation Between there are any actual relationship or orders.Moreover, the terms "include", "comprise" or its any other variant meaning Covering non-exclusive inclusion, so that the process, method, article or equipment for including a series of elements not only includes that A little elements, but also including other elements that are not explicitly listed, or further include for this process, method, article or The intrinsic element of equipment.In the absence of more restrictions, the element limited by sentence "including a ...", is not arranged Except there is also other identical elements in the process, method, article or apparatus that includes the element.
The foregoing description of the disclosed embodiments can be realized those skilled in the art or using the present invention.To this A variety of modifications of a little embodiments will be apparent for a person skilled in the art, and the general principles defined herein can Without departing from the spirit or scope of the present invention, to realize in other embodiments.Therefore, the present invention will not be limited It is formed on the embodiments shown herein, and is to fit to consistent with the principles and novel features disclosed in this article widest Range.
The above is only a preferred embodiment of the present invention, it is noted that for the ordinary skill people of the art For member, various improvements and modifications may be made without departing from the principle of the present invention, these improvements and modifications are also answered It is considered as protection scope of the present invention.

Claims (10)

1. a kind of image display method, which is characterized in that the described method includes:
Obtain the first size information for the virtual desktop image that terminal is shown;
The first size information of the virtual desktop image is sent to server;
The virtual desktop image information of the server feedback is received, the virtual desktop image information shows the terminal The second dimension information and the first size of the size of virtual desktop image and server virtual desktop image to be sent Dimension information matching in information;
Show the corresponding virtual desktop image of the virtual desktop image information.
2. the method according to claim 1, wherein described send the of the virtual desktop image to server One dimension information includes:
If monitoring that the first size information of the virtual desktop image changes, Xiang Suoshu server sends described virtual First size information after desktop picture variation.
3. the method according to claim 1, wherein described obtain the first of the virtual desktop image that terminal is shown If dimension information includes: to monitor that the region that the virtual desktop image that the terminal is shown occupies is irregular area, obtain The first size information for the virtual desktop image that terminal is shown;
And/or
The region division that the virtual desktop image is occupied obtains each described at least two regions with target shape The coordinate information in the region with target shape, using the coordinate information in each region with target shape as the void The first size information of quasi- desktop picture.
4. a kind of image display method, which is characterized in that the described method includes:
Receive the first size information for the virtual desktop image that terminal is sent;
The second dimension information and the first size information based on virtual desktop image to be sent, obtain virtual desktop image Information, the size and second size of the virtual desktop image that the virtual desktop image information is used to that the terminal to be made to show Dimension information matching in information and the first size information;
The virtual desktop image information is sent to terminal.
5. according to the method described in claim 4, it is characterized in that, second size based on virtual desktop image to be sent Information and the first size information, obtaining virtual desktop image information includes:
Obtain the overlapping region in the virtual desktop image to be sent and the virtual desktop image of terminal transmission;
Using second dimension information and the first size information, the third dimension information of the overlapping region is obtained;
The third dimension information is encapsulated in virtual desktop image information.
6. according to the method described in claim 5, it is characterized in that, described utilize second dimension information and first ruler Very little information, the third dimension information for obtaining the overlapping region include:
The third dimension information of the overlapping region is that value is small in second dimension information and the first size information Dimension information.
7. according to the method described in claim 5, it is characterized in that, the virtual desktop image to be sent and described of obtaining The overlapping region in virtual desktop image that terminal is sent includes:
By each pixel in the coordinate information of each pixel in the virtual desktop image and the virtual desktop image to be sent Coordinate information carry out and operation, obtain the overlapping region.
8. a kind of terminal, which is characterized in that the terminal includes: processor, communication interface and display screen;
The processor passes through the communication interface for obtaining the first size information for the virtual desktop image that terminal is shown The first size information of the virtual desktop image is sent to server, and anti-by the communication interface reception server The virtual desktop image information of feedback, the size for the virtual desktop image that the virtual desktop image information shows the terminal with A dimension information in the second dimension information and the first size information of the server virtual desktop image to be sent Matching;
The processor is also used to control the display screen and shows the corresponding virtual desktop figure of the virtual desktop image information Picture.
9. a kind of server, which is characterized in that the server includes: processor and communication interface;
The communication interface, the first size information of the virtual desktop image for receiving terminal transmission;
The processor, for based on virtual desktop image to be sent the second dimension information and the first size information, Virtual desktop image information is obtained, and the virtual desktop image information, the void are sent to terminal by the communication interface The size for the virtual desktop image that quasi- desktop picture information is used to that the terminal to be made to show and second dimension information and described Dimension information matching in first size information.
10. a kind of storage medium, which is characterized in that the storage medium is stored with computer program code, the computer journey Sequence code realizes image display method as claimed in any one of claims 1 to 7 when executing.
CN201910800949.2A 2019-08-28 2019-08-28 Image display method and device Active CN110515686B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910800949.2A CN110515686B (en) 2019-08-28 2019-08-28 Image display method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910800949.2A CN110515686B (en) 2019-08-28 2019-08-28 Image display method and device

Publications (2)

Publication Number Publication Date
CN110515686A true CN110515686A (en) 2019-11-29
CN110515686B CN110515686B (en) 2021-05-18

Family

ID=68628344

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910800949.2A Active CN110515686B (en) 2019-08-28 2019-08-28 Image display method and device

Country Status (1)

Country Link
CN (1) CN110515686B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112099886A (en) * 2020-08-18 2020-12-18 西安万像电子科技有限公司 Desktop display control method and device of mobile zero terminal

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102566910A (en) * 2011-12-14 2012-07-11 广州杰赛科技股份有限公司 Virtual desktop system and method for refreshing on-screen display of virtual desktop client
CN106155609A (en) * 2015-04-16 2016-11-23 中兴通讯股份有限公司 A kind of realize the method for Screen sharing, device and terminal
CN106204675A (en) * 2016-07-08 2016-12-07 中霆云计算科技(上海)有限公司 2D in virtual desktop display device shows accelerated method
CN108021425A (en) * 2017-12-28 2018-05-11 南开大学 A kind of virtual desktop system and operation method for integrating multiple Graphics Application windows
CN108900794A (en) * 2018-07-13 2018-11-27 北京骜驯数字技术有限公司 Method and apparatus for teleconference
CN109040792A (en) * 2018-08-13 2018-12-18 中兴通讯股份有限公司 A kind of processing method, cloud terminal and cloud desktop server that video redirects
CN109640150A (en) * 2018-10-26 2019-04-16 广州华多网络科技有限公司 Method of adjustment, equipment and the device of reference video picture

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102566910A (en) * 2011-12-14 2012-07-11 广州杰赛科技股份有限公司 Virtual desktop system and method for refreshing on-screen display of virtual desktop client
CN106155609A (en) * 2015-04-16 2016-11-23 中兴通讯股份有限公司 A kind of realize the method for Screen sharing, device and terminal
CN106204675A (en) * 2016-07-08 2016-12-07 中霆云计算科技(上海)有限公司 2D in virtual desktop display device shows accelerated method
CN108021425A (en) * 2017-12-28 2018-05-11 南开大学 A kind of virtual desktop system and operation method for integrating multiple Graphics Application windows
CN108900794A (en) * 2018-07-13 2018-11-27 北京骜驯数字技术有限公司 Method and apparatus for teleconference
CN109040792A (en) * 2018-08-13 2018-12-18 中兴通讯股份有限公司 A kind of processing method, cloud terminal and cloud desktop server that video redirects
CN109640150A (en) * 2018-10-26 2019-04-16 广州华多网络科技有限公司 Method of adjustment, equipment and the device of reference video picture

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112099886A (en) * 2020-08-18 2020-12-18 西安万像电子科技有限公司 Desktop display control method and device of mobile zero terminal

Also Published As

Publication number Publication date
CN110515686B (en) 2021-05-18

Similar Documents

Publication Publication Date Title
US8572162B2 (en) Adaptive screen painting to enhance user perception during remote management sessions
EP1695256B1 (en) Synchronized graphic and region data for graphics remoting systems
US8103738B2 (en) Micro-client for internet appliance
US9049341B2 (en) Method and apparatus for video resource management in video conference
CN101238457B (en) Remote protocol support for communication of large objects in arbitrary format
US20040184523A1 (en) Method and system for providing reduced bandwidth for picture in picture video transmissions
MXPA01000893A (en) Remote computer access.
WO1998042407A1 (en) Concepts to implement medconnect
CN112416483A (en) Method for accessing multiple displays to cloud desktop and related equipment
KR20060110267A (en) Method and apparatus for generating graphical and media display at a thin client
CN102053867B (en) Method and device for dynamically switching pictures
JP2002222157A (en) Electronic conference room system
CN104349177B (en) It is a kind of to turn to method, virtual machine and the system for playing multimedia file under desktop cloud
EP2790383B1 (en) Distribution control system, distribution system, distribution control method, and computer-readable storage medium
EP3941021A1 (en) Processing method, apparatus, and system
CN110515686A (en) A kind of image display method and apparatus
CN102770827B (en) Method for showing multimedia content on the screen of terminal
US10917477B2 (en) Method and apparatus for MMT integration in CDN
US20190037000A1 (en) Apparatus and method for providing contents using web-based virtual desktop protocol
EP3759884B1 (en) Artificial intelligence (ai) based enhanced resolution content delivery
KR102164686B1 (en) Image processing method and apparatus of tile images
CN107318021B (en) Data processing method and system for remote display
US20140375755A1 (en) Apparatus and method for changing main screen based on distributed telepresence
CN112565154A (en) Dynamic screen expansion method and storage medium based on mobile equipment management system
WO2005059711A2 (en) Controlling a transmission of image data to a display device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant