CN104253804A - Method and device for transmitting image data - Google Patents

Method and device for transmitting image data Download PDF

Info

Publication number
CN104253804A
CN104253804A CN201310268781.8A CN201310268781A CN104253804A CN 104253804 A CN104253804 A CN 104253804A CN 201310268781 A CN201310268781 A CN 201310268781A CN 104253804 A CN104253804 A CN 104253804A
Authority
CN
China
Prior art keywords
view data
area information
present frame
video coding
area
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201310268781.8A
Other languages
Chinese (zh)
Other versions
CN104253804B (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 method and a device for transmitting image data and belongs to the technical field of communication. The method includes acquiring first area information, needing to be subjected to video coding algorithm compression processing, in the image data of a current frame; according to the first area information, subjecting a first area in the image data of the current frame to compression processing through a video coding algorithm to generate first image data after compression; sending the first image data and the first area information to a browsing end. The first area information, needing to be subjected to video coding algorithm compression processing, in the image data of the current frame, the first area is subjected to compression processing through the video coding algorithm, and the first image data after compression processing are transmitted to the browsing end, so that the image data of changing areas are compressed and transmitted only, the image data compressed through video coding compression technology is high in compression rate, data volume after compression is small, and network traffic is saved.

Description

A kind of method of transmit image data and device
Technical field
The present invention relates to communication technical field, particularly a kind of method of transmit image data and device.
Background technology
Along with VNC(Virtual Network Computing, Virtual network computer) development of technology, this technology more and more general for internet teaching scene.VNC technology belongs to the transmission technology of remote desktop view data, be by the view data in transmitting terminal screen by network, transfer to view side and be illustrated in the screen of this view side.
When transmitting remote desktop view data in prior art, the view data of present frame can be carried out the compression process of image compression algorithm, and the area information of the view data after compression process and correspondence is sent to view side.Can decompress to the view data received according to image decompression algorithm in view side, and be presented in screen.
Realizing in process of the present invention, inventor finds that prior art at least exists following problem:
When transmit image data, the content change of transmission is more, and content change frequency higher time, in order to ensure the good viewing effect in view side, need to improve the screen refresh rate of transmitting terminal, because content change is more, the raising of the higher and refresh rate of change frequency, the data volume causing the view data of transmission is comparatively large, needs to take higher bandwidth and transmits.
Summary of the invention
In order to solve the problem of prior art, embodiments provide a kind of method and device of transmit image data.Described technical scheme is as follows:
On the one hand, provide a kind of method of transmit image data, described method comprises:
When transmitting remote desktop view data, obtain in the view data of present frame the first area information needing to carry out video coding algorithm compression process;
According to described first area information, the first area in the view data of described present frame is carried out to the compression process of video coding algorithm, generate the first view data after compression;
Described first view data and described first area information are sent to view side, to make described view side carry out the decompression processing of video coding algorithm to described first view data, and according to the first view data after the information displaying decompress(ion) of described first area.
Preferably, need the first area information of carrying out video coding algorithm compression process in the view data of described acquisition present frame, comprising:
Obtain the view data of the view data of present frame and the former frame of buffer memory;
Determine the second area information that there is change in the view data of described present frame and the view data of described former frame;
According to the set of described second area information with the area information of the existence change prestored, obtain in the view data of present frame the first area information needing to carry out video coding algorithm compression process.
Preferably, described according to the set of described second area information with the area information of the existence change prestored, obtain in the view data of present frame the first area information needing to carry out video coding algorithm compression process, comprising:
Choose the 4th area information overlapped in the 3rd area information in the set of the area information that described second area information changes with the existence prestored;
According to described 4th area information and default expansion ratio, described 4th region is expanded, and obtain the 5th area information after expansion;
Described 5th area information is defined as the first area information needing in the view data of present frame to carry out video coding algorithm compression process.
Preferably, need the first area information of carrying out video coding algorithm compression process in the view data of described acquisition present frame, comprising:
Obtain previously selected 6th area information, and described 6th area information is defined as need in the view data of present frame to carry out the first area information that video coding algorithm compresses process.
Preferably, previously selected 6th area information of described acquisition, and described 6th area information is defined as need in the view data of present frame to carry out the first area information that video coding algorithm compresses process, comprising:
Judge that whether the current SECTOR-SEVEN domain information chosen is consistent with described previously selected 6th area information;
If consistent, then described 6th area information is defined as the first area information needing in the view data of present frame to carry out video coding algorithm compression process.
Preferably, described judge that whether the current SECTOR-SEVEN domain information chosen consistent with described previously selected 6th area information after, described method also comprises:
If inconsistent, then described SECTOR-SEVEN domain information is defined as the first area information needing in the view data of present frame to carry out video coding algorithm compression process.
Preferably, described according to described first area information, the first area in the view data of described present frame is carried out to the compression process of video coding algorithm, generate the first view data after compression, comprising:
Obtain the area size in the information of described first area, and obtain corresponding video coding parameter according to described area size;
According to described first area information and described video coding parameter, the first area in the view data of described present frame is carried out to the compression process of video coding algorithm, generate the first view data after compression.
Preferably, after needing to carry out the first area information of video coding algorithm compression process in the view data of described acquisition present frame, described method also comprises:
View data outside first area information described in the view data obtaining described present frame, and the view data of the former frame of buffer memory;
According to the view data of the view data outside first area information described in the view data of described present frame and described former frame, obtain in the view data of present frame the Section Eight domain information needing to carry out image compression algorithm compression process;
According to described Section Eight domain information, the Section Eight territory in the view data of described present frame is carried out to the compression process of image compression algorithm, generate the second view data after compression.
Preferably, described first view data and described first area information send to view side, comprising:
Current temporal information is added into respectively in described first view data and described second view data;
By described first view data and described first area information, and described second view data and described Section Eight domain information send to view side.
On the other hand, provide a kind of device of transmit image data, described device comprises:
First acquisition module, for when transmitting remote desktop view data, obtains in the view data of present frame the first area information needing to carry out video coding algorithm compression process;
First compression module, for according to described first area information, carries out the compression process of video coding algorithm to the first area in the view data of described present frame, generate the first view data after compression;
Sending module, for described first view data and described first area information are sent to view side, to make described view side carry out the decompression processing of video coding algorithm to described first view data, and according to the first view data after the information displaying decompress(ion) of described first area.
Preferably, described first acquisition module, comprising:
First acquiring unit, for the view data of the former frame of the view data and buffer memory that obtain present frame;
, for there is the second area information of change in the view data of the view data and described former frame of determining described present frame in determining unit;
Second acquisition unit, for according to the set of described second area information with the area information of the existence change prestored, obtains in the view data of present frame the first area information needing to carry out video coding algorithm compression process.
Preferably, described second acquisition unit, comprising:
Choose subelement, for choosing the 4th area information overlapped in the 3rd area information in the set of the area information that described second area information changes with the existence prestored;
Expansion subelement, for according to described 4th area information and default expansion ratio, expands described 4th region, and obtains the 5th area information after expansion;
First determines subelement, for described 5th area information being defined as the first area information needing in the view data of present frame to carry out video coding algorithm compression process.
Preferably, described first acquisition module, comprising:
3rd acquiring unit, for obtaining previously selected 6th area information, and is defined as described 6th area information needing in the view data of present frame to carry out the first area information that video coding algorithm compresses process.
Preferably, described 3rd acquiring unit, comprising:
Judgment sub-unit, for judging that whether the current SECTOR-SEVEN domain information chosen is consistent with described previously selected 6th area information;
Second determines subelement, if for consistent, then described 6th area information is defined as the first area information needing in the view data of present frame to carry out video coding algorithm compression process.
Preferably, described 3rd acquiring unit also comprises:
3rd determines subelement, if for inconsistent, then described SECTOR-SEVEN domain information is defined as the first area information needing in the view data of present frame to carry out video coding algorithm compression process.
Preferably, described first compression module, comprising:
4th acquiring unit, for obtaining the area size in the information of described first area, and obtains corresponding video coding parameter according to described area size;
Compression unit, for according to described first area information and described video coding parameter, carries out the compression process of video coding algorithm to the first area in the view data of described present frame, generate the first view data after compression.
Preferably, described device also comprises:
Second acquisition module, for obtain described present frame view data described in view data outside the information of first area, and the view data of the former frame of buffer memory;
3rd acquisition module, for the view data according to the view data outside first area information described in the view data of described present frame and described former frame, obtain in the view data of present frame the Section Eight domain information needing to carry out image compression algorithm compression process;
Second compression module, for according to described Section Eight domain information, carries out the compression process of image compression algorithm to the Section Eight territory in the view data of described present frame, generate the second view data after compression.
Preferably, described sending module, comprising:
Adding device, for being added into current temporal information respectively in described first view data and described second view data;
Transmitting element, for by described first view data and described first area information, and described second view data and described Section Eight domain information send to view side.
The beneficial effect that the technical scheme that the embodiment of the present invention provides is brought is:
By needing to carry out the first area information of video algorithm compression process in the view data of choosing present frame, first area is carried out to the compression process of video coding algorithm, and be transferred through the first view data of first area in the view data of the present frame of compression process to view side.On the one hand, only compress the view data in the region changed and transmit, on the other hand, the Image Data Compression rate being undertaken compressing by Video Coding Compression Technology is high, and the data volume after compression is little, saves network traffics.
Accompanying drawing explanation
In order to be illustrated more clearly in the technical scheme in the embodiment of the present invention, below the accompanying drawing used required in describing embodiment is briefly described, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
Fig. 1 is the method flow diagram of the transmit image data that the embodiment of the present invention one provides;
Fig. 2 is the method flow diagram of the transmit image data that the embodiment of the present invention two provides;
Fig. 3 is the method flow diagram of the transmit image data that the embodiment of the present invention three provides;
Fig. 4 is the apparatus structure schematic diagram of the transmit image data that the embodiment of the present invention four provides.
Embodiment
For making the object, technical solutions and advantages of the present invention clearly, below in conjunction with accompanying drawing, embodiment of the present invention is described further in detail.
Embodiment one
Embodiments provide a kind of method of transmit image data, see Fig. 1, method flow comprises:
101: when transmitting remote desktop view data, obtain in the view data of present frame the first area information needing to carry out video coding algorithm compression process;
102: according to described first area information, the first area in the view data of described present frame is carried out to the compression process of video coding algorithm, generate the first view data after compression;
103: described first view data and described first area information send to view side, to make described view side carry out the decompression processing of video coding algorithm to described first view data, and according to the first view data after the information displaying decompress(ion) of described first area.
The embodiment of the present invention is by needing to carry out the first area information of video algorithm compression process in the view data of choosing present frame, first area is carried out to the compression process of video coding algorithm, and be transferred through the first view data of first area in the view data of the present frame of compression process to view side.On the one hand, only compress the view data in the region changed and transmit, on the other hand, the Image Data Compression rate being undertaken compressing by Video Coding Compression Technology is high, and the data volume after compression is little, saves network traffics.
Embodiment two
Embodiments provide a kind of method of transmit image data, see Fig. 2, method flow comprises:
201: when transmitting remote desktop view data, obtain in the view data of present frame the first area information needing to carry out video coding algorithm compression process.
Wherein, in embodiments of the present invention, the process of first area information of the first area of carrying out video coding algorithm compression process is chosen, for the first area chosen is determined in the dynamic region higher according to change frequency in screen.Wherein, area information is a position coordinates, and the wide and high parameter that this region of variation is corresponding, by position coordinates and wide and high parameter, can determine the regional extent counted from this position coordinates.
Wherein, obtain in the view data of present frame and need the process of the first area information of carrying out video coding algorithm compression process to be specially:
2011: the view data obtaining the view data of present frame and the former frame of buffer memory.
2012: determine the second area information that there is change in the view data of described present frame and the view data of described former frame.
The region that there is change carries out the operation of subtracting each other according to the parameter such as pixel value, gray value of the coordinate pixel in the view data of present frame and the view data of former frame.If there is no change, then before and after, the parameter of the view data of frame is identical, and the result therefore after phase reducing is 0; If there is change, then before and after, the parameter of the view data of frame is not identical, and the result therefore after phase reducing is not 0.There is the coordinate points in the view data of the present frame of change in record, can obtain according to these coordinate points the second area information that there is change.
2013: according to the set of described second area information with the area information of the existence change prestored, obtain in the view data of present frame the first area information needing to carry out video coding algorithm compression process.
Wherein, the area information of the existence change in the view data before pre-recorded between every two two field pictures.Such as: image sequence 1,2,3,4 ..., the view data of n frame, detects for the difference between image 1 and 2 and change, obtains region of variation V 12, the difference between picture frame 2 and 3 and change are detected, obtain region of variation V 23, the difference between picture frame n-1 and n and change are detected, obtain region of variation V (n-1) n, to V 12, V 23...., V (n-1) nin region.The area information that these pre-recorded existence change is saved as a set, namely there is the set of the area information of change.This set can record the area information of the existence change in certain hour, and fall the area information of the existence change of initial record in set according to time sequencing periodic cleaning, and the area information that there is change in the view data of present frame and the view data of former frame is constantly recorded in set.
Further, according to the set of second area information with the area information of the existence change prestored, obtain in the view data of present frame and need the process of the first area information of carrying out video coding algorithm compression process to be specially:
20131: choose the 4th area information overlapped in the 3rd area information in the set of the area information that described second area information changes with the existence prestored.
By choosing overlapped region, a metastable region that there is change can be determined.
20132: according to described 4th area information and default expansion ratio, described 4th region is expanded, and obtain the 5th area information after expansion.
By a certain proportion of, the region that there is change is expanded, these regions expanded probably become the region that there is change, in advance these likely can be become the region that there is change and be defined as the region that video coding algorithm carries out compressing, certain anticipation has been carried out to the region that there is change.
20133: described 5th area information is defined as the first area information needing in the view data of present frame to carry out video coding algorithm compression process.
202: according to described first area information, the first area in the view data of described present frame is carried out to the compression process of video coding algorithm, generate the first view data after compression.
Wherein, owing to adopting video coding algorithm, image is compressed, when needing of choosing being carried out the video coding algorithm first area of carrying out in the view data of the present frame compressing process and being sent in video encoder, video encoder can compress the view data in first area according to video coding algorithm.
During video encoder view data in the first region, with reference to the view data of frame above, thus some redundant datas can be obtained, and remove these redundant datas by coded system.Thus, the data volume of the view data after existing image compression algorithm compresses, the data volume ining contrast to the view data in the video coding algorithm used in the embodiment of the present invention after compression is huge, therefore having saved flow when transmitting the view data after compressing, having reduced the bandwidth taken.
Wherein video coding algorithm can be the video coding algorithms such as VP8, H264, does not limit at this to this.
203: the view data outside first area information described in the view data obtaining described present frame, and the view data of the former frame of buffer memory.
After determining the first area information needing to carry out video coding algorithm compression process in step 201, in current screen, compression process can be carried out by traditional Image Compression in other regions.Therefore, the view data except the information of first area in the view data of present frame is obtained.
Further, step 203 can synchronously perform to execution sequence and the step 201 of step 205 to the step execution sequence of step 202.
204: according to the view data of the view data outside first area information described in the view data of described present frame and described former frame, obtain in the view data of present frame the Section Eight domain information needing to carry out image compression algorithm compression process.
By the view data in the view data of present frame except the information of first area, contrast with the view data of former frame, search the Section Eight domain information that there is change.
205: according to described Section Eight domain information, the Section Eight territory in the view data of described present frame is carried out to the compression process of image compression algorithm, generate the second view data after compression.
206: described first view data and described first area information are sent to view side, to make described view side carry out the decompression processing of video coding algorithm to described first view data, and according to the first view data after the information displaying decompress(ion) of described first area.
Wherein, owing to generating the first view data and the second view data by different compression algorithm, when transmitting terminal sends to view side, transmission first view data and the second view data can be carried out by a kind of connected mode, also transmission first view data and the second view data can be carried out by multiple connected mode, such as can by transmission second view data of TCP, the first view data is sent by the mode of UDP, therefore in order to the first view data and the second view data are carried out synchronously by receiving terminal, need joining day information in the first view data and the second view data, make view side can determine that the first view data and the second view data are synchronous according to this temporal information, first view data and the second view data simultaneous display of same temporal information can be possessed when decompressing.
Therefore step 206 can be specially:
2061: in described first view data and described second view data, be added into current temporal information respectively;
2062: by described first view data and described first area information, and described second view data and described Section Eight domain information send to view side.
Further, view side is when receiving first area information and the Section Eight domain information of the first view data and the second view data and correspondence, according to video coding algorithm, the first view data is decompressed, according to image decompression algorithm to decompressing, and the first view data after decompressing according to first area information displaying, after compressing according to Section Eight domain information Explicit solutions, the second view data.
The embodiment of the present invention is by needing to carry out the first area information of video algorithm compression process in the view data of choosing present frame, first area is carried out to the compression process of video coding algorithm, and be transferred through the first view data of first area in the view data of the present frame of compression process to view side.On the one hand, only compress the view data in the region changed and transmit, on the other hand, the Image Data Compression rate being undertaken compressing by Video Coding Compression Technology is high, and the data volume after compression is little, saves network traffics.
Embodiment three
Embodiments provide a kind of method of transmit image data, see Fig. 3, the method flow process comprises:
301: when transmitting remote desktop view data, obtain in the view data of present frame the first area information needing to carry out video coding algorithm compression process.
Wherein, in embodiments of the present invention, the process of first area information of the first area of carrying out video coding algorithm compression process is chosen, for the first area chosen is determined in region that the change frequency chosen according to user of static state is higher.Wherein, area information is a position coordinates, and the wide and high parameter that this region of variation is corresponding, by position coordinates and wide and high parameter, can determine the regional extent counted from this position coordinates.
Wherein, obtain in the view data of present frame and need the process of the first area information of carrying out video coding algorithm compression process to be specially:
Obtain previously selected 6th area information, and described 6th area information is defined as need in the view data of present frame to carry out the first area information that video coding algorithm compresses process.
Wherein the 6th region is the region that user chooses in advance, and this region can be the region of displaying video or animation, is generally the region that change frequency is higher.
Further, because user can modify to the 6th area information chosen at first, therefore determine that the process of first area information can also be specially:
3011: judge that whether the current SECTOR-SEVEN domain information chosen is consistent with described previously selected 6th area information.
3012: if consistent, then described 6th area information is defined as the first area information needing in the view data of present frame to carry out video coding algorithm compression process.
3013: if inconsistent, then described SECTOR-SEVEN domain information is defined as the first area information needing in the view data of present frame to carry out video coding algorithm compression process.
SECTOR-SEVEN domain information in this step is then revised former 6th region for user, again chooses the first area of SECTOR-SEVEN territory as video coding algorithm compression process.
302: according to described first area information, the first area in the view data of described present frame is carried out to the compression process of video coding algorithm, generate the first view data after compression.
Wherein, when judging in step 301 that the current SECTOR-SEVEN domain information chosen is consistent with previously selected 6th area information.Then perform the process of step 302.
Wherein, when judging in step 301 that the current SECTOR-SEVEN domain information chosen and previously selected 6th area information are inconsistent, again have chosen SECTOR-SEVEN territory as behind first area, six region of its area size chosen likely with initial is not identical, therefore the area size again obtaining this region is needed, by the area size that presets and the corresponding relation of video coding parameter, selecting video coding parameter again, to carry out the compression of view data.
When judging in step 301 that the current SECTOR-SEVEN domain information chosen and previously selected 6th area information are inconsistent, perform step 303 and step 304.
303: obtain the area size in the information of described first area, and obtain corresponding video coding parameter according to described area size;
304: according to described first area information and described video coding parameter, the first area in the view data of described present frame is carried out to the compression process of video coding algorithm, generate the first view data after compression.
Further, during video encoder view data in the first region, with reference to the view data of frame above, thus some redundant datas can be obtained, and remove these redundant datas by coded system.Thus, the data volume of the view data after existing image compression algorithm compresses, the data volume ining contrast to the view data in the video coding algorithm used in the embodiment of the present invention after compression is huge, therefore having saved flow when transmitting the view data after compressing, having reduced the bandwidth taken.
305: the view data outside first area information described in the view data obtaining described present frame, and the view data of the former frame of buffer memory.
Determine the first area information needing to carry out video coding algorithm compression process in step 301 or 304 after, in current screen, compression process can be carried out by traditional Image Compression in other regions.Therefore, the view data except the information of first area in the view data of present frame is obtained.
Further, step 305 is to the execution sequence of step 307, and with step 301, the step of step 302 or step 301, step 303 can synchronously perform to step 304 execution sequence.
306: according to the view data of the view data outside first area information described in the view data of described present frame and described former frame, obtain in the view data of present frame the Section Eight domain information needing to carry out image compression algorithm compression process.
By the view data in the view data of present frame except the information of first area, contrast with the view data of former frame, search the Section Eight domain information that there is change.
307: according to described Section Eight domain information, the Section Eight territory in the view data of described present frame is carried out to the compression process of image compression algorithm, generate the second view data after compression.
308: described first view data and described first area information are sent to view side, to make described view side carry out the decompression processing of video coding algorithm to described first view data, and according to the first view data after the information displaying decompress(ion) of described first area.
Wherein, owing to generating the first view data and the second view data by different compression algorithm, when transmitting terminal sends to view side, transmission first view data and the second view data can be carried out by a kind of connected mode, also transmission first view data and the second view data can be carried out by multiple connected mode, such as can by transmission second view data of TCP, the first view data is sent by the mode of UDP, therefore in order to the first view data and the second view data are carried out synchronously by receiving terminal, need joining day information in the first view data and the second view data, make view side can determine that the first view data and the second view data are synchronous according to this temporal information, first view data and the second view data simultaneous display of same temporal information can be possessed when decompressing.
Therefore step 308 can be specially:
3081: in described first view data and described second view data, be added into current temporal information respectively;
3082: by described first view data and described first area information, and described second view data and described Section Eight domain information send to view side.
Further, view side is when receiving first area information and the Section Eight domain information of the first view data and the second view data and correspondence, according to video coding algorithm, the first view data is decompressed, according to image decompression algorithm to decompressing, and the first view data after decompressing according to first area information displaying, after compressing according to Section Eight domain information Explicit solutions, the second view data.
The embodiment of the present invention is by needing to carry out the first area information of video algorithm compression process in the view data of choosing present frame, first area is carried out to the compression process of video coding algorithm, and be transferred through the first view data of first area in the view data of the present frame of compression process to view side.On the one hand, only compress the view data in the region changed and transmit, on the other hand, the Image Data Compression rate being undertaken compressing by Video Coding Compression Technology is high, and the data volume after compression is little, saves network traffics.
Embodiment four
Embodiments provide a kind of device of transmit image data, see Fig. 4, this device comprises:
First acquisition module 401, for when transmitting remote desktop view data, obtains in the view data of present frame the first area information needing to carry out video coding algorithm compression process;
First compression module 402, for according to described first area information, carries out the compression process of video coding algorithm to the first area in the view data of described present frame, generate the first view data after compression;
Sending module 403, for described first view data and described first area information are sent to view side, to make described view side carry out the decompression processing of video coding algorithm to described first view data, and according to the first view data after the information displaying decompress(ion) of described first area.
Wherein in a specific embodiment, described first acquisition module 401, comprising:
First acquiring unit, for the view data of the former frame of the view data and buffer memory that obtain present frame;
, for there is the second area information of change in the view data of the view data and described former frame of determining described present frame in determining unit;
Second acquisition unit, for according to the set of described second area information with the area information of the existence change prestored, obtains in the view data of present frame the first area information needing to carry out video coding algorithm compression process.
Wherein, described second acquisition unit, comprising:
Choose subelement, for choosing the 4th area information overlapped in the 3rd area information in the set of the area information that described second area information changes with the existence prestored;
Expansion subelement, for according to described 4th area information and default expansion ratio, expands described 4th region, and obtains the 5th area information after expansion;
First determines subelement, for described 5th area information being defined as the first area information needing in the view data of present frame to carry out video coding algorithm compression process.
Wherein, described first acquisition module 401 also comprises:
3rd acquiring unit, for obtaining previously selected 6th area information, and is defined as described 6th area information needing in the view data of present frame to carry out the first area information that video coding algorithm compresses process.
Wherein, described 3rd acquiring unit, comprising:
Judgment sub-unit, for judging that whether the current SECTOR-SEVEN domain information chosen is consistent with described previously selected 6th area information;
Second determines subelement, if for consistent, then described 6th area information is defined as the first area information needing in the view data of present frame to carry out video coding algorithm compression process.
Wherein, described 3rd acquiring unit also comprises:
3rd determines subelement, if for inconsistent, then described SECTOR-SEVEN domain information is defined as the first area information needing in the view data of present frame to carry out video coding algorithm compression process.
Wherein, described first compression module 402, comprising:
4th acquiring unit, for obtaining the area size in the information of described first area, and obtains corresponding video coding parameter according to described area size;
Compression unit, for according to described first area information and described video coding parameter, carries out the compression process of video coding algorithm to the first area in the view data of described present frame, generate the first view data after compression.
Wherein, described device also comprises:
Second acquisition module 404, for obtain described present frame view data described in view data outside the information of first area, and the view data of the former frame of buffer memory;
3rd acquisition module 405, for the view data according to the view data outside first area information described in the view data of described present frame and described former frame, obtain in the view data of present frame the Section Eight domain information needing to carry out image compression algorithm compression process;
Second compression module 406, for according to described Section Eight domain information, carries out the compression process of image compression algorithm to the Section Eight territory in the view data of described present frame, generate the second view data after compression.
Wherein, described sending module 403, comprising:
Adding device, for being added into current temporal information respectively in described first view data and described second view data;
Transmitting element, for by described first view data and described first area information, and described second view data and described Section Eight domain information send to view side.
The embodiment of the present invention is by needing to carry out the first area information of video algorithm compression process in the view data of choosing present frame, first area is carried out to the compression process of video coding algorithm, and be transferred through the first view data of first area in the view data of the present frame of compression process to view side.On the one hand, only compress the view data in the region changed and transmit, on the other hand, the Image Data Compression rate being undertaken compressing by Video Coding Compression Technology is high, and the data volume after compression is little, saves network traffics.
The invention described above embodiment sequence number, just to describing, does not represent the quality of embodiment.
One of ordinary skill in the art will appreciate that all or part of step realizing above-described embodiment can have been come by hardware, the hardware that also can carry out instruction relevant by program completes, described program can be stored in a kind of computer-readable recording medium, the above-mentioned storage medium mentioned can be read-only memory, disk or CD etc.
The foregoing is only preferred embodiment of the present invention, not in order to limit the present invention, within the spirit and principles in the present invention all, any amendment done, equivalent replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (18)

1. a method for transmit image data, is characterized in that, described method comprises:
When transmitting remote desktop view data, obtain in the view data of present frame the first area information needing to carry out video coding algorithm compression process;
According to described first area information, the first area in the view data of described present frame is carried out to the compression process of video coding algorithm, generate the first view data after compression;
Described first view data and described first area information are sent to view side, to make described view side carry out the decompression processing of video coding algorithm to described first view data, and according to the first view data after the information displaying decompress(ion) of described first area.
2. method according to claim 1, is characterized in that, needs the first area information of carrying out video coding algorithm compression process, comprising in the view data of described acquisition present frame:
Obtain the view data of the view data of present frame and the former frame of buffer memory;
Determine the second area information that there is change in the view data of described present frame and the view data of described former frame;
According to the set of described second area information with the area information of the existence change prestored, obtain in the view data of present frame the first area information needing to carry out video coding algorithm compression process.
3. method according to claim 2, it is characterized in that, described according to the set of described second area information with the area information of the existence change prestored, obtain in the view data of present frame the first area information needing to carry out video coding algorithm compression process, comprising:
Choose the 4th area information overlapped in the 3rd area information in the set of the area information that described second area information changes with the existence prestored;
According to described 4th area information and default expansion ratio, described 4th region is expanded, and obtain the 5th area information after expansion;
Described 5th area information is defined as the first area information needing in the view data of present frame to carry out video coding algorithm compression process.
4. method according to claim 1, is characterized in that, needs the first area information of carrying out video coding algorithm compression process, comprising in the view data of described acquisition present frame:
Obtain previously selected 6th area information, and described 6th area information is defined as need in the view data of present frame to carry out the first area information that video coding algorithm compresses process.
5. method according to claim 4, it is characterized in that, previously selected 6th area information of described acquisition, and described 6th area information is defined as need in the view data of present frame to carry out the first area information that video coding algorithm compresses process, comprising:
Judge that whether the current SECTOR-SEVEN domain information chosen is consistent with described previously selected 6th area information;
If consistent, then described 6th area information is defined as the first area information needing in the view data of present frame to carry out video coding algorithm compression process.
6. method according to claim 5, is characterized in that, described judge that whether the current SECTOR-SEVEN domain information chosen consistent with described previously selected 6th area information after, described method also comprises:
If inconsistent, then described SECTOR-SEVEN domain information is defined as the first area information needing in the view data of present frame to carry out video coding algorithm compression process.
7. method according to claim 6, is characterized in that, described according to described first area information, the first area in the view data of described present frame is carried out to the compression process of video coding algorithm, generates the first view data after compression, comprising:
Obtain the area size in the information of described first area, and obtain corresponding video coding parameter according to described area size;
According to described first area information and described video coding parameter, the first area in the view data of described present frame is carried out to the compression process of video coding algorithm, generate the first view data after compression.
8. method according to claim 1, is characterized in that, after needing to carry out the first area information of video coding algorithm compression process in the view data of described acquisition present frame, described method also comprises:
View data outside first area information described in the view data obtaining described present frame, and the view data of the former frame of buffer memory;
According to the view data of the view data outside first area information described in the view data of described present frame and described former frame, obtain in the view data of present frame the Section Eight domain information needing to carry out image compression algorithm compression process;
According to described Section Eight domain information, the Section Eight territory in the view data of described present frame is carried out to the compression process of image compression algorithm, generate the second view data after compression.
9. method according to claim 8, is characterized in that, described first view data and described first area information send to view side, comprising:
Current temporal information is added into respectively in described first view data and described second view data;
By described first view data and described first area information, and described second view data and described Section Eight domain information send to view side.
10. a device for transmit image data, is characterized in that, described device comprises:
First acquisition module, for when transmitting remote desktop view data, obtains in the view data of present frame the first area information needing to carry out video coding algorithm compression process;
First compression module, for according to described first area information, carries out the compression process of video coding algorithm to the first area in the view data of described present frame, generate the first view data after compression;
Sending module, for described first view data and described first area information are sent to view side, to make described view side carry out the decompression processing of video coding algorithm to described first view data, and according to the first view data after the information displaying decompress(ion) of described first area.
11. devices according to claim 10, is characterized in that, described first acquisition module, comprising:
First acquiring unit, for the view data of the former frame of the view data and buffer memory that obtain present frame;
, for there is the second area information of change in the view data of the view data and described former frame of determining described present frame in determining unit;
Second acquisition unit, for according to the set of described second area information with the area information of the existence change prestored, obtains in the view data of present frame the first area information needing to carry out video coding algorithm compression process.
12. devices according to claim 11, is characterized in that, described second acquisition unit, comprising:
Choose subelement, for choosing the 4th area information overlapped in the 3rd area information in the set of the area information that described second area information changes with the existence prestored;
Expansion subelement, for according to described 4th area information and default expansion ratio, expands described 4th region, and obtains the 5th area information after expansion;
First determines subelement, for described 5th area information being defined as the first area information needing in the view data of present frame to carry out video coding algorithm compression process.
13. devices according to claim 10, is characterized in that, described first acquisition module, comprising:
3rd acquiring unit, for obtaining previously selected 6th area information, and is defined as described 6th area information needing in the view data of present frame to carry out the first area information that video coding algorithm compresses process.
14. devices according to claim 13, is characterized in that, described 3rd acquiring unit, comprising:
Judgment sub-unit, for judging that whether the current SECTOR-SEVEN domain information chosen is consistent with described previously selected 6th area information;
Second determines subelement, if for consistent, then described 6th area information is defined as the first area information needing in the view data of present frame to carry out video coding algorithm compression process.
15. devices according to claim 14, is characterized in that, described 3rd acquiring unit also comprises:
3rd determines subelement, if for inconsistent, then described SECTOR-SEVEN domain information is defined as the first area information needing in the view data of present frame to carry out video coding algorithm compression process.
16. devices according to claim 15, is characterized in that, described first compression module, comprising:
4th acquiring unit, for obtaining the area size in the information of described first area, and obtains corresponding video coding parameter according to described area size;
Compression unit, for according to described first area information and described video coding parameter, carries out the compression process of video coding algorithm to the first area in the view data of described present frame, generate the first view data after compression.
17. devices according to claim 10, is characterized in that, described device also comprises:
Second acquisition module, for obtain described present frame view data described in view data outside the information of first area, and the view data of the former frame of buffer memory;
3rd acquisition module, for the view data according to the view data outside first area information described in the view data of described present frame and described former frame, obtain in the view data of present frame the Section Eight domain information needing to carry out image compression algorithm compression process;
Second compression module, for according to described Section Eight domain information, carries out the compression process of image compression algorithm to the Section Eight territory in the view data of described present frame, generate the second view data after compression.
18. devices according to claim 17, is characterized in that, described sending module, comprising:
Adding device, for being added into current temporal information respectively in described first view data and described second view data;
Transmitting element, for by described first view data and described first area information, and described second view data and described Section Eight domain information send 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 true CN104253804A (en) 2014-12-31
CN104253804B 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)

Cited By (7)

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

Citations (5)

* 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
US20050226326A1 (en) * 2002-08-05 2005-10-13 Hiroki Inagaki Data processing device and data processing method
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

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050226326A1 (en) * 2002-08-05 2005-10-13 Hiroki Inagaki Data processing device and data processing method
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
卢如西: "拼接交互显示系统的设计方法", 《集成电路与设计》 *

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017041551A1 (en) * 2015-09-11 2017-03-16 中兴通讯股份有限公司 Spice protocol-based image transmission method and apparatus
CN106412617A (en) * 2016-09-08 2017-02-15 广州华多网络科技有限公司 Remote debugging control method and device
CN106412617B (en) * 2016-09-08 2019-12-06 广州华多网络科技有限公司 Remote debugging control method and device
CN106681679A (en) * 2017-01-19 2017-05-17 深圳市云点科技有限公司 Transmission method and device of remote desktop picture
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
CN112104878A (en) * 2020-08-21 2020-12-18 西安万像电子科技有限公司 Image coding method, device, coding end equipment and storage medium
CN114360468A (en) * 2022-02-18 2022-04-15 上海铼锶信息技术有限公司 Screen refreshing display method and system

Also Published As

Publication number Publication date
CN104253804B (en) 2017-12-12

Similar Documents

Publication Publication Date Title
CN104253804A (en) Method and device for transmitting image data
US9645784B2 (en) Screen splicing system and video data stream processing method
CN105677279B (en) Desktop area sharing method, system and corresponding shared end and viewing end
JP4116006B2 (en) Screen transfer device, screen transfer system, screen transfer method, and program
CN104254001B (en) Long-range sharing method, device and terminal
CN103391442A (en) Rapid video image transmission compression algorithm based on regional division and difference comparison
CN105744358A (en) Video play processing method and device
CN105338323A (en) Video monitoring method and device
CN109040786B (en) Camera data transmission method, device and system and storage medium
CN111026343A (en) Real-time synchronous display method for multiple spliced screens
CN105681720A (en) Video playing processing method and device
US20170149856A1 (en) Wireless video transmission device, video playing device and method, and system
CN111625211B (en) Screen projection method and device, android device and display device
CN105025294A (en) Video transmission control device and method
CN110290398B (en) Video issuing method and device, storage medium and electronic equipment
CN102541555A (en) Method for remotely smoothly playing desktop video in API (application programming interface) interception mode
CN108401190B (en) Method and equipment for real-time labeling of video frames
EP2936298A1 (en) Management of memory for storing display data
CN104735419A (en) Video signal display method and system
CN103533358A (en) Self adaption image collection transmission and display device
WO2010114512A1 (en) System and method of transmitting display data to a remote display
WO2013030166A2 (en) Method for transmitting video signals from an application on a server over an ip network to a client device
CN104837046A (en) Multi-media file processing method and device
CN104717555A (en) Video stream acquiring method and device
CN104718751A (en) Adaptive stereoscopic 3D streaming

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