CN111327864A - Video call control method and device, terminal equipment and storage medium - Google Patents

Video call control method and device, terminal equipment and storage medium Download PDF

Info

Publication number
CN111327864A
CN111327864A CN201811542691.2A CN201811542691A CN111327864A CN 111327864 A CN111327864 A CN 111327864A CN 201811542691 A CN201811542691 A CN 201811542691A CN 111327864 A CN111327864 A CN 111327864A
Authority
CN
China
Prior art keywords
video call
bandwidth value
video
network
bandwidth
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
CN201811542691.2A
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
China Mobile Hangzhou Information Technology Co Ltd
Original Assignee
China Mobile Communications Group Co Ltd
China Mobile Hangzhou Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China Mobile Communications Group Co Ltd, China Mobile Hangzhou Information Technology Co Ltd filed Critical China Mobile Communications Group Co Ltd
Priority to CN201811542691.2A priority Critical patent/CN111327864A/en
Publication of CN111327864A publication Critical patent/CN111327864A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N7/00Television systems
    • H04N7/14Systems for two-way working
    • H04N7/141Systems for two-way working between two video terminals, e.g. videophone
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/14Network analysis or design
    • H04L41/145Network analysis or design involving simulating, designing, planning or modelling of a network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • H04L43/0876Network utilisation, e.g. volume of load or congestion level
    • H04L43/0894Packet rate
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/169Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding
    • H04N19/17Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding the unit being an image region, e.g. an object
    • H04N19/172Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding the unit being an image region, e.g. an object the region being a picture, frame or field
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/25Management operations performed by the server for facilitating the content distribution or administrating data related to end-users or client devices, e.g. end-user or client device authentication, learning user preferences for recommending movies
    • H04N21/266Channel or content management, e.g. generation and management of keys and entitlement messages in a conditional access system, merging a VOD unicast channel into a multicast channel
    • H04N21/2662Controlling the complexity of the video stream, e.g. by scaling the resolution or bitrate of the video stream based on the client capabilities
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N7/00Television systems
    • H04N7/14Systems for two-way working
    • H04N7/141Systems for two-way working between two video terminals, e.g. videophone
    • H04N7/147Communication arrangements, e.g. identifying the communication as a video-communication, intermediate storage of the signals

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Multimedia (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Environmental & Geological Engineering (AREA)
  • Databases & Information Systems (AREA)
  • Compression Or Coding Systems Of Tv Signals (AREA)

Abstract

The invention discloses a video call control method, a video call control device, terminal equipment and a storage medium, wherein the method comprises the following steps: the method comprises the steps that terminal equipment obtains network parameters of a data packet of a video call currently received by a receiving end of the video call; determining the current bandwidth value of the network for the video call according to the network parameters and a bandwidth detection model trained in advance; and adjusting the video coding bandwidth value of the video call according to the current bandwidth value. In the embodiment of the invention, the terminal equipment determines the current bandwidth value of the network for carrying out the video call according to the network parameters of the data packet of the video call currently received by the receiving end of the video call and the bandwidth detection model which is trained in advance; and according to the current bandwidth value, the video coding bandwidth value of the video call is adjusted, so that the video coding bandwidth value is adaptive to the current bandwidth value of the network, the video call is prevented from being blocked, the smoothness of the video call is ensured, and the user experience is improved.

Description

Video call control method and device, terminal equipment and storage medium
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a video call control method and apparatus, a terminal device, and a storage medium.
Background
With the rapid development of national economy and the continuous improvement of the living standard of people, terminal equipment gradually enters thousands of households, becomes a type of electronic equipment essential to the life of people, and with the continuous improvement of network bandwidth, video conversation through the terminal equipment becomes a main communication mode for communication and exchange of people, and brings great convenience to the production and life of people.
Although the bandwidth of the 4G network provided by the existing operator can meet the bandwidth requirement of the video call, the traffic cost is high, and therefore, the realization of the video call through a free WIreless-FIdelity (Wi-Fi) hotspot or other networks becomes a main way for people to use the video call. However, network conditions of networks such as Wi-Fi hotspots are unstable, bandwidth changes are large, packet loss and other problems can occur when the bandwidth is insufficient, fluency of video calls is greatly reduced, phenomena such as blocking and the like can occur, and user experience is affected. Therefore, how to avoid the deadlock in the video call and ensure the fluency of the video call becomes a problem to be solved urgently.
Disclosure of Invention
The invention provides a video call control method, a video call control device, terminal equipment and a storage medium, which are used for solving the problems of unsmooth and unsmooth video call in the prior art.
In a first aspect, the present invention discloses a video call control method, including:
acquiring network parameters of a data packet of a video call currently received by a receiving end of the video call, wherein the network parameters comprise at least one of time delay, packet loss rate and network jitter;
determining the current bandwidth value of the network for the video call according to the network parameters and a bandwidth detection model trained in advance;
and adjusting the video coding bandwidth value of the video call according to the current bandwidth value.
In an alternative design, the process of training the bandwidth detection model in advance includes:
aiming at each group of network parameter samples in the training set, adding bandwidth value labels to the network parameter samples according to the bandwidth values corresponding to the network parameter samples;
and inputting each group of network parameter samples added with the bandwidth value labels into a bandwidth detection model, and training the bandwidth detection model.
In an optional design, before the adjusting the video coding bandwidth value of the video call according to the current bandwidth value, the method further includes:
judging whether the current bandwidth value is not less than the set initial bandwidth value of the video call;
if so, carrying out video coding of the video call by using the initial bandwidth value;
if not, adjusting the video coding bandwidth value of the video call according to the current bandwidth value.
In an optional design, the adjusting the video coding bandwidth value of the video call according to the current bandwidth value includes:
judging whether the ratio of the current bandwidth value to the set initial bandwidth value of the video call is greater than a set threshold value, wherein the set threshold value is not less than 0 and not greater than 1;
if so, carrying out video coding of the video call by using the current bandwidth value;
if not, using half of the initial bandwidth value to perform video coding of the video call, and adjusting the video frame rate of the video call to be half of the set frame rate.
In a second aspect, the present invention discloses a video call control device, including:
the system comprises an acquisition module, a processing module and a processing module, wherein the acquisition module is used for acquiring network parameters of a data packet of a video call currently received by a receiving end of the video call, and the network parameters comprise at least one of time delay, packet loss rate and network jitter;
the determining module is used for determining the current bandwidth value of the network for carrying out the video call according to the network parameters and a bandwidth detection model which is trained in advance;
and the control module is used for adjusting the video coding bandwidth value of the video call according to the current bandwidth value.
In an alternative design, the apparatus further comprises:
the training module is used for adding a bandwidth value label to each group of network parameter samples in the training set according to the bandwidth value corresponding to the network parameter sample; and inputting each group of network parameter samples added with the bandwidth value labels into a bandwidth detection model, and training the bandwidth detection model.
In an optional design, the control module is further configured to determine whether the current bandwidth value is not less than a set initial bandwidth value of the video call; if so, carrying out video coding of the video call by using the initial bandwidth value; if not, adjusting the video coding bandwidth value of the video call according to the current bandwidth value.
In an optional design, the control module is specifically configured to determine whether a ratio of the current bandwidth value to a set initial bandwidth value of a video call is greater than a set threshold, where the set threshold is not less than 0 and not greater than 1; if so, carrying out video coding of the video call by using the current bandwidth value; if not, using half of the initial bandwidth value to perform video coding of the video call, and adjusting the video frame rate of the video call to be half of the set frame rate.
In a third aspect, the present invention discloses a terminal device, including: a memory, a processor, and a transceiver;
the processor is used for reading the program in the memory and executing the following processes: acquiring network parameters of a data packet of a video call currently received by a receiving end of the video call through a transceiver, wherein the network parameters comprise at least one of time delay, packet loss rate and network jitter; determining the current bandwidth value of the network for the video call according to the network parameters and a bandwidth detection model trained in advance; and adjusting the video coding bandwidth value of the video call according to the current bandwidth value.
In an optional design, the processor is further configured to, for each group of network parameter samples in the training set, add a bandwidth value tag to the network parameter sample according to a bandwidth value corresponding to the network parameter sample; and inputting each group of network parameter samples added with the bandwidth value labels into a bandwidth detection model, and training the bandwidth detection model.
In an optional design, the processor is further configured to determine whether the current bandwidth value is not less than a set initial bandwidth value of the video call; if so, carrying out video coding of the video call by using the initial bandwidth value; if not, adjusting the video coding bandwidth value of the video call according to the current bandwidth value.
In an optional design, the processor is specifically configured to determine whether a ratio of the current bandwidth value to a set initial bandwidth value of a video call is greater than a set threshold, where the set threshold is not less than 0 and not greater than 1; if so, carrying out video coding of the video call by using the current bandwidth value; if not, using half of the initial bandwidth value to perform video coding of the video call, and adjusting the video frame rate of the video call to be half of the set frame rate.
In a fourth aspect, the present invention discloses a terminal device, including: the system comprises a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory complete mutual communication through the communication bus;
the memory has stored therein a computer program which, when executed by the processor, causes the processor to perform the method as set forth in the first aspect or any one of the alternative designs of the first aspect.
In a fifth aspect, the present invention discloses a computer-readable storage medium storing a computer program executable by a terminal device, the program, when run on the terminal device, causing the terminal device to perform the method of the first aspect or any of the alternative designs of the first aspect.
The invention has the following beneficial effects:
in the embodiment of the invention, the current bandwidth value of the network for carrying out the video call is determined according to the network parameters of the data packet of the video call currently received by the receiving end of the video call and the bandwidth detection model which is trained in advance; and according to the current bandwidth value, the video coding bandwidth value of the video call is adjusted, so that the video coding bandwidth value is adaptive to the current bandwidth value of the network, the video call is prevented from being blocked, the smoothness of the video call is ensured, and the user experience is improved.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a schematic diagram of a video call control method according to an embodiment of the present invention;
FIG. 2 is a schematic diagram of a bandwidth detection model training scheme according to an embodiment of the present invention;
fig. 3 is a schematic diagram of a video call control process according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of a video call control device according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of a terminal device according to an embodiment of the present invention;
fig. 6 is a second schematic structural diagram of a terminal device according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention clearer, the present invention will be described in further detail with reference to the accompanying drawings, and it is apparent that the described embodiments are only a part of the embodiments of the present invention, not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Example 1:
fig. 1 is a schematic diagram of a video call control method according to an embodiment of the present invention, where the method includes:
s101: and acquiring the network parameters of the data packet of the video call currently received by the receiving end of the video call.
The call control method provided by the embodiment of the invention is applied to terminal equipment, and the terminal equipment can be mobile phones, tablet computers, notebook computers, palm computers, Personal Computers (PCs) and other equipment. Specifically, the terminal device is used as a sending end of a video call in the video call process, sends a data packet of the video call to a receiving end, and controls the video call according to network parameters such as delay, packet loss rate and network jitter of the video call data packet currently received by the receiving end of the video call, wherein the receiving end of the video call can also be a mobile phone, a tablet computer, a notebook computer and the like.
Specifically, in the video call process, the terminal device encodes the video of the video call according to the video encoding bandwidth value, wherein the video call is started, the video encoding bandwidth value is a set initial bandwidth value, such as 500kb/s, the video code stream obtained by encoding is subjected to data packet encapsulation, the encapsulated data packet is sent to the receiving end of the video call, the receiving end counts network parameters such as delay, packet loss rate and network jitter of the currently received data packet according to the received data packet, and sends the counted network parameters to the terminal device.
In the embodiment of the present invention, the encoding bandwidth value is the code rate of video encoding for the video call, and if the encoding bandwidth value is 500kb/s, the code rate of video encoding for the video call by the terminal device is 500 kb/s. The following are exemplary: the method comprises the steps that the resolution ratio of a video call set in a terminal device is 480P, the frame rate is 25FPS, the initial bandwidth value is 500kb/s, the video call starts, the terminal device conducts H264 coding on the video of the video call according to the resolution ratio of 480P, the frame rate of 25FPS and the coding bandwidth value (code rate) of 500kb/s, a video code stream obtained through the H264 coding is packaged by using a Real-time transport Protocol (RTP), a packaged RTP data packet is sent to a receiving end, the receiving end counts network parameters such as delay, packet loss rate and network jitter of the currently received RTP data packet according to the received RTP data packet, and feeds back the network parameters to the terminal device through an RTP Control Protocol (RTCP) data packet.
S102: and determining the current bandwidth value of the network for carrying out the video call according to the network parameters and the bandwidth detection model trained in advance.
In the embodiment of the invention, the bandwidth detection model is trained in advance, and when the bandwidth detection model is trained, the bandwidth detection model is trained according to each group of network parameters in the training set. The trained bandwidth detection model may determine a bandwidth value corresponding to a network parameter according to the input network parameter, and specifically, the terminal device may input the network parameter of the data packet currently received by the receiving end from the video call into the trained bandwidth detection model, and determine a current bandwidth value of the network performing the video call according to the bandwidth value output by the bandwidth detection model.
S103: and adjusting the video coding bandwidth value of the video call according to the current bandwidth value.
Specifically, the terminal device adjusts a video coding bandwidth value of the video call according to the determined bandwidth value of the network for performing the video call, and codes the video of the video call. For example: the current bandwidth value is 450kb/s, and the terminal equipment uses the coding bandwidth value of 450kb/s to carry out video coding of the video call.
When the current bandwidth value is large, the quality of the video call cannot be significantly improved by using a large coding bandwidth value, and in order to avoid waste of processing resources and the like of a sending end and a receiving end of the video call caused by video coding by using a large coding bandwidth value, before the video coding bandwidth value of the video call is adjusted according to the current bandwidth value, the method further includes:
judging whether the current bandwidth value is not less than the set initial bandwidth value of the video call;
if so, carrying out video coding of the video call by using the initial bandwidth value;
if not, adjusting the video coding bandwidth value of the video call according to the current bandwidth value.
The terminal device is also provided with an initial bandwidth value for video call, which can also be called as a default bandwidth value, for example, 500kb/s, and when the initial bandwidth value is used as the encoding bandwidth value, the quality of the video call can be ensured, and excessive consumption of resources of a sending end and a receiving end of the video call can be avoided.
Therefore, in the embodiment of the present invention, before adjusting the video coding bandwidth value of the video call according to the current bandwidth value, the terminal device first determines whether the current bandwidth value is not less than the set initial bandwidth value of the video call, and if not, it indicates that the current bandwidth value supports video coding for the video call using the initial bandwidth value.
In the embodiment of the invention, the current bandwidth value of the network for carrying out the video call is determined according to the network parameters of the data packet of the video call currently received by the receiving end of the video call and the bandwidth detection model which is trained in advance; and according to the current bandwidth value, the video coding bandwidth value of the video call is adjusted, so that the video coding bandwidth value is adaptive to the current bandwidth value of the network, the video call is prevented from being blocked, the smoothness of the video call is ensured, and the user experience is improved.
Example 2:
in order to ensure the fluency of the video call, on the basis of the above embodiment, in the embodiment of the present invention, the process of training the bandwidth detection model in advance includes:
aiming at each group of network parameter samples in the training set, adding bandwidth value labels to the network parameter samples according to the bandwidth values corresponding to the network parameter samples;
and inputting each group of network parameter samples added with the bandwidth value labels into a bandwidth detection model, and training the bandwidth detection model.
The training set contains a large number of network parameter samples with known bandwidth values, preferably, different bandwidth values can be simulated through a network damage meter, and network parameters such as delay, packet loss rate and network jitter of data packets of video calls under the bandwidth values are counted to enrich the training set. And the terminal equipment adds bandwidth value labels to the network parameters according to the bandwidth values corresponding to each group of network parameters in the training set, inputs the network parameters added with the bandwidth value labels into the bandwidth detection model, and trains the bandwidth detection model. After the bandwidth detection model is trained, and after the network parameters are input into the bandwidth detection model, the bandwidth detection model can detect and output bandwidth values corresponding to the network parameters. Preferably, in the embodiment of the present invention, the bandwidth detection model is a deep learning model, such as a tensrflow model, a convolutional neural network model, or the like.
Example 3:
in order to ensure the fluency of the video call, on the basis of the foregoing embodiments, in an embodiment of the present invention, the adjusting the video coding bandwidth value of the video call according to the current bandwidth value includes:
judging whether the ratio of the current bandwidth value to the set initial bandwidth value of the video call is greater than a set threshold value, wherein the set threshold value is not less than 0 and not greater than 1;
if so, carrying out video coding of the video call by using the current bandwidth value;
if not, using half of the initial bandwidth value to perform video coding of the video call, and adjusting the video frame rate of the video call to be half of the set frame rate.
In the embodiment of the invention, the terminal equipment can adjust the video coding bandwidth value according to the ratio of the current bandwidth value to the initial bandwidth value of the network so as to ensure the fluency of the video call.
Specifically, the terminal device determines whether a ratio of the current bandwidth value to the set initial bandwidth value of the video call is greater than a set threshold, where the set threshold is not less than 0 and not greater than 1, and preferably 0.5. If the ratio of the current bandwidth value to the initial bandwidth value is larger than a set threshold value, in order to ensure the fluency of video call, the terminal equipment uses the current bandwidth value to carry out video coding of the video call; if the ratio of the current bandwidth value to the initial bandwidth value is less than or equal to the set threshold, the current bandwidth value is too small, and in order to ensure the fluency of the video call and the effect of watching the video by the receiving end, the terminal device uses half of the initial bandwidth value to perform video coding of the video call, and adjusts the video frame rate of the video call to be half of the set frame rate. The set frame rate is a frame rate of a video call set by the terminal device, or may be a frame rate of a video call performed by the terminal device by default, such as 30 FPS.
As described with reference to fig. 2 and fig. 3, the terminal device performs learning training on the bandwidth detection model according to a large number of network parameters with known bandwidth values contained in the training set, and after obtaining the trained bandwidth detection model, the terminal device (sending end) parses an RTCP packet sent by the receiving end to obtain a network parameter of a packet currently receiving a video call by the receiving end, inputs the network parameter into the trained bandwidth detection model, determines a current bandwidth value of the network performing the video call, identifies a ratio of the current bandwidth value to an initial bandwidth value, and performs video encoding using the initial bandwidth value if the ratio is greater than or equal to 1; if the ratio is more than 0.5 and less than 1, using the current bandwidth value to carry out video coding; if the ratio is less than or equal to 0.5, half of the initial bandwidth value is used for video coding, the frame rate is adjusted to be half of the set frame rate, the terminal equipment carries out RTP encapsulation on the video code stream subjected to H264 coding and sends the video code stream to a receiving end, the receiving end counts network parameters such as delay, packet loss rate and network jitter of the currently received RTP data packet according to the received RTP data packet, and the network parameters are fed back to the terminal equipment through the RTCP data packet and used for video call control.
Example 4:
fig. 4 is a schematic structural diagram of a video call control device according to an embodiment of the present invention, where the device includes:
an obtaining module 41, configured to obtain a network parameter of a data packet of a video call currently received by a receiving end of the video call, where the network parameter includes at least one of a delay, a packet loss rate, and a network jitter;
a determining module 42, configured to determine, according to the network parameter and a bandwidth detection model that is trained in advance, a current bandwidth value of a network that performs the video call;
and a control module 43, configured to adjust a video encoding bandwidth value of the video call according to the current bandwidth value.
The device further comprises:
a training module 44, configured to add, for each group of network parameter samples in a training set, a bandwidth value tag to the network parameter sample according to a bandwidth value corresponding to the network parameter sample; and inputting each group of network parameter samples added with the bandwidth value labels into a bandwidth detection model, and training the bandwidth detection model.
The control module 43 is further configured to determine whether the current bandwidth value is not less than the set initial bandwidth value of the video call; if so, carrying out video coding of the video call by using the initial bandwidth value; if not, adjusting the video coding bandwidth value of the video call according to the current bandwidth value.
The control module 43 is specifically configured to determine whether a ratio of the current bandwidth value to a set initial bandwidth value of the video call is greater than a set threshold, where the set threshold is not less than 0 and not greater than 1; if so, carrying out video coding of the video call by using the current bandwidth value; if not, using half of the initial bandwidth value to perform video coding of the video call, and adjusting the video frame rate of the video call to be half of the set frame rate.
Example 5:
based on the same inventive concept, the embodiment of the present invention further provides a terminal device, and as the principle of solving the problem of the terminal device is similar to the data sharing method, the implementation of the terminal device may refer to the implementation of the method, and repeated parts are not described again.
Fig. 5 is a schematic structural diagram of a terminal device according to an embodiment of the present invention, where in fig. 5, the bus architecture may include any number of interconnected buses and bridges, and specifically, one or more processors 51 represented by a processor 51 and various circuits of a memory 53 represented by a memory 53 are linked together. The bus architecture may also link together various other circuits such as peripherals, voltage regulators, power management circuits, and the like, which are well known in the art, and therefore, will not be described any further herein. The bus interface provides an interface. The transceiver 52 may be a number of elements, including a transmitter and a transceiver, providing a means for communicating with various other apparatus over a transmission medium. The processor 51 is responsible for managing the bus architecture and general processing, and the memory 53 may store data used by the processor 51 in performing operations.
In the terminal device provided in the embodiment of the present invention:
the processor 51 is configured to read the program in the memory 53, and execute the following processes: acquiring, by the transceiver 52, a network parameter of a data packet of a video call currently received by a receiving end of the video call, where the network parameter includes at least one of delay, packet loss rate, and network jitter; determining the current bandwidth value of the network for the video call according to the network parameters and a bandwidth detection model trained in advance; and adjusting the video coding bandwidth value of the video call according to the current bandwidth value.
Preferably, the processor 51 is further configured to, for each group of network parameter samples in the training set, add a bandwidth value tag to the network parameter sample according to a bandwidth value corresponding to the network parameter sample; and inputting each group of network parameter samples added with the bandwidth value labels into a bandwidth detection model, and training the bandwidth detection model.
Preferably, the processor 51 is further configured to determine whether the current bandwidth value is not less than a set initial bandwidth value of the video call; if so, carrying out video coding of the video call by using the initial bandwidth value; if not, adjusting the video coding bandwidth value of the video call according to the current bandwidth value.
Preferably, the processor 51 is specifically configured to determine whether a ratio of the current bandwidth value to a set initial bandwidth value of the video call is greater than a set threshold, where the set threshold is not less than 0 and not greater than 1; if so, carrying out video coding of the video call by using the current bandwidth value; if not, using half of the initial bandwidth value to perform video coding of the video call, and adjusting the video frame rate of the video call to be half of the set frame rate.
Example 6:
on the basis of the foregoing embodiments, an embodiment of the present invention further provides a terminal device, as shown in fig. 6, including: the system comprises a processor 61, a communication interface 62, a memory 63 and a communication bus 64, wherein the processor 61, the communication interface 62 and the memory 63 complete mutual communication through the communication bus 64;
the memory 63 stores therein a computer program that, when executed by the processor 61, causes the processor 61 to execute the video call control method described in the above embodiment.
On the basis of the foregoing embodiments, an embodiment of the present invention further provides a computer storage readable storage medium, where a computer program executable by a terminal device is stored in the computer storage readable storage medium, and when the program runs on the terminal device, the terminal device is caused to execute the video call control method described in the foregoing embodiment.
For the system/apparatus embodiments, since they are substantially similar to the method embodiments, the description is relatively simple, and reference may be made to some descriptions of the method embodiments for relevant points.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
While the preferred embodiments of the present application have been described, additional variations and modifications in those embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including preferred embodiments and all alterations and modifications as fall within the scope of the application.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present invention without departing from the spirit and scope of the invention. Thus, if such modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include such modifications and variations.

Claims (10)

1. A method for controlling a video call, the method comprising:
acquiring network parameters of a data packet of a video call currently received by a receiving end of the video call, wherein the network parameters comprise at least one of time delay, packet loss rate and network jitter;
determining the current bandwidth value of the network for the video call according to the network parameters and a bandwidth detection model trained in advance;
and adjusting the video coding bandwidth value of the video call according to the current bandwidth value.
2. The method of claim 1, wherein the process of training the bandwidth detection model in advance comprises:
aiming at each group of network parameter samples in the training set, adding bandwidth value labels to the network parameter samples according to the bandwidth values corresponding to the network parameter samples;
and inputting each group of network parameter samples added with the bandwidth value labels into a bandwidth detection model, and training the bandwidth detection model.
3. The method of claim 1, wherein prior to said adjusting a video encoding bandwidth value for the video call based on the current bandwidth value, the method further comprises:
judging whether the current bandwidth value is not less than the set initial bandwidth value of the video call;
if so, carrying out video coding of the video call by using the initial bandwidth value;
if not, adjusting the video coding bandwidth value of the video call according to the current bandwidth value.
4. The method of claim 1 or 3, wherein said adjusting a video encoding bandwidth value of the video call based on the current bandwidth value comprises:
judging whether the ratio of the current bandwidth value to the set initial bandwidth value of the video call is greater than a set threshold value, wherein the set threshold value is not less than 0 and not greater than 1;
if so, carrying out video coding of the video call by using the current bandwidth value;
if not, using half of the initial bandwidth value to perform video coding of the video call, and adjusting the video frame rate of the video call to be half of the set frame rate.
5. A video call control apparatus, comprising:
the system comprises an acquisition module, a processing module and a processing module, wherein the acquisition module is used for acquiring network parameters of a data packet of a video call currently received by a receiving end of the video call, and the network parameters comprise at least one of time delay, packet loss rate and network jitter;
the determining module is used for determining the current bandwidth value of the network for carrying out the video call according to the network parameters and a bandwidth detection model which is trained in advance;
and the control module is used for adjusting the video coding bandwidth value of the video call according to the current bandwidth value.
6. A terminal device, comprising: a memory, a processor, and a transceiver;
the processor is used for reading the program in the memory and executing the following processes: acquiring network parameters of a data packet of a video call currently received by a receiving end of the video call through a transceiver, wherein the network parameters comprise at least one of time delay, packet loss rate and network jitter; determining the current bandwidth value of the network for the video call according to the network parameters and a bandwidth detection model trained in advance; and adjusting the video coding bandwidth value of the video call according to the current bandwidth value.
7. The terminal device of claim 6, wherein the processor is further configured to add, for each group of network parameter samples in the training set, a bandwidth value tag to the network parameter sample according to a bandwidth value corresponding to the network parameter sample; and inputting each group of network parameter samples added with the bandwidth value labels into a bandwidth detection model, and training the bandwidth detection model.
8. The terminal device of claim 6, wherein the processor is further configured to determine whether the current bandwidth value is not less than a set initial bandwidth value of a video call; if so, carrying out video coding of the video call by using the initial bandwidth value; if not, adjusting the video coding bandwidth value of the video call according to the current bandwidth value.
9. The terminal device according to claim 6 or 8, wherein the processor is specifically configured to determine whether a ratio of the current bandwidth value to a set initial bandwidth value of the video call is greater than a set threshold, where the set threshold is not less than 0 and not greater than 1; if so, carrying out video coding of the video call by using the current bandwidth value; if not, using half of the initial bandwidth value to perform video coding of the video call, and adjusting the video frame rate of the video call to be half of the set frame rate.
10. A computer-readable storage medium, characterized in that it stores a computer program executable by a terminal device, which program, when run on the terminal device, causes the terminal device to carry out the steps of the method according to any one of claims 1 to 4.
CN201811542691.2A 2018-12-17 2018-12-17 Video call control method and device, terminal equipment and storage medium Pending CN111327864A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811542691.2A CN111327864A (en) 2018-12-17 2018-12-17 Video call control method and device, terminal equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811542691.2A CN111327864A (en) 2018-12-17 2018-12-17 Video call control method and device, terminal equipment and storage medium

Publications (1)

Publication Number Publication Date
CN111327864A true CN111327864A (en) 2020-06-23

Family

ID=71166855

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811542691.2A Pending CN111327864A (en) 2018-12-17 2018-12-17 Video call control method and device, terminal equipment and storage medium

Country Status (1)

Country Link
CN (1) CN111327864A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113259660A (en) * 2021-06-11 2021-08-13 宁波星巡智能科技有限公司 Video compression transmission method, device, equipment and medium based on dynamic coding frame
CN115085790A (en) * 2022-04-24 2022-09-20 中国人民解放军91977部队 Channel environment self-adaption method and narrow bandwidth conference system

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6823005B1 (en) * 1998-08-10 2004-11-23 At&T Corp Link adaptation in wireless networks for throughput maximization under retransmissions
CN101345756A (en) * 2008-08-18 2009-01-14 浙江大学 Wireless Ad Hoc network real time video transmission method based on band width estimation
CN102843573A (en) * 2012-07-16 2012-12-26 上海大学 Video transmission quality evaluation method implemented by using QoS (quality of service) parameters of wireless local area networks
CN103475902A (en) * 2013-09-06 2013-12-25 同观科技(深圳)有限公司 Video coding and network transmission method and video forwarding server
CN105262699A (en) * 2015-10-29 2016-01-20 浙江大华技术股份有限公司 Network adaptive coding adjustment method and device
CN106789427A (en) * 2016-12-23 2017-05-31 潘敏 A kind of transmission volume computational methods

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6823005B1 (en) * 1998-08-10 2004-11-23 At&T Corp Link adaptation in wireless networks for throughput maximization under retransmissions
CN101345756A (en) * 2008-08-18 2009-01-14 浙江大学 Wireless Ad Hoc network real time video transmission method based on band width estimation
CN102843573A (en) * 2012-07-16 2012-12-26 上海大学 Video transmission quality evaluation method implemented by using QoS (quality of service) parameters of wireless local area networks
CN103475902A (en) * 2013-09-06 2013-12-25 同观科技(深圳)有限公司 Video coding and network transmission method and video forwarding server
CN105262699A (en) * 2015-10-29 2016-01-20 浙江大华技术股份有限公司 Network adaptive coding adjustment method and device
CN106789427A (en) * 2016-12-23 2017-05-31 潘敏 A kind of transmission volume computational methods

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113259660A (en) * 2021-06-11 2021-08-13 宁波星巡智能科技有限公司 Video compression transmission method, device, equipment and medium based on dynamic coding frame
CN113259660B (en) * 2021-06-11 2021-10-29 宁波星巡智能科技有限公司 Video compression transmission method, device, equipment and medium based on dynamic coding frame
CN115085790A (en) * 2022-04-24 2022-09-20 中国人民解放军91977部队 Channel environment self-adaption method and narrow bandwidth conference system

Similar Documents

Publication Publication Date Title
US11349900B2 (en) Voice encoding and sending method and apparatus
CN108370580B (en) Matching user equipment and network scheduling periods
CN103634556B (en) Information transmission method, information receiving method and electronic apparatus
CN102984495A (en) Video image processing method and device
CN111263153B (en) Video encoding method, device, equipment and storage medium
CN106507024A (en) A kind of self-adaption code rate method of adjustment and device
JP7356581B2 (en) Information processing methods, devices, equipment and computer readable storage media
CN109495660B (en) Audio data coding method, device, equipment and storage medium
WO2016080884A1 (en) Methods, radio communication device and base station device for managing a media stream
WO2023174254A1 (en) Video posting method and apparatus, and device and storage medium
CN104782134A (en) Server device, terminal, thin client system, screen transmission method and program
CN112153415B (en) Video transcoding method, device, equipment and storage medium
CN111327864A (en) Video call control method and device, terminal equipment and storage medium
CN112929712A (en) Video code rate adjusting method and device
CN112929704A (en) Data transmission method, device, electronic equipment and storage medium
US20130286227A1 (en) Data Transfer Reduction During Video Broadcasts
US20140205020A1 (en) Real-time transcoding method and device
CN112104867B (en) Video processing method, video processing device, intelligent equipment and storage medium
CN117336534A (en) Data transmission method, device, electronic equipment and storage medium
WO2018000567A1 (en) Frame rate adjustment method and device
CN111181875B (en) Bandwidth adjusting method and device
US11936698B2 (en) Systems and methods for adaptive video conferencing
CN110855908A (en) Multi-party video screen mixing method and device, network equipment and storage medium
CN107592342B (en) Information pushing method and device
CN104994407A (en) Concentrated self-adaptive video transcoding method

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: 20200623

RJ01 Rejection of invention patent application after publication