CN108347579B - Bandwidth control method and device - Google Patents

Bandwidth control method and device Download PDF

Info

Publication number
CN108347579B
CN108347579B CN201710062930.3A CN201710062930A CN108347579B CN 108347579 B CN108347579 B CN 108347579B CN 201710062930 A CN201710062930 A CN 201710062930A CN 108347579 B CN108347579 B CN 108347579B
Authority
CN
China
Prior art keywords
bandwidth
video conference
mobile terminal
packet loss
loss rate
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.)
Active
Application number
CN201710062930.3A
Other languages
Chinese (zh)
Other versions
CN108347579A (en
Inventor
谢军
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Hexmeet Technology Co ltd
Original Assignee
Beijing Hexmeet 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 Beijing Hexmeet Technology Co ltd filed Critical Beijing Hexmeet Technology Co ltd
Priority to CN201710062930.3A priority Critical patent/CN108347579B/en
Publication of CN108347579A publication Critical patent/CN108347579A/en
Application granted granted Critical
Publication of CN108347579B publication Critical patent/CN108347579B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N7/00Television systems
    • H04N7/14Systems for two-way working
    • 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/08Configuration management of networks or network elements
    • H04L41/0896Bandwidth or capacity management, i.e. automatically increasing or decreasing capacities
    • 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)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

The invention discloses a bandwidth control method and a bandwidth control device. Wherein, the method comprises the following steps: acquiring a first bandwidth which can be used by a mobile terminal in a current network; acquiring a first packet loss rate of a mobile terminal in a current network; acquiring the minimum bandwidth required by the mobile terminal for participating in the video conference; determining that the video conference occupies all of the first bandwidth under the condition that the first bandwidth is less than or equal to the minimum bandwidth; and under the condition that the first bandwidth is larger than the minimum bandwidth, determining the bandwidth occupied by the video conference according to the first packet loss rate. The invention solves the technical problem that the video loading is not smooth due to the fact that the video bandwidth is controlled under the condition that the video quality of the network video conference cannot be guaranteed in the prior art.

Description

Bandwidth control method and device
Technical Field
The invention relates to the technical field of internet, in particular to a bandwidth control method and device.
Background
With the development of internet technology, the emergence of network conferences (e.g., video conferences, telephone conferences, etc.) breaks through the limitation of regions, and enables people in different places to realize face-to-face communication effect. Because the network video conference needs a higher network environment, the loading speed of the network is affected and the video is not smooth under the condition that the video occupies a larger bandwidth, and therefore, how to control the video bandwidth under the condition of ensuring the video quality of the network video conference is a problem which needs to be solved urgently.
In view of the above problems, no effective solution has been proposed.
Disclosure of Invention
The embodiment of the invention provides a bandwidth control method and a bandwidth control device, which are used for at least solving the technical problem that video loading is not smooth due to the fact that the prior art cannot control video bandwidth under the condition of ensuring the video quality of a network video conference.
According to an aspect of an embodiment of the present invention, there is provided a bandwidth control method, including: acquiring a first bandwidth which can be used by a mobile terminal in a current network; acquiring a first packet loss rate of a mobile terminal in a current network; acquiring the minimum bandwidth required by the mobile terminal for participating in the video conference; determining that the video conference occupies all of the first bandwidth under the condition that the first bandwidth is less than or equal to the minimum bandwidth; and under the condition that the first bandwidth is larger than the minimum bandwidth, determining the bandwidth occupied by the video conference according to the first packet loss rate.
According to another aspect of the embodiments of the present invention, there is also provided a bandwidth control apparatus, including: the first acquisition module is used for acquiring a first bandwidth which can be used by the mobile terminal in the current network; the second obtaining module is used for obtaining a first packet loss rate of the mobile terminal in the current network; the third acquisition module is used for acquiring the minimum bandwidth required by the mobile terminal for participating in the video conference; the first control module is used for determining that the video conference occupies all the first bandwidth under the condition that the first bandwidth is less than or equal to the minimum bandwidth; and the second control module is used for determining the bandwidth occupied by the video conference according to the first packet loss rate under the condition that the first bandwidth is larger than the minimum bandwidth.
In the embodiment of the invention, a first bandwidth which can be used by the mobile terminal in the current network is obtained; acquiring a first packet loss rate of a mobile terminal in a current network; acquiring the minimum bandwidth required by the mobile terminal for participating in the video conference; determining that the video conference occupies all of the first bandwidth under the condition that the first bandwidth is less than or equal to the minimum bandwidth; under the condition that the first bandwidth is larger than the minimum bandwidth, the bandwidth occupied by the video conference is determined according to the packet loss rate, and the purpose of determining the bandwidth occupied by the video signal in the network video conference according to the minimum bandwidth required by the current network video conference is achieved, so that the technical effect of improving the loading speed of the network video under the condition of meeting the normal network video conference is achieved, and the technical problem that the video loading is not smooth due to the fact that the video bandwidth is controlled under the condition that the video quality of the network video conference cannot be guaranteed in the prior art is solved.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the invention and together with the description serve to explain the invention without limiting the invention. In the drawings:
FIG. 1 is a flowchart of a bandwidth control method according to an embodiment of the present invention;
FIG. 2 is a flow diagram of an alternative bandwidth control method according to an embodiment of the present invention;
FIG. 3 is a flow diagram of an alternative bandwidth control method according to an embodiment of the present invention;
FIG. 4 is a flow diagram of an alternative bandwidth control method according to an embodiment of the present invention;
FIG. 5 is a diagram illustrating an alternative video bandwidth control state according to an embodiment of the present invention; and
fig. 6 is a schematic diagram of a bandwidth control apparatus according to an embodiment of the present invention.
Detailed Description
In order to make the technical solutions of the present invention better understood, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and 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.
It should be noted that the terms "first," "second," and the like in the description and claims of the present invention and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the invention described herein are capable of operation in sequences other than those illustrated or described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
Example 1
In accordance with an embodiment of the present invention, there is provided a method embodiment of bandwidth control, it being noted that the steps illustrated in the flowchart of the figure may be performed in a computer system such as a set of computer-executable instructions and that, although a logical order is illustrated in the flowchart, in some cases the steps illustrated or described may be performed in an order different than here.
Fig. 1 is a flowchart of a bandwidth control method according to an embodiment of the present invention, as shown in fig. 1, the method comprising the steps of:
step S102, acquiring a first bandwidth which can be used by the mobile terminal in the current network;
step S104, acquiring a first packet loss rate of the mobile terminal in the current network;
step S106, acquiring the minimum bandwidth required by the mobile terminal for participating in the video conference;
step S108, determining that the video conference occupies all the first bandwidth under the condition that the first bandwidth is less than or equal to the minimum bandwidth;
step S110, determining the bandwidth occupied by the video conference according to the first packet loss ratio when the first bandwidth is greater than the minimum bandwidth.
As an alternative embodiment, the mobile terminal may be an intelligent mobile device used by a user participating in a network video conference, and has video and voice functions and can communicate via the internet, and the intelligent mobile device includes: smart mobile devices such as smart phones, tablet computers, notebook computers or desktop computers; the first bandwidth can be used for representing the data transmission capability of the network where the mobile terminal is currently located, representing the data volume passing through the network where the mobile terminal is currently located in unit time, and representing the display capability of a display screen of the mobile terminal; the video conference may be a video conference using the internet as a platform, and in an alternative embodiment, the video conference may be a video conference in which a user accesses the internet through a wireless transmission module of a mobile terminal; the minimum bandwidth can be the minimum transmission bandwidth of the video required for ensuring the normal running of the video conference; the packet loss rate may be a ratio of the number of lost packets to the total number of transmitted packets; the first packet loss rate may be a packet loss rate of a network environment where the mobile terminal is currently located; because the data packet is transmitted in the communication network by taking the data packet as a unit, the transmitted data packet always has some loss due to the influence of physical line fault, equipment fault, virus attack, network environment and the like, and the loss of the data packet is smaller under the conditions of good line condition and high speed; if the line condition is poor and the speed is slow, the loss of the data packet is large.
Based on the solutions disclosed in the above steps S102 to S110, after acquiring a first bandwidth that can be used by the mobile device participating in the network video conference in the current network, a first packet loss rate of the current network, and a minimum bandwidth of the network video conference currently participating in, determining whether a first bandwidth that can be used by the mobile terminal in the current network environment is greater than a minimum bandwidth required by the network video conference currently participating in by the user, and if the first bandwidth that can be used by the mobile terminal in the current network environment is less than or equal to the minimum bandwidth required by the network video conference currently participating in by the user, controlling the current network video conference to transmit with the first bandwidth; if the first bandwidth which can be used by the mobile terminal under the current network environment is larger than the minimum bandwidth required by the network video conference which the current user participates in, the bandwidth occupied by the transmission of the current network video conference is determined according to the first packet loss rate of the current network.
In an alternative embodiment, the bandwidth occupied by the currently participating video conference can be determined according to the packet loss ratio of the current network by the following formula:
assume that there is a table of bandwidths and packet loss ratios: (b)0,r0),(b1,r1),…,(bN,rN)
For N-0, …, N-2, the average packet loss rate a is calculatedn:
Figure BDA0001217636390000041
Calculating a sum of differences sn
Figure BDA0001217636390000042
For N-0, 1, …, N-2, s is calculatednIf s isnStopping the calculation when the value is less than or equal to 30, and corresponding bnThe target bandwidth.
It should be noted here that the first bandwidth that the mobile terminal can use in the current network includes: the method comprises the steps of obtaining an uplink transmission bandwidth and a downlink transmission bandwidth of a network where the mobile terminal is located currently, wherein the uplink transmission bandwidth can be a transmission bandwidth for a user to send videos to other participants in the network video conference through the mobile terminal, and the downlink transmission bandwidth can be a transmission bandwidth for the user to receive videos of other participants in the network video conference through the mobile terminal.
In an optional embodiment, the bandwidth occupied by the user for sending the video data can be determined according to the uplink transmission bandwidth of the mobile terminal and the minimum transmission bandwidth required by the network conference video conference; if the uplink transmission bandwidth which can be used by the mobile terminal in the current network environment is less than or equal to the minimum bandwidth required by the network video conference participated by the current user, controlling the bandwidth occupied by the user for currently sending the video signal to other participants to be the uplink transmission bandwidth of the mobile terminal in the current network environment; if the uplink transmission bandwidth which can be used by the mobile terminal in the current network environment is larger than the minimum bandwidth required by the network video conference which the current user participates in, determining the bandwidth occupied by the user to send video signals to other participants according to the first packet loss rate of the current network environment.
As an optional implementation manner, based on the foregoing embodiment, if the uplink transmission bandwidth that can be used by the mobile terminal in the current network environment is less than or equal to the minimum bandwidth required by the network video conference that the current user participates in, the transmitted video data may be first subjected to data compression on the mobile terminal (e.g., a mobile phone) (as long as the first packet loss rate in the current network environment can be satisfied), and then may be transmitted.
In another optional embodiment, the bandwidth occupied by the user for receiving the video data can be determined according to the downlink bandwidth of the mobile terminal and the minimum bandwidth required by the network conference video conference; if the downlink transmission bandwidth which can be used by the mobile terminal in the current network environment is less than or equal to the minimum bandwidth required by the network video conference participated by the current user, controlling the bandwidth occupied by the user for currently receiving the video signals of other participants to be the downlink transmission bandwidth of the mobile terminal in the current network environment; if the downlink transmission bandwidth which can be used by the mobile terminal in the current network environment is larger than the minimum bandwidth required by the network video conference which the current user participates in, determining the bandwidth occupied by the user for currently receiving the video signals of other participants according to the first packet loss rate of the current network environment.
As an optional implementation manner, based on the foregoing embodiment, if the downlink transmission bandwidth that can be used by the mobile terminal in the current network environment is greater than the minimum bandwidth required by the network video conference in which the current user participates, the videos of other participants in the current network video conference may be received according to the transmission bandwidth that meets the first packet loss rate in the current network environment.
It should be further noted herein that the first packet loss rate of the mobile terminal in the current network may include: data packet loss caused by the configuration performance of the mobile terminal and data packet loss caused by the current network environment of the mobile terminal.
It can be known from the above that, in the above embodiments of the present application, the bandwidth occupied by transmitting the video signal is determined by comparing the relationship between the first bandwidth of the network where the mobile terminal used by the user to participate in the network video conference and the minimum bandwidth allowed by the current network video conference, and when the first bandwidth of the network where the mobile terminal is currently located is greater than the minimum bandwidth allowed by the current network video conference, the bandwidth occupied by the current network video conference is determined according to the packet loss rate of the current network video conference, so as to achieve the purpose of determining the bandwidth occupied by the video signal in the network video conference according to the minimum bandwidth required by the current network video conference, thereby achieving the technical effect of increasing the loading speed of the network video under the condition of satisfying the normal network video conference, and further solving the problem that the prior art cannot achieve the condition of ensuring the video quality of the network video conference, the technical problem of unsmooth video loading caused by controlling the video bandwidth is solved.
In an alternative embodiment, as shown in fig. 2, determining the bandwidth occupied by the video conference according to the first packet loss ratio includes:
step S202, obtaining the packet loss rate allowed by the participation of the video conference;
step S204, under the condition that the first packet loss rate meets the packet loss rate allowed by the video conference, determining that the video conference at least occupies the minimum bandwidth in the first bandwidth;
step S206, under the condition that the first packet loss rate does not meet the packet loss rate allowed by the participation of the video conference, determining that the bandwidth occupied by the video conference is reduced along with the increase of the packet loss rate.
As an optional embodiment, the video conference may be a video conference using the internet as a platform, and in an optional embodiment, the video conference may be a network video conference performed by a user accessing the internet through a wireless transmission module of a mobile terminal; the first packet loss rate may be a packet loss rate of a network environment where the mobile terminal is currently located; when determining the bandwidth occupied by the current network video conference according to the first packet loss rate of the current network environment of the mobile terminal, firstly, obtaining the packet loss rate allowed by the current network video conference, and if the packet loss rate of the current network environment meets the packet loss rate allowed by the current network video conference, controlling the current network video conference to transmit video signals at least with the minimum bandwidth; and if the packet loss rate of the current network environment does not meet the packet loss rate allowed by the current network video conference, indicating that the video data has a packet loss phenomenon, controlling the bandwidth occupied by the current network video conference to be reduced along with the increase of the packet loss rate.
It should be noted that, under the condition that the packet loss rate of the current network environment meets the packet loss rate allowed by the current network video conference, the bandwidth occupied by the video conference may be appropriately increased, and as long as the first packet loss rate is met within the allowed packet loss rate, the bandwidth occupied by the video conference may be any value within a range from the minimum bandwidth to the first bandwidth.
By the embodiment, the video effect of the current network video conference can be ensured not to be influenced.
In an alternative embodiment, as shown in fig. 3, in a case that the first packet loss rate satisfies a packet loss rate allowed for participating in the video conference, after determining that the video conference occupies at least a minimum bandwidth in the first bandwidth, the method may further include:
and step S208, determining that the occupied bandwidth of the video conference is kept unchanged within the preset time.
Specifically, in the above embodiment, if the packet loss rate of the current network environment meets the packet loss rate allowed by the current network video conference, the current network video conference is controlled to transmit the video signal in the minimum bandwidth within the predetermined time.
Through the embodiment, the effect of saving the data flow of the mobile terminal can be realized under the condition of ensuring the video quality effect.
In an alternative embodiment, as shown in fig. 4, the method may further include: step S210, under the condition that the preset time length is up, the packet loss rate of the network where the mobile terminal is located is obtained again, and the bandwidth is distributed to the video conference again.
Specifically, in the above embodiment, after controlling the current network video conference to transmit the video signal in the minimum bandwidth within the predetermined time, determining whether the predetermined time is up, and under the condition that the predetermined time is up, reacquiring the packet loss rate of the network where the mobile terminal is located, and reallocating the bandwidth for the video conference.
By the embodiment, the purpose of ensuring the video quality in the whole network video conference process can be realized.
In an optional embodiment, in a case that the first bandwidth that can be used by the mobile terminal in the current network cannot be acquired, the method may further include: determining that the video conference uses a preconfigured bandwidth.
It should be further noted herein that, since the first packet loss rate of the mobile terminal in the current network may include: the data packet loss caused by the configuration performance of the mobile terminal and the data packet loss caused by the current network environment of the mobile terminal can be determined according to the configuration of the mobile device and the current network environment.
In an optional embodiment, a plurality of preset bandwidth values may be set according to a time period in which a user participates in a network video conference, and since network quality may be different at different times, for example, at night or at a time just after work, there may be a large number of people who surf the internet and a large network congestion, a data packet loss rate is relatively high, and a large preset bandwidth value may be used.
In another optional embodiment, multiple bandwidth values may be set according to different scenes in which the user participates in the network video conference, and if the user is on a subway or a train and the network signal is poor, a larger preset bandwidth value may also be used.
It should be noted that the preconfigured bandwidth may be set by a user in a customized manner, so that a smaller bandwidth is used to transmit or receive a video signal when the user data traffic is insufficient.
As a preferred implementation, fig. 5 is a diagram illustrating an alternative video bandwidth control state according to an embodiment of the present invention, which is executed every 2 seconds. As shown in fig. 5, if the packet loss rate in the initial state is greater than the minimum packet loss rate, the bandwidth reduction operation state is entered;
in the bandwidth reduction operation state, if the packet loss rate is greater than the minimum packet loss rate and the current bandwidth is greater than the minimum bandwidth, maintaining the bandwidth reduction operation state, and subtracting Δ from the current bandwidth, where Δ is max (current bandwidth x packet loss rate, 8); simultaneously saving the current bandwidth and the packet loss rate;
in the bandwidth reduction operation state, if the packet loss rate is greater than the minimum packet loss rate and the current bandwidth is equal to the minimum bandwidth, the following operations are performed: setting the current bandwidth according to a preset protocol (for example, the formula for determining the bandwidth occupied by the currently-participating video conference according to the packet loss rate of the current network), setting the waiting time to be 10 minutes if the current bandwidth is greater than or equal to 2/3 of the initial bandwidth, otherwise, setting the waiting time to be 1 minute, and entering a normal packet loss state. And in the normal packet loss state, entering an initial state after the waiting time is over.
In the bandwidth reduction operation state, if the packet loss rate is less than or equal to the minimum packet loss rate, entering a steady state, and executing the following operations: if the current bandwidth is equal to the stable transmission bandwidth, adding 1 to the stable transmission frequency; otherwise, setting the stable transmission times to 0, and setting the stable transmission bandwidth as the current bandwidth. The waiting time is set to 1 minute x 2^ stable transmission times;
if the waiting time in the steady state is up, the bandwidth increasing operation state is entered.
In the bandwidth increase operation state, if the bandwidth of the stable transmission is not equal to the current bandwidth, the number of stable transmissions is set to 0, and the bandwidth of the stable transmission is set to the current bandwidth. Meanwhile, the current bandwidth is increased by 64;
in the bandwidth increasing operation state, if the packet loss rate is greater than the minimum packet loss rate, the bandwidth reducing operation state is entered again;
in the increased bandwidth operating state, if the current bandwidth is equal to the initial bandwidth, the initial state is entered.
Example 2
According to the embodiment of the invention, the embodiment of the bandwidth control device is also provided. The bandwidth control method in embodiment 1 of the present invention can be executed in the apparatus in embodiment 2 of the present invention.
Fig. 6 is a schematic diagram of a bandwidth control apparatus according to an embodiment of the present invention, as shown in fig. 6, the apparatus including: a first obtaining module 601, a second obtaining module 603, a third obtaining module 605, a first control module 607, and a second control module 609.
The first obtaining module 601 is configured to obtain a first bandwidth that can be used by the mobile terminal in a current network; a second obtaining module 603, configured to obtain a first packet loss rate of the mobile terminal in a current network; a third obtaining module 605, configured to obtain a minimum bandwidth required by the mobile terminal to participate in the video conference; a first control module 607, configured to determine that the video conference occupies all of the first bandwidth when the first bandwidth is less than or equal to the minimum bandwidth; the second control module 609 is configured to determine, according to the first packet loss rate, the bandwidth occupied by the video conference when the first bandwidth is greater than the minimum bandwidth.
It can be known from the above that, in the above embodiments of the present application, the bandwidth occupied by transmitting the video signal is determined by comparing the relationship between the first bandwidth of the network where the mobile terminal used by the user to participate in the network video conference and the minimum bandwidth allowed by the current network video conference, and when the first bandwidth of the network where the mobile terminal is currently located is greater than the minimum bandwidth allowed by the current network video conference, the bandwidth occupied by the current network video conference is determined according to the packet loss rate of the current network video conference, so as to achieve the purpose of determining the bandwidth occupied by the video signal in the network video conference according to the minimum bandwidth required by the current network video conference, thereby achieving the technical effect of increasing the loading speed of the network video under the condition of satisfying the normal network video conference, and further solving the problem that the prior art cannot achieve the condition of ensuring the video quality of the network video conference, the technical problem of unsmooth video loading caused by controlling the video bandwidth is solved.
In an alternative embodiment, the second control module 609 includes: the fourth obtaining module is used for obtaining the packet loss rate allowed by the participation of the video conference; the third control module is used for determining that the video conference at least occupies the minimum bandwidth in the first bandwidth under the condition that the first packet loss rate meets the packet loss rate allowed by the video conference; and the fourth control module is used for determining that the bandwidth occupied by the video conference is reduced along with the increase of the packet loss rate under the condition that the first packet loss rate does not meet the packet loss rate allowed by the video conference.
In an optional embodiment, the apparatus further comprises: and the fifth control module is used for determining that the occupied bandwidth of the video conference is kept unchanged within the preset time length.
In an optional embodiment, the apparatus further comprises: and the sixth control module is used for reacquiring the packet loss rate of the network where the mobile terminal is located and reallocating the bandwidth for the video conference under the condition that the preset time length is up.
In an optional embodiment, the apparatus further comprises: and the seventh control module is used for determining that the video conference uses the pre-configured bandwidth.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
In the above embodiments of the present invention, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
In the embodiments provided in the present application, it should be understood that the disclosed technology can be implemented in other ways. The above-described embodiments of the apparatus are merely illustrative, and for example, the division of the units may be a logical division, and in actual implementation, there may be another division, for example, multiple units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, units or modules, and may be in an electrical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic or optical disk, and other various media capable of storing program codes.
The foregoing is only a preferred embodiment of the present invention, and it should be noted that, for those skilled in the art, various modifications and decorations can be made without departing from the principle of the present invention, and these modifications and decorations should also be regarded as the protection scope of the present invention.

Claims (8)

1. A method of bandwidth control, comprising:
acquiring a first bandwidth which can be used by a mobile terminal in a current network;
acquiring a first packet loss rate of the mobile terminal in a current network;
acquiring the minimum bandwidth required by the mobile terminal for participating in the video conference;
determining that the video conference occupies the entirety of the first bandwidth if the first bandwidth is less than or equal to the minimum bandwidth;
determining the bandwidth occupied by the video conference according to the first packet loss rate under the condition that the first bandwidth is larger than the minimum bandwidth;
the first bandwidth which can be used by the mobile terminal in the current network comprises: the method comprises the following steps that an uplink transmission bandwidth and a downlink transmission bandwidth of a network where the mobile terminal is located currently are provided, wherein the uplink transmission bandwidth is a transmission bandwidth for sending videos to other participants in the network video conference through the mobile terminal, and the downlink transmission bandwidth is a transmission bandwidth for receiving videos of other participants in the network video conference through the mobile terminal;
if the uplink transmission bandwidth used by the mobile terminal in the current network environment is less than or equal to the minimum bandwidth required by the network video conference, controlling the bandwidth occupied by currently sending video signals to other participants to be the uplink transmission bandwidth of the mobile terminal in the current network environment; if the uplink transmission bandwidth used by the mobile terminal in the current network environment is greater than the minimum bandwidth required by the participated network video conference, determining the bandwidth occupied by sending video signals to other participants according to the first packet loss rate of the current network environment; if the downlink transmission bandwidth used by the mobile terminal in the current network environment is less than or equal to the minimum bandwidth required by the network video conference, controlling the bandwidth occupied by receiving the video signals of other participants to be the downlink transmission bandwidth in the current network environment of the mobile terminal; if the downlink transmission bandwidth used by the mobile terminal in the current network environment is larger than the minimum bandwidth required by the participated network video conference, determining the bandwidth occupied by receiving the video signals of other participants according to the first packet loss rate of the current network environment;
if the uplink transmission bandwidth used by the mobile terminal in the current network environment is less than or equal to the minimum bandwidth required by the network video conference, the transmitted video data is firstly compressed on the mobile terminal and then transmitted;
under the condition that the first bandwidth which can be used by the mobile terminal in the current network cannot be acquired, the method further comprises the following steps: and determining that the video conference uses a pre-configured bandwidth, wherein the pre-configured bandwidth is determined according to the configuration of the mobile terminal and the current network environment.
2. The method of claim 1, wherein determining the bandwidth occupied by the video conference according to the first packet loss rate comprises:
acquiring the packet loss rate allowed by the video conference;
determining that the video conference occupies at least the minimum bandwidth in the first bandwidth when the first packet loss rate meets the packet loss rate allowed for participating in the video conference;
and under the condition that the first packet loss rate does not meet the packet loss rate allowed by the video conference, determining that the bandwidth occupied by the video conference is reduced along with the increase of the first packet loss rate.
3. The method of claim 2, wherein in a case that the first packet loss rate satisfies a packet loss rate allowed for participating in the video conference, after determining that the video conference occupies at least the minimum bandwidth in the first bandwidth, the method further comprises:
determining that the bandwidth occupied by the video conference remains unchanged for a predetermined length of time.
4. The method according to claim 3, wherein when the predetermined time period expires, the packet loss rate of the network where the mobile terminal is located is obtained again, and the bandwidth is allocated to the video conference again.
5. A bandwidth control apparatus, comprising:
the first acquisition module is used for acquiring a first bandwidth which can be used by the mobile terminal in the current network;
the second obtaining module is used for obtaining a first packet loss rate of the mobile terminal in a current network;
the third acquisition module is used for acquiring the minimum bandwidth required by the mobile terminal for participating in the video conference;
a first control module, configured to determine that the video conference occupies all of the first bandwidth when the first bandwidth is less than or equal to the minimum bandwidth;
the second control module is used for determining the bandwidth occupied by the video conference according to the first packet loss rate under the condition that the first bandwidth is larger than the minimum bandwidth;
the first bandwidth which can be used by the mobile terminal in the current network comprises: the method comprises the following steps that an uplink transmission bandwidth and a downlink transmission bandwidth of a network where the mobile terminal is located currently are provided, wherein the uplink transmission bandwidth is a transmission bandwidth for sending videos to other participants in the network video conference through the mobile terminal, and the downlink transmission bandwidth is a transmission bandwidth for receiving videos of other participants in the network video conference through the mobile terminal;
the device is used for controlling the bandwidth occupied by currently sending video signals to other participants to be the uplink transmission bandwidth of the mobile terminal in the current network environment if the uplink transmission bandwidth used by the mobile terminal in the current network environment is less than or equal to the minimum bandwidth required by the participated network video conference; if the uplink transmission bandwidth used by the mobile terminal in the current network environment is greater than the minimum bandwidth required by the participated network video conference, determining the bandwidth occupied by sending video signals to other participants according to the first packet loss rate of the current network environment; if the downlink transmission bandwidth used by the mobile terminal in the current network environment is less than or equal to the minimum bandwidth required by the network video conference, controlling the bandwidth occupied by receiving the video signals of other participants to be the downlink transmission bandwidth in the current network environment of the mobile terminal; if the downlink transmission bandwidth used by the mobile terminal in the current network environment is larger than the minimum bandwidth required by the participated network video conference, determining the bandwidth occupied by receiving the video signals of other participants according to the first packet loss rate of the current network environment;
the device is used for compressing the transmitted video data on the mobile terminal and then transmitting the compressed video data if the uplink transmission bandwidth used by the mobile terminal in the current network environment is less than or equal to the minimum bandwidth required by the participated network video conference;
the device further comprises: and the seventh control module is used for determining that the video conference uses the pre-configured bandwidth, wherein the pre-configured bandwidth is determined according to the configuration of the mobile terminal and the current network environment.
6. The apparatus of claim 5, wherein the second control module comprises:
a fourth obtaining module, configured to obtain a packet loss rate allowed for participating in the video conference;
a third control module, configured to determine that the video conference occupies at least the minimum bandwidth in the first bandwidth when the first packet loss rate satisfies a packet loss rate allowed for participating in the video conference;
and the fourth control module is configured to determine that the bandwidth occupied by the video conference decreases with an increase of the first packet loss rate when the first packet loss rate does not meet the packet loss rate allowed for participating in the video conference.
7. The apparatus of claim 6, further comprising:
and the fifth control module is used for determining that the bandwidth occupied by the video conference is kept unchanged within the preset time length.
8. The apparatus of claim 7, further comprising: and the sixth control module is used for acquiring the packet loss rate of the network where the mobile terminal is located again and allocating bandwidth to the video conference again under the condition that the preset time length is up.
CN201710062930.3A 2017-01-23 2017-01-23 Bandwidth control method and device Active CN108347579B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710062930.3A CN108347579B (en) 2017-01-23 2017-01-23 Bandwidth control method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710062930.3A CN108347579B (en) 2017-01-23 2017-01-23 Bandwidth control method and device

Publications (2)

Publication Number Publication Date
CN108347579A CN108347579A (en) 2018-07-31
CN108347579B true CN108347579B (en) 2021-01-05

Family

ID=62963295

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710062930.3A Active CN108347579B (en) 2017-01-23 2017-01-23 Bandwidth control method and device

Country Status (1)

Country Link
CN (1) CN108347579B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111726835B (en) * 2020-06-15 2023-07-07 维沃移动通信有限公司 Voice call method and device and electronic equipment
CN115174405A (en) * 2022-06-08 2022-10-11 西北大学 Bandwidth allocation method based on ARIMA statistical model

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101436990A (en) * 2008-12-23 2009-05-20 深圳华为通信技术有限公司 Method for automatically adjusting encoding rate, receiving device and communication system
CN101800697A (en) * 2010-01-27 2010-08-11 深圳市宇速科技有限公司 Method for real-time video transmission self-adapting to network bandwidth
CN102970250A (en) * 2012-11-30 2013-03-13 福建星网锐捷网络有限公司 Method and apparatus for bandwidth allocation in distributed router system and network device
CN103051982A (en) * 2012-12-28 2013-04-17 上海华为技术有限公司 Video stream transmission control method and video stream transmission control device
CN105897506A (en) * 2016-03-31 2016-08-24 乐视控股(北京)有限公司 Bandwidth estimation method and device

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8274905B2 (en) * 2006-08-22 2012-09-25 Embarq Holdings Company, Llc System and method for displaying a graph representative of network performance over a time period
US9374289B2 (en) * 2012-02-28 2016-06-21 Verizon Patent And Licensing Inc. Dynamically provisioning subscribers to manage network traffic
CN106210925A (en) * 2015-05-05 2016-12-07 阿里巴巴集团控股有限公司 The decoding method of a kind of real-time media stream and device
CN105430532B (en) * 2015-11-18 2019-04-16 南京创维信息技术研究院有限公司 A kind of control method and its system that video data transmission adaptively adjusts
CN106302247A (en) * 2016-08-09 2017-01-04 乐视控股(北京)有限公司 A kind of bandwidth allocation methods and device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101436990A (en) * 2008-12-23 2009-05-20 深圳华为通信技术有限公司 Method for automatically adjusting encoding rate, receiving device and communication system
CN101800697A (en) * 2010-01-27 2010-08-11 深圳市宇速科技有限公司 Method for real-time video transmission self-adapting to network bandwidth
CN102970250A (en) * 2012-11-30 2013-03-13 福建星网锐捷网络有限公司 Method and apparatus for bandwidth allocation in distributed router system and network device
CN103051982A (en) * 2012-12-28 2013-04-17 上海华为技术有限公司 Video stream transmission control method and video stream transmission control device
CN105897506A (en) * 2016-03-31 2016-08-24 乐视控股(北京)有限公司 Bandwidth estimation method and device

Also Published As

Publication number Publication date
CN108347579A (en) 2018-07-31

Similar Documents

Publication Publication Date Title
US10757033B2 (en) Traffic control method, traffic control apparatus and server
CN105282051B (en) A kind of bandwidth adjusting method and bandwidth server
US11178624B2 (en) Method of adjusting transmission power of terminal, mobile terminal, and storage device
CN103096384A (en) Method limiting slave internet traffic and system thereof
CN104618195A (en) Bandwidth estimation method and device
CN112868265B (en) Network resource management method, management device, electronic equipment and storage medium
WO2017054362A1 (en) Method and device for multicarrier data transmission
CN110620938A (en) Method for distributing network available bandwidth between ongoing service sessions and corresponding device
EP3310093B1 (en) Traffic control method and apparatus
KR20170042316A (en) Propagating communication awareness over a cellular network
CN108347579B (en) Bandwidth control method and device
US10044833B2 (en) Data processing method and apparatus used for terminal application
WO2020164351A1 (en) Link connection method and related apparatus
CN110248217B (en) User data synchronization method and device
CN108540500A (en) Data transmission method, device, equipment and the storage medium of more people's calls
US9986457B2 (en) Mobile terminal device, wireless communication method for mobile terminal device, carrier server device, and communication speed control method in carrier server device
CN105407452A (en) Method and system for controlling data flow in Bluetooth sharing network
CN106330504B (en) Method for realizing application and service controller
WO2017085263A1 (en) Communication system
CN108337554A (en) Smart mobile phone browser video buffer method
CN116800675A (en) Flow control method, device, equipment and computer readable storage medium
CN105188113B (en) A kind of information processing method and radio reception device
KR102027853B1 (en) Apparatus and method for adjusting mobile resource
CN113014410B (en) Bandwidth adjusting method and device
CN112738445B (en) Multi-line plug flow method and device, storage medium and electronic equipment

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
GR01 Patent grant
GR01 Patent grant