CN109788313A - A kind of image transfer method, device and equipment - Google Patents
A kind of image transfer method, device and equipment Download PDFInfo
- Publication number
- CN109788313A CN109788313A CN201711105291.0A CN201711105291A CN109788313A CN 109788313 A CN109788313 A CN 109788313A CN 201711105291 A CN201711105291 A CN 201711105291A CN 109788313 A CN109788313 A CN 109788313A
- Authority
- CN
- China
- Prior art keywords
- image
- sub
- viewing areas
- transmitted
- data packet
- 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.)
- Pending
Links
Abstract
Invention describes a kind of image transfer method, device and equipment, this method comprises: the display interface of transmitting terminal to be divided into the sub-viewing areas of setting quantity, and obtain relative position information of each sub-viewing areas relative to the display interface;Image to be transmitted is obtained, determines one or more sub-viewing areas involved in the image to be transmitted;For each sub-viewing areas involved in the image to be transmitted, corresponding transmission data packet is set;Wherein, transmission data packet includes: the identification information of image to be transmitted, the image information in the quantity information of sub-viewing areas, the relative position information and affiliated sub-viewing areas of affiliated sub-viewing areas involved in image to be transmitted;The transmission data packet of setting is sent to receiving end.The present invention solves the problems such as image Caton occurred when transmitting high definition and ultra high-definition image, operation is not smooth, image quality is unintelligible.
Description
Technical field
The present invention relates to computer graphic image field of display technology more particularly to a kind of image transfer method, device and
Equipment.
Background technique
Cloud desktop system is since it is energy saving, equipment replacement frequency is low, handle official business outside convenient, easy to maintain, information security etc.
Advantage is increasingly becoming the new selection of alternate physical computer.On the one hand since the hardware of cloud desktop virtual machine is simulated by software
, so its display resolution is not limited theoretically by physical display card video memory, resolution ratio can achieve even more than high definition, super
The readability of high definition;The display or mobile phone of the ultra high-definitions resolution ratio such as another aspect 1080P screen, retina screen, 4K screen are put down
Plate screen increasingly becomes the mainstream in market, and user increasingly tends to from visual effect and usage experience using high-resolution height
The display screen carrier of resolution ratio.But for most of remote desktop, cloud Desktop Product, user uses superelevation in terminal
Clear display, when 4K display, when the virtual machine images of ultra high-definition are high from generally can all occupy when distally transmitting display
Bandwidth, and there is image Caton, operate not smooth, phenomena such as image quality is unintelligible, cause cloud desktop that can not cooperate ultra high-definition
The case where screen uses.
Summary of the invention
It is a primary object of the present invention to propose a kind of image transfer method, device and equipment, solve in transmission high definition
And occur when ultra high-definition image image Caton, operation it is not smooth, image quality is unintelligible the problems such as.
To achieve the above object, the present invention provides a kind of image transfer methods, are applied to transmitting terminal, the method packet
It includes:
The display interface of transmitting terminal is divided into the sub-viewing areas of setting quantity, and it is opposite to obtain each sub-viewing areas
In the relative position information of the display interface;
Image to be transmitted is obtained, determines one or more sub-viewing areas involved in the image to be transmitted;
For each sub-viewing areas involved in the image to be transmitted, corresponding transmission data packet is set;Wherein, it transmits
Data packet includes: quantity information, the affiliated son of the identification information of image to be transmitted, sub-viewing areas involved in image to be transmitted
Image information in the relative position information of display area and affiliated sub-viewing areas;
The transmission data packet of setting is sent to receiving end.
Optionally, one or more sub-viewing areas involved in the determination image to be transmitted, comprising:
According to location information of the image to be transmitted in the display interface and each sub-viewing areas described
Location information in display interface determines sub-viewing areas involved in the image to be transmitted.
It is optionally, described that the transmission data packet of setting is sent to receiving end, comprising:
According to the central processor CPU performance information of the transmitting terminal got, compression algorithm and compression ratio are determined;
Squeeze operation is carried out to transmission data packet according to determining compression algorithm and compression ratio, and by compressed transmission
Data packet is sent to receiving end.
Optionally, the image to be transmitted, comprising: draw instruction, drawing fragment or entire image.
In addition, to achieve the above object, the present invention provides a kind of image transfer methods, it is applied to receiving end, the side
Method includes:
Receive the transmission data packet about image to be transmitted from transmitting terminal;Wherein, transmission data packet includes: to be transmitted
The opposite position of the quantity information of sub-viewing areas involved in the identification information of image, image to be transmitted, affiliated sub-viewing areas
Image information in confidence breath and affiliated sub-viewing areas;
Judge the transmission data packet of the identification information including same image to be transmitted received quantity whether with it is described
The quantity information of sub-viewing areas involved in image to be transmitted is consistent;
Under unanimous circumstances, according to the relative position information of the affiliated sub-viewing areas in each transmission data packet, really
It is scheduled on corresponding sub-viewing areas in the display interface of receiving end;
The image information of the affiliated sub-viewing areas in each transmission data packet is presented in the display interface of receiving end
In the corresponding sub-viewing areas determined.
Optionally, the image to be transmitted, comprising: draw instruction, drawing fragment or entire image.
In addition, to achieve the above object, the present invention provides a kind of image transmissions, it is applied to transmitting terminal, the dress
It sets and includes:
Division module for the display interface of transmitting terminal to be divided into the sub-viewing areas of setting quantity, and obtains each
Relative position information of the sub-viewing areas relative to the display interface;
Module is obtained, for obtaining image to be transmitted, determines that of one or more involved in the image to be transmitted is aobvious
Show region;
Setup module, for corresponding transmission data to be arranged for each sub-viewing areas involved in the image to be transmitted
Packet;Wherein, transmission data packet includes: the number of the identification information of image to be transmitted, sub-viewing areas involved in image to be transmitted
Measure the image information in the relative position information and affiliated sub-viewing areas of information, affiliated sub-viewing areas;
Sending module, for the transmission data packet of setting to be sent to receiving end.
In addition, to achieve the above object, the present invention provides a kind of image transmissions, it is applied to receiving end, the dress
It sets and includes:
Receiving module, for receiving the transmission data packet about image to be transmitted from transmitting terminal;Wherein, data are transmitted
Packet includes: the identification information of image to be transmitted, the quantity information of sub-viewing areas involved in image to be transmitted, affiliated sub- display
Image information in the relative position information in region and affiliated sub-viewing areas;
Judgment module, the number of the transmission data packet of the identification information including same image to be transmitted for judging to receive
It whether consistent with the quantity information of sub-viewing areas involved in the image to be transmitted measures;
Determining module is used under unanimous circumstances, according to the opposite position of the sub-viewing areas in each transmission data packet
Confidence breath, determines sub-viewing areas corresponding in the display interface of receiving end;
Module is presented, for being presented on receiving end for the image information of the sub-viewing areas in each transmission data packet
In the corresponding sub-viewing areas determined in display interface.
In addition, to achieve the above object, the present invention also proposes a kind of graphic transmission equipment, it is applied to transmitting terminal, it is described to set
Standby includes: processor, memory and communication bus;
The communication bus is for realizing the connection communication between the processor and the memory;
The processor is for executing the image transmission program stored in the memory, to realize the image of above-mentioned introduction
The step of transmission method.
In addition, to achieve the above object, the present invention also proposes a kind of graphic transmission equipment, it is applied to receiving end, it is described to set
Standby includes: processor, memory and communication bus;
The communication bus is for realizing the connection communication between the processor and the memory;
The processor is for executing the image transmission program stored in the memory, to realize the image of above-mentioned introduction
The step of transmission method.
Image transfer method, device and equipment proposed by the present invention solve and go out when transmitting high definition and ultra high-definition image
The problems such as existing image Caton, not smooth, image quality is unintelligible operation.So that high definition and ultra high-definition image occupy in transmission process
Few width, and can guarantee and show clearly picture in ultra high-definition screen.The present invention is suitable for ultra high-definition teleconference system
System, IPTV (Internet Protocol Television, network agreement TV) ultra high-definition television system etc. are related to ultra high-definition
The scene of image transmitting.
Detailed description of the invention
Fig. 1 is the flow chart of the image transfer method of first embodiment of the invention;
Fig. 2 is exemplary diagram of the image to be transmitted in the display interface of transmitting terminal in first embodiment of the invention;
Fig. 3 is the flow chart of the image transfer method of second embodiment of the invention;
Fig. 4 is the exemplary diagram of the display interface of the receiving end in second embodiment of the invention;
Fig. 5 is the composed structure schematic diagram of the image transmission of third embodiment of the invention;
Fig. 6 is the composed structure schematic diagram of the image transmission of fourth embodiment of the invention;
Fig. 7 is the composed structure schematic diagram of the image delivering system of fifth embodiment of the invention;
Fig. 8 is the exemplary diagram of the cloud desktop virtual machine operating system of sixth embodiment of the invention;
Fig. 9 is the composed structure schematic diagram of the graphic transmission equipment of seventh embodiment of the invention.
Specific embodiment
Further to illustrate the present invention to reach the technical means and efficacy that predetermined purpose is taken, below in conjunction with attached drawing
And preferred embodiment, the present invention is described in detail as after.
First embodiment of the invention proposes a kind of image transfer method, is applied to transmitting terminal, as shown in Figure 1, the side
Method specifically includes the following steps:
The display interface of transmitting terminal: being divided into the sub-viewing areas of setting quantity by step S101, and it is aobvious to obtain every height
Show relative position information of the region relative to the display interface.
Specifically, step S101, comprising:
Step A1: the characteristic information of the display interface of transmitting terminal is obtained.
Wherein, the characteristic information includes: the dimension information of display interface and the resolution information of display interface.
Step A2: the display interface of transmitting terminal is divided into the sub-viewing areas of setting quantity according to the characteristic information.
Specifically, determining the quantity of sub-viewing areas according to the dimension information of the display interface and resolution information.Son
The quantity of display area increases with the increase of resolution ratio.
Step A3: relative position information of each sub-viewing areas relative to the display interface is obtained.
For example, as shown in Fig. 2, the display interface of transmitting terminal is divided for 8 sub-viewing areas.
Step S102: obtaining image to be transmitted, determines the sub- viewing area of one or more involved in the image to be transmitted
Domain.
Specifically, the image to be transmitted, comprising: draw instruction, drawing fragment or entire image.
Further, one or more sub-viewing areas involved in the determination image to be transmitted, comprising:
According to location information of the image to be transmitted in the display interface and each sub-viewing areas described
Location information in display interface determines sub-viewing areas involved in the image to be transmitted.
For example, as shown in Fig. 2, image to be transmitted is related to the second sub-viewing areas, third sub-viewing areas, the 6th son display
Region and the 7th sub-viewing areas, totally four sub-viewing areas.
Step S103: corresponding transmission data packet is set for each sub-viewing areas involved in the image to be transmitted;
Wherein, transmission data packet includes: the quantity letter of the identification information of image to be transmitted, sub-viewing areas involved in image to be transmitted
It ceases, the image information in the relative position information and affiliated sub-viewing areas of affiliated sub-viewing areas.
For example, as shown in Fig. 2, including: the image to be transmitted in the transmission data packet for the second sub-viewing areas
The quantity information of sub-viewing areas involved in identification information, the image to be transmitted be four, the second sub-viewing areas relative to
The relative position information of display interface, and the image information in the second sub-viewing areas.
Step S104: the transmission data packet of setting is sent to receiving end.
Specifically, step S104, comprising:
According to CPU (Central Processing Unit, central processing unit) performance information of the transmitting terminal got,
Determine compression algorithm and compression ratio;
Squeeze operation is carried out to transmission data packet according to determining compression algorithm and compression ratio, and by compressed transmission
Data packet is sent to receiving end.
Second embodiment of the invention proposes a kind of image transfer method, is applied to receiving end, as shown in figure 3, the side
Method specifically includes the following steps:
Step S301: the transmission data packet about image to be transmitted from transmitting terminal is received;Wherein, data packet packet is transmitted
It includes: the quantity information of sub-viewing areas involved in the identification information of image to be transmitted, image to be transmitted, affiliated sub-viewing areas
Relative position information and affiliated sub-viewing areas in image information.
Wherein, the display screen of transmitting terminal is divided into one or more sub-viewing areas;Image to be transmitted is related to therein
One or more sub-viewing areas;For each sub-viewing areas involved in image to be transmitted, it is respectively provided with corresponding biography
Transmission of data packet.
For example, as shown in Fig. 2, the display interface of transmitting terminal is divided for 8 sub-viewing areas.Image to be transmitted is being sent out
Second sub-viewing areas, third sub-viewing areas involved in the display interface of sending end, the 6th sub-viewing areas and the 7th son display
Region, totally four sub-viewing areas.For the second sub-viewing areas transmission data packet in include: the image to be transmitted mark
The quantity information for knowing sub-viewing areas involved in information, the image to be transmitted is four, and the second sub-viewing areas is relative to hair
The relative position information of the display interface of sending end, and the image information in the second sub-viewing areas.
Step S302: judging the quantity of the transmission data packet of the identification information including same image to be transmitted received is
It is no consistent with the quantity information of sub-viewing areas involved in the image to be transmitted.
For example, the quantity information of sub-viewing areas involved in image to be transmitted is 4, only when receiving end has received
When the transmission data packet of 4 identification informations including the image to be transmitted, step S303 is just executed.
Step S303: under unanimous circumstances, according to the opposite position of the affiliated sub-viewing areas in each transmission data packet
Confidence breath, determines sub-viewing areas corresponding in the display interface of receiving end.
It should be noted that the relative position information of the affiliated sub-viewing areas in transmission data packet, refers to the transmission
Relative position information of the corresponding sub-viewing areas of data packet relative to the display interface of transmitting terminal.Due to display circle of transmitting terminal
The size of the display interface of the size and receiving end in face may be different, so information can only determine depending on the relative position in receiving end
Display interface in sub-viewing areas.
For example, as shown in figure 4, according to it is each transmission data packet in affiliated sub-viewing areas relative position information,
The second sub-viewing areas, third sub-viewing areas, the 6th sub-viewing areas and the 7th son are determined in the display interface of receiving end
Display area.
Step S304: by the image information of the affiliated sub-viewing areas in each transmission data packet, it is presented on receiving end
In the corresponding sub-viewing areas determined in display interface.
For example, as shown in figure 4, display interface according to four of the image to be transmitted transmission data packets, in receiving end
In the second sub-viewing areas, third sub-viewing areas, present in the 6th sub-viewing areas and the 7th sub-viewing areas it is corresponding
Image.
Third embodiment of the invention proposes a kind of image transmission, is applied to transmitting terminal, as shown in figure 5, the dress
It sets and specifically includes consisting of part:
1) division module 501 for the display interface of transmitting terminal to be divided into the sub-viewing areas of setting quantity, and obtain
Relative position information of each sub-viewing areas relative to the display interface.
Specifically, division module 501, comprising:
Acquiring unit, the characteristic information of the display interface for obtaining transmitting terminal.
Wherein, the characteristic information includes: the dimension information of display interface and the resolution information of display interface.
Division unit, for being shown the son that the display interface of transmitting terminal is divided into setting quantity according to the characteristic information
Region.
Specifically, division unit determines sub-viewing areas according to the dimension information and resolution information of the display interface
Quantity.The quantity of sub-viewing areas increases with the increase of resolution ratio.
Computing module, for calculating relative position information of each sub-viewing areas relative to the display interface.
For example, as shown in Fig. 2, the display interface of transmitting terminal is divided for 8 sub-viewing areas.
2) it obtains module 502 and determines one or more involved in the image to be transmitted for obtaining image to be transmitted
Sub-viewing areas.
Specifically, the image to be transmitted, comprising: draw instruction, drawing fragment or entire image.
Further, module 502 is obtained, is specifically used for:
According to location information of the image to be transmitted in the display interface and each sub-viewing areas described
Location information in display interface determines sub-viewing areas involved in the image to be transmitted.
For example, as shown in Fig. 2, image to be transmitted is related to the second sub-viewing areas, third sub-viewing areas, the 6th son display
Region and the 7th sub-viewing areas, totally four sub-viewing areas.
3) setup module 503, for corresponding biography to be arranged for each sub-viewing areas involved in the image to be transmitted
Transmission of data packet;Wherein, transmission data packet includes: the identification information of image to be transmitted, sub- viewing area involved in image to be transmitted
The quantity information in domain, affiliated sub-viewing areas relative position information and affiliated sub-viewing areas in image information.
For example, as shown in Fig. 2, including: the image to be transmitted in the transmission data packet for the second sub-viewing areas
The quantity information of sub-viewing areas involved in identification information, the image to be transmitted be four, the second sub-viewing areas relative to
The relative position information of display interface, and the image information in the second sub-viewing areas.
4) sending module 504, for the transmission data packet of setting to be sent to receiving end.
Specifically, sending module 504, is used for:
According to the cpu performance information of the transmitting terminal got, compression algorithm and compression ratio are determined;According to determining compression
Algorithm and compression ratio carry out squeeze operation to transmission data packet, and compressed transmission data packet is sent to receiving end.
Fourth embodiment of the invention proposes a kind of image transmission, is applied to receiving end, as shown in fig. 6, the dress
It sets and specifically includes consisting of part:
1) receiving module 601, for receiving the transmission data packet about image to be transmitted from transmitting terminal;Wherein, it passes
Transmission of data packet includes: the quantity information, affiliated of the identification information of image to be transmitted, sub-viewing areas involved in image to be transmitted
Image information in the relative position information of sub-viewing areas and affiliated sub-viewing areas.
Wherein, the display screen of transmitting terminal is divided into one or more sub-viewing areas;Image to be transmitted is related to therein
One or more sub-viewing areas;For each sub-viewing areas involved in image to be transmitted, it is respectively provided with corresponding biography
Transmission of data packet.
For example, as shown in Fig. 2, the display interface of transmitting terminal is divided for 8 sub-viewing areas.Image to be transmitted is being sent out
Second sub-viewing areas, third sub-viewing areas involved in the display interface of sending end, the 6th sub-viewing areas and the 7th son display
Region, totally four sub-viewing areas.For the second sub-viewing areas transmission data packet in include: the image to be transmitted mark
The quantity information for knowing sub-viewing areas involved in information, the image to be transmitted is four, and the second sub-viewing areas is relative to hair
The relative position information of the display interface of sending end, and the image information in the second sub-viewing areas.
2) judgment module 602, the transmission data of the identification information including same image to be transmitted for judging to receive
Whether the quantity of packet is consistent with the quantity information of sub-viewing areas involved in the image to be transmitted.
For example, the quantity information of sub-viewing areas involved in image to be transmitted is 4, only when receiving end has received
When the transmission data packet of 4 identification informations including the image to be transmitted, determining module 603 is just triggered.
3) determining module 603 are used under unanimous circumstances, according to the affiliated sub-viewing areas in each transmission data packet
Relative position information, determine corresponding in the display interface of receiving end sub-viewing areas.
It should be noted that the relative position information of the affiliated sub-viewing areas in transmission data packet, refers to the transmission
Relative position information of the corresponding sub-viewing areas of data packet relative to the display interface of transmitting terminal.Due to display circle of transmitting terminal
The size of the display interface of the size and receiving end in face may be different, so information can only determine depending on the relative position in receiving end
Display interface in sub-viewing areas.
For example, as shown in figure 4, according to it is each transmission data packet in affiliated sub-viewing areas relative position information,
The second sub-viewing areas, third sub-viewing areas, the 6th sub-viewing areas and the 7th son are determined in the display interface of receiving end
Display area.
4) module 604 is presented, for being presented on the image information of the affiliated sub-viewing areas in each transmission data packet
In the corresponding sub-viewing areas determined in the display interface of receiving end.
For example, as shown in figure 4, display interface according to four of the image to be transmitted transmission data packets, in receiving end
In the second sub-viewing areas, third sub-viewing areas, present in the 6th sub-viewing areas and the 7th sub-viewing areas it is corresponding
Image.
Fifth embodiment of the invention proposes a kind of image delivering system, as shown in fig. 7, the system specifically include with
Lower component part:
1) image collection module 701, for collecting the picture material of computer operating system generation.
Specifically, image collection module 701 is set to transmitting terminal;Described image material includes: to draw instruction, drawing fragment
Or entire image.
Further, image collection module 701, is also used to:
Screen resolution judgement before collecting the picture material that computer operating system generates, when being started according to system
It whether is ultra high-definition picture material transmitting scene, if so, collecting picture material.
Preferably, it if screen resolution is greater than 2K or 4K, may determine that as ultra high-definition picture material transmitting scene.
In practical applications, image collection module 701 can be virtual video driver, the available system of video driver
Screen resolution when starting.
2) image grouping module 702 for transmitting terminal screen to be divided into n rectangular block, and every frame picture material is returned
Class is into one or more rectangular blocks.
Image grouping module 702 is set to transmitting terminal, by image grouping module 702, according to the square after dividing in screen
One frame image is divided into multiple sub-frame images by shape block.The size of the size of each sub-frame images and corresponding rectangular block
It is in the same size
Specifically, image grouping module 702, comprising:
Screen division unit determines the quantity n of rectangular block for the size and resolution ratio according to transmitting terminal screen, and will hair
Sending end screen is divided into n rectangular block.
Graphic collection unit, for according to location information of the pictorial element in transmitting terminal screen and each rectangular block
Picture material is referred in one or more rectangular blocks by location information.
It should be noted that the rectangular block in the present embodiment is equivalent to the sub-viewing areas in 3rd embodiment;This implementation
In screen division unit, the division module being equivalent in 3rd embodiment;Graphic collection unit in the present embodiment, is equivalent to
Acquisition module in 3rd embodiment.
3) corresponding view is arranged in image coding module 703, each rectangular block for being referred to by a frame picture material
Frequency flows.
Specifically, image coding module 703 is set to transmitting terminal, video flowing can be H264, and (technology moves MJPEG
Still image compression technology) etc. coded formats video flowing.The size of the picture frame of each video flowing is with corresponding rectangular block
Range is consistent.
It further, include: the quantity of the classified rectangular block of the identification information of picture material, picture material in video flowing
Information, the relative position information of affiliated rectangular block and the image information in affiliated rectangular block.
It should be noted that the image coding module in the present embodiment, is equivalent to the setup module in 3rd embodiment.
4) image sending module 704, for the video stream after encoding to receiving end.
Specifically, image sending module 704 is set to transmitting terminal.Transmitting terminal and receiving end can be distributed in different network elements
Cluster, transmitting terminal and receiving end are communicated by TCP/IP link establishment TCP or UDP Socket.
It should be noted that the image sending module in the present embodiment, is equivalent to the sending module in 3rd embodiment.
5) image receiver module 705, for receiving the video flowing of the image sending module from transmitting terminal.
Specifically, image receiver module 705 is set to receiving end;It include: identification information, the figure of picture material in video flowing
Image in the classified quantity information of rectangular block of pixel material, the relative position information of affiliated rectangular block and affiliated rectangular block
Information.
6) image decoder module 706, for being decoded operation to video flowing, to obtain the information in video flowing.
Specifically, image decoder module 706 is set to receiving end;Image decoder module 706 can be according to the hard of receiving end
Part configuring condition automatically selects software library decoding or hardware-accelerated decoding.
Image decoder module 706 can also select multiple views according to the resource consumptions situation such as CPU, Mem, GPU of receiving end
The serial or parallel decoding processing of frequency stream.
Need to illustrate when, the image decoder module 706 of receiving end and the cooperation of image coding module 703 of transmitting terminal make
With, for example, when the image coding module 703 of transmitting terminal is encoded using the encoder of H264, the image decoding of receiving end
Module 706 is also decoded using the decoder of H264.
7) Image Rendering module 707, for being presented on receiving end screen comprising information in video streaming for what is decoded
On.
Specifically, Image Rendering module 707 is set to receiving end.
Image Rendering module 707, specifically includes:
Quantity judging unit, the quantity of the video flowing of the identification information including same picture material for judging to receive
It is whether consistent with the quantity information of rectangular block that described image material is classified.
Area determination unit is used under information unanimous circumstances, according to the phase of the affiliated rectangular block in each video flowing
To location information, display area corresponding in the screen of receiving end is determined.
Image presentation unit, for being presented on receiving end for the image information in the affiliated rectangular block in each video flowing
In the corresponding display area determined in screen.
Sixth embodiment of the invention, based on the modules introduced in fifth embodiment of the invention, with cloud desktop virtual machine
For operating system scene, a kind of image transfer method is proposed.
It is illustrated in figure 8 the exemplary diagram of cloud desktop virtual machine operating system.
Wherein, image collection module is deployed in cloud desktop virtual machine operating system in the form of virtual machine video driver,
All images that cloud desktop virtual machine operating system generates will all pass through the virtual machine video driver, by the virtual machine video driver
It is transferred to image grouping module;
Wherein image grouping module, image coding module and image sending module, which are all disposed, is integrated in Spice protocol service
In the network element at end, it is responsible for grouping, coding and the transmission of video flowing by Spice protocol server;
Wherein image receiver module, image decoder module and Image Rendering module, which are all disposed, is integrated in Spice Protocol Client
In the network element at end, shown by reception, decoding and arrangement that Spice protocol client is responsible for video flowing.
Specific implementation process is described as follows:
Step B1: the Surface surface size created when being started by virtual machine video driver according to virtual machine identifies void
Quasi- machine internal resolution size, when resolution ratio is more than that 2560x2600 is just identified as ultra high-definition image transmitting scene;
Step B2: the operating system image of virtual machine is transmitted the idsplay order in virtual machine by virtual machine video driver
Give Spice protocol server;
The surface size creation that step B3:Spice protocol server is created according to virtual machine video driver is multiple to be passed through
The video flowing of X264 encoder coding, each video flowing have corresponding coordinate and high wide information as packet identification;
The coordinate that step B4:Spice protocol server is carried according to the box attribute of idsplay order, idsplay order is divided
To corresponding packet video stream, and it is incorporated into X264 video flowing;
Step B5:Spice protocol server sends packet video stream to;
Step B6:Spice protocol client receives packet video stream, and carries out video decoding using X264 decoder, will
In the bitmap bitmap caching generated when the coordinate deposit Surface creation that decoded packet video frame is carried according to box;Deng
Bitblt API approach is called to brush in video card video memory after all packet video frame image buffer storages to bitmap caching of each frame
Display.
Seventh embodiment of the invention proposes a kind of graphic transmission equipment, is applied to transmitting terminal, as shown in figure 9, described set
Standby includes: processor 901, memory 902 and communication bus;
Communication bus is for realizing the connection communication between processor 901 and memory 902;
Processor 901 is for executing the image transmission program stored in memory 902, to perform the steps of
The display interface of transmitting terminal is divided into the sub-viewing areas of setting quantity, and it is opposite to obtain each sub-viewing areas
In the relative position information of the display interface;
Image to be transmitted is obtained, determines one or more sub-viewing areas involved in the image to be transmitted;
For each sub-viewing areas involved in the image to be transmitted, corresponding transmission data packet is set;Wherein, it transmits
Data packet includes: quantity information, the affiliated son of the identification information of image to be transmitted, sub-viewing areas involved in image to be transmitted
Image information in the relative position information of display area and affiliated sub-viewing areas;
The transmission data packet of setting is sent to receiving end.
Eighth embodiment of the invention proposes a kind of graphic transmission equipment, is applied to receiving end, and the equipment includes: place
Manage device, memory and communication bus;
Communication bus is for realizing the connection communication between processor and memory;
Processor is for executing the image transmission program stored in memory, to perform the steps of
Receive the transmission data packet about image to be transmitted from transmitting terminal;Wherein, transmission data packet includes: to be transmitted
The opposite position of the quantity information of sub-viewing areas involved in the identification information of image, image to be transmitted, affiliated sub-viewing areas
Image information in confidence breath and affiliated sub-viewing areas;
Judge the transmission data packet of the identification information including same image to be transmitted received quantity whether with it is described
The quantity information of sub-viewing areas involved in image to be transmitted is consistent;
Under unanimous circumstances, according to the relative position information of the affiliated sub-viewing areas in each transmission data packet, really
It is scheduled on corresponding sub-viewing areas in the display interface of receiving end;
The image information of the affiliated sub-viewing areas in each transmission data packet is presented in the display interface of receiving end
In the corresponding sub-viewing areas determined.
Image transfer method, device and the equipment introduced in the embodiment of the present invention are solved in transmission high definition and ultra high-definition
The problems such as image Caton for occurring when image, not smooth, image quality is unintelligible operation.So that high definition and ultra high-definition image are being transmitted across
Few width is occupied in journey, and be can guarantee and shown clearly picture in ultra high-definition screen.The present invention is suitable for superelevation Qingyuan City
Journey conference system, IPTV (Internet Protocol Television, network agreement TV) ultra high-definition television system etc. relate to
And the scene of ultra high-definition image transmitting.
By the explanation of specific embodiment, the present invention can should be reached technological means that predetermined purpose is taken and
Effect is able to more deeply and specifically understand, however appended diagram is only to provide reference and description and is used, and is not used to this
Invention limits.
Claims (10)
1. a kind of image transfer method, which is characterized in that be applied to transmitting terminal, which comprises
The display interface of transmitting terminal is divided into the sub-viewing areas of setting quantity, and obtains each sub-viewing areas relative to institute
State the relative position information of display interface;
Image to be transmitted is obtained, determines one or more sub-viewing areas involved in the image to be transmitted;
For each sub-viewing areas involved in the image to be transmitted, corresponding transmission data packet is set;Wherein, data are transmitted
Packet includes: the identification information of image to be transmitted, the quantity information of sub-viewing areas involved in image to be transmitted, affiliated sub- display
Image information in the relative position information in region and affiliated sub-viewing areas;
The transmission data packet of setting is sent to receiving end.
2. image transfer method according to claim 1, which is characterized in that involved by the determination image to be transmitted
One or more sub-viewing areas, comprising:
According to location information of the image to be transmitted in the display interface and each sub-viewing areas in the display
Location information in interface determines sub-viewing areas involved in the image to be transmitted.
3. image transfer method according to claim 1, which is characterized in that described to be sent to the transmission data packet of setting
Receiving end, comprising:
According to the central processor CPU performance information of the transmitting terminal got, compression algorithm and compression ratio are determined;
Squeeze operation is carried out to transmission data packet according to determining compression algorithm and compression ratio, and by compressed transmission data
Packet is sent to receiving end.
4. image transfer method described in any one of claim 1 to 3, which is characterized in that the image to be transmitted, packet
It includes: drawing instruction, drawing fragment or entire image.
5. a kind of image transfer method, which is characterized in that be applied to receiving end, which comprises
Receive the transmission data packet about image to be transmitted from transmitting terminal;Wherein, transmission data packet includes: image to be transmitted
Identification information, the quantity information of sub-viewing areas involved in image to be transmitted, affiliated sub-viewing areas relative position letter
Image information in breath and affiliated sub-viewing areas;
Judge the transmission data packet of the identification information including same image to be transmitted received quantity whether with it is described to be passed
The quantity information of sub-viewing areas involved in defeated image is consistent;
Under unanimous circumstances, according to the relative position information of the affiliated sub-viewing areas in each transmission data packet, determine
Corresponding sub-viewing areas in the display interface of receiving end;
By the image information of the affiliated sub-viewing areas in each transmission data packet, it is presented in the display interface of receiving end and determines
In corresponding sub-viewing areas out.
6. image transfer method according to claim 5, which is characterized in that the image to be transmitted, comprising: drafting refers to
It enables, drawing fragment or entire image.
7. a kind of image transmission, which is characterized in that be applied to transmitting terminal, described device includes:
Division module, for the display interface of transmitting terminal to be divided into the sub-viewing areas of setting quantity, and it is aobvious to obtain every height
Show relative position information of the region relative to the display interface;
It obtains module and determines the sub- viewing area of one or more involved in the image to be transmitted for obtaining image to be transmitted
Domain;
Setup module, for corresponding transmission data packet to be arranged for each sub-viewing areas involved in the image to be transmitted;
Wherein, transmission data packet includes: the quantity letter of the identification information of image to be transmitted, sub-viewing areas involved in image to be transmitted
It ceases, the image information in the relative position information and affiliated sub-viewing areas of affiliated sub-viewing areas;
Sending module, for the transmission data packet of setting to be sent to receiving end.
8. a kind of image transmission, which is characterized in that be applied to receiving end, described device includes:
Receiving module, for receiving the transmission data packet about image to be transmitted from transmitting terminal;Wherein, data packet packet is transmitted
It includes: the quantity information of sub-viewing areas involved in the identification information of image to be transmitted, image to be transmitted, affiliated sub-viewing areas
Relative position information and affiliated sub-viewing areas in image information;
Judgment module, for judging that the quantity of transmission data packet of the identification information including same image to be transmitted received is
It is no consistent with the quantity information of sub-viewing areas involved in the image to be transmitted;
Determining module, for being believed under unanimous circumstances according to the relative position of the sub-viewing areas in each transmission data packet
Breath determines sub-viewing areas corresponding in the display interface of receiving end;
Module is presented, for being presented on the display of receiving end for the image information of the sub-viewing areas in each transmission data packet
In the corresponding sub-viewing areas determined in interface.
9. a kind of graphic transmission equipment, which is characterized in that be applied to transmitting terminal, the equipment includes: processor, memory and leads to
Believe bus;
The communication bus is for realizing the connection communication between the processor and the memory;
The processor is any in Claims 1-4 to realize for executing the image transmission program stored in the memory
The step of item described image transmission method.
10. a kind of graphic transmission equipment, which is characterized in that be applied to receiving end, the equipment include: processor, memory and
Communication bus;
The communication bus is for realizing the connection communication between the processor and the memory;
The processor is any in claim 5 to 6 to realize for executing the image transmission program stored in the memory
The step of item described image transmission method.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711105291.0A CN109788313A (en) | 2017-11-10 | 2017-11-10 | A kind of image transfer method, device and equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711105291.0A CN109788313A (en) | 2017-11-10 | 2017-11-10 | A kind of image transfer method, device and equipment |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109788313A true CN109788313A (en) | 2019-05-21 |
Family
ID=66485268
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201711105291.0A Pending CN109788313A (en) | 2017-11-10 | 2017-11-10 | A kind of image transfer method, device and equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109788313A (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112351333A (en) * | 2020-11-04 | 2021-02-09 | 深圳Tcl新技术有限公司 | Data transmission method, device and medium |
WO2021036940A1 (en) * | 2019-08-23 | 2021-03-04 | 中兴通讯股份有限公司 | Method for multiple displays to access cloud desktop, system, cloud desktop client and cloud desktop server |
CN113032062A (en) * | 2019-12-24 | 2021-06-25 | 深信服科技股份有限公司 | Image data transmission method and device, electronic equipment and storage medium |
CN114422853A (en) * | 2021-12-29 | 2022-04-29 | 南京汇川工业视觉技术开发有限公司 | Image transmission method, device, equipment, visual system and storage medium |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20040236840A1 (en) * | 2003-03-06 | 2004-11-25 | Amit Sarkar | Method and apparatus for operating a primary PC from a remote pseudo-mobile PC |
CN101192138A (en) * | 2006-11-28 | 2008-06-04 | 国际商业机器公司 | Method and apparatus for generating image data |
CN102164166A (en) * | 2011-02-21 | 2011-08-24 | 北京奇虎科技有限公司 | Method and system for remote-control sector transmission |
CN103209204A (en) * | 2012-01-16 | 2013-07-17 | 中国人民解放军第四军医大学唐都医院 | Computer screen remote control method for medical image teaching system |
CN103391442A (en) * | 2013-07-24 | 2013-11-13 | 佳都新太科技股份有限公司 | Rapid video image transmission compression algorithm based on regional division and difference comparison |
CN104115187A (en) * | 2012-02-14 | 2014-10-22 | 微软公司 | Video Detection in Remote Desktop Protocols |
CN104158915A (en) * | 2011-02-21 | 2014-11-19 | 北京奇虎科技有限公司 | Zoning transmission method and system for remote control |
-
2017
- 2017-11-10 CN CN201711105291.0A patent/CN109788313A/en active Pending
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20040236840A1 (en) * | 2003-03-06 | 2004-11-25 | Amit Sarkar | Method and apparatus for operating a primary PC from a remote pseudo-mobile PC |
CN101192138A (en) * | 2006-11-28 | 2008-06-04 | 国际商业机器公司 | Method and apparatus for generating image data |
CN102164166A (en) * | 2011-02-21 | 2011-08-24 | 北京奇虎科技有限公司 | Method and system for remote-control sector transmission |
CN104158915A (en) * | 2011-02-21 | 2014-11-19 | 北京奇虎科技有限公司 | Zoning transmission method and system for remote control |
CN103209204A (en) * | 2012-01-16 | 2013-07-17 | 中国人民解放军第四军医大学唐都医院 | Computer screen remote control method for medical image teaching system |
CN104115187A (en) * | 2012-02-14 | 2014-10-22 | 微软公司 | Video Detection in Remote Desktop Protocols |
CN103391442A (en) * | 2013-07-24 | 2013-11-13 | 佳都新太科技股份有限公司 | Rapid video image transmission compression algorithm based on regional division and difference comparison |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2021036940A1 (en) * | 2019-08-23 | 2021-03-04 | 中兴通讯股份有限公司 | Method for multiple displays to access cloud desktop, system, cloud desktop client and cloud desktop server |
CN113032062A (en) * | 2019-12-24 | 2021-06-25 | 深信服科技股份有限公司 | Image data transmission method and device, electronic equipment and storage medium |
CN112351333A (en) * | 2020-11-04 | 2021-02-09 | 深圳Tcl新技术有限公司 | Data transmission method, device and medium |
WO2022095858A1 (en) * | 2020-11-04 | 2022-05-12 | 深圳Tcl新技术有限公司 | Data transmission method, and device and medium |
CN114422853A (en) * | 2021-12-29 | 2022-04-29 | 南京汇川工业视觉技术开发有限公司 | Image transmission method, device, equipment, visual system and storage medium |
CN114422853B (en) * | 2021-12-29 | 2023-09-26 | 南京汇川工业视觉技术开发有限公司 | Image transmission method, device, equipment, vision system and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109508162B (en) | Screen projection display method, system and storage medium | |
CN109788313A (en) | A kind of image transfer method, device and equipment | |
Zhao et al. | QoE in video transmission: A user experience-driven strategy | |
CN108810636B (en) | Video playing method, virtual reality equipment, server, system and storage medium | |
CN104581405B (en) | A kind of display content processing method and equipment | |
JP5830496B2 (en) | Display controller and screen transfer device | |
US9741316B2 (en) | Method and system for displaying pixels on display devices | |
JP4116006B2 (en) | Screen transfer device, screen transfer system, screen transfer method, and program | |
CN105677279B (en) | Desktop area sharing method, system and corresponding shared end and viewing end | |
CN105338323A (en) | Video monitoring method and device | |
CN104735464A (en) | Panorama video interactive transmission method, server and client end | |
CN110149542A (en) | Transfer control method | |
CN109302637B (en) | Image processing method, image processing device and electronic equipment | |
CN110262765B (en) | Full-screen display method of upright image, related equipment and system | |
CN111026343A (en) | Real-time synchronous display method for multiple spliced screens | |
CN106412617B (en) | Remote debugging control method and device | |
CN104010204B (en) | Image information processing method and device | |
CN106658095A (en) | Webcasting video transmission method, server and user equipment | |
CN111083450A (en) | Vehicle-mounted-end image remote output method, device and system | |
US8963996B2 (en) | Communication of stereoscopic three-dimensional (3D) video information including an uncompressed eye view video frames | |
CN104469400A (en) | Image data compression method based on RFB protocol | |
Ma et al. | Interactive screen video streaming-based pervasive mobile workstyle | |
CN102843566A (en) | Communication method and equipment for three-dimensional (3D) video data | |
Zeng et al. | A new architecture of 8k vr fov video end-to-end technology | |
TW201501516A (en) | Multi-stream images display system, multi-stream images display apparatus and method thereof |
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 | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20190521 |