[go: up one dir, main page]

CN104253804B - A kind of method and device for transmitting view data - Google Patents

A kind of method and device for transmitting view data Download PDF

Info

Publication number
CN104253804B
CN104253804B CN201310268781.8A CN201310268781A CN104253804B CN 104253804 B CN104253804 B CN 104253804B CN 201310268781 A CN201310268781 A CN 201310268781A CN 104253804 B CN104253804 B CN 104253804B
Authority
CN
China
Prior art keywords
view data
area information
compression
area
present frame
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201310268781.8A
Other languages
Chinese (zh)
Other versions
CN104253804A (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.)
Guangzhou Cubesili Information Technology Co Ltd
Original Assignee
Guangzhou Huaduo Network Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangzhou Huaduo Network Technology Co Ltd filed Critical Guangzhou Huaduo Network Technology Co Ltd
Priority to CN201310268781.8A priority Critical patent/CN104253804B/en
Publication of CN104253804A publication Critical patent/CN104253804A/en
Application granted granted Critical
Publication of CN104253804B publication Critical patent/CN104253804B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Compression Or Coding Systems Of Tv Signals (AREA)

Abstract

The invention discloses a kind of method and device for transmitting view data, belong to communication technical field.Methods described includes:Obtain the first area information for needing to carry out video coding algorithm compression processing in the view data of present frame;According to first area information, the compression that video coding algorithm is carried out to the first area in the view data of present frame is handled, the first view data after generation compression;First view data and first area information are sent to view side.The present invention is needed to carry out the first area information of video algorithm compression processing in the view data by choosing present frame, and the compression that video coding algorithm is carried out to first area is handled, and is transferred through compression the first view data of processing to view side.On the one hand, the view data in the region only to changing is compressed and transmitted, and on the other hand, the Image Data Compression rate being compressed by Video Coding Compression Technology is high, and the data volume after compression is small, saves network traffics.

Description

A kind of method and device for transmitting view data
Technical field
The present invention relates to communication technical field, more particularly to a kind of method and device for transmitting view data.
Background technology
With VNC(Virtual Network Computing, Virtual network computer)The development of technology, the technology are got over More universal to be used for internet teaching scene.VNC technologies belong to the transmission technology of remote desktop view data, are by transmitting terminal View data in screen is transmitted to view side and is illustrated in the screen of the view side by network.
When transmitting remote desktop view data in the prior art, the view data of present frame can be subjected to image compression algorithm Compression processing, and view data after compression is handled and corresponding area information are sent to view side.View side can root The view data received is decompressed according to image decompression algorithm, and is shown in screen.
During the present invention is realized, inventor has found that prior art at least has problems with:
When transmitting view data, the content change of transmission is more, and when content change frequency is higher, in order to ensure to browse Preferable viewing effect is held, it is necessary to improve the screen refresh rate of transmitting terminal, because content change is more, change frequency it is higher and The raising of refresh rate, the data volume for causing the view data of transmission larger are transmitted, it is necessary to take higher bandwidth.
The content of the invention
In order to solve problem of the prior art, the embodiments of the invention provide a kind of method and dress for transmitting view data Put.The technical scheme is as follows:
On the one hand, there is provided a kind of method for transmitting view data, methods described include:
When transmitting remote desktop view data, obtain needs to carry out video coding algorithm pressure in the view data of present frame Contract the first area information handled;
According to the first area information, Video coding calculation is carried out to the first area in the view data of the present frame The compression processing of method, the first view data after generation compression;
Described first image data and the first area information are sent to view side, so that the view side is to described First view data carries out the decompression processing of video coding algorithm, and according to first after first area presentation of information decompression View data.
Preferably, need to carry out the firstth area that video coding algorithm compression is handled in the view data for obtaining present frame Domain information, including:
Obtain the view data of the view data of present frame and the former frame of caching;
Determine the second area letter that change in the view data of the present frame and the view data of the former frame be present Breath;
The set of the area information changed according to the second area information and the presence prestored, obtains present frame Need to carry out the first area information that video coding algorithm compression is handled in view data.
Preferably, the set of the area information changed according to the second area information and the presence prestored, The first area information for needing to carry out video coding algorithm compression processing in the view data of present frame is obtained, including:
Choose the 3rd region in the set for the area information that the second area information changes with the presence prestored The 4th overlapped area information in information;
According to the 4th area information and default extension ratio, the 4th region is extended, and obtain expansion The 5th area information after exhibition;
5th area information is defined as needing to carry out at video coding algorithm compression in the view data of present frame The first area information of reason.
Preferably, need to carry out the firstth area that video coding algorithm compression is handled in the view data for obtaining present frame Domain information, including:
Previously selected 6th area information is obtained, and the 6th area information is defined as to the view data of present frame The middle first area information for needing to carry out video coding algorithm compression processing.
Preferably, it is described to obtain previously selected 6th area information, and the 6th area information is defined as currently Need to carry out the first area information that video coding algorithm compression is handled in the view data of frame, including:
Whether the SECTOR-SEVEN domain information and previously selected 6th area information that judgement is currently chosen are consistent;
If consistent, the 6th area information is defined as needing to carry out Video coding in the view data of present frame The first area information of compression algorithm processing.
Preferably, whether the SECTOR-SEVEN domain information and previously selected 6th area information that the judgement is currently chosen After consistent, methods described also includes:
If it is inconsistent, the SECTOR-SEVEN domain information is defined as needing to carry out video volume in the view data of present frame The first area information of code compression algorithm processing.
Preferably, it is described according to the first area information, the first area in the view data of the present frame is entered The compression processing of row video coding algorithm, the first view data after generation compression, including:
Obtain the area size in the first area information, and the Video coding according to corresponding to obtaining the area size Parameter;
According to the first area information and the video coding parameter, to first in the view data of the present frame Region carries out the compression processing of video coding algorithm, the first view data after generation compression.
Preferably, need to carry out the firstth area that video coding algorithm compression is handled in the view data for obtaining present frame After domain information, methods described also includes:
Before obtaining the view data outside the information of first area described in the view data of the present frame, and caching The view data of one frame;
View data and the former frame according to the view data of the present frame outside the information of first area View data, obtain needed in the view data of present frame carry out image compression algorithm compression processing Section Eight domain information;
According to the Section Eight domain information, compression of images calculation is carried out to the Section Eight domain in the view data of the present frame The compression processing of method, the second view data after generation compression.
Preferably, described first image data and the first area information are sent to view side, including:
Respectively current temporal information is added into described first image data and second view data;
By described first image data and the first area information, and second view data and the Section Eight Domain information is sent to view side.
On the other hand, there is provided a kind of device for transmitting view data, described device include:
First acquisition module, for when transmitting remote desktop view data, obtain to need in the view data of present frame Carry out the first area information of video coding algorithm compression processing;
First compression module, for according to the first area information, to first in the view data of the present frame Region carries out the compression processing of video coding algorithm, the first view data after generation compression;
Sending module, for described first image data and the first area information to be sent into view side, so that institute State view side and described first image data are carried out with the decompression processing of video coding algorithm, and shown according to the first area information Show the first view data after decompression.
Preferably, first acquisition module, including:
First acquisition unit, for obtaining the view data of the view data of present frame and the former frame of caching;
Determining unit, for determining change in the view data of the present frame and the view data of the former frame be present Second area information;
Second acquisition unit, for the area information that is changed according to the second area information and the presence that prestores Set, obtain the first area information for needing to carry out video coding algorithm compression processing in the view data of present frame.
Preferably, the second acquisition unit, including:
Subelement is chosen, the collection for the area information that the presence for choosing the second area information and prestoring changes The 4th overlapped area information in the 3rd area information in conjunction;
Subelement is extended, for according to the 4th area information and default extension ratio, the 4th region to be entered Row extension, and obtain the 5th area information after extension;
First determination subelement, for the 5th area information to be defined as needing to carry out in the view data of present frame The first area information of video coding algorithm compression processing.
Preferably, first acquisition module, including:
3rd acquiring unit, determined for obtaining previously selected 6th area information, and by the 6th area information To need to carry out the first area information of video coding algorithm compression processing in the view data of present frame.
Preferably, the 3rd acquiring unit, including:
Judgment sub-unit, for the SECTOR-SEVEN domain information for judging currently to choose and previously selected 6th area information It is whether consistent;
Second determination subelement, if for unanimously, the 6th area information to be defined as to the picture number of present frame According to the middle first area information for needing to carry out video coding algorithm compression processing.
Preferably, the 3rd acquiring unit also includes:
3rd determination subelement, for if it is inconsistent, the SECTOR-SEVEN domain information to be defined as to the image of present frame Need to carry out the first area information that video coding algorithm compression is handled in data.
Preferably, first compression module, including:
4th acquiring unit, for obtaining the area size in the first area information, and according to the area size Video coding parameter corresponding to acquisition;
Compression unit, for according to the first area information and the video coding parameter, to the figure of the present frame As the first area in data carries out the compression processing of video coding algorithm, the first view data after generation compression.
Preferably, described device also includes:
Second acquisition module, for obtaining the image described in the view data of the present frame outside the information of first area Data, and the view data of the former frame of caching;
3rd acquisition module, for the image outside first area information described in the view data according to the present frame The view data of data and the former frame, obtain needs to carry out image compression algorithm compression processing in the view data of present frame Section Eight domain information;
Second compression module, for according to the Section Eight domain information, to the 8th in the view data of the present frame Region carries out the compression processing of image compression algorithm, the second view data after generation compression.
Preferably, the sending module, including:
Adding device, when current for being added into respectively in described first image data and second view data Between information;
Transmitting element, for by described first image data and the first area information, and second picture number View side is sent to according to the Section Eight domain information.
The beneficial effect that technical scheme provided in an embodiment of the present invention is brought is:
Need to carry out the first area information of video algorithm compression processing in view data by choosing present frame, to the One region carries out the compression processing of video coding algorithm, and the view data for the present frame that compression is handled is transferred through to view side First view data of middle first area.On the one hand, the view data in the region only to changing is compressed and transmitted, separately On the one hand, the Image Data Compression rate being compressed by Video Coding Compression Technology is high, and the data volume after compression is small, saves net Network flow.
Brief description of the drawings
Technical scheme in order to illustrate the embodiments of the present invention more clearly, make required in being described below to embodiment Accompanying drawing is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the present invention, for For those of ordinary skill in the art, on the premise of not paying creative work, other can also be obtained according to these accompanying drawings Accompanying drawing.
Fig. 1 is the method flow diagram for the transmission view data that the embodiment of the present invention one provides;
Fig. 2 is the method flow diagram for the transmission view data that the embodiment of the present invention two provides;
Fig. 3 is the method flow diagram for the transmission view data that the embodiment of the present invention three provides;
Fig. 4 is the apparatus structure schematic diagram for the transmission view data that the embodiment of the present invention four provides.
Embodiment
To make the object, technical solutions and advantages of the present invention clearer, below in conjunction with accompanying drawing to embodiment party of the present invention Formula is described in further detail.
Embodiment one
The embodiments of the invention provide a kind of method for transmitting view data, referring to Fig. 1, method flow includes:
101:When transmitting remote desktop view data, obtain needs to carry out Video coding calculation in the view data of present frame The first area information of method compression processing;
102:According to the first area information, video volume is carried out to the first area in the view data of the present frame The compression processing of code algorithm, the first view data after generation compression;
103:Described first image data and the first area information are sent to view side, so that the view side is to institute The decompression processing that the first view data carries out video coding algorithm is stated, and the after being decompressed according to the first area presentation of information One view data.
The embodiment of the present invention needs to carry out the first of video algorithm compression processing in the view data by choosing present frame Area information, the compression that video coding algorithm is carried out to first area are handled, and are transferred through working as compression processing to view side First view data of first area in the view data of previous frame.On the one hand, the view data in the region only to changing is entered Row compresses and transmitted, and on the other hand, the Image Data Compression rate being compressed by Video Coding Compression Technology is high, after compression Data volume is small, saves network traffics.
Embodiment two
The embodiments of the invention provide a kind of method for transmitting view data, referring to Fig. 2, method flow includes:
201:When transmitting remote desktop view data, obtain needs to carry out Video coding calculation in the view data of present frame The first area information of method compression processing.
Wherein, in embodiments of the present invention, the firstth area of the first area for carrying out video coding algorithm compression processing is chosen The process of domain information, dynamically to determine the first area chosen according to the higher region of change frequency in screen.Wherein, region Information is a position coordinates, and parameter wide and high corresponding to the region of variation, by position coordinates and wide and high Parameter, it may be determined that the regional extent counted from the position coordinates.
Wherein, the first area information for needing to carry out video coding algorithm compression processing in the view data of present frame is obtained Process be specially:
2011:Obtain the view data of the view data of present frame and the former frame of caching.
2012:Determine the secondth area of change in the view data of the present frame and the view data of the former frame be present Domain information.
Region in the presence of change is the coordinate pixel in the view data of present frame and the view data of former frame Pixel value, the operation subtracted each other of the parameter such as gray value.If there is no change, then the parameter of the view data of front and rear frame is Identical, therefore the result after phase reducing is 0;If there is change, then the parameter of the view data of front and rear frame is to differ , therefore the result after phase reducing is not 0.There are the coordinate points in the view data of the present frame of change in record, according to this A little coordinate points can obtain the second area information in the presence of change.
2013:The set of the area information changed according to the second area information and the presence prestored, obtains and works as Need to carry out the first area information that video coding algorithm compression is handled in the view data of previous frame.
Wherein, in the view data before pre-recorded per two field pictures between presence change area information.Such as: Image sequence 1,2,3,4 ..., the view data of n frames, detect, become for the difference between image 1 and 2 and change Change region V12, detected for the difference between picture frame 2 and 3 and change, obtain region of variation V23, for picture frame n-1 Difference and change between n are detected, and obtain region of variation V(n-1)n, to V12、V23、….、V(n-1)nDeng region.By these The area information of pre-recorded presence change saves as a set, that is, the set of the area information of change be present.The set The area information of the presence change in certain time can be recorded, and falls what is initially recorded in set according to time sequencing periodic cleaning In the presence of the area information of change, and the area information that change in the view data of the view data of present frame and former frame will be present Constantly it is recorded in set.
Further, the set of the area information changed according to second area information and the presence prestored, obtains and works as The process of the first area information of progress video coding algorithm compression processing is needed in the view data of previous frame to be specially:
20131:Choose the second area information and the set of the area information of presence change that prestores in the The 4th overlapped area information in three area informations.
By choosing overlapped region, it may be determined that go out a metastable region that change be present.
20132:According to the 4th area information and default extension ratio, the 4th region is extended, and Obtain the 5th area information after extension.
There will be the region of change to be extended by a certain proportion of, and these regions expanded are probably to turn into In the presence of the region of change, these regions that be likely to become presence change can be defined as video coding algorithm in advance and be pressed The region of contracting, certain anticipation is carried out to the region that change be present.
20133:5th area information is defined as needing to carry out video coding algorithm in the view data of present frame Compress the first area information of processing.
202:According to the first area information, video volume is carried out to the first area in the view data of the present frame The compression processing of code algorithm, the first view data after generation compression.
Wherein, due to being compressed using video coding algorithm to image, selection is being needed progress Video coding calculation When the first area that method is compressed in the view data of the present frame of processing is sent in video encoder, Video coding Device can be compressed according to video coding algorithm to the view data in first area.
During video encoder view data in the first region, the view data of frame above can be referred to, so as to obtain Some redundant datas, and these redundant datas are removed by coded system.Thus, existing image compression algorithm is compressed The data volume of view data afterwards, in contrast to the picture number after being compressed in the video coding algorithm used in the embodiment of the present invention According to data volume it is huge, therefore transmission compress after view data when saved flow, reduce the bandwidth of occupancy.
Wherein video coding algorithm can be the video coding algorithms such as VP8, H264, be defined herein not to this.
203:Obtain the view data outside the information of first area described in the view data of the present frame, and caching Former frame view data.
After the first area information for needing to carry out video coding algorithm compression processing is determined in step 201, current screen Other regions can be compressed processing by traditional Image Compression in curtain.Therefore, the view data of present frame is obtained In view data in addition to the information of first area.
Further, step 203 to the execution sequence of step 205 and the step execution sequence of step 201 to step 202 can With synchronous execution.
204:View data according to the view data of the present frame outside the information of first area and it is described before The view data of one frame, obtain the Section Eight domain letter for needing to carry out image compression algorithm compression processing in the view data of present frame Breath.
By the view data in the view data of present frame in addition to the information of first area, the view data with former frame Contrasted, search the Section Eight domain information that change be present.
205:According to the Section Eight domain information, image pressure is carried out to the Section Eight domain in the view data of the present frame The compression processing of compression algorithm, the second view data after generation compression.
206:Described first image data and the first area information are sent to view side, so that the view side pair Described first image data carry out video coding algorithm decompression processing, and according to the first area presentation of information decompress after First view data.
Wherein, due to generating the first view data and the second view data by different compression algorithms, sent out in transmitting terminal When giving view side, the first view data and the second view data can be transmitted by a kind of connected mode, also may be used To be transmitted the first view data and the second view data by a variety of connected modes, such as TCP transmission can be passed through Two view data, send the first view data by way of UDP, therefore in order to which receiving terminal is by the first view data and the second figure As data synchronize, it is necessary to add temporal information in the first view data and the second view data so that view side can be with Determine that the first view data and the second view data are synchronous according to the temporal information, can will be provided with decompression same First view data of temporal information and the second view data simultaneous display.
Therefore step 206 can be specially:
2061:Respectively current temporal information is added into described first image data and second view data;
2062:By described first image data and the first area information, and second view data and described Section Eight domain information is sent to view side.
Further, view side is receiving the first view data and the second view data and corresponding first area letter When breath and Section Eight domain information, the first view data is decompressed according to video coding algorithm, according to image decompression algorithm To decompressing, and according to the first view data after the decompression of first area presentation of information, shown according to Section Eight domain information After showing decompression, the second view data.
The embodiment of the present invention needs to carry out the first of video algorithm compression processing in the view data by choosing present frame Area information, the compression that video coding algorithm is carried out to first area are handled, and are transferred through working as compression processing to view side First view data of first area in the view data of previous frame.On the one hand, the view data in the region only to changing is entered Row compresses and transmitted, and on the other hand, the Image Data Compression rate being compressed by Video Coding Compression Technology is high, after compression Data volume is small, saves network traffics.
Embodiment three
The embodiments of the invention provide a kind of method for transmitting view data, referring to Fig. 3, this method flow includes:
301:When transmitting remote desktop view data, obtain needs to carry out Video coding calculation in the view data of present frame The first area information of method compression processing.
Wherein, in embodiments of the present invention, the firstth area of the first area for carrying out video coding algorithm compression processing is chosen The process of domain information, the first area for determining to choose for the higher region of the static change frequency chosen according to user.Wherein, Area information is a position coordinates, and parameter wide and high corresponding to the region of variation, by position coordinates and it is wide and High parameter, it may be determined that the regional extent counted from the position coordinates.
Wherein, the first area information for needing to carry out video coding algorithm compression processing in the view data of present frame is obtained Process be specially:
Previously selected 6th area information is obtained, and the 6th area information is defined as to the view data of present frame The middle first area information for needing to carry out video coding algorithm compression processing.
Wherein the 6th region is the region that user chooses in advance, and the region can be the area for playing video or animation The higher region in domain, generally change frequency.
Further, because user can modify to the 6th area information initially chosen, it is thus determined that the firstth area The process of domain information can also be specially:
3011:Whether the SECTOR-SEVEN domain information and previously selected 6th area information that judgement is currently chosen are consistent.
3012:If consistent, the 6th area information is defined as needing to be regarded in the view data of present frame The first area information of frequency encryption algorithm compression processing.
3013:If it is inconsistent, the SECTOR-SEVEN domain information is defined as needing to carry out in the view data of present frame The first area information of video coding algorithm compression processing.
SECTOR-SEVEN domain information in this step is then modified for user to former 6th region, chooses SECTOR-SEVEN domain again First area as video coding algorithm compression processing.
302:According to the first area information, video volume is carried out to the first area in the view data of the present frame The compression processing of code algorithm, the first view data after generation compression.
Wherein, when the SECTOR-SEVEN domain information and previously selected 6th area information judging currently to choose in step 301 When being consistent.Then perform the process of step 302.
Wherein, when the SECTOR-SEVEN domain information and previously selected 6th area information judging currently to choose in step 301 When being inconsistent, after have chosen SECTOR-SEVEN domain again as first area, its area size chosen is possible to and initial the Six regions differ, it is therefore desirable to reacquire the area size in the region, joined by default area size and Video coding Several corresponding relations, selecting video coding parameter again, to carry out the compression of view data.
When the SECTOR-SEVEN domain information and previously selected 6th area information judging currently to choose in step 301 are to differ During cause, step 303 and step 304 are performed.
303:Obtain the area size in the first area information, and the video according to corresponding to obtaining the area size Coding parameter;
304:According to the first area information and the video coding parameter, in the view data of the present frame First area carries out the compression processing of video coding algorithm, the first view data after generation compression.
Further, during video encoder view data in the first region, the view data of frame above can be referred to, So as to obtain some redundant datas, and these redundant datas are removed by coded system.Thus, existing image compression algorithm The data volume of view data after being compressed, after being compressed in the video coding algorithm used in the embodiment of the present invention View data data volume it is huge, therefore transmission compress after view data when saved flow, reduce occupancy Bandwidth.
305:Obtain the view data outside the information of first area described in the view data of the present frame, and caching Former frame view data.
After the first area information for needing to carry out video coding algorithm compression processing is determined in step 301 or 304, when Other regions can be compressed processing by traditional Image Compression in forth screen.Therefore, the image of present frame is obtained View data in data in addition to the information of first area.
Further, step 305 is to the execution sequence of step 307, and step 301, the step of step 302 or step 301, Step 303 to step 304 execution sequence can be performed synchronously.
306:View data according to the view data of the present frame outside the information of first area and it is described before The view data of one frame, obtain the Section Eight domain letter for needing to carry out image compression algorithm compression processing in the view data of present frame Breath.
By the view data in the view data of present frame in addition to the information of first area, the view data with former frame Contrasted, search the Section Eight domain information that change be present.
307:According to the Section Eight domain information, image pressure is carried out to the Section Eight domain in the view data of the present frame The compression processing of compression algorithm, the second view data after generation compression.
308:Described first image data and the first area information are sent to view side, so that the view side pair Described first image data carry out video coding algorithm decompression processing, and according to the first area presentation of information decompress after First view data.
Wherein, due to generating the first view data and the second view data by different compression algorithms, sent out in transmitting terminal When giving view side, the first view data and the second view data can be transmitted by a kind of connected mode, also may be used To be transmitted the first view data and the second view data by a variety of connected modes, such as TCP transmission can be passed through Two view data, send the first view data by way of UDP, therefore in order to which receiving terminal is by the first view data and the second figure As data synchronize, it is necessary to add temporal information in the first view data and the second view data so that view side can be with Determine that the first view data and the second view data are synchronous according to the temporal information, can will be provided with decompression same First view data of temporal information and the second view data simultaneous display.
Therefore step 308 can be specially:
3081:Respectively current temporal information is added into described first image data and second view data;
3082:By described first image data and the first area information, and second view data and described Section Eight domain information is sent to view side.
Further, view side is receiving the first view data and the second view data and corresponding first area letter When breath and Section Eight domain information, the first view data is decompressed according to video coding algorithm, according to image decompression algorithm To decompressing, and according to the first view data after the decompression of first area presentation of information, shown according to Section Eight domain information After showing decompression, the second view data.
The embodiment of the present invention needs to carry out the first of video algorithm compression processing in the view data by choosing present frame Area information, the compression that video coding algorithm is carried out to first area are handled, and are transferred through working as compression processing to view side First view data of first area in the view data of previous frame.On the one hand, the view data in the region only to changing is entered Row compresses and transmitted, and on the other hand, the Image Data Compression rate being compressed by Video Coding Compression Technology is high, after compression Data volume is small, saves network traffics.
Example IV
The embodiments of the invention provide a kind of device for transmitting view data, referring to Fig. 4, the device includes:
First acquisition module 401, for when transmitting remote desktop view data, obtain to need in the view data of present frame Carry out the first area information of video coding algorithm compression processing;
First compression module 402, for according to the first area information, in the view data of the present frame One region carries out the compression processing of video coding algorithm, the first view data after generation compression;
Sending module 403, for described first image data and the first area information to be sent into view side, so that The view side carries out the decompression processing of video coding algorithm to described first image data, and according to the first area information The first view data after display decompression.
Wherein in a specific embodiment, first acquisition module 401, including:
First acquisition unit, for obtaining the view data of the view data of present frame and the former frame of caching;
Determining unit, for determining change in the view data of the present frame and the view data of the former frame be present Second area information;
Second acquisition unit, for the area information that is changed according to the second area information and the presence that prestores Set, obtain the first area information for needing to carry out video coding algorithm compression processing in the view data of present frame.
Wherein, the second acquisition unit, including:
Subelement is chosen, the collection for the area information that the presence for choosing the second area information and prestoring changes The 4th overlapped area information in the 3rd area information in conjunction;
Subelement is extended, for according to the 4th area information and default extension ratio, the 4th region to be entered Row extension, and obtain the 5th area information after extension;
First determination subelement, for the 5th area information to be defined as needing to carry out in the view data of present frame The first area information of video coding algorithm compression processing.
Wherein, first acquisition module 401 also includes:
3rd acquiring unit, determined for obtaining previously selected 6th area information, and by the 6th area information To need to carry out the first area information of video coding algorithm compression processing in the view data of present frame.
Wherein, the 3rd acquiring unit, including:
Judgment sub-unit, for the SECTOR-SEVEN domain information for judging currently to choose and previously selected 6th area information It is whether consistent;
Second determination subelement, if for unanimously, the 6th area information to be defined as to the picture number of present frame According to the middle first area information for needing to carry out video coding algorithm compression processing.
Wherein, the 3rd acquiring unit also includes:
3rd determination subelement, for if it is inconsistent, the SECTOR-SEVEN domain information to be defined as to the image of present frame Need to carry out the first area information that video coding algorithm compression is handled in data.
Wherein, first compression module 402, including:
4th acquiring unit, for obtaining the area size in the first area information, and according to the area size Video coding parameter corresponding to acquisition;
Compression unit, for according to the first area information and the video coding parameter, to the figure of the present frame As the first area in data carries out the compression processing of video coding algorithm, the first view data after generation compression.
Wherein, described device also includes:
Second acquisition module 404, for obtaining described in the view data of the present frame outside the information of first area View data, and the view data of the former frame of caching;
3rd acquisition module 405, outside first area information described in the view data according to the present frame The view data of view data and the former frame, obtain needs to carry out image compression algorithm compression in the view data of present frame The Section Eight domain information of processing;
Second compression module 406, for according to the Section Eight domain information, in the view data of the present frame Eight regions carry out the compression processing of image compression algorithm, the second view data after generation compression.
Wherein, the sending module 403, including:
Adding device, when current for being added into respectively in described first image data and second view data Between information;
Transmitting element, for by described first image data and the first area information, and second picture number View side is sent to according to the Section Eight domain information.
The embodiment of the present invention needs to carry out the first of video algorithm compression processing in the view data by choosing present frame Area information, the compression that video coding algorithm is carried out to first area are handled, and are transferred through working as compression processing to view side First view data of first area in the view data of previous frame.On the one hand, the view data in the region only to changing is entered Row compresses and transmitted, and on the other hand, the Image Data Compression rate being compressed by Video Coding Compression Technology is high, after compression Data volume is small, saves network traffics.
The embodiments of the present invention are for illustration only, do not represent the quality of embodiment.
One of ordinary skill in the art will appreciate that hardware can be passed through by realizing all or part of step of above-described embodiment To complete, by program the hardware of correlation can also be instructed to complete, described program can be stored in a kind of computer-readable In storage medium, storage medium mentioned above can be read-only storage, disk or CD etc..
The foregoing is only presently preferred embodiments of the present invention, be not intended to limit the invention, it is all the present invention spirit and Within principle, any modification, equivalent substitution and improvements made etc., it should be included in the scope of the protection.

Claims (6)

  1. A kind of 1. method for transmitting view data, it is characterised in that methods described includes:
    When transmitting remote desktop view data, obtain needs to carry out at video coding algorithm compression in the view data of present frame The first area information of reason;
    According to the first area information, video coding algorithm is carried out to the first area in the view data of the present frame Compression is handled, the first view data after generation compression;
    Described first image data and the first area information are sent to view side, so that the view side is to described first View data carries out the decompression processing of video coding algorithm, and according to the first image after first area presentation of information decompression Data;
    Wherein, the first area for carrying out video coding algorithm compression processing is needed to believe in the view data for obtaining present frame Breath, including:Obtain the view data of the view data of present frame and the former frame of caching;Determine the view data of the present frame With the second area information that change in the view data of the former frame be present;Choose the second area information and prestore Presence change area information set in the 3rd area information in overlapped the 4th area information;According to described Four area informations and default extension ratio, the 4th region is extended, and obtains the 5th area information after extension; 5th area information is defined as needing to carry out the first of video coding algorithm compression processing in the view data of present frame Area information.
  2. 2. according to the method for claim 1, it is characterised in that need to be regarded in the view data for obtaining present frame After the first area information of frequency encryption algorithm compression processing, methods described also includes:
    Obtain the view data outside the information of first area described in the view data of the present frame, and the former frame of caching View data;
    The figure of view data and the former frame according to the view data of the present frame outside the information of first area As data, the Section Eight domain information for needing to carry out image compression algorithm compression processing in the view data of present frame is obtained;
    According to the Section Eight domain information, image compression algorithm is carried out to the Section Eight domain in the view data of the present frame Compression is handled, the second view data after generation compression.
  3. 3. according to the method for claim 2, it is characterised in that described first image data and first area information hair View side is given, including:
    Respectively current temporal information is added into described first image data and second view data;
    By described first image data and the first area information, and second view data and Section Eight domain letter Breath is sent to view side.
  4. 4. a kind of device for transmitting view data, it is characterised in that described device includes:
    First acquisition module, for when transmitting remote desktop view data, obtain to need to carry out in the view data of present frame The first area information of video coding algorithm compression processing;
    First compression module, for according to the first area information, to the first area in the view data of the present frame Carry out the compression processing of video coding algorithm, the first view data after generation compression;
    Sending module, for described first image data and the first area information to be sent into view side, so that described clear Looking at end carries out the decompression processing of video coding algorithm to described first image data, and according to the first area presentation of information solution The first view data after pressure;
    Wherein, first acquisition module, including:First acquisition unit, for obtaining the view data and caching of present frame The view data of former frame;Determining unit, for determining the view data of the present frame and the view data of the former frame The middle second area information that change be present;Second acquisition unit, for being deposited according to the second area information with what is prestored In the set of the area information of change, obtaining needs to carry out the of video coding algorithm compression processing in the view data of present frame One area information;The second acquisition unit specifically includes:Choose subelement, for choose the second area information and in advance The 4th overlapped area information in the 3rd area information in the set of the area information of the presence change of storage;Extension Unit, for according to the 4th area information and default extension ratio, the 4th region being extended, and obtain expansion The 5th area information after exhibition;First determination subelement, for the 5th area information to be defined as to the picture number of present frame According to the middle first area information for needing to carry out video coding algorithm compression processing.
  5. 5. device according to claim 4, it is characterised in that described device also includes:
    Second acquisition module, for obtaining the picture number described in the view data of the present frame outside the information of first area According to, and the view data of the former frame of caching;
    3rd acquisition module, for the view data outside first area information described in the view data according to the present frame With the view data of the former frame, obtain needs to carry out the of image compression algorithm compression processing in the view data of present frame Eight area informations;
    Second compression module, for according to the Section Eight domain information, to the Section Eight domain in the view data of the present frame Carry out the compression processing of image compression algorithm, the second view data after generation compression.
  6. 6. device according to claim 5, it is characterised in that the sending module, including:
    Adding device, for being added into current time letter in described first image data and second view data respectively Breath;
    Transmitting element, for by described first image data and the first area information, and second view data and The Section Eight domain information is sent to view side.
CN201310268781.8A 2013-06-28 2013-06-28 A kind of method and device for transmitting view data Active CN104253804B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310268781.8A CN104253804B (en) 2013-06-28 2013-06-28 A kind of method and device for transmitting view data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310268781.8A CN104253804B (en) 2013-06-28 2013-06-28 A kind of method and device for transmitting view data

Publications (2)

Publication Number Publication Date
CN104253804A CN104253804A (en) 2014-12-31
CN104253804B true CN104253804B (en) 2017-12-12

Family

ID=52188342

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310268781.8A Active CN104253804B (en) 2013-06-28 2013-06-28 A kind of method and device for transmitting view data

Country Status (1)

Country Link
CN (1) CN104253804B (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106534859B (en) * 2015-09-11 2021-01-15 中兴通讯股份有限公司 Image transmission method and device based on SPICE protocol
CN106412617B (en) * 2016-09-08 2019-12-06 广州华多网络科技有限公司 Remote debugging control method and device
CN106681679A (en) * 2017-01-19 2017-05-17 深圳市云点科技有限公司 Remote desktop picture transmission method and device
CN109309867A (en) * 2017-07-28 2019-02-05 中兴通讯股份有限公司 Display methods, display terminal and the computer readable storage medium of terminal
CN108153573A (en) * 2017-12-26 2018-06-12 合肥中科云巢科技有限公司 Cloud desktop picture update method and virtual machine
CN112104878B (en) * 2020-08-21 2024-09-13 西安万像电子科技有限公司 Image coding method, device, coding end equipment and storage medium
CN114360468B (en) * 2022-02-18 2023-04-18 上海铼锶信息技术有限公司 Screen refreshing display method and system

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1630246A (en) * 2003-12-15 2005-06-22 联想(北京)有限公司 A method for realizing remote desktop data acquisition
CN101014127A (en) * 2007-01-26 2007-08-08 华中科技大学 Remote desktop synchronizing method in ubiquitous environment
CN102164166A (en) * 2011-02-21 2011-08-24 北京奇虎科技有限公司 Method and system for remote-control sector transmission
CN103139609A (en) * 2013-02-01 2013-06-05 深圳市深信服电子科技有限公司 Method and device for optimizing remote application video play

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7929604B2 (en) * 2002-08-05 2011-04-19 Panasonic Corporation Data processing device and data processing method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1630246A (en) * 2003-12-15 2005-06-22 联想(北京)有限公司 A method for realizing remote desktop data acquisition
CN101014127A (en) * 2007-01-26 2007-08-08 华中科技大学 Remote desktop synchronizing method in ubiquitous environment
CN102164166A (en) * 2011-02-21 2011-08-24 北京奇虎科技有限公司 Method and system for remote-control sector transmission
CN103139609A (en) * 2013-02-01 2013-06-05 深圳市深信服电子科技有限公司 Method and device for optimizing remote application video play

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
拼接交互显示系统的设计方法;卢如西;《集成电路与设计》;20081231;全文 *

Also Published As

Publication number Publication date
CN104253804A (en) 2014-12-31

Similar Documents

Publication Publication Date Title
CN104253804B (en) A kind of method and device for transmitting view data
CN105677279B (en) Desktop area sharing method, system and corresponding shared end and viewing end
US9210372B2 (en) Communication method and device for video simulation image
CN104254001B (en) Long-range sharing method, device and terminal
CN109309842B (en) Live broadcast data processing method and device, computer equipment and storage medium
US20030177255A1 (en) Encoding and decoding system for transmitting streaming video data to wireless computing devices
CN105874807B (en) Methods, systems, and media for remote rendering of Web content on a television device
EP3410302B1 (en) Graphic instruction data processing method, apparatus
CN115089966B (en) Video rendering method, system and related equipment applied to cloud game
CN108153573A (en) Cloud desktop picture update method and virtual machine
CN102387187A (en) Server, client as well as method and system for remotely playing video file by using client
CN102905132A (en) Compression and decompression method and device for wireless video transmission
CN102244786A (en) Method and device for compressing and decompressing video data and mobile terminal
CN110740352B (en) SPICE protocol-based difference image display method in video card transparent transmission environment
CN109729299A (en) Method and device for sending and receiving ultra-high-definition video
CN110418209B (en) An information processing method and terminal device applied to video transmission
CN106941597A (en) A kind of video call method and device
CN102857726A (en) Remote control method, terminal, opposite terminal and system based on synchronous display
CN113709493B (en) Video stream data encryption device, method and equipment of KVM system
CN110572673A (en) Video encoding and decoding method and device, storage medium and electronic device
CN104469400A (en) A Method of Image Data Compression Based on RFB Protocol
TWI629898B (en) Server device, client device and dynamic image transmission method for virtual desktop infrastructure
WO2016154816A1 (en) Data processing method and device
CN110662071A (en) Video decoding method and apparatus, storage medium, and electronic apparatus
CN107318021B (en) Data processing method and system for remote display

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information

Address after: 511446 Guangzhou City, Guangdong Province, Panyu District, South Village, Huambo Business District Wanda Plaza, block B1, floor 28

Applicant after: Guangzhou Huaduo Network Technology Co., Ltd.

Address before: 510655, Guangzhou, Whampoa Avenue, No. 2, creative industrial park, building 3-08,

Applicant before: Guangzhou Huaduo Network Technology Co., Ltd.

CB02 Change of applicant information
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20210113

Address after: 511442 3108, 79 Wanbo 2nd Road, Nancun Town, Panyu District, Guangzhou City, Guangdong Province

Patentee after: GUANGZHOU CUBESILI INFORMATION TECHNOLOGY Co.,Ltd.

Address before: 511446 28th floor, block B1, Wanda Plaza, Wanbo business district, Nancun Town, Panyu District, Guangzhou City, Guangdong Province

Patentee before: GUANGZHOU HUADUO NETWORK TECHNOLOGY Co.,Ltd.

TR01 Transfer of patent right
EE01 Entry into force of recordation of patent licensing contract

Application publication date: 20141231

Assignee: GUANGZHOU HUADUO NETWORK TECHNOLOGY Co.,Ltd.

Assignor: GUANGZHOU CUBESILI INFORMATION TECHNOLOGY Co.,Ltd.

Contract record no.: X2021440000053

Denomination of invention: A method and device for transmitting image data

Granted publication date: 20171212

License type: Common License

Record date: 20210208

EE01 Entry into force of recordation of patent licensing contract