CN106534211A - Data transmission method and electronic equipment - Google Patents
Data transmission method and electronic equipment Download PDFInfo
- Publication number
- CN106534211A CN106534211A CN201611246735.8A CN201611246735A CN106534211A CN 106534211 A CN106534211 A CN 106534211A CN 201611246735 A CN201611246735 A CN 201611246735A CN 106534211 A CN106534211 A CN 106534211A
- Authority
- CN
- China
- Prior art keywords
- image
- video image
- display
- electronic equipment
- video
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N7/00—Television systems
- H04N7/14—Systems for two-way working
- H04N7/141—Systems for two-way working between two video terminals, e.g. videophone
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L65/00—Network arrangements, protocols or services for supporting real-time applications in data packet communication
- H04L65/60—Network streaming of media packets
- H04L65/75—Media network packet handling
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L65/00—Network arrangements, protocols or services for supporting real-time applications in data packet communication
- H04L65/80—Responding to QoS
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N5/00—Details of television systems
- H04N5/14—Picture signal circuitry for video frequency region
- H04N5/147—Scene change detection
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N7/00—Television systems
- H04N7/14—Systems for two-way working
- H04N7/15—Conference systems
Abstract
The embodiment of the invention provides a data transmission method and electronic equipment which are used for solving the technical problem of poor data transmittability of electronic equipment. The method comprises the steps of: determining a first video image which is acquired by first electronic equipment at a first moment and corresponds to current video communication; comparing the first video image with an initial video image, and determining whether at least one display object with differences from initial display objects which the initial video image comprises exists in display objects which the first video image comprises, wherein the initial video image is an image acquired before the first video image, and the at least one display object is a display object of which a position in the first video image is different from that in the initial video image; and sending target image data corresponding to the at least one display object to second electronic equipment connected with the first electronic equipment, so that the second electronic equipment generates a display image corresponding to the first video image.
Description
Technical field
The present invention relates to field of video transmission, more particularly to a kind of data transmission method and electronic equipment.
Background technology
With the continuous development of science and technology, electronic technology has also obtained development at full speed, the performance of electronic equipment and outer
Sight is obtained for and is lifted energetically, becomes an indispensable part in studying and living.User can be done using electronic equipment
Thing is also more and more, such as:User can be entered performing network living broadcast, be checked video, plays music, shooting image etc. by electronic equipment
Deng.
At present, during live, such as during video conference, it usually needs electronic equipment is in real time by the picture signal of video
It is sent to corresponding display terminal in real time to be shown, however, during the picture signal to video is transmitted, due to
Limited by the network bandwidth and speed, such as substantial amounts of flow may result in network congestion, so as to there is packet loss, cause network
Service quality declines, it is impossible to ensure video speech quality.
The content of the invention
The embodiment of the present invention provides a kind of data transmission method and electronic equipment, for solving electronic equipment in prior art
Data transmission capabilities it is poor affect video data transmission effect technical problem.
In a first aspect, the embodiment of the present invention provides a kind of data processing method, comprise the following steps:
Determine the first video image corresponding with current video communication that first electronic equipment was gathered at the first moment;
First video image and initial video image are compared, determines that first video image includes aobvious
Show right with the presence or absence of the initial display object included with the initial video image is had differences at least one in showing object
As;Wherein, the initial video image is the image gathered before first video image, and which includes current video communication
The image of the background parts image of corresponding video image, described at least one shows that object is in first video image
Location and the display object that location is differed in the initial video image;
Described at least one display object corresponding destination image data is sent to and is connected with first electronic equipment
The second electronic equipment so that second electronic equipment shown based on the destination image data by the second display unit and
A upper display image generates display image corresponding with first video image.
Optionally, it is described that first video image and initial video image are compared, determine first video
Image include show object in the presence or absence of the initial display object included with the initial video image have differences to
Few display object, including:
First video image and the initial video image are carried out into background difference processing, first video is obtained
The absolute error average of the present image process block of image;Wherein, the absolute error average is the present image process block
With the absolute mean for processing the pixel value difference in video image between corresponding image block;
If it is determined that the absolute error average is more than predetermined threshold value, determines that the present image process block is corresponding and show right
As at least one display object for having differences with initial display object in the initial video image;Otherwise, it determines described
Present image process block is corresponding to show that object is consistent with corresponding initial display object.
Optionally, it is described the described at least one display corresponding destination image data of object is sent to it is electric with described first
Second electronic equipment of sub- equipment connection, including:
Described at least one is extracted from first video image shows the corresponding target part image of object;
The corresponding destination image data of the destination object image is encoded;
First packet is generated based on the destination image data after coding, first packet is sent to into described second
Electronic equipment.
Optionally, it is described that the corresponding destination image data of the destination object image is encoded, including:
Determine the destination object image corresponding class parameter in first video image, the class parameter is used
In the concerned degree for characterizing the corresponding display object of the destination object image;
Based on the available bandwidth and the class parameter, the coding parameter of the destination image data, the volume are set
Code parameter can characterize code check corresponding after the destination image data is encoded;
Based on the coding parameter, the destination image data is encoded.
Optionally, methods described also includes:
The second packet from second electronic equipment is received, second packet includes second electronics
The Moving Objects image having differences between second video image and default video image of its collection that equipment determines, and it is described
Pixel coordinate of the Moving Objects image in the current video image;
Determine that previous moment of first electronic equipment at current time shows corresponding with second electronic equipment
Corresponding first display picture of video image, first display picture is corresponding to the default video image;
Second packet is parsed, the Moving Objects image and corresponding pixel coordinate is obtained;
Determine display object images corresponding with the Moving Objects image in first display image;
Delete the display object images and based on the pixel coordinate, by the Moving Objects image update to described the
One display image, generates the second display image corresponding with current time, second display image and the second video figure
As corresponding.
Second aspect, the embodiment of the present invention also provide a kind of electronic equipment, including:
First determining module, for determine first electronic equipment the first moment gather with current video communication pair
The first video image answered;
Operation module, for first video image and initial video image are compared, determines that described first regards
Have differences with the presence or absence of the initial display object included with the initial video image in the display object that frequency image includes
At least one shows object;Wherein, the initial video image is the image gathered before first video image, its bag
The image of the background parts image of the corresponding video image of current video communication is included, described at least one shows that object is described
Location and the display object that location is differed in the initial video image in first video image;
Sending module, for described at least one display object corresponding destination image data is sent to and described first
Second electronic equipment of electronic equipment connection, so that second electronic equipment is shown based on the mesh by the second display unit
Logo image data and a upper display image generate display image corresponding with first video image.
Optionally, the operation module is used for:
First video image and the initial video image are carried out into background difference processing, first video is obtained
The absolute error average of the present image process block of image;Wherein, the absolute error average is the present image process block
With the absolute mean for processing the pixel value difference in video image between corresponding image block;
If it is determined that the absolute error average is more than predetermined threshold value, determines that the present image process block is corresponding and show right
As at least one display object for having differences with initial display object in the initial video image;Otherwise, it determines described
Present image process block is corresponding to show that object is consistent with corresponding initial display object.
Optionally, the sending module is used for:
Described at least one is extracted from first video image shows the corresponding target part image of object;
The corresponding destination image data of the destination object image is encoded;
First packet is generated based on the destination image data after coding, first packet is sent to into described second
Electronic equipment.
Optionally, the sending module is used for:
Determine the destination object image corresponding class parameter in first video image, the class parameter is used
In the concerned degree for characterizing the corresponding display object of the destination object image;
Based on the available bandwidth and the class parameter, the coding parameter of the destination image data, the volume are set
Code parameter can indicate that destination image data code check corresponding after encoding;
Based on the coding parameter, the destination image data is encoded.
Optionally, the electronic equipment also includes:
Receiver module, for receiving the second packet from second electronic equipment, wraps in second packet
The motion having differences between the second video image and default video image that include its collection that second electronic equipment determines
Object images, and pixel coordinate of the Moving Objects image in the current video image;
Second determining module, for determine that previous moment of first electronic equipment at current time show with it is described
Corresponding first display picture of the corresponding video image of second electronic equipment, first display picture and the pre- setting video figure
As corresponding;
Acquisition module, for parsing second packet, obtains the Moving Objects image and corresponding pixel coordinate;
3rd determining module, for determining that display corresponding with the Moving Objects image is right in first display image
As image;
The operation module, for deleting the display object images and being based on the pixel coordinate, will be the motion right
As image update to first display image, the second display image corresponding with current time is generated, described second shows figure
As corresponding to second video image.
In the embodiment of the present invention, by obtaining first video corresponding with current video communication of the first electronic equipment collection
Image, first video image include at least one display object, and at least one display object includes Background object
And user object, first video image and initial video image are compared, determines that first video image includes
Show object in the presence or absence of the initial display object included with the initial video image have differences at least one show
Show object;Wherein, the initial video image is the image gathered before first video image, and which includes current video
Communicate corresponding video image background parts image image, this at least one show object be in first video image
Middle location and the display object that location is differed in initial video image, and then show right by least one
As corresponding destination image data is sent to the second electronic equipment being connected with first electronic equipment, so that the second electronics sets
Standby display generate display image corresponding with first video image based on the destination image data and a upper display image,
So as in video communication during transmitting video image data, it is only necessary to by the first video image with initial video image (example
Such as previous frame video image) in the initial at least one display object for showing that object is different is corresponding sends regarding destination image data
To the second electronic equipment, and without the need for whole video image is transmitted, therefore data transfer code check can be effectively reduced, from
And bandwidth is saved, to adapt to current bandwidth, it is to avoid situations such as packet loss occur, improve the safety of data transfer.
Description of the drawings
Fig. 1 is the schematic flow sheet of data transmission method in the embodiment of the present invention;
Schematic diagrams of Fig. 2A-Fig. 2 B for Moving Objects in determination video image in the embodiment of the present invention;
Schematic diagrams of Fig. 3 A- Fig. 3 B for display image in electronic equipment in the embodiment of the present invention;
Fig. 4 is the structural representation of electronic equipment in the embodiment of the present invention.
Specific embodiment
For making purpose, technical scheme and the advantage of the embodiment of the present invention clearer, below in conjunction with the embodiment of the present invention
In accompanying drawing, the technical scheme in the embodiment of the present invention is clearly and completely described, it is clear that described embodiment is
The a part of embodiment of the present invention, rather than the embodiment of whole.Based on the embodiment in the present invention, those of ordinary skill in the art
The every other embodiment obtained under the premise of creative work is not made, belongs to the scope of protection of the invention.
In the embodiment of the present invention, electronic equipment can be PC (personal computer), notebook computer, PAD (panel computer),
The different equipment such as mobile phone, the invention is not limited in this regard.
The terms "and/or", only a kind of incidence relation of description affiliated partner, represents there may be three kinds of passes
System, for example, A and/or B can be represented:Individualism A, while there is A and B, individualism B these three situations.In addition, herein
Middle character "/", typicallys represent forward-backward correlation to liking a kind of relation of "or".
As shown in figure 1, the embodiment of the present invention provides a kind of data transmission method, it is applied in electronic equipment, the method
Process can be described as follows.
S11:Obtain first video image corresponding with current video communication of the first electronic equipment collection;
S12:First video image is compared with initial video image, determines that the display that the first video image includes is right
Object is shown with the presence or absence of the initial display object included with initial video image is had differences at least one as in;Wherein,
Initial video image is the image gathered before the first video image, and which includes the corresponding video image of current video communication
The image of background parts image, at least one display object be in the first video image location with initial video figure
The display object that location is differed as in;
S13:At least one display corresponding destination image data of object is sent to the be connected with the first electronic equipment
Two electronic equipments, so as to the second electronic equipment show generated and the first video figure based on destination image data and a upper display image
As corresponding display image.
In the embodiment of the present invention, the first electronic equipment can be in video communication state, then by obtaining the first electronics
First video image of equipment currently collection, and then the first video image can be compared with initial video image, so as to
At least one display object that interface is had differences in determining the first video image, at least one display object can be motion
Object, therefore its in the first video image location the location in initial video image is differed with which, this
When, extract at least one of first video image and show the corresponding destination image data of object, and the part partial data sends
To the second electronic equipment, to be based on destination image data and the generation of a upper display image and described first by the second electronic equipment
The corresponding display image of video image, therefore during video, whole image need not be transmitted, it is only necessary to by the video figure of current collection
As the destination image data of the display object having differences with previous frame video image is transferred to the second electronic equipment, so as to
Code check is reduced, bandwidth is saved, restriction of the bandwidth to data transfer is reduced, communication quality is improved.
Optionally, the first video image can be the image of the first electronic equipment Real-time Collection in video communication,
The video image of each collection can be to there is a corresponding collection moment, and such as the first video image corresponding collection moment can be with
It it was the first moment, the second video image gathered after the first video image can correspond to second moment, etc..First regards
A multiple display object can be included in frequency image, the display object can be Background object, user object etc., its
Middle Background object may refer to corresponding Background part during video image acquisition, if for example user 1 enters in room
Row net cast, and lean against wall, then, it is corresponding in the video image of collection to show that object is user 1, corresponding background
Figure part is corresponding wall part in video image.
Initial video image can be located at the video image before the first video image in gatherer process, i.e., when first
The video image of the previous moment collection at quarter, which can include the background parts image of the corresponding video image of current video communication
Image.For example, initial video image can be user when net cast is carried out using video recording equipment, by photographic head gather
First two field picture can be initial video image, then may include corresponding user and Background in first two field picture, for example
Background is studio, and user can be host and welcome guest etc..
Therefore, after the first video image that the first electronic equipment is currently gathered is obtained, which can be set with the first electronics
The standby initial video image in previous moment collection is compared, so that it is determined that relative to initial video figure in the first video image
As at least one display object having differences.
Optionally, when S12 is carried out, its process can include:First video image is carried on the back with initial video image
Scape difference processing, obtains the absolute error average of the present image process block of first video image;Wherein, the absolute mistake
Difference average is the exhausted of the pixel value difference between the present image process block and corresponding image block in the process video image
To average;If it is determined that the absolute error average is more than predetermined threshold value, determines that the present image process block is corresponding and show right
As at least one display object for having differences with initial display object in the initial video image;Otherwise, it determines described
Present image process block is corresponding to show that object is consistent with corresponding initial display object.
As a rule, in video communication, the position of harvester is typically more fixed, multiple videos of its collection
In image, corresponding Background part will not generally change.Therefore during Real-time Collection, by the first of current collection is regarded
Frequency image carries out background difference processing with previous frame video image (i.e. initial video image), just can determine that the first video image
Relative to the part that initial video image has differences, that is, detect during video the location in the first video image
With the moving object that the location in initial video image is differed and corresponding region, for example, carry out shift in position or limb
The user of body language change.
Background subtraction be using the difference of present image and background image detecting a kind of technology of moving region, its
The average as background image of a width or a few width images in background can be chosen, then later sequence image present frame and
Background image subtraction, carries out background cancellation.
When in processing procedure carrying out being subtracted each other by image, it is typically required current video image (i.e. the first video
Image) multiple images process block is divided into, for example can be divided according to pixel, such as 8*8 or 16*16 etc., accordingly, just
Beginning video image will also be the block for being divided into respective numbers according to same way, and will be corresponded in two video images respectively one by one
Image processing block in pixel value subtract each other, and then obtain currently processed piece of absolute error average.And then determine absolute error
Whether average is more than predetermined threshold value, and such as 1.5 or other numerical value, in actual applications, those skilled in the art can be based on real
Border demand is configured to predetermined threshold value, and the embodiment of the present invention is not specifically limited to this.
If it is determined that whether absolute error average is more than predetermined threshold value, then show the corresponding display object of present image process block
Initial display object in process block corresponding with initial video image has differences, now can be in present image process block
Show object as determine have differences at least one show object.Otherwise, it is believed that the initial position for showing object
Or form etc. does not change.Then in actual applications, by the absolute error average to each image processing block in video image
Calculating, you can it is determined that whether have moving object in monitored scene (i.e. video collection area), so as to obtain moving target, example
Such as at least one display object.
For example, image as shown in Figure 2 A is the first moment (such as 12:01:22) previous moment (such as 12:01:20)
The initial video image of collection, the image shown in Fig. 2 B are the first video image of the first moment collection, wherein, the first video figure
As including Background, user a and user b, positions 1 of the user a in image, user b are in position 2, initial video figure
As including Background, user a and user b, position 3 is in for a in position 1, user b, position 2 and position 3 differ,
Then can be determining the motion that has differences (moved during video) relative to initial video image in the first video image
Object is as user b, therefore the image having differences partly is not user b corresponding image portions in the first video image
Point.
Further, after at least one display object is determined, which can be extracted from the first video image, and
This parts of images is transferred to into corresponding second electronic equipment, the process can be:Institute is extracted from first video image
The corresponding target part image of at least one display object is stated, and then the corresponding destination image data of destination object image is carried out
Coding, and the destination image data after coding is sent to into the second electronic equipment.
Wherein, the second electronic equipment can set up to be connected and the equipment with display unit with the first electronic equipment, example
As which can be independent display, or, or there is collecting unit (for example to image with the first electronic equipment identical
Head, mike etc.) and display unit (such as touch-control/non-touch-control display screen) equipment, such as notebook, PAD, video recording equipment etc.
Deng the embodiment of the present invention is not specifically limited to this.
Optionally, when at least one display object corresponding target part image in the first video image is extracted, also
Target part image section corresponding pixel coordinate in the first video image can be recorded, and then again to destination object image
Destination image data is encoded, and the destination image data after coding is sent to the second electronic equipment.
Wherein, when encoding to destination image data, it may be determined that destination object image is in the first video image
Corresponding class parameter, the class parameter can be used for characterizing the corresponding concerned degree for showing object of destination object image,
For example can the grade of the corresponding image of conversation object more important in video communication (such as video conference) be arranged higher, such as will
Picture part in video pictures corresponding to speaker (such as president) is set to highest ranking parameter, such as one-level, or even may be used also
To arrange other levels, the people of conference participation corresponding image section is set to into two grades such as, service personal is set to three-level, etc.
Deng.
And then available bandwidth and class parameter can be based on, the coding parameter of destination image data, the coding parameter are set
Can indicate that destination image data code check corresponding after encoding, i.e., it is related to the transmission code rate of the data after coding.Optionally,
In video image, corresponding image section class parameter is higher, then show which is crucial personage or object, needs to ensure which
Video instructions, you can ensure its fluency with by arranging coding parameter.
In the embodiment of the present invention, coding parameter can be quantization parameter, such as quantizing bit number, and quantization parameter can be used in
Phenogram is as corresponding precision.In actual applications, the class parameter of the corresponding destination object image of destination image data is bigger,
The quantization parameter of relative set can be bigger, and the corresponding precision of destination object image for being characterized is also higher, corresponding number
Also bigger according to measuring, the code check produced after coding is also bigger, but no more than the corresponding maximal rate of current available bandwidth.Accordingly
, the class parameter of the corresponding destination object image of destination image data is lower, and the quantization parameter of relative set can be less, institute
The corresponding precision of destination object image for characterizing is also less, and the code check produced after coding is also less, to bandwidth requirement more
It is low, it is not more than current available bandwidth.
Wherein, the data bits of unit interval transmission when code check is exactly data transfer, general unit is Kbps i.e. thousand
Bits per second, Kbps refer to network speed, that is, (K represents kilobit, what Kb was represented to transmit the information of how many kilobits each second
It is how many thousand positions), in order to the transmission speed in the network that intuitively seems is very fast, general company all uses kb (kilobit) to carry out table
Show, 1KB/S=8Kbps.On ADSL (Asymmetric Digital Subscriber Line, ADSL)
Network speed during net is 512Kbps, if translated into byte, is exactly 512/8=64KB/S (i.e. 64 kilobytes are per second).Generally come
Say, if the broadband of 1M, can only see the video less than 125Kbps on the net, the video more than 125Kbps can only wait video
Buffering smoothly could be watched.
In the embodiment of the present invention, due to transmit in video transmitting procedure be merely in the presence of difference at least one display it is right
As corresponding destination object image, compared with needing in prior art, the code check for transmitting whole video image is much lower.Example
Such as, if the use of the bandwidth for transmission data volume of 1M is the video image of 1.5M, corresponding code check is probably 125kbps, and is passed through
The video image and background image portion are carried out into background difference processing, it is determined that needing the image section having differences of transmission
Data volume can be solely 250kb, then code check of its corresponding transmission can be 25kbps, or other numerical value, as a rule based on setting
Maximum code stream of the corresponding code check of quantization parameter put not over bandwidth, such as 125kbps.
Accordingly, the second electronic equipment can enter to which after the destination image data for receiving the transmission of the first electronic equipment
Row decoding, and then the upper display picture that decoded destination object object is shown with which, the display picture are and first
The corresponding display picture of video image.
Therefore, in the embodiment of the present invention, in video conference process, can be based on the importance of video content and current
Bandwidth, is guaranteeing meeting quality (including the video quality of the corresponding image such as key person or critical object, and video harmony
The fluency of sound) on the premise of, realize the adjust automatically to the code check of current video, i.e., based on a determination that the target having differences
The difference of object images, the code check after its correspondence is encoded also can be different, so as to based on the corresponding grade ginseng in the part having differences
Number and current available bandwidth can dynamically adjust code check, improve the motility of transmission.
Optionally, in video communication, the first electronic equipment can also receive the video from the second electronic equipment
Data, and then corresponding picture is shown by itself obtaining display unit.
The process can include:The second packet from the second electronic equipment is received, the second packet includes second
The Moving Objects image having differences between second video image and default video image of its collection that electronic equipment determines, and
Pixel coordinate of the Moving Objects image in current video image.
Further, it may be determined that in the first electronic equipment previous moment of the display unit at current time show it is electric with second
Corresponding first display picture of the corresponding video image of sub- equipment, first display picture can be corresponding to default video image,
That is the display picture that previous moment shows in the first electronic equipment is corresponding to the default video image of the second electronic equipment of opposite end.
In actual applications, the default video image can be that the second electronic equipment is gathering the current of the second video image
The video image gathered by the previous moment at moment, from visual effect for, the first electronic equipment show first display picture
Face can be identical with default video image.
In the same manner, the second electronic equipment can also determine the Moving Objects figure having differences according to above-mentioned data transmission method
Picture, and the first electronic equipment after being encoded, is sent to, the first electronic equipment, can be right to moving after the second packet is obtained
As image is decoded, obtain Moving Objects image and corresponding pixel coordinate, and determine in the first display image with move it is right
As the corresponding display object images of image.
For example, if Moving Objects object for user b the corresponding image of head (the i.e. head figure of current time user b
Picture), it is determined that the first display image in display object images be user b head for image, that is, go up a moment
The head image of user b.
Further, the first display image can be combined with Moving Objects image, generates what current time correspondence showed
Second display image, then the second display image be based on the second electronic equipment partial data generate with the second video
The corresponding display image of image.
Specifically, when the second display image is generated, can show that object images turn by corresponding in the first display image
Background part is changed to, and then pixel coordinate can be based on, by Moving Objects image update to the first display image, you can generate
The second display image corresponding with current time.
Below by the application scenarios for illustrating data transmission method in the embodiment of the present invention.
User A using video equipment 1 and carries out video communication using the user B of video equipment 2, and its communication bandwidth is 10M,
At the first moment, the first frame video image (i.e. initial video image) that video equipment 1 was gathered at the moment 1 for as shown in Figure 2 B,
After the moment 1 moment 2 collection the second frame video image as shown in Figure 2 A, meanwhile, the display unit in video equipment 2
The picture of middle display is and first the first display image of frame video image identical.Then video equipment is by the first frame video
Image and the second frame video image carry out background difference processing, it is determined that the corresponding destination object image of corresponding Moving Objects, and
Based on current coding, and the concerned degree of Moving Objects, corresponding amount is encoded and is arranged to destination object image
Change parameter, and the destination object after please encoding is sent to video equipment 2, refers to Fig. 3 A, now, video equipment 2 is corresponding aobvious
Show that picture is the first display picture.
Further, view data and its location of pixels of the video equipment based on the Moving Objects to receiving, can be aobvious to first
In showing picture, image corresponding with the motion is replaced, and is based on location of pixels, determines Moving Objects in the second display image
Middle location, so as to generate corresponding second display picture, as shown in Figure 3 B.
Wherein, video equipment 1 and video equipment 2 can have identical function, i.e. two equipment to can perform above-mentioned data
Transmission and processing procedure.
As shown in figure 4, being based on same inventive concept, the embodiment of the present invention also provides a kind of electronic equipment, and which includes first
Determining module 201, operation module 202 and sending module 203.
Wherein, the first determining module 201 be determined for first electronic equipment the first moment gather with work as
Corresponding first video image of front video communication.
Operation module 202 can be used for first video image and initial video image are compared, it is determined that described
Exist with the presence or absence of the initial display object included with the initial video image in the display object that first video image includes
At least one display object of difference;Wherein, the initial video image is the figure gathered before first video image
Picture, which includes the image of the background parts image of the corresponding video image of current video communication, and described at least one shows object
It is location and the display that location is differed in the initial video image in first video image
Object;
Sending module 203 can be used for being sent to and institute described at least one display object corresponding destination image data
The second electronic equipment of the first electronic equipment connection is stated, so as to second electronic equipment is shown by the second display unit be based on
The destination image data and a upper display image generate display image corresponding with first video image.
Optionally, the operation module 202 can be used for:First video image is entered with the initial video image
Row background difference processing, acquisition first video image are every at least one image processing block produced by processing procedure
The corresponding absolute error average of individual image processing block;Wherein, the absolute error average is corresponding in first video image
Image processing block and corresponding image block in the process video image between pixel value difference absolute value;If it is determined that described
Absolute error average is more than predetermined threshold value, it is determined that corresponding image processing block is corresponding to show that object is and the initial video figure
The initial at least one display object for showing that object has differences as in;Otherwise, it determines the absolute error average is schemed accordingly
Show that object is consistent with corresponding initial display object as process block is corresponding.
Optionally, the sending module 203 can be used for:
Described at least one is extracted from first video image shows the corresponding target part image of object;
The corresponding destination image data of the destination object image is encoded;
First packet is generated based on the destination image data after coding, first packet is sent to into described second
Electronic equipment.
Optionally, the sending module 203 can be also used for:
Determine the destination object image corresponding class parameter in first video image, the class parameter is used
In the concerned degree for characterizing the corresponding display object of the destination object image;
Based on the available bandwidth and the class parameter, the coding parameter of the destination image data, the volume are set
Code parameter is used for indicating the code check that the destination image data is corresponding after encoding;
Based on the coding parameter, the destination image data is encoded.
Optionally, the electronic equipment also includes:
Receiver module, for receiving the second packet from second electronic equipment, wraps in second packet
The motion having differences between the second video image and default video image that include its collection that second electronic equipment determines
Object images, and pixel coordinate of the Moving Objects image in the current video image;
Second determining module, for determine that previous moment of first electronic equipment at current time show with it is described
Corresponding first display picture of the corresponding video image of second electronic equipment, first display picture and the pre- setting video figure
As corresponding;
Acquisition module, for parsing second packet, obtains the Moving Objects image and corresponding pixel coordinate;
3rd determining module, for determining that display corresponding with the Moving Objects image is right in first display image
As image;
The operation module, for deleting the display object images and being based on the pixel coordinate, will be the motion right
As image update to first display image, the second display image corresponding with current time is generated, described second shows figure
As corresponding to second video image.
Obviously, those skilled in the art can carry out the essence of various changes and modification without deviating from the present invention to the present invention
God and scope.So, if these modifications of the present invention and modification belong to the scope of the claims in the present invention and its equivalent technologies
Within, then the present invention is also intended to comprising these changes and modification.
Claims (10)
1. a kind of data transmission method, is applied in one first electronic equipment, it is characterised in that include:
Determine the first video image corresponding with current video communication that first electronic equipment was gathered at the first moment;
First video image and initial video image are compared, determines that the display that first video image includes is right
Object is shown with the presence or absence of the initial display object included with the initial video image is had differences at least one as in;Its
In, the initial video image is the image gathered before first video image, and which includes current video communication correspondence
Video image background parts image image, at least one display object is residing in first video image
Position and location is differed in the initial video image display object;
The described at least one display corresponding destination image data of object is sent to the be connected with first electronic equipment
Two electronic equipments, so that second electronic equipment is shown based on the destination image data and upper by the second display unit
Display image generates display image corresponding with first video image.
2. the method for claim 1, it is characterised in that described that first video image and initial video image are entered
Row is compared, determine that first video image includes show in object with the presence or absence of with the initial video image include just
Begin to show at least one display object that object has differences, including:
First video image and the initial video image are carried out into background difference processing, first video image is obtained
Present image process block absolute error average;Wherein, the absolute error average is the present image process block and institute
State the absolute mean for processing the pixel value difference in video image between corresponding image block;
If it is determined that the absolute error average is more than predetermined threshold value, determines that the present image process block is corresponding and show that object is
The initial at least one display object for showing that object has differences with the initial video image;Otherwise, it determines described current
Image processing block is corresponding to show that object is consistent with corresponding initial display object.
3. method as claimed in claim 1 or 2, it is characterised in that described to show the corresponding mesh of object by described at least one
Logo image data is activation gives the second electronic equipment of the first electronic equipment connection, including:
Described at least one is extracted from first video image shows the corresponding target part image of object;
The corresponding destination image data of the destination object image is encoded;
First packet is generated based on the destination image data after coding, first packet is sent to into second electronics
Equipment.
4. method as claimed in claim 3, it is characterised in that described to the corresponding target image number of the destination object image
According to being encoded, including:
Determine the destination object image corresponding class parameter in first video image, the class parameter is used for table
Levy the corresponding concerned degree for showing object of the destination object image;
Based on the available bandwidth and the class parameter, the coding parameter of the destination image data, the coding ginseng are set
Number can characterize code check corresponding after the destination image data is encoded;
Based on the coding parameter, the destination image data is encoded.
5. the method for claim 1, it is characterised in that methods described also includes:
The second packet from second electronic equipment is received, second packet includes second electronic equipment
It is determined that its collection second video image and default video image between the Moving Objects image that has differences, and the motion
Pixel coordinate of the object images in the current video image;
Determine that previous moment of first electronic equipment at current time shows corresponding with second electronic equipment regards
Corresponding first display picture of frequency image, first display picture are corresponding to the default video image;
Second packet is parsed, the Moving Objects image and corresponding pixel coordinate is obtained;
Determine display object images corresponding with the Moving Objects image in first display image;
Delete the display object images and be based on the pixel coordinate, the Moving Objects image update is shown to described first
Diagram picture, generates the second display image corresponding with current time, second display image and the second video image phase
Should.
6. a kind of electronic equipment, it is characterised in that include:
First determining module, for determine first electronic equipment the first moment gather it is corresponding with current video communication
First video image;
Operation module, for first video image and initial video image are compared, determines the first video figure
Have differences at least with the presence or absence of the initial display object included with the initial video image in the display object that picture includes
One display object;Wherein, the initial video image is the image gathered before first video image, and which includes working as
The image of the background parts image of the corresponding video image of front video communication, described at least one shows that object is described first
Location and the display object that location is differed in the initial video image in video image;
Sending module, for described at least one display object corresponding destination image data is sent to and first electronics
Second electronic equipment of equipment connection, so that second electronic equipment is shown based on the target figure by the second display unit
As data and a upper display image generate display image corresponding with first video image.
7. electronic equipment as claimed in claim 6, it is characterised in that the operation module is used for:
First video image and the initial video image are carried out into background difference processing, first video image is obtained
Present image process block absolute error average;Wherein, the absolute error average is the present image process block and institute
State the absolute mean for processing the pixel value difference in video image between corresponding image block;
If it is determined that the absolute error average is more than predetermined threshold value, determines that the present image process block is corresponding and show that object is
The initial at least one display object for showing that object has differences with the initial video image;Otherwise, it determines described current
Image processing block is corresponding to show that object is consistent with corresponding initial display object.
8. electronic equipment as claimed in claims 6 or 7, it is characterised in that the sending module is used for:
Described at least one is extracted from first video image shows the corresponding target part image of object;
The corresponding destination image data of the destination object image is encoded;
First packet is generated based on the destination image data after coding, first packet is sent to into second electronics
Equipment.
9. electronic equipment as claimed in claim 8, it is characterised in that the sending module is used for:
Determine the destination object image corresponding class parameter in first video image, the class parameter is used for table
Levy the corresponding concerned degree for showing object of the destination object image;
Based on the available bandwidth and the class parameter, the coding parameter of the destination image data, the coding ginseng are set
Number can characterize code check corresponding after the destination image data is encoded;
Based on the coding parameter, the destination image data is encoded.
10. electronic equipment as claimed in claim 6, it is characterised in that the electronic equipment also includes:
Receiver module, for receiving the second packet from second electronic equipment, second packet includes institute
The Moving Objects having differences between the second video image and default video image of stating its collection of the second electronic equipment determination
Image, and pixel coordinate of the Moving Objects image in the current video image;
Second determining module, for determining that previous moment of first electronic equipment at current time show and described second
Corresponding first display picture of the corresponding video image of electronic equipment, first display picture and the default video image phase
Should;
Acquisition module, for parsing second packet, obtains the Moving Objects image and corresponding pixel coordinate;
3rd determining module, for determining display object diagram corresponding with the Moving Objects image in first display image
Picture;
The operation module, for deleting the display object images and being based on the pixel coordinate, by the Moving Objects figure
As updating to first display image, generate the second display image corresponding with current time, second display image and
Second video image is corresponding.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611246735.8A CN106534211A (en) | 2016-12-29 | 2016-12-29 | Data transmission method and electronic equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611246735.8A CN106534211A (en) | 2016-12-29 | 2016-12-29 | Data transmission method and electronic equipment |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106534211A true CN106534211A (en) | 2017-03-22 |
Family
ID=58339215
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201611246735.8A Pending CN106534211A (en) | 2016-12-29 | 2016-12-29 | Data transmission method and electronic equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106534211A (en) |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107147768A (en) * | 2017-05-26 | 2017-09-08 | 黄晓咏 | A kind of log system for remote interview |
CN108737862A (en) * | 2018-05-23 | 2018-11-02 | 浙江大华技术股份有限公司 | A kind of method and apparatus generating video code flow segment |
CN111988520A (en) * | 2020-07-07 | 2020-11-24 | 北京文香信息技术有限公司 | Picture switching method and device, electronic equipment and storage medium |
CN112073801A (en) * | 2019-08-26 | 2020-12-11 | 合肥宏晶微电子科技股份有限公司 | Image processing method, electronic equipment and connector |
CN112291563A (en) * | 2020-10-22 | 2021-01-29 | 咪咕视讯科技有限公司 | Video coding method, video coding equipment and computer readable storage medium |
CN112866573A (en) * | 2021-01-13 | 2021-05-28 | 京东方科技集团股份有限公司 | Display, fusion display system and image processing method |
CN113329054A (en) * | 2021-04-27 | 2021-08-31 | 杭州壹悟科技有限公司 | Equipment monitoring animation display optimization method and device |
CN116208623A (en) * | 2023-05-04 | 2023-06-02 | 腾讯科技(深圳)有限公司 | Information synchronization method, device, engine server and storage medium |
Citations (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101025862A (en) * | 2007-02-12 | 2007-08-29 | 吉林大学 | Video based mixed traffic flow parameter detecting method |
CN101031071A (en) * | 2006-02-28 | 2007-09-05 | 中兴通讯股份有限公司 | System and method for monitoring mobile video signals |
CN101141559A (en) * | 2007-07-24 | 2008-03-12 | 浙江大学 | Serial input-parallel output video image brightness interpolating method and device |
CN102595164A (en) * | 2012-02-27 | 2012-07-18 | 中兴通讯股份有限公司 | Method, device and system for sending video image |
CN103281539A (en) * | 2013-06-07 | 2013-09-04 | 华为技术有限公司 | Method, device and terminal for image encoding and decoding processing |
CN103313061A (en) * | 2013-06-28 | 2013-09-18 | 汕头大学 | Adaptive background updating video compression and transmission method and system |
CN103327169A (en) * | 2012-02-07 | 2013-09-25 | Lg电子株式会社 | Mobile terminal and method of controlling the mobile terminal |
CN203416351U (en) * | 2013-05-31 | 2014-01-29 | 江西省电力设计院 | A power station workshop video monitoring system |
CN203482319U (en) * | 2013-05-31 | 2014-03-12 | 江西省电力设计院 | Video monitoring and analysis system for power station workshops |
US20140194163A1 (en) * | 2013-01-04 | 2014-07-10 | Apple Inc. | Fine-Tuning an Operation Based on Tapping |
US20150103916A1 (en) * | 2013-10-11 | 2015-04-16 | Canon Kabushiki Kaisha | Method and apparatus for displacement vector component transformation in video coding and decoding |
CN106131421A (en) * | 2016-07-25 | 2016-11-16 | 乐视控股(北京)有限公司 | The method of adjustment of a kind of video image and electronic equipment |
-
2016
- 2016-12-29 CN CN201611246735.8A patent/CN106534211A/en active Pending
Patent Citations (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101031071A (en) * | 2006-02-28 | 2007-09-05 | 中兴通讯股份有限公司 | System and method for monitoring mobile video signals |
CN101025862A (en) * | 2007-02-12 | 2007-08-29 | 吉林大学 | Video based mixed traffic flow parameter detecting method |
CN101141559A (en) * | 2007-07-24 | 2008-03-12 | 浙江大学 | Serial input-parallel output video image brightness interpolating method and device |
CN103327169A (en) * | 2012-02-07 | 2013-09-25 | Lg电子株式会社 | Mobile terminal and method of controlling the mobile terminal |
CN102595164A (en) * | 2012-02-27 | 2012-07-18 | 中兴通讯股份有限公司 | Method, device and system for sending video image |
US20140194163A1 (en) * | 2013-01-04 | 2014-07-10 | Apple Inc. | Fine-Tuning an Operation Based on Tapping |
CN203416351U (en) * | 2013-05-31 | 2014-01-29 | 江西省电力设计院 | A power station workshop video monitoring system |
CN203482319U (en) * | 2013-05-31 | 2014-03-12 | 江西省电力设计院 | Video monitoring and analysis system for power station workshops |
CN103281539A (en) * | 2013-06-07 | 2013-09-04 | 华为技术有限公司 | Method, device and terminal for image encoding and decoding processing |
CN103313061A (en) * | 2013-06-28 | 2013-09-18 | 汕头大学 | Adaptive background updating video compression and transmission method and system |
US20150103916A1 (en) * | 2013-10-11 | 2015-04-16 | Canon Kabushiki Kaisha | Method and apparatus for displacement vector component transformation in video coding and decoding |
CN106131421A (en) * | 2016-07-25 | 2016-11-16 | 乐视控股(北京)有限公司 | The method of adjustment of a kind of video image and electronic equipment |
Cited By (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107147768A (en) * | 2017-05-26 | 2017-09-08 | 黄晓咏 | A kind of log system for remote interview |
CN108737862A (en) * | 2018-05-23 | 2018-11-02 | 浙江大华技术股份有限公司 | A kind of method and apparatus generating video code flow segment |
CN112073801A (en) * | 2019-08-26 | 2020-12-11 | 合肥宏晶微电子科技股份有限公司 | Image processing method, electronic equipment and connector |
CN112073801B (en) * | 2019-08-26 | 2021-06-18 | 合肥宏晶微电子科技股份有限公司 | Image processing method, electronic equipment and connector |
CN111988520A (en) * | 2020-07-07 | 2020-11-24 | 北京文香信息技术有限公司 | Picture switching method and device, electronic equipment and storage medium |
CN112291563A (en) * | 2020-10-22 | 2021-01-29 | 咪咕视讯科技有限公司 | Video coding method, video coding equipment and computer readable storage medium |
CN112866573A (en) * | 2021-01-13 | 2021-05-28 | 京东方科技集团股份有限公司 | Display, fusion display system and image processing method |
CN112866573B (en) * | 2021-01-13 | 2022-11-04 | 京东方科技集团股份有限公司 | Display, fusion display system and image processing method |
CN113329054A (en) * | 2021-04-27 | 2021-08-31 | 杭州壹悟科技有限公司 | Equipment monitoring animation display optimization method and device |
CN116208623A (en) * | 2023-05-04 | 2023-06-02 | 腾讯科技(深圳)有限公司 | Information synchronization method, device, engine server and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106534211A (en) | Data transmission method and electronic equipment | |
US8836798B2 (en) | Method and system for processing a composite video image | |
US7508413B2 (en) | Video conference data transmission device and data transmission method adapted for small display of mobile terminals | |
US9210372B2 (en) | Communication method and device for video simulation image | |
CN100591120C (en) | Video communication method and apparatus | |
US20020054032A1 (en) | Data transmission method, apparatus using same, and data transmission system | |
EP2523145A1 (en) | Method for dynamically adapting video image parameters for facilitating subsequent applications | |
US7425979B2 (en) | Communication system | |
CN109168013B (en) | Method, device and equipment for extracting frame and computer readable storage medium | |
EP2986020B1 (en) | Method and apparatus for adjusting video quality based on network environment | |
CN103957391A (en) | Method and system for displaying videos of all parties at same time during multi-party call in video intercom | |
CN112203126B (en) | Screen projection method, screen projection device and storage medium | |
JP2002051315A (en) | Data transmitting method and data transmitter, and data transmitting system | |
CN107332818B (en) | Method, device and system for processing media data, storage medium and processor | |
CN109640030A (en) | A kind of audio-video peripheral expansion device and method of video conferencing system | |
JP2007150919A (en) | Communication terminal and display method thereof | |
CN101668114A (en) | Method and device for stabilizing image and image transferring and receiving method using same | |
JP2013046319A (en) | Image processing apparatus and image processing method | |
KR101630018B1 (en) | Photographing apparatus and control method therof, group image managing system communicating the apparatus and control method therof, and recording medium for recording program for executing the control method | |
CN113573004A (en) | Video conference processing method and device, computer equipment and storage medium | |
US8432429B2 (en) | Multimedia effect processing device for videophone and related method | |
CN113160342B (en) | Encoding method and device based on feedback, storage medium and electronic equipment | |
CN103916633B (en) | A kind of web camera image display method | |
US20090089442A1 (en) | Method of transmitting data in a communication system | |
TWI410137B (en) | Video frame flow control device and method for controlling video frame |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20170322 |
|
RJ01 | Rejection of invention patent application after publication |