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.