CN111586350B - Method for adjusting code rate based on bandwidth, priority and no-operation time - Google Patents

Method for adjusting code rate based on bandwidth, priority and no-operation time Download PDF

Info

Publication number
CN111586350B
CN111586350B CN202010309119.2A CN202010309119A CN111586350B CN 111586350 B CN111586350 B CN 111586350B CN 202010309119 A CN202010309119 A CN 202010309119A CN 111586350 B CN111586350 B CN 111586350B
Authority
CN
China
Prior art keywords
priority
video
current
bandwidth
bit 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
CN202010309119.2A
Other languages
Chinese (zh)
Other versions
CN111586350A (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.)
State Grid Corp of China SGCC
Electric Power Research Institute of State Grid Liaoning Electric Power Co Ltd
Original Assignee
State Grid Corp of China SGCC
Electric Power Research Institute of State Grid Liaoning Electric Power 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 State Grid Corp of China SGCC, Electric Power Research Institute of State Grid Liaoning Electric Power Co Ltd filed Critical State Grid Corp of China SGCC
Priority to CN202010309119.2A priority Critical patent/CN111586350B/en
Publication of CN111586350A publication Critical patent/CN111586350A/en
Application granted granted Critical
Publication of CN111586350B publication Critical patent/CN111586350B/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/18Closed-circuit television [CCTV] systems, i.e. systems in which the video signal is not broadcast
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/10Flow control; Congestion control
    • H04L47/24Traffic characterised by specific attributes, e.g. priority or QoS
    • H04L47/2425Traffic characterised by specific attributes, e.g. priority or QoS for supporting services specification, e.g. SLA
    • H04L47/2433Allocation of priorities to traffic types
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/70Admission control; Resource allocation
    • H04L47/80Actions related to the user profile or the type of traffic
    • H04L47/805QOS or priority aware
    • 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/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/238Interfacing the downstream path of the transmission network, e.g. adapting the transmission rate of a video stream to network bandwidth; Processing of multiplex streams
    • H04N21/2385Channel allocation; Bandwidth allocation
    • 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/254Management at additional data server, e.g. shopping server, rights management server
    • H04N21/2541Rights Management
    • 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/258Client or end-user data management, e.g. managing client capabilities, user preferences or demographics, processing of multiple end-users preferences to derive collaborative data
    • H04N21/25866Management of end-user data
    • H04N21/25891Management of end-user data being end-user preferences
    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Databases & Information Systems (AREA)
  • Multimedia (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Graphics (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

本发明属于可视化智能在线监控的技术领域,尤其涉及一种基于带宽、优先级和无操作时间调节码率的方法。本发明包括以下步骤:每次视频开启记录所有当前账号对应的视频线路的当前码率;在当前操作进行前判断当前操作的优先级;根据优先级分配带宽资源。本发明通过判断带宽资源情况,并结合当前操作优先级、无操作时间等参数,通过组合策略自动调节视频流的码率。有效的节省带宽资源,最大限度的避免视频卡顿现象出现,保障高优先级视频操作。具有结构简单、易实现的特点。本发明具有良好的可推广性,可应用在输变电视频在线监测的各个场景。对保障设备安全可靠的运行有着重要的意义,具有广阔的市场前景和应用价值。

Figure 202010309119

The invention belongs to the technical field of visual intelligent online monitoring, and in particular relates to a method for adjusting the code rate based on bandwidth, priority and no-operation time. The invention includes the following steps: recording the current bit rate of the video lines corresponding to all current accounts each time the video is turned on; judging the priority of the current operation before the current operation; and allocating bandwidth resources according to the priority. The present invention automatically adjusts the bit rate of the video stream through a combination strategy by judging the situation of bandwidth resources and combining with parameters such as current operation priority and non-operation time. Effectively save bandwidth resources, avoid video freezes to the greatest extent, and ensure high-priority video operations. It has the characteristics of simple structure and easy realization. The invention has good generalizability and can be applied to various scenarios of on-line monitoring of video transmission and transformation. It is of great significance to ensure the safe and reliable operation of equipment, and has broad market prospects and application value.

Figure 202010309119

Description

Method for adjusting code rate based on bandwidth, priority and no-operation time
Technical Field
The invention belongs to the technical field of visual intelligent online monitoring, and particularly relates to a method for adjusting code rate based on bandwidth, priority and no-operation time.
Background
The video monitoring system is widely applied to the field of power transmission and transformation online monitoring, and bandwidth resource limitation exists in the practical application of video monitoring. Because the total bandwidth required by the task exceeds the capacity of actual bandwidth resources, the network is congested and blocked, and packet loss is caused, and the situations of video blocking, mosaic and the like often occur. The current device has the ability of QoS (Quality of Service) based automatic adjustment of the code rate according to the bandwidth resource, but the method is based on the network bandwidth situation. The existing device has the capability of automatically adjusting the code rate according to the bandwidth resources, but the factors such as the importance of operation, the invalid occupation of the bandwidth and the like cannot be considered from the level of the whole system, and the bandwidth resources are uniformly distributed and managed without difference according to the factors. Therefore, the bandwidth capability of the video operation is also considered from the system level, and the bandwidth and the code rate of the video are uniformly adjusted and reasonably distributed in combination with the factors such as the priority, the non-operation time and the like.
However, in practical application, different video access requirements need to be considered and treated differently on a system level, and the method is directed to the actual requirements of the security risk management and control platform of the company in liaoning province on bandwidth allocation and video smoothness, and combines the following requirements: for the situations of emergency command and real-time scene viewing by leaders, the situation that the video code rate of the video line corresponding to the scene is automatically reduced and viewed due to the limitation of bandwidth resources is not suitable, and high-definition video browsing is required to be ensured in the application situations.
Disclosure of Invention
Aiming at the defects in the prior art, the invention provides a method for adjusting the code rate based on bandwidth, priority and no operation time by combining the actual requirements of a security risk management and control platform on bandwidth allocation and utilization and smooth video. The invention aims to realize the purposes of effectively saving bandwidth resources, avoiding the phenomenon of video pause to the maximum extent and guaranteeing the operation of high-priority videos.
In order to realize the purpose of the invention, the invention is realized by adopting the following technical scheme:
a method for adjusting code rate based on bandwidth, priority and no-operation time comprises the following steps:
step 1, recording the current code rates of video circuits corresponding to all current account numbers when a video is started every time; the recording of the current code rates of the video lines corresponding to all the current account numbers at each video starting comprises the following steps: recording the current video line code rate each time the video is connected, and storing the current video line code rate of the operation video and the current operation account in a correlation manner; each time the code rate is modified, the associated memory needs to be updated;
recording the current code rates of the video lines corresponding to all current account numbers at each video starting time specifically comprises the following steps: recording the current code rates of all current online video circuits, and adding and calculating the total used bandwidth resources of the current online video circuits;
the calculation mode of the total bandwidth is to accumulate the bandwidth occupied by all the online video circuits and calculate the used total bandwidth;
step 2, judging the priority of the current operation before the current operation is carried out; the priority is preset according to the account number and is not adjusted and changed; if the change needs to be applied to the super manager through the application approval process;
step 3, allocating bandwidth resources according to the priority; the priorities respectively comprise a default priority and a high priority;
the bandwidth resource allocation according to the priority is that before the bandwidth resource is allocated, the currently used bandwidth resource is judged at first, and if the used total bandwidth resource does not exceed the total bandwidth allocated by the line, the current task is started; if the used bandwidth resources exceed the total bandwidth of the line, the bandwidth resources are adjusted until the bandwidth resources can meet the requirements of the current task;
the non-operation time is calculated from the last action time of operating the ball distribution and control equipment by the cradle head until the current time, the code rate reduction operation is performed step by step from a low priority to a higher priority, and the video circuit with the longest non-operation time is selected for operation;
the adjustment of the bandwidth resources is realized by a combined video code rate adjustment strategy process, and the combined video code rate adjustment strategy comprises the following steps:
step a: traversing the low priority task list; finding a task occupying default initial bandwidth resources at present, and selecting a conforming task to perform code rate reduction processing by combining the task without operation time, so that the processed code rate is lower than the default code rate;
step b: after the strategy is executed, continuously and repeatedly judging whether the current bandwidth resource meets the bandwidth requirement, and if so, starting a new task; if not, re-executing the combined code rate strategy until the bandwidth resources can meet the requirements of the current task;
step c: and after the steps are finished, starting the current task.
Further, the adjusting the bandwidth resource includes the following steps:
step (1) processing according to the non-operation time of each line, and performing code rate reduction processing on the non-operation line from the line with the lowest priority;
step (2) if the strategy in step (1) still can not meet the bandwidth requirement, closing the low-priority and longest non-operation time line, wherein the closing operation is performed step by step from the low priority to the higher priority and is selected from the video channel with the longest non-operation time;
and (3) after the high-priority operation is finished, restoring the code rate of the line which is reduced or closed previously to the default code rate.
Further, the allocating bandwidth resources according to the account number permission priority specifically includes: presetting a code rate for the current video circuit according to the priority, traversing the online video circuit at the same time, judging whether the circuit has the condition of no operation for a long time one by one, and if the circuit has no operation for a long time, reducing the code rate or closing the low-priority video circuit according to the priority; after the above operations are carried out, enough bandwidth resources are reserved for the current high-priority video line to use; setting operation highest priority, only giving a specific examination and approval account for use, and giving a video line with low priority to reduce code rate or close processing according to the priority if bandwidth resources are not met when the line corresponding to the highest priority is used; and distributing the highest code rate to the highest priority, and distributing other priority tasks according to the preset value.
The invention has the following advantages and beneficial technical effects:
the method is used in the field of intelligent video monitoring, and has the characteristics of simple structure and easy realization. The invention considers the bandwidth resource allocation from the system level and ensures the requirement of the task of high priority operation on high definition resolution. The invention considers the occupation of bandwidth resources by long-time no-operation lines from the system level, and optimizes and allocates the resources through a combination strategy.
Based on the current common video application, the unified video monitoring platform aims to provide guarantee for services such as safety supervision and inspection. This requires integrity and correctness of the video information. According to the needs, a method for reducing the code rate until quitting based on the operation priority and considering the long-time no-operation is provided, so that the bandwidth resource is saved and effectively utilized, and support is provided for realizing video monitoring management and improving the lean level of production management.
The invention takes the bandwidth resource allocation of the system into full consideration from the overall level of the video monitoring system, allocates different priorities to different video demands, and sets a high-priority account, wherein the priority is only used for a specific account, which is suitable for the situations of leadership and accountability emergency command or urgent browsing, and when the highest-priority line is used, if the bandwidth resource is not satisfied, the video line with low priority can be given according to the priority to reduce the code rate until the video line is closed. In addition, the invention considers the conditions of no operation and bandwidth resource occupation for a long time and reduces the code rate to ensure the bandwidth resource allocation. The defect that tasks requiring high resolution cannot clearly view the field situation due to the fact that the equipment code rate is automatically adjusted according to the bandwidth resources in the prior art is overcome. The method has good popularization and can be applied to various scenes of power transmission and transformation video online monitoring. Has important significance for ensuring the safe and reliable operation of equipment, and also has wide market prospect and application value.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings of the embodiments of the present invention will be briefly described below. Wherein the drawings are only for purposes of illustrating some embodiments of the invention and are not to be construed as limiting the invention to all embodiments thereof.
FIG. 1 is a flow chart of video bitrate adjustment in the present invention;
fig. 2 is a flow chart of a combination strategy for adjusting video bitrate in the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
The invention relates to a method for adjusting code rate based on bandwidth, priority and no-operation time, in particular to a method for adjusting code rate based on bandwidth resources, operation priority, line no-operation time and other parameters, which carries out reasonable bandwidth allocation and code rate adjustment on all online tasks, and considers that the operation has different importance degrees and different priorities are required to be given in the whole system level. Assigning higher priority is important for certain video operations that require the ability to guarantee high definition resolution. In addition, the invention mainly divides the operation into different priorities, ensures that the high priority can preferentially ensure the bandwidth utilization, and simultaneously considers the situation that in practical application, the operation is finished for a long time and the bandwidth resource is still occupied, and the situation is monitored or operated without people on site to a great extent, and the reduction of the code rate can be considered until the operation is closed.
As shown in fig. 1, fig. 1 is a flow chart of the automatic video bitrate adjustment of the present invention. The invention relates to a method for adjusting code rate based on parameters such as bandwidth, priority, no-operation time and the like, which comprises the following steps:
step 1, recording the current code rates of video circuits corresponding to all current account numbers at each video starting.
Recording the current video line code rate each time a video is connected, and storing the current line video code rate and the current operation account number into a database storage table in a correlation manner; each time the code rate is modified, the association memory table needs to be updated.
And 2, judging the priority of the current operation before the current operation is carried out.
The priority is preset according to the account number, adjustment and change are not required to be given under the general condition, and if the change is required, the application is applied to a super manager through an application approval process.
And 3, allocating the bandwidth resources according to the priority.
Before allocating bandwidth resources, firstly judging the currently used bandwidth resources, and if the used total bandwidth resources do not exceed the total bandwidth allocated by a line, allowing to start a video; if the used total bandwidth resources exceed the total bandwidth allocated by the line, the bandwidth resources are adjusted according to the following steps until the bandwidth resources can meet the requirements of the current task, and the method specifically comprises the following steps:
step (1) firstly, processing is carried out according to the non-operation time of each line, and the code rate reduction processing is carried out on the non-operation line from the line with the lowest priority.
The non-operation time is calculated until the current time from the last action time of operating the ball arrangement and control equipment through a holder and the like, the code rate reduction operation is performed step by step from a low priority to a higher priority, and the video line with the longest non-operation time is selected for operation.
And (2) if the bandwidth requirement cannot be met through the strategy in the step (1), closing the low-priority and longest non-operation time line, wherein the closing operation is performed step by step from the low priority to the higher priority and is selected from the video channel with the longest non-operation time.
And (3) after the high-priority operation is finished, restoring the code rate of the line which is reduced or closed previously to the default code rate.
Example 1:
the invention relates to a method for adjusting code rate based on bandwidth, priority and no-operation time, which comprises the following steps: recording the current code rates of all current online video circuits, and adding and calculating the total used bandwidth resources of the current online video circuits; presetting a code rate for the current video circuit according to the priority, traversing the online video circuit simultaneously, judging whether the circuit has the condition of no operation for a long time one by one, and if the circuit has no operation for a long time, reducing the code rate or closing the low-priority video circuit according to the priority. After the above operations are performed, enough bandwidth resources are left for the current high-priority video line to use. In addition, the highest priority of operation is set, the priority is only used for a specific examination and approval account, such as leadership and accountability for emergency command or urgent browsing, and when the highest priority corresponds to the line usage, if the bandwidth resource is not satisfied, the video line with low priority can be given according to the priority to reduce the code rate or close the processing.
In the system corresponding to the invention, the priority level is two levels: default priority and high priority. A default priority and permission table needs to be established. The table content includes different operation authority account numbers and corresponding priorities, and the different priorities correspond to the same default initial code rate initially. And the default priority is the priority corresponding to the common authority account.
Before starting a task, the bandwidth resources currently available should be calculated first: and recording the current code rate, and calculating and updating the current occupied bandwidth resource.
The calculation mode of the total bandwidth is to accumulate the bandwidths occupied by all the online video lines and calculate the used total bandwidth.
Calculating the difference between the total allocated bandwidth of the line and the occupied bandwidth resource to obtain available bandwidth, judging whether the available bandwidth meets the bandwidth requirement of the current task operation, and if the available bandwidth meets the bandwidth requirement, starting the current task; and if the bandwidth requirement is not met, reducing the bit rate of the existing low-priority task according to a video bit rate regulation combination strategy, and storing the bit rate of the task and the account number in a corresponding table in an associated manner, wherein the table comprises information such as the current account number, a preset bit rate, the current bit rate, the last operation time and the like. As shown in fig. 2, fig. 2 is a flow chart of a combination strategy for adjusting video bitrate in the present invention.
Wherein the combined code rate strategy step comprises the steps of:
step a: the low priority task list is traversed.
And finding the task occupying the default initial bandwidth resource, and selecting the conforming task to perform code rate reduction treatment by combining the task without operation time, so that the treated code rate is lower than the default code rate.
Step b: after the strategy is executed, continuously and repeatedly judging whether the current bandwidth resource meets the bandwidth requirement, and if so, starting a new task; and if not, re-executing the combined code rate strategy until the bandwidth resources can meet the requirements of the current task.
Step c: and after the steps are finished, starting the current task.
Those of ordinary skill in the art will understand that: the discussion of any embodiment above is meant to be exemplary only, and is not intended to intimate that the scope of the disclosure, including the claims, is limited to these examples; within the idea of the invention, also features in the above embodiments or in different embodiments may be combined, steps may be implemented in any order, and there are many other variations of the different aspects of the invention as described above, which are not provided in detail for the sake of brevity.
The embodiments of the invention are intended to embrace all such alternatives, modifications and variances that fall within the broad scope of the appended claims. Therefore, any omissions, modifications, substitutions, improvements and the like that may be made without departing from the spirit and principles of the invention are intended to be included within the scope of the invention.

Claims (3)

1.基于带宽、优先级和无操作时间调节码率的方法,其特征是:包括以下步骤:1. the method for adjusting code rate based on bandwidth, priority and no-operation time, is characterized in that: comprise the following steps: 步骤1.每次视频开启时,记录所有当前账号对应的视频线路的当前码率;所述每次视频开启记录所有当前账号对应的视频线路的当前码率,包括:每次接通视频,都记录下当前视频线路码率,并将当前操作视频线路视频码率和当前操作账号关联存储;每次修改码率,需要更新该关联存储;Step 1. When each video is turned on, record the current bit rate of the video lines corresponding to all current accounts; Described each time the video is turned on, record the current bit rates of the video lines corresponding to all current accounts, including: every time the video is connected, Record the current video line bit rate, and store the current video line video bit rate in association with the current operating account; every time the bit rate is modified, the associated storage needs to be updated; 每次视频开启记录所有当前账号对应的视频线路的当前码率,具体包括:记录所有当前在线视频线路当前码率,加和计算当前在线视频线路总共使用的带宽资源;Each time the video is turned on, the current bit rate of the video lines corresponding to all the current accounts is recorded, which specifically includes: recording the current bit rate of all the current online video lines, adding and calculating the total bandwidth resources used by the current online video lines; 总带宽的计算方式是将所有在线视频线路占用带宽进行累加,计算出已使用的总带宽;The total bandwidth is calculated by accumulating the bandwidth occupied by all online video lines to calculate the total bandwidth used; 步骤2.在当前操作进行前判断当前操作的优先级;所述优先级是根据账号预设的,不予调整变更;如果变更需要通过申请审批流程向超级管理员申请;Step 2. Determine the priority of the current operation before the current operation is carried out; the priority is preset according to the account, and will not be adjusted or changed; if the change needs to be applied to the super administrator through the application approval process; 步骤3.根据优先级分配带宽资源;所述优先级分别包括默认优先级和高优先级;Step 3. Allocate bandwidth resources according to priority; Described priority includes default priority and high priority respectively; 所述根据优先级分配带宽资源,是在分配带宽资源前,首先判断目前已经使用的带宽资源,如果已经使用的总带宽资源未超过线路分配总带宽,则开启当前任务;如果使用的带宽资源已经超过线路总带宽,则对带宽资源进行调整,直至带宽资源能够满足当前任务需要;The allocation of bandwidth resources according to the priority is to first determine the currently used bandwidth resources before allocating the bandwidth resources. If the total bandwidth resources that have been used do not exceed the total bandwidth allocated by the line, the current task is started; If the total line bandwidth is exceeded, adjust the bandwidth resources until the bandwidth resources can meet the current task needs; 所述无操作时间是通过云台对布控球设备进行操作的最后一次动作时间开始计算直至当前,降码率操作从低优先级到较高优先级逐级进行,并选择最长无操作时间的视频线路进行操作;The no-operation time is calculated from the last action time of the operation of the ball control device through the PTZ until the present, and the bit-rate reduction operation is performed step by step from low priority to high priority, and the longest non-operation time is selected. video line to operate; 所述对带宽资源进行调整,是通过组合调节视频码率策略流程来实现的,所述组合调节视频码率策略包括以下步骤:The adjustment of the bandwidth resources is achieved by a combined adjustment video bit rate strategy process, and the combined video bit rate adjustment strategy includes the following steps: 步骤a:遍历低优先级任务列表;找到当前占用默认初始带宽资源的任务,同时结合该任务无操作时间,选取符合的任务进行降码率处理,使处理后的码率低于默认码率;Step a: traverse the low-priority task list; find the task currently occupying the default initial bandwidth resource, and at the same time combine the inactive time of the task, select the corresponding task to perform bit rate reduction processing, so that the processed bit rate is lower than the default bit rate; 步骤b:执行策略后,继续重复判断当前带宽资源是否满足带宽需求,如果满足则开启新任务;如果不满足,则重新执行组合码率策略,直至带宽资源能够满足当前任务需要;Step b: After executing the strategy, continue to repeatedly judge whether the current bandwidth resources meet the bandwidth requirements, and if so, start a new task; if not, re-execute the combined code rate strategy until the bandwidth resources can meet the current task needs; 步骤c:上述步骤执行完毕后,开启当前任务。Step c: After the above steps are completed, start the current task. 2.根据权利要求1所述的基于带宽、优先级和无操作时间调节码率的方法,其特征是:所述对带宽资源进行调整,包括以下步骤:2. The method for adjusting code rate based on bandwidth, priority and no-operation time according to claim 1, wherein: the bandwidth resource is adjusted, comprising the following steps: 步骤(1)根据各线路无操作时间进行处理,对无操作的线路从最低优先级的线路进行降低码率处理;Step (1) Perform processing according to the inactive time of each line, and reduce the bit rate from the lowest priority line to the inactive line; 步骤(2)如果通过步骤(1)中策略仍然不能满足带宽需求,则对低优先级及最长无操作时间线路进行关闭处理,该关闭操作从低优先级到较高优先级逐级进行,并从最长无操作时间的视频通道中选择;Step (2) If the bandwidth requirement still cannot be met through the strategy in step (1), the low-priority and longest non-operation time lines are closed, and the closing operation is performed step by step from low priority to high priority. And choose from the video channels with the longest inactivity time; 步骤(3)待高优先级操作结束后,将之前降低码率或关闭处理的线路的码率恢复为默认码率。Step (3) After the high-priority operation is completed, restore the code rate of the previously reduced code rate or closed line to the default code rate. 3.根据权利要求1所述的基于带宽、优先级和无操作时间调节码率的方法,其特征是:所述根据账号权限优先级分配带宽资源,具体包括:根据优先级给当前视频线路预设码率,同时遍历在线视频线路,逐一判断线路是否存在长时间无操作的情况,如果长时间无操作,则按优先级对低优先级的视频线路进行降低码率或者关闭处理;进行以上操作后,留出足够的带宽资源给当前高优先级视频线路使用;设立操作最高优先级,只给特定审批账号使用,该最高优先级对应线路使用时,如果带宽资源不满足,则按优先级给予优先级低的视频线路降低码率或者关闭处理;最高优先级分配最高码率,其它优先级任务按预设分配。3. the method for adjusting code rate based on bandwidth, priority and no-operation time according to claim 1, it is characterized in that: described according to account authority priority allocating bandwidth resource, specifically comprises: according to priority, give current video line pre-order. Set the bit rate, traverse the online video lines at the same time, and judge one by one whether the line has no operation for a long time. If there is no operation for a long time, reduce the bit rate or close the video line with low priority according to the priority; Carry out the above operations After that, set aside enough bandwidth resources for the current high-priority video line; set up the highest priority for operation, and only use it for specific approval accounts. When the highest priority corresponds to the line use, if the bandwidth resources are not satisfied, it will be given according to the priority. The video line with low priority reduces the bit rate or closes the processing; the highest priority is assigned the highest bit rate, and other priority tasks are assigned by default.
CN202010309119.2A 2020-04-19 2020-04-19 Method for adjusting code rate based on bandwidth, priority and no-operation time Active CN111586350B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010309119.2A CN111586350B (en) 2020-04-19 2020-04-19 Method for adjusting code rate based on bandwidth, priority and no-operation time

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010309119.2A CN111586350B (en) 2020-04-19 2020-04-19 Method for adjusting code rate based on bandwidth, priority and no-operation time

Publications (2)

Publication Number Publication Date
CN111586350A CN111586350A (en) 2020-08-25
CN111586350B true CN111586350B (en) 2021-11-09

Family

ID=72113114

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010309119.2A Active CN111586350B (en) 2020-04-19 2020-04-19 Method for adjusting code rate based on bandwidth, priority and no-operation time

Country Status (1)

Country Link
CN (1) CN111586350B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113727092B (en) * 2021-07-30 2024-04-16 深圳力维智联技术有限公司 Video monitoring quality inspection method and device based on decision tree

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101252687A (en) * 2008-03-20 2008-08-27 上海交通大学 Method for Realizing Multi-channel Combined Region of Interest Video Coding and Transmission
CN102307300A (en) * 2011-08-17 2012-01-04 杭州华三通信技术有限公司 Video connection control method and equipment
CN102946570A (en) * 2012-09-21 2013-02-27 上海交通大学 Transmission system and method for multi-stream streaming media of self-adaption network bandwidth
CN104333767A (en) * 2014-10-10 2015-02-04 厦门雅迅网络股份有限公司 Multi-channel priority control method and system for vehicle video monitoring system
EP2293568B1 (en) * 2008-05-31 2016-01-27 Huawei Technologies Co., Ltd. Method and device for controlling code rate
CN106375790A (en) * 2016-09-23 2017-02-01 西安交通大学 A QoE-driven multi-channel HAS code rate adaptive scheduling method
CN108737861A (en) * 2018-05-11 2018-11-02 浙江大学 A kind of bandwidth resources Optimal Configuration Method based on decoding priority under congested environment
CN108881972A (en) * 2018-08-01 2018-11-23 广州视源电子科技股份有限公司 Code rate allocation method, device, equipment and storage medium
CN109617836A (en) * 2018-12-29 2019-04-12 中国科学院遥感与数字地球研究所 Intelligent bandwidth allocation method and allocation system for satellite data transmission
CN109874031A (en) * 2017-12-04 2019-06-11 华平信息技术股份有限公司 Multipriority dynamic code rate method of adjustment and system based on network bandwidth prediction
CN110417680A (en) * 2019-08-16 2019-11-05 北京伏羲车联信息科技有限公司 In-vehicle networking stream data optimization method and device

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8953452B2 (en) * 2013-05-16 2015-02-10 Cisco Technology, Inc. Enhancing performance of rapid channel changes and other playback positioning changes in adaptive streaming
CN103647980B (en) * 2013-12-23 2017-02-15 合肥工业大学 Method for distributing low-bit-rate video streaming composite high definition graphic data and bandwidth of low-bit-rate video streaming composite high definition graphic data
CN107995017B (en) * 2016-10-27 2021-08-24 杭州萤石网络股份有限公司 Uplink bandwidth allocation method, device and system
CN110012324B (en) * 2019-03-28 2020-10-13 武汉大学 Code rate self-adaption method, WIFI camera, control device and code rate self-adaption system for embedded wireless video transmission

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101252687A (en) * 2008-03-20 2008-08-27 上海交通大学 Method for Realizing Multi-channel Combined Region of Interest Video Coding and Transmission
EP2293568B1 (en) * 2008-05-31 2016-01-27 Huawei Technologies Co., Ltd. Method and device for controlling code rate
CN102307300A (en) * 2011-08-17 2012-01-04 杭州华三通信技术有限公司 Video connection control method and equipment
CN102946570A (en) * 2012-09-21 2013-02-27 上海交通大学 Transmission system and method for multi-stream streaming media of self-adaption network bandwidth
CN104333767A (en) * 2014-10-10 2015-02-04 厦门雅迅网络股份有限公司 Multi-channel priority control method and system for vehicle video monitoring system
CN106375790A (en) * 2016-09-23 2017-02-01 西安交通大学 A QoE-driven multi-channel HAS code rate adaptive scheduling method
CN109874031A (en) * 2017-12-04 2019-06-11 华平信息技术股份有限公司 Multipriority dynamic code rate method of adjustment and system based on network bandwidth prediction
CN108737861A (en) * 2018-05-11 2018-11-02 浙江大学 A kind of bandwidth resources Optimal Configuration Method based on decoding priority under congested environment
CN108881972A (en) * 2018-08-01 2018-11-23 广州视源电子科技股份有限公司 Code rate allocation method, device, equipment and storage medium
CN109617836A (en) * 2018-12-29 2019-04-12 中国科学院遥感与数字地球研究所 Intelligent bandwidth allocation method and allocation system for satellite data transmission
CN110417680A (en) * 2019-08-16 2019-11-05 北京伏羲车联信息科技有限公司 In-vehicle networking stream data optimization method and device

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
实时流媒体传输系统中关键技术的研究与实现;蒋维;《中国博士学位论文全文库信息科技辑》;20180215(第02期);全文 *

Also Published As

Publication number Publication date
CN111586350A (en) 2020-08-25

Similar Documents

Publication Publication Date Title
US7751438B2 (en) Communication system bandwidth reservation management
CN106332088B (en) Spectrum sharing method based on user fairness among different operators
JPWO2020263486A5 (en)
US8924760B2 (en) Scheduler with voltage management
US20080077702A1 (en) Dynamic server stream allocation
CN101640787B (en) Method and device for hierarchical control access of multicast group
CN113810309A (en) Congestion processing method, network device and storage medium
CN104053183B (en) A kind of method for managing network resource of LTE system
CN101217484B (en) Resource distributing method and system
CN111586350B (en) Method for adjusting code rate based on bandwidth, priority and no-operation time
CN104618270A (en) Intelligent bandwidth allocation method and device
CN101114988A (en) Flow control algorithm for non-continuous emission based forecasting self-adaption multi-velocity service
CN101478486B (en) Method, equipment and system for switch network data scheduling
CN104133782B (en) A kind of digital supervision platform internal memory adaptive management method and device
CN113747102B (en) Video call processing method, device, equipment and storage medium
CN101242642B (en) Dynamic resource reservation permission control method and device for broadband wireless access system
WO2019161552A1 (en) Method for dynamically adjusting bandwidth
CN101800941B (en) Call admission control method based on multistage degradation
CN100502585C (en) Interface Call Admission Control Method in Communication System
CN102355740B (en) User channel access method in cognitive radio network
CN101360325B (en) Method and apparatus for ground resource and wireless resource combined management
WO2019119180A1 (en) Method and base station for allocating bandwidth resources
US20230134468A1 (en) Information determining method and device
CN110048957B (en) Flow control method, flow control device and virtual extended access system
Yuen et al. Real time video frames allocation in mobile networks using cooperative pre-fetching

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