CN106941597A - A kind of video call method and device - Google Patents

A kind of video call method and device Download PDF

Info

Publication number
CN106941597A
CN106941597A CN201610006621.XA CN201610006621A CN106941597A CN 106941597 A CN106941597 A CN 106941597A CN 201610006621 A CN201610006621 A CN 201610006621A CN 106941597 A CN106941597 A CN 106941597A
Authority
CN
China
Prior art keywords
video information
resolution ratio
adjustment
frame per
access network
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
Application number
CN201610006621.XA
Other languages
Chinese (zh)
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.)
China Mobile Communications Group Co Ltd
Original Assignee
China Mobile Communications Group 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 China Mobile Communications Group Co Ltd filed Critical China Mobile Communications Group Co Ltd
Priority to CN201610006621.XA priority Critical patent/CN106941597A/en
Publication of CN106941597A publication Critical patent/CN106941597A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N7/00Television systems
    • H04N7/14Systems for two-way working
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/44Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream, rendering scenes according to MPEG-4 scene graphs
    • H04N21/4402Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream, rendering scenes according to MPEG-4 scene graphs involving reformatting operations of video signals for household redistribution, storage or real-time display
    • H04N21/440263Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream, rendering scenes according to MPEG-4 scene graphs involving reformatting operations of video signals for household redistribution, storage or real-time display by altering the spatial resolution, e.g. for displaying on a connected PDA
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/44Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream, rendering scenes according to MPEG-4 scene graphs
    • H04N21/4402Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream, rendering scenes according to MPEG-4 scene graphs involving reformatting operations of video signals for household redistribution, storage or real-time display
    • H04N21/440281Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream, rendering scenes according to MPEG-4 scene graphs involving reformatting operations of video signals for household redistribution, storage or real-time display by altering the temporal resolution, e.g. by frame skipping
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/478Supplemental services, e.g. displaying phone caller identification, shopping application
    • H04N21/4788Supplemental services, e.g. displaying phone caller identification, shopping application communicating with other users, e.g. chatting

Abstract

The embodiment of the invention discloses a kind of video call method, including:According to the Mean Speed of opposite equip. institute access network, the resolution ratio and frame per second of the first video information, the video information that first video information collects for camera are obtained;According to the resolution ratio and frame per second of first video information, first video information is encoded.Further, the embodiment of the invention also discloses a kind of video call device.

Description

A kind of video call method and device
Technical field
The present invention relates to the visual communication technology of the communications field, more particularly to a kind of video call method and dress Put.
Background technology
With the development of the communication technology, requirement more and more higher of the people to information exchange, existing wireless speech Call and short message exchange way can not meet the demand of people, and video calling is due to that can cause communication Both sides can not only hear its sound but also see its people, reach the experience as face-to-face exchange, therefore increasingly by people institute Favor.
Video call technology be the both call sides view data that captures local terminal and sound data synchronization transmissions to Other side, with the application of 3G, 4G technology, communication speed has obtained considerable raising, video call technology Also there is the ability for providing a user HD video call, user can be on mobile phone, PAD, TV at any time Used with household, friend.
Common, the audio-visual quality of video calling in use directly determines that user is logical using video The experience of words, the audio-visual quality includes whether both call sides sound is clear, coherent, and whether two-party video Clearly, link up without interim card, whether audio frequency and video are synchronous, and whether video quality can reach default definition. If audio-visual quality does not reach requirement, the use of user is necessarily affected.But video calling is by the network bandwidth Influence is than larger, because the communication technology that different geographical is applied is inconsistent, or the communication technology renewal process In the technology supported of the communication network of different zones that causes it is different, being easily caused different geographical can be supplied to The network bandwidth of user is inconsistent, i.e. the network bandwidth of some users is larger, and the high-speed data that can be supported is passed It is defeated, and the network bandwidth of other users is smaller, is only capable of supporting slow data transmission.
In the prior art, because the video pictures of high-resolution require that the network bandwidth of user is larger, therefore In order to look after the less user of the network bandwidth, it is ensured that the stability of audio-visual quality, usually all users carry For low resolution and the speech quality of more common tonequality, although ensure that the continuity of video, audio frequency and video It is synchronous etc. to require, but the both sides of video calling can only see the fuzzyyer video pictures of other side, cause to use Family experience is poor.
The content of the invention
In order to solve the above technical problems, the embodiment of the present invention is expected to provide a kind of video call method and device, The audio-visual quality of video calling can be improved, Consumer's Experience is improved.
The technical proposal of the invention is realized in this way:
On the one hand, the embodiment of the present invention provides a kind of video call method, including:
According to the Mean Speed of opposite equip. institute access network, the resolution ratio and frame per second of the first video information are obtained, The video information that first video information collects for camera;
According to the resolution ratio and frame per second of first video information, first video information is encoded.
Optionally, in the Mean Speed according to opposite equip. institute access network, point of the first video information is obtained Before resolution and frame per second, methods described also includes:
The negotiation information that opposite equip. is sent is received, the negotiation information includes opposite equip. institute access network The Mean Speed of network.
Optionally, the negotiation information includes the screen size of opposite equip.;
In the Mean Speed according to opposite equip. institute access network, the resolution ratio and frame of the first video information are obtained After rate, methods described also includes:
The resolution ratio and frame per second of first video information are adjusted according to the screen size of opposite equip., Obtain resolution ratio and frame per second after adjustment after the adjustment of the first video information;
The resolution ratio and frame per second according to first video information, is compiled to first video information Code includes:
According to frame per second after resolution ratio after the adjustment of first video information and adjustment, first video is believed Breath is encoded.
Optionally, in the Mean Speed according to opposite equip. institute access network, point of the first video information is obtained After resolution and frame per second, methods described also includes:
Determine whether the Mean Speed of institute's access network is less than or equal to the first average threshold;
When the Mean Speed of institute's access network is more than or equal to the first average threshold, according to the flat of institute's access network Equal speed is adjusted to the resolution ratio and frame per second of first video information, obtains the tune of the first video information Frame per second after whole rear resolution ratio and adjustment;
The resolution ratio and frame per second according to first video information, is compiled to first video information Code includes:
According to frame per second after resolution ratio after the adjustment of first video information and adjustment, first video is believed Breath is encoded.
Optionally, in the Mean Speed according to opposite equip. institute access network, point of the first video information is obtained After resolution and frame per second, methods described also includes:
Determine whether the Mean Speed of institute's access network and the difference of real time rate are more than or equal to the first difference threshold Value;
When the Mean Speed of institute's access network and the difference of real time rate are more than or equal to the first difference threshold, root According to the Mean Speed of institute's access network and the difference of real time rate resolution ratio and frame to first video information Rate is adjusted, and obtains resolution ratio and frame per second after adjustment after the adjustment of the first video information;
The resolution ratio and frame per second according to first video information, is compiled to first video information Code includes:
According to frame per second after resolution ratio after the adjustment of first video information and adjustment, first video is believed Breath is encoded.
Optionally, the negotiation information also includes the real time rate of opposite equip. institute access network;
In the Mean Speed according to opposite equip. institute access network, the resolution ratio and frame of the first video information are obtained After rate, methods described also includes:
Determine whether the real time rate of opposite equip. institute access network is less than or equal to the first real time threshold;
When the real time rate of opposite equip. institute access network is less than or equal to the first real time threshold, according to described right The real time rate of end equipment institute access network is adjusted to the resolution ratio and frame per second of first video information, Obtain resolution ratio and frame per second after adjustment after the adjustment of the first video information;
The resolution ratio and frame per second according to first video information, is compiled to first video information Code includes:
According to frame per second after resolution ratio after the adjustment of first video information and adjustment, first video is believed Breath is encoded.
Optionally, methods described also includes:
Receive the second video information that opposite equip. is sent;
Obtain the resolution ratio and frame per second of second video information;
According to the resolution ratio and frame per second of second video information, second video information is shown.
Optionally, after the resolution ratio and frame per second of second video information is obtained, methods described also includes:
Determine whether the Mean Speed of accessed network is less than or equal to the second average threshold;
When the Mean Speed of the network accessed is less than or equal to second average threshold, according to what is accessed The Mean Speed of network is adjusted to the resolution ratio and frame per second of second video information, obtains the second video Resolution ratio and frame per second after adjustment after the adjustment of information;
The resolution ratio and frame per second according to second video information, shows that second video information includes:
According to frame per second after resolution ratio after the adjustment of second video information and adjustment, second video is shown Information.
Optionally, after the resolution ratio and frame per second of second video information is obtained, methods described also includes:
Determine whether the Mean Speed of accessed network and the difference of real time rate are more than or equal to the second difference Threshold value;
The Mean Speed of the network accessed and the difference of real time rate are more than or equal to second difference threshold When, second video information is divided according to the Mean Speed of the network accessed and the difference of real time rate Resolution and frame per second are adjusted, and obtain resolution ratio and frame per second after adjustment after the adjustment of the second video information;
The resolution ratio and frame per second according to second video information, shows that second video information includes:
According to frame per second after resolution ratio after the adjustment of second video information and adjustment, second video is shown Information.
On the other hand, the embodiment of the present invention provides a kind of video call device, including:
Acquiring unit, for the Mean Speed according to opposite equip. institute access network, obtains the first video information Resolution ratio and frame per second, the video information that first video information collects for camera;
Coding unit, for the resolution ratio and frame per second according to first video information, to first video Information is encoded.
Optionally, the equipment also includes:
First receiving unit, the negotiation information for receiving opposite equip. transmission, the negotiation information includes institute State the Mean Speed of opposite equip. institute access network.
Optionally, the negotiation information includes the screen size of opposite equip.;
The equipment also includes:
First adjustment unit, the resolution for the screen size according to opposite equip. to first video information Rate and frame per second are adjusted, and obtain resolution ratio and frame per second after adjustment after the adjustment of the first video information;
The coding unit is specifically for frame after resolution ratio after the adjustment according to first video information and adjustment Rate, is encoded to first video information.
Optionally, the equipment also includes:
First determining unit, for determining, whether the Mean Speed of access network is less than or equal to first and is averaged Threshold value;
Second adjustment unit, for being less than or equal to the described first average threshold when the Mean Speed of institute's access network During value, the resolution ratio and frame per second of first video information are adjusted according to the Mean Speed of institute's access network It is whole, obtain resolution ratio and frame per second after adjustment after the adjustment of the first video information;
The coding unit is specifically for frame after resolution ratio after the adjustment according to first video information and adjustment Rate, is encoded to first video information.
Optionally, the equipment also includes:
Second determining unit, for determining, whether the Mean Speed of access network and the difference of real time rate are big In or equal to the first difference threshold;
3rd adjustment unit, for when the Mean Speed of institute's access network and the difference of real time rate are more than or wait When the first difference threshold, according to the Mean Speed of institute's access network and the difference of real time rate to described first The resolution ratio and frame per second of video information are adjusted, and obtain resolution ratio and adjustment after the adjustment of the first video information Frame per second afterwards;
The coding unit is specifically for frame after resolution ratio after the adjustment according to first video information and adjustment Rate, is encoded to first video information.
Optionally, the negotiation information also includes the real time rate of opposite equip. institute access network;
The equipment also includes:
Whether the 3rd determining unit, the real time rate for determining opposite equip. institute access network is less than or equal to First real time threshold;
4th adjustment unit, for being less than or equal to first in fact when the real time rate of opposite equip. institute access network When threshold value when, first video information is divided according to the real time rate of opposite equip. institute access network Resolution and frame per second are adjusted, and obtain resolution ratio and frame per second after adjustment after the adjustment of the first video information;
The coding unit is specifically for frame after resolution ratio after the adjustment according to first video information and adjustment Rate, is encoded to first video information.
Optionally, the equipment also includes:
Second receiving unit, the second video information for receiving opposite equip. transmission;
The acquiring unit is additionally operable to obtain the resolution ratio and frame per second of second video information;
Display unit, for the resolution ratio and frame per second according to second video information, display described second is regarded Frequency information.
Optionally, the equipment also includes:
4th determining unit, for determining it is flat whether the Mean Speed of accessed network is less than or equal to second Equal threshold value;
5th adjustment unit, for working as, the Mean Speed of accessed network is less than or equal to described second and is averaged During threshold value, the resolution ratio and frame per second of second video information are entered according to the Mean Speed of the network accessed Row adjustment, obtains resolution ratio and frame per second after adjustment after the adjustment of the second video information;
The display unit is specifically for frame after resolution ratio after the adjustment according to second video information and adjustment Rate, shows second video information.
Optionally, the equipment also includes:
5th determining unit, for determine accessed network Mean Speed and real time rate difference whether More than or equal to the second difference threshold;
6th adjustment unit, for working as the Mean Speed of accessed network and the difference of real time rate be more than or During equal to second difference threshold, according to the Mean Speed of the network accessed and the difference pair of real time rate The resolution ratio and frame per second of second video information are adjusted, and obtain differentiating after the adjustment of the second video information Frame per second after rate and adjustment;
The display unit is specifically for frame after resolution ratio after the adjustment according to second video information and adjustment Rate, shows second video information.
The embodiments of the invention provide a kind of video call method and equipment, the video call method includes: According to the Mean Speed of opposite equip. institute access network, the resolution ratio and frame per second of the first video information, institute are obtained State the video information that the first video information collects for camera;According to the resolution ratio of first video information And frame per second, first video information is encoded.Compared to prior art, due to the first video information Resolution ratio and frame per second when being encoded are determined according to the Mean Speed of opposite equip. institute access network, because This when the Mean Speed of opposite equip. institute access network is higher, resolution ratio during the first video information coding and Frame per second can be with larger so that when opposite equip. network condition is preferable, can show more visible picture, carry The high audio-visual quality of video calling, and then improve Consumer's Experience.
Brief description of the drawings
Fig. 1 is a kind of schematic flow sheet 1 of video call method provided in an embodiment of the present invention;
Fig. 2 is a kind of schematic flow sheet 2 of video call method provided in an embodiment of the present invention;
Fig. 3 is a kind of structural representation Fig. 1 of video call device provided in an embodiment of the present invention;
Fig. 4 is a kind of structural representation Fig. 2 of video call device provided in an embodiment of the present invention;
Fig. 5 is a kind of structural representation Fig. 3 of video call device provided in an embodiment of the present invention;
Fig. 6 is a kind of structural representation Fig. 4 of video call device provided in an embodiment of the present invention;
Fig. 7 is a kind of structural representation Fig. 5 of video call device provided in an embodiment of the present invention;
Fig. 8 is a kind of structural representation Fig. 6 of video call device provided in an embodiment of the present invention;
Fig. 9 is a kind of structural representation Fig. 7 of video call device provided in an embodiment of the present invention;
Figure 10 is a kind of structural representation Fig. 8 of video call device provided in an embodiment of the present invention;
Figure 11 is a kind of structural representation Fig. 9 of video call device provided in an embodiment of the present invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear Chu, it is fully described by.
The embodiment of the present invention provides a kind of video call method, and the video call method is applied to terminal device, The terminal device can be mobile phone, panel computer or PC etc., the embodiment of the present invention is not done to this Limit.As shown in figure 1, methods described includes:
Step 101, the Mean Speed according to opposite equip. institute access network, obtain point of the first video information Resolution and frame per second, the video information that first video information collects for camera.
The opposite equip. is described to carry out the terminal device of the other end of video calling with terminal device Opposite equip. can be mobile phone, panel computer or PC etc., the embodiment of the present invention is not limited this.
Example, for the ease of description, terminal device is referred to as local device in the embodiment of the present invention.With During family carries out video calling using local device with opposite equip., local device is gathered by camera The real-time pictures of user, and the real-time pictures are sent to opposite equip., the real-time pictures are first Video information, opposite equip. is receiving the first video information, and first video information is decoded simultaneously It has been shown that, so, using the user of opposite equip. be can watch using local device user it is real-time Picture.But the camera of generally local device is to carry out picture collection according to the highest resolution supported, The resolution ratio and frame per second of the raw frames collected are higher, if the raw frames directly are sent into opposite end Equipment, can cause local device be sent to the first video information of opposite equip. packet it is more, per number Also larger according to wrapping, if the bandwidth for the network that opposite equip. is accessed is smaller, speed is relatively low, then is easily caused The the first video information interim card or the nonsynchronous situation of audio frequency and video shown on opposite equip..If in order to avoid upper Situation is stated, directly the first video information is encoded from relatively low resolution ratio and frame per second, not accounted for The situation of opposite equip. institute access network, then when opposite equip. institute access network situation can be caused preferable, i.e., pair In the case that end equipment originally can receive the video information of high-resolution, first shown on opposite equip. regards The resolution ratio of frequency information is still very low so that of low quality, the influence Consumer's Experience of two-party video call.Cause This, according to the Mean Speed of opposite equip. institute access network, can obtain the first video information resolution ratio and Frame per second.For example, when the Mean Speed of opposite equip. institute access network is higher, larger resolution can be selected Rate and frame per second;When the Mean Speed of opposite equip. institute access network is relatively low, less resolution ratio and frame are selected Rate.
If the time that opposite equip. and local device carry out video calling is also compared short, opposite equip. is to local terminal The Mean Speed that equipment is sent numerical value preset when being dispatched from the factory for opposite equip., the net that this numerical value is used according to user Network type, including LAN (Local Area Network, LAN) access, dial-up access etc., Yi Jiyong Network bandwidth that family is opened etc. is determined.After video calling continues certain time length at that time, opposite equip. can be by Network Mean Speed in the duration is sent to local device.
Step 102, resolution ratio and frame per second according to first video information, to first video information Encoded.
The Mean Speed of institute's access network according to opposite equip. get the first video information resolution ratio and After frame per second, the first video information is encoded according to the resolution ratio and frame per second, opposite end is then sent to and sets It is standby.By forethought has arrived the concrete condition of opposite equip. institute access network, so opposite equip. is shown The first video information shown is not in interim card or the nonsynchronous situation of audio frequency and video, and can also be with compared with high score Resolution is shown.
So, resolution ratio and frame per second when being encoded due to the first video information are according to opposite equip. What the Mean Speed of institute's access network was determined, therefore when the Mean Speed of opposite equip. institute access network is higher, Resolution ratio and frame per second during the first video information coding can be with larger so that preferable in opposite equip. network condition When, more visible picture can be shown, the audio-visual quality of video calling is improved, and then improve user's body Test.
Further, in the Mean Speed according to opposite equip. institute access network, the first video information is obtained Before resolution ratio and frame per second, the negotiation information of opposite equip. transmission, the negotiation information can also be received first Include the Mean Speed of opposite equip. institute access network.
Example, when local device and opposite equip. set up video calling, opposite equip. can be first to this End equipment sends negotiation information, and the negotiation information includes the Mean Speed of opposite equip. institute access network, , can be according to the opposite equip. institute access network in order to which local device is after the first video information is collected Mean Speed, obtains the resolution ratio and frame per second of the first video information.
Preferably, in order to which local device can be according to the network condition of opposite equip., the first video of adjustment in time The resolution ratio and frame per second of information, opposite equip. can periodically send negotiation information.Local device is each After receiving negotiation information, being averaged for current opposite equip. institute's access network for being carried in negotiation information is obtained Speed, then according to the Mean Speed of current opposite equip. institute access network, obtains point of the first video information Resolution and frame per second.Example, the cycle that negotiation information is sent can be 10 minutes, and the opposite equip. is connect The Mean Speed for entering network is the Mean Speed of opposite equip. institute access network in the correspondence cycle.Practical application In, the cycle that negotiation information is sent can be configured as the case may be, and the embodiment of the present invention is not done to this Limit.
In practical application, local device can also set terminal models storage/processing module, existing for storing The relevant information such as model, disposal ability, camera acquisition resolution, the screen size of main flow terminal equipment, When local device and opposite equip. carry out video calling, terminal models are inquired about according to the model of opposite equip. and deposited Storage/processing module, you can obtain the screen size of opposite equip..In practical application, the terminal models storage The model of the existing main flow terminal equipment stored in/processing module, disposal ability, camera acquisition resolution, The relevant informations such as screen size can be increased, changed and be deleted.
Optionally, the negotiation information includes the screen size of opposite equip..Further, according to opposite end , can be with after the Mean Speed of equipment institute access network, the resolution ratio and frame per second that obtain the first video information The resolution ratio and frame per second of first video information are adjusted according to the screen size of opposite equip., obtained Resolution ratio and frame per second after adjustment after the adjustment of first video information, then according to the tune of first video information Frame per second after whole rear resolution ratio and adjustment, is encoded to first video information.
Example, because the species of opposite equip. is more, screen in every kind of equipment it is in different size, it is right For same video information, if shown on less screen, possible display effect is good, but If being shown on giant-screen, it may appear that the relatively low situation of resolution ratio.Therefore enter in local device with opposite equip. During row video calling, opposite equip., which is sent in the negotiation information of local device, can include the screen of opposite equip. Curtain size so that local device can be according to the screen size of opposite equip., point of the first video information of adjustment Resolution and frame per second, in the case where the screen of opposite equip. is larger, make the resolution ratio of the first video information as far as possible It is larger with frame per second, in the case of the screen of opposite equip. is less, less resolution ratio and frame per second can be selected, Alleviate communication pressure.
Further, in the Mean Speed according to opposite equip. institute access network, the first video information is obtained After resolution ratio and frame per second, it can also determine whether the Mean Speed of institute's access network is less than or equal to the first One average threshold, when the Mean Speed of institute's access network is less than or equal to first average threshold, according to The Mean Speed of institute's access network is adjusted to the resolution ratio and frame per second of first video information, obtains Resolution ratio and frame per second after adjustment after the adjustment of one video information, then according to the adjustment of first video information Resolution ratio and frame per second after adjustment, are encoded to first video information afterwards.
Example, all right, but the net that local device is accessed of the network accessed when opposite equip. When the situation of network is poor, if the Mean Speed of the network only accessed according to opposite equip. determines the first video The resolution ratio and frame per second of information, can cause local device send the first video information speed it is slower, opposite end is set It is standby quickly to receive the first video information, still result in the picture card that opposite equip. is shown Or audio frequency and video it is asynchronous situations such as.Therefore, in practical application, in the network accessed according to opposite equip. Mean Speed get the resolution ratio and frame per second of the first video information after, can also first determine whether that local terminal is set Whether the Mean Speed of standby institute access network is less than or equal to the first average threshold, if local device is accessed The Mean Speed of network is more than the first average threshold, illustrates that the speed of local device institute access network is good, can It is adjusted with the resolution ratio and frame per second not to the first video information, if local device institute access network is flat Equal speed is less than or equal to the first average threshold, the speed for illustrating local device institute access network it is poor, it is necessary to According to the Mean Speed of local device institute access network, resolution ratio and frame per second to the first video information are adjusted It is whole, then according still further to frame per second after resolution ratio after adjustment and adjustment, first video information is encoded. For example, when the Mean Speed of local device institute access network is smaller, can suitably reduce the first video information Resolution ratio and frame per second.Wherein, first average threshold is set as the case may be in practical application, It can also be adjusted at any time according to the different situations of network, the embodiment of the present invention is not limited this.
Further, in the Mean Speed according to opposite equip. institute access network, the first video information is obtained After resolution ratio and frame per second, the Mean Speed of institute's access network and the difference of real time rate can also be determined first Whether the first difference threshold is more than or equal to, when the Mean Speed of institute's access network and the difference of real time rate are big When the first difference threshold, according to the Mean Speed of institute's access network and the difference of real time rate to institute The resolution ratio and frame per second for stating the first video information are adjusted, and obtain resolution ratio after the adjustment of the first video information With frame per second after adjustment, then according to resolution ratio after the adjustment of first video information and adjustment after frame per second, it is right First video information is encoded.
Example, the real-time change during situation of network, even if the Mean Speed of local device institute access network Preferably, but if there is others interference, it still may result in local device and send the first video information When network real time rate reduce suddenly, if now local device only accounts for the average speed of institute's access network Rate, without worry network real time rate when, may cause local device send the first video information speed Degree is slower, it is difficult to meet the display demand of opposite equip..And hence it is also possible to according to local device institute access network Whether the Mean Speed of network and the difference of real time rate determine the need for pair more than or equal to the first difference threshold The resolution ratio and frame per second of first video information are adjusted.If the Mean Speed of local device institute access network It is more than or equal to the first difference threshold with the difference of real time rate, illustrates the real-time of local device institute access network The difference of speed and Mean Speed is larger, current out of condition of possible local device institute access network, it is necessary to According to the size of the difference, resolution ratio and frame per second to the first video information are adjusted;If local terminal is set The Mean Speed of standby institute access network and the difference of real time rate are less than the first difference threshold, illustrate local device The real time rate of institute's access network and the difference of Mean Speed are smaller, resolution that can not be to the first video information Rate and frame per second are adjusted.Specifically, when the real time rate and Mean Speed of local device institute access network When difference is larger, the appropriate resolution ratio and frame per second for reducing the first video information.Wherein, the first difference threshold Value is set as the case may be in practical application, can also be adjusted at any time according to the different situations of network Whole, the embodiment of the present invention is not limited this.
Optionally, the negotiation information also includes the real time rate of opposite equip. institute access network.Further, In the Mean Speed according to opposite equip. institute access network, obtain the first video information resolution ratio and frame per second it Afterwards, it can also determine whether the real time rate of opposite equip. institute access network is real-time less than or equal to first first Threshold value, when the real time rate of opposite equip. institute access network is less than or equal to the first real time threshold, according to institute The real time rate for stating opposite equip. institute access network is adjusted to the resolution ratio and frame per second of first video information It is whole, resolution ratio and frame per second after adjustment after the adjustment of the first video information are obtained, then according to first video Resolution ratio and frame per second after adjustment, are encoded to first video information after the adjustment of information.
Example, the network condition that opposite equip. is accessed is also real-time change, although according to opposite equip. The Mean Speed of the network accessed, obtains the resolution ratio and frame per second of the first video information, but if right The network that end equipment is accessed is interfered, and causes if implementing speed reduction, also results in opposite equip. and connect The speed for receiving the first video information is slower so that interim card occurs in the picture that opposite equip. is shown or audio frequency and video are different Situations such as step.Therefore, in practical application, the real time rate for the network that can be accessed according to opposite equip. is true It is fixed whether to need to be adjusted the resolution ratio and frame per second of the first video information.What if opposite equip. was accessed The real time rate of network is less than or equal to the first real time threshold, illustrates the real-time of the network that opposite equip. is accessed Speed is smaller, it is necessary to which resolution ratio and frame per second to the first video information are adjusted, you can reduce the with appropriate The resolution ratio and frame per second of one video information;If the real time rate for the network that opposite equip. is accessed is more than first Real time threshold, illustrates that the real time rate for the network that opposite equip. is accessed is larger, and the first video can not be believed The resolution ratio and frame per second of breath are adjusted.Wherein, first real time threshold is according to specific in practical application Situation set, can also be adjusted at any time according to the different situations of network, the embodiment of the present invention to this not Limit.
Specifically, opposite equip. periodically can be sent in negotiation information, the negotiation information to local device Mean Speed and real time rate including opposite equip. institute access network, the Mean Speed can be correspondence weeks Network Mean Speed in phase, the real time rate can be that network current when sending negotiation information is fast in real time Rate.In practical application, real time rate can also be sent by other information, and the cycle for sending real time rate can With smaller, in order to which local device is in time according to the real time rate of opposite equip. institute access network, regarded to first The resolution ratio and frame per second of frequency information are adjusted.
Example, can also include the decoding capability of opposite equip. in the negotiation information, local device according to The decoding capability of opposite equip. determines the need for being adjusted the resolution ratio and frame per second of the first video information. If the decoding capability of opposite equip. is stronger, the video information of high-resolution can be decoded, then can be appropriate Increase the resolution ratio and frame per second of the first video information;If the decoding capability of opposite equip. is weaker, decoding is only capable of The video information of low resolution, then can suitably reduce the resolution ratio and frame per second of the first video information.
Optionally, local device can also receive the second video information of opposite equip. transmission, then obtain institute The resolution ratio and frame per second of the second video information are stated, and according to the resolution ratio and frame per second of second video information, Show second video information.
Example, when local device and opposite equip. progress video calling, local device should take the photograph this section As the real-time pictures for the user that head is collected are sent to opposite equip., also to receive the second of opposite equip. transmission Video information, second video information has reacted the real-time pictures of the user using opposite equip..Local terminal is set For after the second video information that opposite equip. is sent is received, the second video information is decoded, then Obtain the resolution ratio and frame per second of the second video information, the resolution ratio and frame per second of second video information are pair Resolution ratio and frame per second when end equipment is encoded to the second video information, then local device is according to the resolution Rate and frame per second show the second video information, you can set so that being watched using the user of local device using opposite end The real-time pictures of standby user.
Further, can also be true first after the resolution ratio and frame per second of second video information is obtained Whether the Mean Speed of fixed accessed network is less than or equal to the second average threshold, when the network accessed When Mean Speed is less than or equal to second average threshold, according to the Mean Speed of the network accessed to institute The resolution ratio and frame per second for stating the second video information are adjusted, and obtain resolution ratio after the adjustment of the second video information With frame per second after adjustment, then according to frame per second after resolution ratio after the adjustment of second video information and adjustment, show Show second video information.
Example, if the Mean Speed of local device institute access network is smaller, and what local device was got Resolution ratio and frame per second when opposite equip. is encoded to the second video information is larger, may cause local device It can not continuously receive the second video information, therefore can also be according to the average speed of local device institute access network The resolution ratio and frame per second that rate determines the need for during to the second video information are adjusted.Specifically, local terminal is set Whether the standby Mean Speed for determining accessed network is less than or equal to the second average threshold, if local device Determine whether the Mean Speed of accessed network is less than or equal to the second average threshold, illustrate that local device is true The Mean Speed of fixed accessed network is smaller, may result in local device and can not continuously receive second and regards Frequency information, therefore the Mean Speed of accessed network can be determined to the second video information according to local device When resolution ratio and frame per second be adjusted, for example, resolution ratio when can suitably reduce the second video information and Frame per second;If local device determines whether the Mean Speed of accessed network is more than the second average threshold, say Bright local device determines that the Mean Speed of accessed network is larger, does not interfere with local device to the second video The reception of information, resolution ratio and frame per second when can not be to the second video information be adjusted.Wherein, it is described Second average threshold is set as the case may be in practical application, can also according to the different situations of network It is adjusted at any time, the embodiment of the present invention is not limited this.
Further, can also be true first after the resolution ratio and frame per second of second video information is obtained Whether the Mean Speed of fixed accessed network and the difference of real time rate are more than or equal to the second difference threshold, When the Mean Speed of the network accessed and the difference of real time rate are more than or equal to second difference threshold, According to the resolution ratio of the Mean Speed of the network accessed and the difference of real time rate to second video information It is adjusted with frame per second, obtains resolution ratio and frame per second after adjustment after the adjustment of the second video information, then basis Resolution ratio and frame per second after adjustment, show second video information after the adjustment of second video information.
Example, the situation of the network accessed by local device is real-time change, if local device During receiving the second video information, the real time rate of network deteriorates suddenly, it is also possible to cause local device The second video information can not continuously be received.Therefore in practical application, local device institute can also be determined first Whether the Mean Speed of the network of access and the difference of real time rate are more than or equal to the second difference threshold, if The Mean Speed of local device institute access network and the difference of real time rate are more than or equal to the second difference threshold, Illustrate that the real time rate of local device is changed greatly, local device may be influenceed to connect the second video information Receive, it is necessary to be carried out according to Mean Speed and the difference of real time rate to the resolution ratio and frame per second of the second video information Adjustment, for example, can suitably reduce the resolution ratio and frame per second of the second video information;If local device is connect Enter the Mean Speed of network and the difference of real time rate is less than the second difference threshold, illustrate the real-time of local device Speed change is smaller, may not influence reception of the local device to the second video information, it is not necessary to second The resolution ratio and frame per second of video information are adjusted.Wherein, second difference threshold is root in practical application Set, can also be adjusted at any time according to the different situations of network, the embodiment of the present invention according to concrete condition This is not limited.
The embodiments of the invention provide a kind of video call method, methods described includes:According to opposite equip. institute The Mean Speed of access network, obtains the resolution ratio and frame per second of the first video information, first video information The video information collected for camera;According to the resolution ratio and frame per second of first video information, to described First video information is encoded.Compared to prior art, point when being encoded due to the first video information Resolution and frame per second are determined according to the Mean Speed of opposite equip. institute access network, therefore when opposite equip. institute When the Mean Speed of access network is higher, resolution ratio and frame per second during the first video information coding can with larger, So that when opposite equip. network condition is preferable, more visible picture can be shown, video calling is improved Audio-visual quality, and then improve Consumer's Experience.
The embodiment of the present invention provides a kind of video call method, is said by taking first terminal and second terminal as an example It is bright, wherein, first terminal and second terminal can be mobile phone, panel computer, personal telegram or set top box Deng the embodiment of the present invention is not limited this.The video call method as shown in Fig. 2 including:
Step 301, first terminal receive the negotiation information that second terminal is sent, and the negotiation information includes the The Mean Speed of two terminal institute access networks, real time rate and/or screen size, perform step 302.
When first terminal and second terminal set up video calling, second terminal can be sent out to first terminal first Negotiation information is sent, the negotiation information includes the Mean Speed of second terminal institute access network, real time rate With the screen size of second terminal, in order to local device can according to above-mentioned parameter in time to being sent to second First video information of terminal is adjusted.
Step 302, the camera of first terminal carry out the first video information collection, perform step 303.
The camera of first terminal is when carrying out the collection of the first video information, it will usually according to the highest supported Resolution ratio and frame per second are acquired.Conventional camera supports regarding for the resolution ratio such as 480P, 720P, 1080P The collection of frequency information.
Step 303, first terminal obtain the first video according to the Mean Speed of second terminal institute access network The resolution ratio and frame per second of information, perform step 304.
Example, if the Mean Speed of second terminal institute access network is larger, illustrate that second terminal can be compared with The big packet of fast reception, therefore higher resolution ratio and frame per second can be selected, if second terminal is connect The Mean Speed for entering network is smaller, illustrates the situation of second terminal institute access network and may influence to regard to first The reception of frequency information, therefore relatively low resolution ratio and frame per second can be selected.
Step 304, first terminal according to the screen size of second terminal to the resolution ratio of the video information and Frame per second carries out first time adjustment, performs step 305.
Example,, may display effect if shown on less screen for same video information Fruit is good, but if being shown on larger screen, it may appear that the relatively low situation of resolution ratio.Therefore first Terminal according to the screen size of second terminal, can adjust the resolution ratio and frame per second of the first video information.For example, In the case where the screen of second terminal is larger, the resolution ratio and frame per second of the first video information of appropriate increase, In the case of the screen of second terminal is less, it can suitably reduce the resolution ratio and frame per second of the first video information, Alleviate communication pressure.The size of conventional screen is 4 inches or 3.5 inches.
Step 305, first terminal determine whether the Mean Speed of institute's access network is less than or equal to first and is averaged Threshold value;When the Mean Speed of first terminal institute access network is less than or equal to the first average threshold, step is performed Rapid 306;When the Mean Speed of first terminal institute access network is more than first average threshold, step is performed Rapid 311.
Example, by the size of the Mean Speed of first terminal institute access network, the first video can be influenceed to believe The transmission speed of breath, therefore first terminal is before the first video information is sent, in addition it is also necessary to determine to be connect first Whether the Mean Speed for entering network is less than or equal to the first average threshold.If first terminal institute access network Mean Speed is more than the first average threshold, illustrates that the speed of first terminal institute access network is good, can not be right The resolution ratio and frame per second of first video information are adjusted, if the Mean Speed of first terminal institute access network Less than or equal to the first average threshold, illustrate that the speed of first terminal institute access network is poor, it is necessary to first The resolution ratio and frame per second of video information are adjusted.
Step 306, first terminal are according to the resolution ratio of the Mean Speed of institute's access network to the video information Second is carried out with frame per second to adjust, and performs step 307.
Example, if the Mean Speed of first terminal institute access network is less than or equal to the first average threshold, Illustrate that the Mean Speed of first terminal institute access network is smaller, first terminal may be influenceed to believe the first video The transmission of breath, therefore can suitably reduce the resolution ratio and frame per second of the first video information;If first terminal institute The Mean Speed of access network is more than the first average threshold, illustrates the Mean Speed of first terminal institute access network It is larger, transmission of the first terminal to the first video information is not interfered with, therefore can not be to the first video information Resolution ratio and frame per second be adjusted.
Step 307, first terminal determine institute's access network Mean Speed and real time rate difference it is whether big In or equal to the first difference threshold;When the Mean Speed and the difference of real time rate of first terminal institute access network During more than or equal to the first difference threshold, step 308 is performed;When the average speed of first terminal institute access network When rate and the difference of real time rate are less than the first difference threshold, step 311 is performed.
Example, what it is by first terminal institute access network is real-time change, and first terminal institute access network The real time rate of network can also influence transmission of the first terminal to the first video information, therefore can also determine first Whether the Mean Speed of first terminal institute access network and the difference of real time rate are more than or equal to the first difference threshold Value.If the difference is more than or equal to the first difference threshold, illustrate the real-time speed of first terminal institute access network Rate and Mean Speed difference are larger, and the real time rate of network may receive interference and reduce, therefore can influence the The transmission of one the first video information of terminal-pair is, it is necessary to which resolution ratio and frame per second to the first video information are adjusted; If the difference is less than the first difference threshold, illustrate the real time rate and average speed of first terminal institute access network Rate difference is smaller, does not interfere with transmission of the first terminal to the first video information, therefore need not be regarded to first The resolution ratio and frame per second of frequency information are adjusted.
Step 308, first terminal are according to the Mean Speed of institute's access network and the difference of real time rate to described The resolution ratio and frame per second of video information carry out third time adjustment, perform step 309.
Example, if the Mean Speed of first terminal institute access network and the difference of real time rate are more than or waited In the first difference threshold, illustrate that the real time rate of first terminal institute access network is changed greatly, may influence Transmission of the first terminal to the first video information, thus can suitably reduce the first video information resolution ratio and Frame per second;If the Mean Speed of first terminal institute access network and the difference of real time rate are less than the first difference threshold Value, illustrates that the real time rate change of network is little, does not interfere with transmission of the first terminal to the first video information, Therefore the resolution ratio and frame per second of the first video information can not be adjusted.
Step 309, first terminal determine whether the real time rate of second terminal institute access network is less than or equal to First real time threshold;When the real time rate of second terminal institute access network is less than or equal to the first real time threshold, Perform step 310;When the real time rate of second terminal institute access network is more than the first real time threshold, perform Step 311.
Example, the real time rate of second terminal institute access network can influence second terminal to the first video information Reception, therefore be also required to be determined whether to the first video according to the real time rate of second terminal institute access network The resolution ratio and frame per second of information are adjusted.If the real time rate for the network that second terminal is accessed be less than or Equal to the first real time threshold, illustrate that the real time rate for the network that second terminal is accessed is smaller, may influence Second terminal is to the reception of the first video information, it is necessary to which resolution ratio and frame per second to the first video information are adjusted It is whole;If the real time rate for the network that second terminal is accessed is more than the first real time threshold, illustrate second terminal The real time rate of the network accessed is larger, reception of the second terminal to the first video information is not influenceed, therefore The resolution ratio and frame per second of first video information can not be adjusted.
Step 310, first terminal are according to the real time rate of second terminal institute access network to the video information Resolution ratio and frame per second carry out the 4th time adjustment, perform step 311.
Example, if the real time rate for the network that second terminal is accessed is less than or equal to the first real time threshold, The resolution ratio and frame per second of the first video information can suitably be reduced;If the network that second terminal is accessed is real-time Speed is more than the first real time threshold, then the resolution ratio and frame per second of the first video information need not be adjusted.
Step 311, first terminal enter according to the resolution ratio and frame per second finally determined to first video information Row coding, performs step 312.
Example, first terminal is carried out according to above-mentioned parameters to the resolution ratio and frame per second of the first video information Multiple adjustment, the resolution ratio and frame per second obtained after then being adjusted according to last time is entered to the video information Row coding.
The first video information after coding is sent to second terminal by step 312, first terminal, performs step 313。
After first terminal is encoded to the first video information, first video information is the net for meeting two ends Network situation, meets the screen display demand of second terminal, therefore more can quickly be sent to second eventually again End.
Step 313, second terminal are decoded to the first video information received, obtain first video The resolution ratio and frame per second of information, perform step 314.
Example, when second terminal is that first terminal sets up dialogue, understand the by interaction protocol The coded system of one terminal, therefore after the video information that second terminal is received, first can be regarded to this Frequency information is decoded, and obtains the resolution ratio and frame per second of first video information.Conventional coding/decoding capability Can be for H.264.
Step 314, second terminal determine whether the Mean Speed of institute's access network is less than or equal to second and is averaged Threshold value;When the Mean Speed of second terminal institute access network is less than or equal to the second average threshold, step is performed Rapid 315;When the Mean Speed of second terminal institute access network is more than the second average threshold, step 318 is performed.
Example, if the Mean Speed of second terminal institute access network is smaller, second terminal may be influenceed Reception to the first video information, thus second terminal can according to the Mean Speed of institute's access network determine be It is no to need to be adjusted the resolution ratio and frame per second of the first video information.If second terminal institute access network Mean Speed is less than or equal to the second average threshold, illustrates that the Mean Speed of second terminal institute access network is smaller, Second terminal may be influenceed to the reception of the first video information, it is necessary to the resolution ratio of the first video information and Frame per second is adjusted;If the Mean Speed of second terminal institute access network is more than the second average threshold, explanation The Mean Speed of second terminal institute access network is larger, does not interfere with second terminal and the first video information is connect Receive, therefore the resolution ratio and frame per second of the first video information can not be adjusted.
Step 315, second terminal are according to the Mean Speed of institute's access network to point of the video information received Resolution and frame per second carry out first time adjustment, perform step 316.
Example, when the Mean Speed of second terminal institute access network is less than or equal to the second average threshold, The resolution ratio and frame per second of the first video information can suitably be reduced, in order to which second terminal can be quickly continuous Receive the first video information;When the Mean Speed of second terminal institute access network is more than the second average threshold, The resolution ratio and frame per second of first video information can not be adjusted.
Step 316, second terminal determine institute's access network real time rate and Mean Speed difference it is whether big In or equal to the second difference threshold;When the real time rate and the difference of Mean Speed of second terminal institute access network More than or equal to the second difference threshold, step 317 is performed;When the real time rate of second terminal institute access network It is less than the second difference threshold with the difference of Mean Speed, performs step 318.
Example, second terminal institute access network is also real-time change, if receiving first in second terminal During video information, second terminal institute access network, which receives certain interference, causes real time rate to reduce, can Reception of the second terminal to the first video information can be influenceed, therefore second terminal can be according to institute's access network Real time rate and the difference of Mean Speed determine the need for entering the resolution ratio and frame per second of the first video information Row adjustment.If the real time rate of second terminal institute access network and the difference of Mean Speed are more than or equal to the Two difference thresholds, illustrate that the real time rate of second terminal institute access network is changed greatly, may influence second The reception of the video information of terminal-pair first is, it is necessary to which resolution ratio and frame per second to the first video information are adjusted; If the real time rate of second terminal institute access network and the difference of Mean Speed are less than the second difference threshold, say The real time rate change of bright second terminal institute access network is little, does not interfere with second terminal and the first video is believed The reception of breath, therefore the resolution ratio and frame per second of the first video information can not be adjusted.
Step 317, second terminal are according to the real time rate of institute's access network and the difference of Mean Speed to receiving The resolution ratio and frame per second of the video information arrived carry out second and adjusted, and perform step 318.
Example, when the real time rate of second terminal institute access network and the difference of Mean Speed are more than or equal to During the second difference threshold, it can suitably reduce the resolution ratio and frame per second of the first video information, be easy to second terminal The first video information of quick continuous reception;When the real time rate and Mean Speed of second terminal institute access network Difference be less than the second difference threshold when, the resolution ratio and frame per second of the first video information can not be adjusted.
Step 318, second terminal are regarded according to being shown the resolution ratio and frame per second of the video information finally determined Frequency information.
After second terminal is adjusted according to above-mentioned parameters to the resolution ratio and frame per second of the first video information, Be not in interim card or sound during so that second terminal showing the first video information according to final resolution ratio and frame per second Situations such as video is asynchronous, and in the case where meeting network demand, the first video of display is improved as far as possible Resolution ratio and frame per second during information, complete the dynamic adjustment to the first video information resolution ratio and frame per second.
It should be noted that the sequencing of the step of video call method provided in an embodiment of the present invention can be with Suitably adjusted, step according to circumstances can also accordingly be increased and decreased, any skill for being familiar with the art Art personnel the invention discloses technical scope in, the method that can readily occur in change should all cover in this hair Within bright protection domain, therefore repeat no more.
The embodiments of the invention provide a kind of video call method, compared to prior art, due to the first video Resolution ratio and frame per second when information is encoded are determined according to the Mean Speed of opposite equip. institute access network, Therefore when the Mean Speed of second terminal institute access network is higher, resolution ratio during the first video information coding Can be with larger with frame per second so that when second terminal network condition is preferable, more visible picture can be shown. Simultaneously as screen size of the first terminal according to network condition and second terminal, to the first video information Resolution ratio and frame per second have carried out multiple adjustment, at the same second terminal according to own net situation again to a video The resolution ratio and frame per second of information are adjusted so that when second terminal shows the first video information, higher Resolution ratio and frame per second under situations such as be not in interim card or asynchronous audio frequency and video, improve the sound of video calling Video quality, and then improve Consumer's Experience.
A kind of video call device 30 of the embodiment of the present invention, as shown in figure 3, including:
Acquiring unit 301, for the Mean Speed according to 30 access networks of opposite equip., obtains first and regards The resolution ratio and frame per second of frequency information, the video information that first video information collects for camera.
Coding unit 302, for the resolution ratio and frame per second according to first video information, to described first Video information is encoded.
So, resolution ratio and frame per second when being encoded due to the first video information are according to opposite equip. What the Mean Speed of institute's access network was determined, therefore when the Mean Speed of opposite equip. institute access network is higher, Resolution ratio and frame per second during the first video information coding can be with larger so that preferable in opposite equip. network condition When, more visible picture can be shown, the audio-visual quality of video calling is improved, and then improve user's body Test.
Optionally, as shown in figure 4, the equipment 30 also includes:
First receiving unit 303, the negotiation information for receiving the transmission of opposite equip. 30, the negotiation information Include the Mean Speed of 30 access networks of opposite equip..
Optionally, the negotiation information includes the screen size of opposite equip. 30 as shown in figure 5, described set Standby 30 also include:
First adjustment unit 304, for the screen size according to opposite equip. 30 to first video information Resolution ratio and frame per second be adjusted, obtain after the adjustment of the first video information frame per second after resolution ratio and adjustment.
The coding unit 302 is specifically for resolution ratio and adjustment after the adjustment according to first video information Frame per second, is encoded to first video information afterwards.
Optionally, as shown in fig. 6, the equipment 30 also includes:
First determining unit 305, for determining, whether the Mean Speed of access network is less than or equal to first Average threshold.
Second adjustment unit 306 is flat less than or equal to described first for the Mean Speed when institute's access network During equal threshold value, the resolution ratio and frame per second of first video information are entered according to the Mean Speed of institute's access network Row adjustment, obtains resolution ratio and frame per second after adjustment after the adjustment of the first video information.
The coding unit 302 is specifically for resolution ratio and adjustment after the adjustment according to first video information Frame per second, is encoded to first video information afterwards.
Optionally, as shown in fig. 7, the equipment 30 also includes:
Second determining unit 307, for determining, the Mean Speed of access network and the difference of real time rate are It is no to be more than or equal to the first difference threshold.
3rd adjustment unit 308, for being more than when the Mean Speed of institute's access network and the difference of real time rate Or during equal to the first difference threshold, according to the Mean Speed of institute's access network and the difference of real time rate to described The resolution ratio and frame per second of first video information are adjusted, obtain after the adjustment of the first video information resolution ratio and Frame per second after adjustment.
The coding unit 302 is specifically for resolution ratio and adjustment after the adjustment according to first video information Frame per second, is encoded to first video information afterwards.
Optionally, the negotiation information also includes the real time rate of 30 access networks of opposite equip.;As schemed Shown in 8, the equipment 30 also includes:
Whether the 3rd determining unit 309, the real time rate for determining 30 access networks of opposite equip. is less than Or equal to the first real time threshold.
4th adjustment unit 310, for being less than or equal to when the real time rate of 30 access networks of opposite equip. During the first real time threshold, according to the real time rate of 30 access networks of opposite equip. to first video The resolution ratio and frame per second of information are adjusted, and obtain resolution ratio and frame after adjustment after the adjustment of the first video information Rate.
The coding unit 302 is specifically for resolution ratio and adjustment after the adjustment according to first video information Frame per second, is encoded to first video information afterwards.
Optionally, as shown in figure 9, the equipment 30 also includes:
Second receiving unit 311, the second video information for receiving the transmission of opposite equip. 30.
The acquiring unit 301 is additionally operable to obtain the resolution ratio and frame per second of second video information.
Display unit 312, for the resolution ratio and frame per second according to second video information, shows described the Two video informations.
Optionally, as shown in Figure 10, the equipment 30 also includes:
4th determining unit 313, for determining whether the Mean Speed of accessed network is less than or equal to the Two average threshold
5th adjustment unit 314, for working as, the Mean Speed of accessed network is less than or equal to described second During average threshold, according to resolution ratio and frame of the Mean Speed of the network accessed to second video information Rate is adjusted, and obtains resolution ratio and frame per second after adjustment after the adjustment of the second video information.
The display unit 312 is specifically for resolution ratio and adjustment after the adjustment according to second video information Frame per second, shows second video information afterwards.
Optionally, as shown in figure 11, the equipment 30 also includes:
5th determining unit 315, Mean Speed and the difference of real time rate for determining accessed network Whether the second difference threshold is more than or equal to.
6th adjustment unit 316, for working as, the Mean Speed of accessed network and the difference of real time rate are big When second difference threshold, according to the Mean Speed of the network accessed and the difference of real time rate Value is adjusted to the resolution ratio and frame per second of second video information, after the adjustment for obtaining the second video information Frame per second after resolution ratio and adjustment.
The display unit 312 is specifically for resolution ratio and adjustment after the adjustment according to second video information Frame per second, shows second video information afterwards.
In actual applications, the acquiring unit 301, coding unit 302, the first adjustment unit 304, One determining unit 305, the second adjustment unit 306, the second adjustment unit 306, the 3rd adjustment unit 308, 3rd determining unit 309, the 4th adjustment unit 310, the 4th determining unit 313, the 5th adjustment unit 314, 5th determining unit 315 and the 6th adjustment unit 316 can be by the central processing units in terminal device (Central Processing Unit, CPU), microprocessor (Micro Processor Unit, MPU), number Word signal processor (Digital Signal Processor, DSP) or field programmable gate array (Field Programmable Gate Array, FPGA) etc. realize.First receiving unit 303 and second is received Unit 311 can be realized by wireless receiving module.Display unit 312 can pass through display or display screen Realize.
It is apparent to those skilled in the art that, for convenience and simplicity of description, foregoing description Device and unit specific work process, may be referred to the corresponding process in preceding method embodiment, herein Repeat no more.
The embodiments of the invention provide a kind of video call device, the equipment includes:Acquiring unit, is used for According to the Mean Speed of opposite equip. institute access network, the resolution ratio and frame per second of the first video information, institute are obtained State the video information that the first video information collects for camera.Coding unit, for being regarded according to described first The resolution ratio and frame per second of frequency information, are encoded to first video information.Compared to prior art, by Resolution ratio and frame per second when the first video information is encoded are being averaged according to opposite equip. institute's access network What speed was determined, therefore when the Mean Speed of opposite equip. institute access network is higher, the first video information is compiled Code when resolution ratio and frame per second can be with larger so that when opposite equip. network condition is preferable, can show compared with Clearly picture, improves the audio-visual quality of video calling, and then improve Consumer's Experience.
The present invention is the flow chart with reference to method according to embodiments of the present invention, equipment and computer program product Come what is described.It should be understood that each flow and the flow chart in flow chart can be realized by computer program instructions In flow combination.These computer program instructions can be provided to all-purpose computer, special-purpose computer, embedding Enter the processor of formula processor or other programmable data processing devices to produce a machine so that pass through meter The instruction of the computing device of calculation machine or other programmable data processing devices is produced for realizing in flow chart one The device for the function of being specified in individual flow or multiple flows.
The above, only presently preferred embodiments of the present invention is not intended to limit the protection model of the present invention Enclose.

Claims (18)

1. a kind of video call method, it is characterised in that including:
According to the Mean Speed of opposite equip. institute access network, the resolution ratio and frame per second of the first video information are obtained, The video information that first video information collects for camera;
According to the resolution ratio and frame per second of first video information, first video information is encoded.
2. according to the method described in claim 1, it is characterised in that according to opposite equip. institute access network Mean Speed, obtain the first video information resolution ratio and frame per second before, methods described also includes:
The negotiation information that opposite equip. is sent is received, the negotiation information includes opposite equip. institute access network The Mean Speed of network.
3. method according to claim 2, it is characterised in that the negotiation information includes opposite equip. Screen size;
In the Mean Speed according to opposite equip. institute access network, the resolution ratio and frame of the first video information are obtained After rate, methods described also includes:
The resolution ratio and frame per second of first video information are adjusted according to the screen size of opposite equip., Obtain resolution ratio and frame per second after adjustment after the adjustment of the first video information;
The resolution ratio and frame per second according to first video information, is compiled to first video information Code includes:
According to frame per second after resolution ratio after the adjustment of first video information and adjustment, first video is believed Breath is encoded.
4. according to the method described in claim 1, it is characterised in that according to opposite equip. institute access network Mean Speed, obtain the first video information resolution ratio and frame per second after, methods described also includes:
Determine whether the Mean Speed of institute's access network is less than or equal to the first average threshold;
When the Mean Speed of institute's access network is more than or equal to the first average threshold, according to the flat of institute's access network Equal speed is adjusted to the resolution ratio and frame per second of first video information, obtains the tune of the first video information Frame per second after whole rear resolution ratio and adjustment;
The resolution ratio and frame per second according to first video information, is compiled to first video information Code includes:
According to frame per second after resolution ratio after the adjustment of first video information and adjustment, first video is believed Breath is encoded.
5. according to the method described in claim 1, it is characterised in that according to opposite equip. institute access network Mean Speed, obtain the first video information resolution ratio and frame per second after, methods described also includes:
Determine whether the Mean Speed of institute's access network and the difference of real time rate are more than or equal to the first difference threshold Value;
When the Mean Speed of institute's access network and the difference of real time rate are more than or equal to the first difference threshold, root According to the Mean Speed of institute's access network and the difference of real time rate resolution ratio and frame to first video information Rate is adjusted, and obtains resolution ratio and frame per second after adjustment after the adjustment of the first video information;
The resolution ratio and frame per second according to first video information, is compiled to first video information Code includes:
According to frame per second after resolution ratio after the adjustment of first video information and adjustment, first video is believed Breath is encoded.
6. method according to claim 2, it is characterised in that the negotiation information is also set including opposite end The real time rate of standby institute access network;
In the Mean Speed according to opposite equip. institute access network, the resolution ratio and frame of the first video information are obtained After rate, methods described also includes:
Determine whether the real time rate of opposite equip. institute access network is less than or equal to the first real time threshold;
When the real time rate of opposite equip. institute access network is less than or equal to the first real time threshold, according to described right The real time rate of end equipment institute access network is adjusted to the resolution ratio and frame per second of first video information, Obtain resolution ratio and frame per second after adjustment after the adjustment of the first video information;
The resolution ratio and frame per second according to first video information, is compiled to first video information Code includes:
According to frame per second after resolution ratio after the adjustment of first video information and adjustment, first video is believed Breath is encoded.
7. according to the method described in claim 1, it is characterised in that methods described also includes:
Receive the second video information that opposite equip. is sent;
Obtain the resolution ratio and frame per second of second video information;
According to the resolution ratio and frame per second of second video information, second video information is shown.
8. method according to claim 7, it is characterised in that obtaining second video information After resolution ratio and frame per second, methods described also includes:
Determine whether the Mean Speed of accessed network is less than or equal to the second average threshold;
When the Mean Speed of the network accessed is less than or equal to second average threshold, according to what is accessed The Mean Speed of network is adjusted to the resolution ratio and frame per second of second video information, obtains the second video Resolution ratio and frame per second after adjustment after the adjustment of information;
The resolution ratio and frame per second according to second video information, shows that second video information includes:
According to frame per second after resolution ratio after the adjustment of second video information and adjustment, second video is shown Information.
9. method according to claim 7, it is characterised in that obtaining second video information After resolution ratio and frame per second, methods described also includes:
Determine whether the Mean Speed of accessed network and the difference of real time rate are more than or equal to the second difference Threshold value;
The Mean Speed of the network accessed and the difference of real time rate are more than or equal to second difference threshold When, second video information is divided according to the Mean Speed of the network accessed and the difference of real time rate Resolution and frame per second are adjusted, and obtain resolution ratio and frame per second after adjustment after the adjustment of the second video information;
The resolution ratio and frame per second according to second video information, shows that second video information includes:
According to frame per second after resolution ratio after the adjustment of second video information and adjustment, second video is shown Information.
10. a kind of video call device, it is characterised in that including:
Acquiring unit, for the Mean Speed according to opposite equip. institute access network, obtains the first video information Resolution ratio and frame per second, the video information that first video information collects for camera;
Coding unit, for the resolution ratio and frame per second according to first video information, to first video Information is encoded.
11. equipment according to claim 10, it is characterised in that the equipment also includes:
First receiving unit, the negotiation information for receiving opposite equip. transmission, the negotiation information includes institute State the Mean Speed of opposite equip. institute access network.
12. equipment according to claim 11, it is characterised in that the negotiation information is set including opposite end Standby screen size;
The equipment also includes:
First adjustment unit, the resolution for the screen size according to opposite equip. to first video information Rate and frame per second are adjusted, and obtain resolution ratio and frame per second after adjustment after the adjustment of the first video information;
The coding unit is specifically for frame after resolution ratio after the adjustment according to first video information and adjustment Rate, is encoded to first video information.
13. equipment according to claim 10, it is characterised in that the equipment also includes:
First determining unit, for determining, whether the Mean Speed of access network is less than or equal to first and is averaged Threshold value;
Second adjustment unit, for being less than or equal to the described first average threshold when the Mean Speed of institute's access network During value, the resolution ratio and frame per second of first video information are adjusted according to the Mean Speed of institute's access network It is whole, obtain resolution ratio and frame per second after adjustment after the adjustment of the first video information;
The coding unit is specifically for frame after resolution ratio after the adjustment according to first video information and adjustment Rate, is encoded to first video information.
14. equipment according to claim 10, it is characterised in that the equipment also includes:
Second determining unit, for determining, whether the Mean Speed of access network and the difference of real time rate are big In or equal to the first difference threshold;
3rd adjustment unit, for when the Mean Speed of institute's access network and the difference of real time rate are more than or wait When the first difference threshold, according to the Mean Speed of institute's access network and the difference of real time rate to described first The resolution ratio and frame per second of video information are adjusted, and obtain resolution ratio and adjustment after the adjustment of the first video information Frame per second afterwards;
The coding unit is specifically for frame after resolution ratio after the adjustment according to first video information and adjustment Rate, is encoded to first video information.
15. equipment according to claim 11, it is characterised in that the negotiation information also includes opposite end The real time rate of equipment institute access network;
The equipment also includes:
Whether the 3rd determining unit, the real time rate for determining opposite equip. institute access network is less than or equal to First real time threshold;
4th adjustment unit, for being less than or equal to first in fact when the real time rate of opposite equip. institute access network When threshold value when, first video information is divided according to the real time rate of opposite equip. institute access network Resolution and frame per second are adjusted, and obtain resolution ratio and frame per second after adjustment after the adjustment of the first video information;
The coding unit is specifically for frame after resolution ratio after the adjustment according to first video information and adjustment Rate, is encoded to first video information.
16. equipment according to claim 10, it is characterised in that the equipment also includes:
Second receiving unit, the second video information for receiving opposite equip. transmission;
The acquiring unit is additionally operable to obtain the resolution ratio and frame per second of second video information;
Display unit, for the resolution ratio and frame per second according to second video information, display described second is regarded Frequency information.
17. equipment according to claim 16, it is characterised in that the equipment also includes:
4th determining unit, for determining it is flat whether the Mean Speed of accessed network is less than or equal to second Equal threshold value;
5th adjustment unit, for working as, the Mean Speed of accessed network is less than or equal to described second and is averaged During threshold value, the resolution ratio and frame per second of second video information are entered according to the Mean Speed of the network accessed Row adjustment, obtains resolution ratio and frame per second after adjustment after the adjustment of the second video information;
The display unit is specifically for frame after resolution ratio after the adjustment according to second video information and adjustment Rate, shows second video information.
18. equipment according to claim 16, it is characterised in that the equipment also includes:
5th determining unit, for determine accessed network Mean Speed and real time rate difference whether More than or equal to the second difference threshold;
6th adjustment unit, for working as the Mean Speed of accessed network and the difference of real time rate be more than or During equal to second difference threshold, according to the Mean Speed of the network accessed and the difference pair of real time rate The resolution ratio and frame per second of second video information are adjusted, and obtain differentiating after the adjustment of the second video information Frame per second after rate and adjustment;
The display unit is specifically for frame after resolution ratio after the adjustment according to second video information and adjustment Rate, shows second video information.
CN201610006621.XA 2016-01-04 2016-01-04 A kind of video call method and device Pending CN106941597A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610006621.XA CN106941597A (en) 2016-01-04 2016-01-04 A kind of video call method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610006621.XA CN106941597A (en) 2016-01-04 2016-01-04 A kind of video call method and device

Publications (1)

Publication Number Publication Date
CN106941597A true CN106941597A (en) 2017-07-11

Family

ID=59469622

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610006621.XA Pending CN106941597A (en) 2016-01-04 2016-01-04 A kind of video call method and device

Country Status (1)

Country Link
CN (1) CN106941597A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108347580A (en) * 2018-03-27 2018-07-31 聚好看科技股份有限公司 A kind of method and electronic equipment of processing video requency frame data
CN109005377A (en) * 2018-08-10 2018-12-14 维沃移动通信有限公司 A kind of method for processing video frequency and terminal device
CN110505441A (en) * 2018-05-18 2019-11-26 华为技术有限公司 A kind of methods, devices and systems of face-to-face communication
CN112911191A (en) * 2021-01-28 2021-06-04 联想(北京)有限公司 Video call quality adjusting method and device, electronic equipment and storage medium
CN116193064A (en) * 2023-02-21 2023-05-30 北京洞察力科技股份有限公司 Method and system for realizing intercommunication between video conference systems

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101146204A (en) * 2006-09-12 2008-03-19 腾讯科技(深圳)有限公司 Quality adjusting method and device for instant communication video
CN101183917A (en) * 2007-12-24 2008-05-21 腾讯科技(深圳)有限公司 Multimedia data coding velocity regulating method and device
US20090213206A1 (en) * 2008-02-21 2009-08-27 Microsoft Corporation Aggregation of Video Receiving Capabilities
CN101697579A (en) * 2009-10-23 2010-04-21 中兴通讯股份有限公司 Terminal with videophone function and method for adjusting video images thereof
CN102137248A (en) * 2010-01-21 2011-07-27 腾讯科技(深圳)有限公司 Video resolution switching method and device, terminal and switching system
CN103096011A (en) * 2011-11-08 2013-05-08 中国电信股份有限公司 Method and system of video communication negotiation and video terminal
CN103517137A (en) * 2013-09-30 2014-01-15 广州华多网络科技有限公司 Network video transmission method and system, sending/receiving end processing method and device
CN104349158A (en) * 2013-07-26 2015-02-11 腾讯科技(深圳)有限公司 Communication video quality adjusting method and relevant equipment and system
CN104980411A (en) * 2014-04-14 2015-10-14 腾讯科技(深圳)有限公司 Control method, server and terminal for video call and video call system

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101146204A (en) * 2006-09-12 2008-03-19 腾讯科技(深圳)有限公司 Quality adjusting method and device for instant communication video
CN101183917A (en) * 2007-12-24 2008-05-21 腾讯科技(深圳)有限公司 Multimedia data coding velocity regulating method and device
US20090213206A1 (en) * 2008-02-21 2009-08-27 Microsoft Corporation Aggregation of Video Receiving Capabilities
CN101697579A (en) * 2009-10-23 2010-04-21 中兴通讯股份有限公司 Terminal with videophone function and method for adjusting video images thereof
CN102137248A (en) * 2010-01-21 2011-07-27 腾讯科技(深圳)有限公司 Video resolution switching method and device, terminal and switching system
CN103096011A (en) * 2011-11-08 2013-05-08 中国电信股份有限公司 Method and system of video communication negotiation and video terminal
CN104349158A (en) * 2013-07-26 2015-02-11 腾讯科技(深圳)有限公司 Communication video quality adjusting method and relevant equipment and system
CN103517137A (en) * 2013-09-30 2014-01-15 广州华多网络科技有限公司 Network video transmission method and system, sending/receiving end processing method and device
CN104980411A (en) * 2014-04-14 2015-10-14 腾讯科技(深圳)有限公司 Control method, server and terminal for video call and video call system

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108347580A (en) * 2018-03-27 2018-07-31 聚好看科技股份有限公司 A kind of method and electronic equipment of processing video requency frame data
CN110505441A (en) * 2018-05-18 2019-11-26 华为技术有限公司 A kind of methods, devices and systems of face-to-face communication
CN110505441B (en) * 2018-05-18 2022-06-14 华为技术有限公司 Visual communication method, device and system
CN109005377A (en) * 2018-08-10 2018-12-14 维沃移动通信有限公司 A kind of method for processing video frequency and terminal device
CN109005377B (en) * 2018-08-10 2020-07-17 维沃移动通信有限公司 Video processing method and terminal equipment
CN112911191A (en) * 2021-01-28 2021-06-04 联想(北京)有限公司 Video call quality adjusting method and device, electronic equipment and storage medium
CN112911191B (en) * 2021-01-28 2023-03-24 联想(北京)有限公司 Video call quality adjusting method and device, electronic equipment and storage medium
CN116193064A (en) * 2023-02-21 2023-05-30 北京洞察力科技股份有限公司 Method and system for realizing intercommunication between video conference systems
CN116193064B (en) * 2023-02-21 2023-09-01 北京洞察力科技股份有限公司 Method and system for realizing intercommunication between video conference systems

Similar Documents

Publication Publication Date Title
CN106941597A (en) A kind of video call method and device
Zhao et al. QoE in video transmission: A user experience-driven strategy
CN105472477B (en) A kind of data transmission method, device and equipment
CN103647954B (en) Mobile video monitor system based on 3G channels Yu intelligent terminal
CN108347580B (en) Method for processing video frame data and electronic equipment
CN105812711B (en) Optimize the method and system of picture quality in video call process
CN112492395A (en) Data processing method and device and electronic equipment
CN105163059B (en) A kind of video call method and video call system based on smart home device
CN105681720B (en) The processing method and processing device of video playing
CN104253804B (en) A kind of method and device for transmitting view data
CN103442280B (en) Realize the method, apparatus and its television and mobile terminal of distributed remote control
CN113301342B (en) Video coding method, network live broadcasting method, device and terminal equipment
CN106227492A (en) Combination and mobile intelligent terminal interconnected method and device
CN114827662A (en) Video resolution self-adaptive adjusting method, device, equipment and storage medium
CN104113682B (en) A kind of image acquiring method and electronic equipment
CN108810610A (en) screen sharing method and device
CN104010204B (en) Image information processing method and device
CN109168041B (en) Mobile terminal monitoring method and system
CN104079860B (en) A kind of information processing method and electronic equipment
CN109788313A (en) A kind of image transfer method, device and equipment
CN107733732B (en) Method and device for judging network condition
CN104580289B (en) A kind of methods, devices and systems being controlled to user equipment
CN106412384A (en) Video processing system
CN103974062B (en) Image display device, image display system and method for displaying image
CN110740316A (en) Data coding method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20170711

RJ01 Rejection of invention patent application after publication