CN110519553A - Video flowing transmission control method, device, electronic equipment and readable storage medium storing program for executing - Google Patents

Video flowing transmission control method, device, electronic equipment and readable storage medium storing program for executing Download PDF

Info

Publication number
CN110519553A
CN110519553A CN201810497471.6A CN201810497471A CN110519553A CN 110519553 A CN110519553 A CN 110519553A CN 201810497471 A CN201810497471 A CN 201810497471A CN 110519553 A CN110519553 A CN 110519553A
Authority
CN
China
Prior art keywords
video flowing
priority
homologous
video
flowing
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.)
Granted
Application number
CN201810497471.6A
Other languages
Chinese (zh)
Other versions
CN110519553B (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.)
Hangzhou Hikvision Digital Technology Co Ltd
Original Assignee
Hangzhou Hikvision Digital 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 Hangzhou Hikvision Digital Technology Co Ltd filed Critical Hangzhou Hikvision Digital Technology Co Ltd
Priority to CN201810497471.6A priority Critical patent/CN110519553B/en
Publication of CN110519553A publication Critical patent/CN110519553A/en
Application granted granted Critical
Publication of CN110519553B publication Critical patent/CN110519553B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/16Threshold monitoring
    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/50Queue scheduling
    • H04L47/62Queue scheduling characterised by scheduling criteria
    • H04L47/625Queue scheduling characterised by scheduling criteria for service slots or service orders
    • H04L47/6275Queue scheduling characterised by scheduling criteria for service slots or service orders based on priority
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/76Television signal recording
    • H04N5/78Television signal recording using magnetic recording
    • H04N5/781Television signal recording using magnetic recording on disks or drums
    • 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
    • H04N7/181Closed-circuit television [CCTV] systems, i.e. systems in which the video signal is not broadcast for receiving images from a plurality of remote sources

Abstract

The application provides a kind of video flowing transmission control method, device, electronic equipment and readable storage medium storing program for executing, this method comprises: being monitored to by the video flowing of the network equipment;For any video flowing, the quantity of the homologous video flowing of the video flowing is counted;Determine whether the video flowing meets pre-set priority regularization condition according to the quantity of the homologous video flowing of the video flowing;If so, the priority to the video flowing is adjusted;Control is forwarded to the video flowing according to priority adjusted.This method can reduce the realization difficulty of the control of the QoS in video flowing repeating process.

Description

Video flowing transmission control method, device, electronic equipment and readable storage medium storing program for executing
Technical field
This application involves Video Supervision Technique more particularly to a kind of video flowing transmission control method, device, electronic equipment and Readable storage medium storing program for executing.
Background technique
With the high speed development of the communication technology and monitoring technology, video monitoring using more and more extensive.Video monitoring system Front-end video acquisition device in system can acquire outer scene as video, and give rear end equipment (NVR by network transmission (Network Video Recorder, network hard disk video recorder)) video storaging equipment carries out storage and the processing such as video analysis.
In video monitoring system, user can pass through terminal device (such as PC (Personal Computer, individual calculus Machine)) forward end video capture device request video flowing;It, can be to request when front-end video acquisition device receives request message Initiator device transmitting video-frequency flow.
It is configured currently, QoS (Quality of Service, the service quality) control in video monitoring system mainly passes through The mode of ACL (Access Control List, accesses control list) strategy realizes, that complicated operation is cumbersome for configuration, and needs More professional knowledge is wanted, realizes that difficulty is larger.
Summary of the invention
In view of this, the application provides a kind of video flowing transmission control method, device, electronic equipment and readable storage medium Matter.
Specifically, the application is achieved by the following technical solution:
According to the embodiment of the present application in a first aspect, provide a kind of video flowing transmission control method, it is applied to the network equipment, This method comprises:
It is monitored to by the video flowing of the network equipment;
For any video flowing, the quantity of the homologous video flowing of the video flowing is counted;Wherein, homologous video flowing is for source IP The identical video flowing in location;
Determine whether the video flowing meets pre-set priority regularization condition according to the quantity of the homologous video flowing of the video flowing; Wherein, the quantity of the homologous video flowing of video flowing and the priority of video flowing are positively correlated;
If so, the priority to the video flowing is adjusted;
Control is forwarded to the video flowing according to priority adjusted;Wherein, the high video flowing of priority preferentially turns Hair.
Optionally, it is default preferential to determine whether the video flowing meets for the quantity of the homologous video flowing according to the video flowing Grade regularization condition, comprising:
Homologous video flowing quantity pass corresponding with priority is preset according to the inquiry of the quantity of the homologous video flowing of the video flowing System, to determine the corresponding priority of quantity of the homologous video flowing of the video flowing;
When the current priority of video flowing priority corresponding with the quantity of homologous video flowing of the video flowing is not identical When, determine that the video flowing meets pre-set priority regularization condition;
The priority of the described pair of video flowing is adjusted, comprising:
The current priority of the video flowing is adjusted to priority corresponding with the quantity of homologous video flowing of the video flowing.
Optionally, it is default preferential to determine whether the video flowing meets for the quantity of the homologous video flowing according to the video flowing Grade regularization condition, comprising:
When the quantity of the homologous video flowing of the video flowing is increased to greater than by being less than preset threshold equal to the preset threshold When, determine that the video flowing meets pre-set priority regularization condition;
The priority of the described pair of video flowing is adjusted, comprising:
The priority of the video flowing is improved according to default adjustable strategies.
Optionally, it is default preferential to determine whether the video flowing meets for the quantity of the homologous video flowing according to the video flowing Grade regularization condition, further includes:
When the quantity of the homologous video flowing of the video flowing decreases below described preset by being more than or equal to the preset threshold When threshold value, determine that the video flowing meets pre-set priority regularization condition;
The priority of the described pair of video flowing is adjusted, comprising:
The priority of the video flowing is reduced according to default adjustable strategies.
Optionally, the method also includes:
When the total flow of the video flowing of highest priority in the video flowing by the network equipment reaches the first default stream When measuring threshold value, the priority of the target video stream in the video flowing by the network equipment is improved;Wherein, the target video Stream is the most video flowing of the quantity of homologous video flowing.
Optionally, the method also includes:
The video flowing is reduced when the flow of the video flowing reaches the second preset flow threshold value for any video flowing Priority.
According to the second aspect of the embodiment of the present application, a kind of video flowing forwarding controller is provided, is applied to the network equipment, It is characterized in that, the device includes:
Monitoring unit, for being monitored to by the video flowing of the network equipment machine;
Statistic unit, for counting the quantity of the homologous video flowing of the video flowing for any video flowing;Wherein, homologous Video flowing is the identical video flowing of source IP address;
Determination unit, for the quantity according to the homologous video flowing of the video flowing determine the video flowing whether meet preset it is excellent First grade regularization condition;Wherein, the quantity of the homologous video flowing of video flowing and the priority of video flowing are positively correlated;
Adjustment unit, if meeting pre-set priority regularization condition for the video flowing, to the preferential grading of the video flowing Row adjustment;
Control unit, for being forwarded control to the video flowing according to priority adjusted;Wherein, priority is high Video flowing preferentially forwards.
Optionally, the determination unit, the quantity inquiry specifically for the homologous video flowing according to the video flowing are default same The corresponding relationship of source video stream quantity and priority, to determine the corresponding priority of quantity of the homologous video flowing of the video flowing; When the current priority of video flowing priority corresponding with the quantity of homologous video flowing of the video flowing is not identical, determining should Video flowing meets pre-set priority regularization condition
The adjustment unit, specifically for the current priority of the video flowing to be adjusted to the same source video with the video flowing The corresponding priority of the quantity of stream.
Optionally, the determination unit presets threshold by being less than specifically for the quantity of the homologous video flowing when the video flowing When value is increased to greater than equal to the preset threshold, determine that the video flowing meets pre-set priority regularization condition;
The adjustment unit, specifically for improving the priority of the video flowing according to default adjustable strategies.
Optionally, the determination unit, also particularly useful for when the video flowing homologous video flowing quantity by being more than or equal to When the preset threshold decreases below the preset threshold, determine that the video flowing meets pre-set priority regularization condition;
The adjustment unit, also particularly useful for the priority for reducing the video flowing according to default adjustable strategies.
Optionally, the adjustment unit is also used to the view when highest priority in the video flowing by the network equipment When the total flow of frequency stream reaches the first preset flow threshold value, the target video stream in the video flowing by the network equipment is improved Priority;Wherein, the target video stream video flowing most for the quantity of homologous video flowing.
Optionally, the adjustment unit is also used to preset any video flowing when the flow of the video flowing reaches second When flow threshold, the priority of the video flowing is reduced.
According to the third aspect of the embodiment of the present application, a kind of electronic equipment, including processor, communication interface, storage are provided Device and communication bus, wherein processor, communication interface, memory complete mutual communication by communication bus;
Memory, for storing computer program;
Processor when for executing the program stored on memory, realizes above-mentioned video flowing transmission control method step.
According to the fourth aspect of the embodiment of the present application, a kind of computer readable storage medium is provided, it is described computer-readable Computer program is stored in storage medium, the computer program realizes above-mentioned video flowing forwarding control when being executed by processor Method and step.
The video flowing transmission control method of the embodiment of the present application, the quantity of the homologous video flowing by counting video flowing, and The priority that video flowing is determined according to the quantity of the homologous video flowing of video flowing, when carrying out video flowing forwarding, according to video flowing Priority control is forwarded to video flowing, with the existing QoS implementation by being filtered to message using ACL strategy It compares, does not need complicated configuration, reduce the realization difficulty of the QoS control in video flowing repeating process, and can adjust automatically The priority of whole video flowing improves the flexibility of QoS realization.
Detailed description of the invention
Fig. 1 is a kind of flow chart of video flowing transmission control method shown in one exemplary embodiment of the application;
Fig. 2 is a kind of configuration diagram of concrete application scene shown in one exemplary embodiment of the application;
Fig. 3 is a kind of flow chart of video flowing transmission control method shown in one exemplary embodiment of the application;
Fig. 4 is a kind of structural schematic diagram of video flowing forwarding controller shown in one exemplary embodiment of the application;
Fig. 5 is the hardware structural diagram of a kind of electronic equipment shown in one exemplary embodiment of the application;
Fig. 6 is a kind of structural schematic diagram of video flowing forwarding controller shown in the application another exemplary embodiment;
Fig. 7 is the hardware structural diagram of a kind of electronic equipment shown in one exemplary embodiment of the application.
Specific embodiment
Example embodiments are described in detail here, and the example is illustrated in the accompanying drawings.Following description is related to When attached drawing, unless otherwise indicated, the same numbers in different drawings indicate the same or similar elements.Following exemplary embodiment Described in embodiment do not represent all embodiments consistent with the application.On the contrary, they be only with it is such as appended The example of the consistent device and method of some aspects be described in detail in claims, the application.
It is only to be not intended to be limiting the application merely for for the purpose of describing particular embodiments in term used in this application. It is also intended in the application and the "an" of singular used in the attached claims, " described " and "the" including majority Form, unless the context clearly indicates other meaning.
In order to make those skilled in the art more fully understand technical solution provided by the embodiments of the present application, and keep the application real The above objects, features, and advantages for applying example can be more obvious and easy to understand, with reference to the accompanying drawing to technical side in the embodiment of the present application Case is described in further detail.
It referring to Figure 1, is a kind of flow diagram of video flowing transmission control method provided by the embodiments of the present application, In, which can be applied to the network equipment, such as routing device, three-tier switch have three layers of forwarding The network equipment of ability, as shown in Figure 1, the video flowing transmission control method may include:
For ease of understanding, it is illustrated so that the executing subject of step S100~S140 is three-tier switch as an example below.
Step S100, it is monitored to by the video flowing of the network equipment.
In the embodiment of the present application, for the message by three-tier switch, three-tier switch can be carried according in message Protocol information or/and port information determine whether message is video flowing.
Step S110, for any video flowing, the quantity of the homologous video flowing of the video flowing is counted;Wherein, same to source video Stream is the identical video flowing of source IP address.
In the embodiment of the present application, for any video flowing by three-tier switch, the available view of three-tier switch The source IP address and purpose IP address of frequency stream, determine whether the video flowing is deposited according to the IP address of the video flowing and purpose IP address In other homologous video flowings, and count the quantity of the homologous video flowing of the video flowing.
As an example it is assumed that by the video flowing for being altogether IP1 including 3 road source IP address in the video flowing of three-tier switch (assuming that respectively video flowing a~c), purpose IP address is respectively IP2~IP4, then for video flowing a, video flowing b or video C is flowed, the quantity of its homologous video flowing of three-tier switch statistics is 3 tunnels.
Wherein, for any video flowing, when other homologous video flowings are not present in it, i.e., there is no other source IP address and this The source IP address of video is identical, when the purpose IP address video flowing different from the purpose IP address of the video flowing, the video flowing The quantity of homologous video flowing is 1 tunnel.
It should be noted that in the embodiment of the present application, the purpose IP address of the homologous video flowing of multichannel can it is identical (as The multi-path video stream of the same front-end video acquisition device (such as IPC) of one client request), it can not also identical (such as different visitors The same front-end video acquisition device multi-path video stream of family end request).
For ease of understanding, it is hereinafter illustrated so that the purpose IP address of homologous video flowing is different as an example.
Step S120, determine whether the video flowing meets pre-set priority according to the quantity of the homologous video flowing of the video flowing Regularization condition.If so, going to step S130;Otherwise, terminate current process.
In the embodiment of the present application, it is contemplated that for the video flowing of a certain video source, when the preview of the video flowing of the video source When number of request increases when (quantity of the corresponding homologous video flowing of the video source increases), it is believed that the timeliness of the video flowing It is improved with significance level.
For example, for front-end video acquisition device IPC (Internet Protocol Camera, web camera) 1, when only a PC requests the video flowing of the IPC, the quantity of the corresponding homologous video flowing of the IPC is 1 tunnel;When there is N (N > 1) when a PC requests the video flowing of the IPC, (source IP address is the IP address of IPC1, destination IP to the corresponding homologous video flowing of the IPC Address is respectively the IP address of each PC) homologous video flowing quantity be the road N.When N reaches certain amount, it is believed that IPC1 Critical event (such as traffic accident occurs for certain crossroad) may occur for the region of monitoring, at this point it is possible to which the video flowing is true It is set to hot video stream (all homologous video flowings of the video flowing are used as hot video stream).
Correspondingly, in the embodiment of the present application, in order to guarantee that hot video can be forwarded normally, three-tier switch can To determine the priority of video flowing according to the quantity of the homologous video flowing of video flowing, to guarantee a fairly large number of of homologous video flowing Video flowing energy priority with higher, so that it can preferentially be forwarded when flow congestion occurs.
Wherein, the priority of video flowing can be positively correlated with the quantity of the homologous video flowing of video flowing.
In order to which the quantity for realizing according to the homologous video flowing of video flowing determines the priority of video flowing, in the embodiment of the present application In, priority regularization condition (referred to herein as pre-set priority regularization condition) can be preset in three-tier switch, with Just it is default preferential can to meet this to the quantity of homologous video flowing automatically according to the pre-set priority regularization condition for three-tier switch The video flowing of grade regularization condition carries out priority adjustment.
Accordingly for any video flowing, three-tier switch can be determined according to the quantity of the homologous video flowing of video flowing Whether the video flowing meets pre-set priority regularization condition, if so, going to step S130;Otherwise, not to the excellent of the video flowing First grade is adjusted.
Step S130, the priority of the video flowing is adjusted.
In the embodiment of the present application, when three-tier switch determines that the video flowing is full according to the quantity of the homologous video flowing of video flowing When sufficient pre-set priority regularization condition, three-tier switch can be adjusted the priority of the video flowing.
The application in one embodiment, the quantity of the above-mentioned homologous video flowing according to the video flowing determines the video Whether stream meets pre-set priority regularization condition, may include:
Homologous video flowing quantity pass corresponding with priority is preset according to the inquiry of the quantity of the homologous video flowing of the video flowing System, to determine the corresponding priority of quantity of the homologous video flowing of the video flowing;
When the current priority of video flowing priority corresponding with the quantity of homologous video flowing of the video flowing is not identical When, determine that the video flowing meets pre-set priority regularization condition.
Correspondingly, in this embodiment, the above-mentioned priority to video flowing is adjusted, and may include:
The current priority of the video flowing is adjusted to priority corresponding with the quantity of homologous video flowing of the video flowing.
In this embodiment, in order to realize that three-tier switch determines video flowing according to the quantity of the homologous video flowing of video flowing Priority, the quantity of the homologous video flowing of video flowing and the priority of video flowing can be set on three-tier switch in advance Corresponding relationship (referred to herein as presets the corresponding relationship of homologous video flowing quantity and priority).
For example, this presets homologous video flowing quantity and the corresponding relationship of priority can be as shown in table 1:
Table 1
Homologous video flowing quantity Priority
(0, N1] Pri1
(N1, N2] Pri2
Wherein, N1 >=1, N2 > N1, Pri2 are higher than Pri1.
Correspondingly, in this embodiment, for any video flowing, when three-tier switch has determined the homologous view of the video flowing When the quantity of frequency stream, it can be inquired according to the quantity of the homologous video flowing of the video flowing and preset homologous video flowing quantity and priority Corresponding relationship, with determine the video flowing homologous video flowing the corresponding priority of quantity.
For example, for the corresponding relationship of homologous video flowing quantity and priority shown in the table 1, it is assumed that priority determines The quantity of the homologous video flowing of video flowing a is the road N3, and N1 < N3≤N2, then three-tier switch can determine video flowing a (and view Frequency flow a other homologous video flowings) priority be Pri2.
In this embodiment, when three-tier switch has determined the quantity of the homologous video flowing of video flowing corresponding priority, The current priority of video flowing priority corresponding with the quantity of homologous video flowing of the video flowing can be compared, if the two is not Identical, then three-tier switch determines that the video flowing meets pre-set priority regularization condition, at this point, three-tier switch can be by the view Frequency flows current priority and is adjusted to priority corresponding with the quantity of homologous video flowing of the video flowing.
For the still above example, it is assumed that video flowing a current priority is Pri1, then three-tier switch can determine view Frequency stream a needs to carry out priority adjustment, and the priority of video flowing a is adjusted to Pri2.
In another embodiment of the application, whether which is determined according to the quantity of the homologous video flowing of the video flowing Meet pre-set priority regularization condition, may include:
When the quantity of the homologous video flowing of the video flowing is increased to greater than by being less than preset threshold equal to preset threshold, really The fixed video flowing meets pre-set priority regularization condition;
Correspondingly, in this embodiment, the above-mentioned priority to the video flowing is adjusted, and may include:
The priority of the video flowing is improved according to default adjustable strategies.
In this embodiment, in order to realize that three-tier switch determines video flowing according to the quantity of the homologous video flowing of video flowing Priority, threshold value (the referred to herein as default threshold for being used to determine whether to need to carry out priority adjustment can be preset Value), three-tier switch can be determined the need for according to the quantity and preset threshold of the homologous video flowing of video flowing to video flowing Carry out priority adjustment.
Correspondingly, in this embodiment, for any video flowing, when three-tier switch determines the same source video of the video flowing When the quantity of stream is increased to greater than by being less than preset threshold equal to preset threshold, three-tier switch can determine that the video flowing meets Pre-set priority regularization condition.
As an example it is assumed that preset threshold is 5, then when three-tier switch determine the quantity of the homologous video flowing of video flowing by When increasing to 5 tunnels or 5 tunnels or more less than 5 tunnels, three-tier switch can determine that the video flowing meets pre-set priority regularization condition.
In this embodiment, when three-tier switch determines that the quantity of the homologous video flowing of video flowing is increased by being less than preset threshold When adding to more than or equal to preset threshold, three-tier switch can improve the priority of the video flowing according to default adjustable strategies.
Wherein, which can be regarded to increase a numerical value on the basis of priority before adjustment with improving The priority (higher with numerical priority value, for priority is higher, similarly hereinafter) of frequency stream, or, improving priority to preset value.
Further, in this embodiment, the quantity of the above-mentioned homologous video flowing according to the video flowing determines the video flowing Whether meet pre-set priority regularization condition, can also include:
When the quantity of the homologous video flowing of the video flowing decreases below preset threshold by being more than or equal to preset threshold, really The fixed video flowing meets pre-set priority regularization condition;
Correspondingly, the above-mentioned priority to the video flowing is adjusted, and may include:
The priority of the video flowing is reduced according to default adjustable strategies.
In this embodiment, when three-tier switch determines the quantity of the homologous video flowing of video flowing by being more than or equal to default threshold When value decreases below preset threshold, three-tier switch can also determine that the video flowing meets pre-set priority regularization condition, this When, three-tier switch can reduce the priority of the video flowing according to default adjustable strategies.
For the still above example, when three-tier switch determines the quantity of the homologous video flowing of video flowing by being more than or equal to 5 When road decreases below 5 tunnel, three-tier switch can determine that the video flowing meets pre-set priority regularization condition, and reduce the view The priority of frequency stream.
Wherein, which can be regarded to reduce by a numerical value on the basis of priority before adjustment with reducing The priority of frequency stream, or, priority is reduced to preset value.
It should be noted that in the embodiment of the present application, above-mentioned preset threshold can also include multiple threshold values, for example, in advance If threshold value may include the first preset threshold, the second preset threshold ....When three-tier switch determines the homologous video flowing of video flowing Quantity when different preset thresholds upper and lower changes, three-tier switch can be correspondingly to the preferential grading of the video flowing Row adjustment.
As an example it is assumed that above-mentioned preset threshold includes the first preset threshold (being assumed to be 3 tunnels) and the second preset threshold (5 Road), corresponding priority is respectively 6 and 5, and the initial priority of video flowing is 3, then for any video flowing, when the video flowing Homologous video flowing quantity by being more than or equal to 3 tunnels less than 3 tunnel value addeds, but be less than 5 tunnels, when such as 4 tunnel, three-tier switch can Being improved the priority of the video flowing by 3 to 5;When the quantity of the homologous video flowing of the video flowing continues growing, and be greater than etc. In 5 tunnels, when such as increasing to 6 tunnel, three-tier switch can further be improved the priority of the video flowing to 6 by 5.
Similarly, decrease below 5 tunnels by being more than or equal to 5 tunnels when the quantity of the homologous video flowing of the video flowing, but be greater than etc. When 3 tunnels, such as 4 tunnel, the priority of the video flowing can be reduced to 5 by 6 by three-tier switch;When the same source video of the video flowing The quantity of stream continues to reduce, and decreases below 3 tunnels, and when being such as reduced to 2 tunnel, three-tier switch can be by the preferential of the video flowing Grade is reduced to 3 by 5.
Again as an example it is assumed that above-mentioned preset threshold includes the first preset threshold (being assumed to be 3 tunnels) and the second preset threshold (5 tunnel), preset adjustable strategies are that 2 are increased or decreased when adjusting priority each time, and the initial priority of video flowing is 2, then For any video flowing, when the video flowing homologous video flowing quantity by being more than or equal to 3 tunnels less than 3 tunnel value addeds, but it is small When 5 tunnels, such as 4 tunnel, three-tier switch can be improved the priority of the video flowing to 4 by 2;When the same source video of the video flowing The quantity of stream continues growing, and is more than or equal to 5 tunnels, and when such as increasing to 6 tunnel, three-tier switch can be further by the video flowing Priority is improved by 4 to 6.
Similarly, decrease below 5 tunnels by being more than or equal to 5 tunnels when the quantity of the homologous video flowing of the video flowing, but be greater than etc. When 3 tunnels, such as 4 tunnel, the priority of the video flowing can be reduced to 4 by 6 by three-tier switch;When the same source video of the video flowing The quantity of stream continues to reduce, and decreases below 3 tunnels, and when being such as reduced to 2 tunnel, three-tier switch can be by the preferential of the video flowing Grade is reduced to 2 by 4.
Step S140, control is forwarded to the video flowing according to priority adjusted;Wherein, the high video of priority The preferential forwarding of stream.
In the embodiment of the present application, for each road video flowing by three-tier switch, three-tier switch can be according to each road The priority of video flowing is forwarded control to each road video flowing.
Wherein, when there are multichannel priority different video flowing, three-tier switch can preferentially forward high priority Video flowing.
In the embodiment of the present application, for having carried out the video flowing of priority adjustment, three-tier switch can be according to the video It flows priority adjusted and control is forwarded to the video flowing.
As it can be seen that in method flow shown in Fig. 1, the quantity of the homologous video flowing by counting video flowing, and according to video The quantity of the homologous video flowing of stream determines the priority of video flowing, when carrying out video flowing forwarding, according to the priority of video flowing Control is forwarded to video flowing, compared with the existing QoS implementation by being filtered using ACL strategy to message, no Complicated configuration is needed, reduces the realization difficulty of the QoS control in video flowing repeating process, and the network equipment can be adjusted automatically The priority of whole video flowing improves the flexibility of QoS realization.
Further, in the embodiment of the present application, it is contemplated that, may when the quantity for the video flowing that priority improves is more The flow (flow for needing preferentially to forward) of the video flowing of appearance highest priority reaches the forwarding upper limit of three-tier switch Situation, at this point, still not can guarantee the forwarding of particular video stream.
Correspondingly, the application in one embodiment, above-mentioned video flowing transmission control method can also include:
When the total flow of the video flowing of highest priority in the video flowing by three-tier switch reaches the first preset flow When threshold value, the priority of the target video stream in the video flowing by three-tier switch is improved;Wherein, which is same The most video flowing of the quantity of source video stream.
In this embodiment, it is contemplated that when the quantity of the homologous video flowing of video flowing is more, the significance level of the video flowing It is higher, therefore, in order to guarantee that the most video flowing of the quantity of homologous video flowing can be forwarded preferentially, when three-tier switch is true The total flow of the video flowing of highest priority in the video flowing forwarded is needed to reach preset flow threshold value (referred to herein as first calmly Preset flow threshold value, occurrence can be set according to actual scene, and such as the 90% of uplink outlet bandwidth or upstream egress bandwidth Deng) when, three-tier switch can continue to improve most video flowing (the referred to herein as target video of quantity of homologous video flowing Stream) priority, so that target video stream can be forwarded preferentially.
As an example it is assumed that preset priority adjustable strategies are the view that the quantity of homologous video flowing is more than or equal to 5 tunnels The priority adjustment 6 of frequency stream, the priority less than the video flowing on 5 tunnels is 3, then when a certain moment, by the view of three-tier switch The video flowing that priority is 6 in frequency stream is (assuming that include the video flowing and homeologous view that the quantity of homeologous video flowing is 5 tunnels The quantity of frequency stream is the video flowing on 6 tunnels) total flow when reaching the first preset flow threshold value, three-tier switch can continue to improve The quantity of homologous video flowing is the priority of the video flowing on 6 tunnels, its priority is risen to 6 or more, is such as improved to 8.
It should be noted that in the embodiment of the present application, when homologous video flowing in the video flowing by three-tier switch When the total flow of the most video flowing of quantity reaches the first preset threshold, at this point, three-tier switch can no longer re-start it is excellent First grade adjustment, alternatively, three-tier switch can improve priority according to other policy selection part video flowings again, tool Body realizes that this will not be repeated here.
Further, it is contemplated that when Network Abnormal occurs or attack equipment occurs, it is possible that certain road video flowing The excessively high situation of flow leads to the normal transmission for influencing other video flowings, and therefore, the single channel video flowing excessively high for flow needs Its priority is reduced, the normal transmission of other video flowings is influenced to avoid it.
Correspondingly, the application in one embodiment, above-mentioned video flowing transmission control method can also include:
The video flowing is reduced when the flow of the video flowing reaches the second preset flow threshold value for any video flowing Priority.
In this embodiment, when three-tier switch monitors that the flow of certain road video flowing reaches preset flow threshold value (herein In be known as the second preset flow threshold value, occurrence can be set according to actual scene, such as the flow of normal single channel video flowing Twice, three times etc.), three-tier switch can determine that the video flowing is anomalous video stream, at this point, three-tier switch can reduce this The priority of video flowing influences the normal transmission of other video flowings to avoid it.
Preferably, priority when three-tier switch reduces the priority of the video flowing, after the video flowing can be made to reduce Lower than the priority of other each road video flowings.
It should be noted that in the embodiment of the present application, when the flow for certain road video flowing occur reaches the second preset flow Threshold value, and the video flowing is there are when other homologous video flowings, it, can not when counting the quantity of homologous video flowing of the video flowing Including the video stream statistics.
As an example it is assumed that being IP1 by source IP address in three-tier switch video flowing, but purpose IP address is different Video flowing includes video flowing a~d, and the flow of video flowing a reaches the second preset flow threshold value, then the corresponding same source video of IP1 The quantity of stream is 3 tunnels (i.e. video flowing b~d).
In order to make those skilled in the art more fully understand technical solution provided by the embodiments of the present application, below with reference to specific Application scenarios are illustrated technical solution provided by the embodiments of the present application.
Fig. 2 is referred to, is a kind of configuration diagram of concrete application scene provided by the embodiments of the present application, in the embodiment In, turn control separation and centralized management to realize, Openflow agreement is used in video monitoring system, is assisted based on Openflow View realizes the forwarding control of video flowing.
As shown in Fig. 2, split the control plane and Forwarding plane of three-tier switch in the application scenarios, In, control plane is realized by controller (i.e. Openflow controller), and Forwarding plane passes through convergence switch and Openflow Interchanger is realized.
In this embodiment, when Openflow networking initialization operation, on convergence switch and Openflow interchanger still The flow table for instructing message to forward is not issued, at this point, when convergence switch and Openflow interchanger receive message, such as PC When the preview request message sent to camera (such as IPC), convergence switch and Openflow interchanger need to encapsulate message After be sent to controller, issue flow table from controller to convergence switch and Openflow interchanger, in turn, convergence switch and The flow table that Openflow interchanger can be issued according to controller instructs message to forward, and specific implementation may refer to existing Related realization in Openflow agreement, this will not be repeated here for the embodiment of the present application.
Fig. 3 is referred to, for a kind of video flowing forwarding control based on application scenarios shown in Fig. 2 provided by the embodiments of the present application The flow diagram of method, as shown in figure 3, the video flowing transmission control method can be applied to controller, as shown in figure 3, should Video flowing transmission control method may comprise steps of:
Step S300, for the target switching equipment for needing to carry out flow forwarding control any in networking, to by target The video flowing of switching equipment is monitored.
In the embodiment of the present application, target switching equipment can be convergence switch or any Openflow interchanger.
In the embodiment of the present application, controller can be monitored to by the message of target switching equipment, and according to message The protocol information or/and port information of middle carrying determine whether message is video flowing.
Step S310, for any video flowing by target switching equipment, the homologous video flowing of the video flowing is counted Quantity;Wherein, homologous video flowing is the identical video flowing of source IP address.
In the embodiment of the present application, for any video flowing by target switching equipment, the available video of controller The source IP address and purpose IP address of stream determine that the video flowing whether there is according to the IP address of the video flowing and purpose IP address Other homologous video flowings, and count the quantity of the homologous video flowing of the video flowing.
Step S320, determine whether the video flowing meets pre-set priority according to the quantity of the homologous video flowing of the video flowing Regularization condition.If so, going to step S330;Otherwise, terminate current process.
In the embodiment of the present application, it is contemplated that for the video flowing of a certain video source, when the preview of the video flowing of the video source When number of request increases when (quantity of the corresponding homologous video flowing of the video source increases), it is believed that the timeliness of the video flowing It is improved with significance level.
Correspondingly, in the embodiment of the present application, in order to guarantee that hot video can be forwarded normally, controller can root Determine the priority of video flowing, according to the quantity of the homologous video flowing of video flowing to guarantee a fairly large number of video of homologous video flowing Stream energy priority with higher, so that it can preferentially be forwarded when flow congestion occurs.
Wherein, the priority of video flowing can be positively correlated with the quantity of the homologous video flowing of video flowing.
In order to which the quantity for realizing according to the homologous video flowing of video flowing determines the priority of video flowing, in the embodiment of the present application In, priority regularization condition (i.e. pre-set priority regularization condition) can be preset, in the controller so that controller can be with Meet the video of the pre-set priority regularization condition to the quantity of homologous video flowing automatically according to the pre-set priority regularization condition Flow into the adjustment of row major grade.
Accordingly for any video flowing, controller can determine the view according to the quantity of the homologous video flowing of video flowing Whether frequency stream meets pre-set priority regularization condition, if so, going to step S330;Otherwise, not to the priority of the video flowing It is adjusted.
Step S330, the priority of the video flowing is adjusted, so that target switching equipment is according to adjusted preferential Grade is forwarded control to the video flowing;Wherein, the high video flowing of priority preferentially forwards.
In the embodiment of the present application, when controller determines that the video flowing meets in advance according to the quantity of the homologous video flowing of video flowing When setting priority regularization condition, controller can be adjusted the priority of the video flowing.
The application in one embodiment, the quantity of the above-mentioned homologous video flowing according to the video flowing determines the video Whether stream meets pre-set priority regularization condition, may include:
Homologous video flowing quantity pass corresponding with priority is preset according to the inquiry of the quantity of the homologous video flowing of the video flowing System, to determine the corresponding priority of quantity of the homologous video flowing of the video flowing;
When the current priority of video flowing priority corresponding with the quantity of homologous video flowing of the video flowing is not identical When, determine that the video flowing meets pre-set priority regularization condition.
Correspondingly, in this embodiment, the above-mentioned priority to video flowing is adjusted, and may include:
The current priority of the video flowing is adjusted to priority corresponding with the quantity of homologous video flowing of the video flowing.
In this embodiment, in order to realize that controller determines the excellent of video flowing according to the quantity of the homologous video flowing of video flowing The corresponding relationship of the quantity of the homologous video flowing of video flowing and the priority of video flowing can be arranged in first grade on the controller in advance (presetting the corresponding relationship of homologous video flowing quantity and priority).
Correspondingly, in this embodiment, for any video flowing, when controller has determined the homologous video flowing of the video flowing Quantity when, can be inquired according to the quantity of the homologous video flowing of the video flowing and preset pair of homologous video flowing quantity and priority It should be related to, to determine the corresponding priority of quantity of the homologous video flowing of the video flowing.
For example, for the corresponding relationship of homologous video flowing quantity and priority shown in the table 1, it is assumed that priority determines The quantity of the homologous video flowing of video flowing a is the road N3, and N1 < N3≤N2, then controller can determine video flowing a (and video flowing Other homologous video flowings of a) priority be Pri2.
It in this embodiment, can be with when controller has determined the quantity of the homologous video flowing of video flowing corresponding priority Compare the current priority of video flowing priority corresponding with the quantity of homologous video flowing of the video flowing, if the two not phase Together, then controller determines that the video flowing meets pre-set priority regularization condition, at this point, controller can be current by the video flowing Priority is adjusted to priority corresponding with the quantity of homologous video flowing of the video flowing.
For the still above example, it is assumed that video flowing a current priority is Pri1, then controller can determine video flowing A needs to carry out priority adjustment, and the priority of video flowing a is adjusted to Pri2.
In another embodiment of the application, whether which is determined according to the quantity of the homologous video flowing of the video flowing Meet pre-set priority regularization condition, may include:
When the quantity of the homologous video flowing of the video flowing is increased to greater than by being less than preset threshold equal to preset threshold, really The fixed video flowing meets pre-set priority regularization condition;
Correspondingly, in this embodiment, the above-mentioned priority to the video flowing is adjusted, and may include:
The priority of the video flowing is improved according to default adjustable strategies.
In this embodiment, in order to realize that controller determines the excellent of video flowing according to the quantity of the homologous video flowing of video flowing First grade can preset the threshold value (referred to herein as preset threshold) for being used to determine whether to need to carry out priority adjustment, control Device processed can determine the need for carrying out priority to video flowing according to the quantity and preset threshold of the homologous video flowing of video flowing Adjustment.
Correspondingly, in this embodiment, for any video flowing, when controller determines the homologous video flowing of the video flowing When quantity is increased to greater than by being less than preset threshold equal to preset threshold, it is default preferential that controller can determine that the video flowing meets Grade regularization condition.
In this embodiment, when controller determines the quantity of the homologous video flowing of video flowing by increasing to less than preset threshold When more than or equal to preset threshold, controller can improve the priority of the video flowing according to default adjustable strategies.
Wherein, which can be regarded to increase a numerical value on the basis of priority before adjustment with improving The priority of frequency stream, or, improving priority to preset value.
Further, in this embodiment, the quantity of the above-mentioned homologous video flowing according to the video flowing determines the video flowing Whether meet pre-set priority regularization condition, can also include:
When the quantity of the homologous video flowing of the video flowing decreases below preset threshold by being more than or equal to preset threshold, really The fixed video flowing meets pre-set priority regularization condition;
Correspondingly, the above-mentioned priority to the video flowing is adjusted, and may include:
The priority of the video flowing is reduced according to default adjustable strategies.
In this embodiment, when controller determines that the quantity of the homologous video flowing of video flowing is dropped by being more than or equal to preset threshold Down to when being less than preset threshold, controller can also determine that the video flowing meets pre-set priority regularization condition, at this point, controller The priority of the video flowing can be reduced according to default adjustable strategies.
Wherein, which can be regarded to reduce by a numerical value on the basis of priority before adjustment with reducing The priority of frequency stream, or, priority is reduced to preset value.
It should be noted that in the embodiment of the present application, above-mentioned preset threshold can also include multiple threshold values, for example, in advance If threshold value may include the first preset threshold, the second preset threshold ....When controller determines the number of the homologous video flowing of video flowing It measures when different preset thresholds upper and lower changes, controller can correspondingly be adjusted the priority of the video flowing.
In the embodiment of the present application, for each road video flowing by target switching equipment, target switching equipment can basis The priority of each road video flowing is forwarded control to each road video flowing.
Wherein, when there are multichannel priority different video flowing, target switching equipment can preferentially forward high priority Video flowing.
In the embodiment of the present application, for having carried out the video flowing of priority adjustment, target switching equipment can be according to the view Frequency flows priority adjusted and is forwarded control to the video flowing.
As it can be seen that in method flow shown in Fig. 3, the quantity of the homologous video flowing by counting video flowing, and according to video The quantity of the homologous video flowing of stream determines the priority of video flowing, when carrying out video flowing forwarding, according to the priority of video flowing Control is forwarded to video flowing, compared with the existing QoS implementation by being filtered using ACL strategy to message, no Complicated configuration is needed, reduces the realization difficulty of the QoS control in video flowing repeating process, and controller can be with adjust automatically The priority of video flowing improves the flexibility of QoS realization.
Further, in the embodiment of the present application, it is contemplated that, may when the quantity for the video flowing that priority improves is more The flow (flow for needing preferentially to forward) for the video flowing of highest priority occur reaches the forwarding upper limit of target switching equipment The case where, at this point, still not can guarantee the forwarding of particular video stream.
Correspondingly, the application in one embodiment, above-mentioned video flowing transmission control method can also include:
When the total flow of the video flowing of highest priority in the video flowing by target switching equipment reaches the first default stream When measuring threshold value, the priority of the target video stream in the video flowing by target switching equipment is improved;Wherein, the target video stream For the most video flowing of the quantity of homologous video flowing.
In this embodiment, it is contemplated that when the quantity of the homologous video flowing of video flowing is more, the significance level of the video flowing It is higher, therefore, in order to guarantee that the most video flowing of the quantity of homologous video flowing can be forwarded preferentially, needed when controller determines When the total flow of the video flowing of highest priority reaches the first preset flow threshold value in the video flowing to be forwarded, controller can be after The priority of the most video flowing (referred to herein as target video stream) of the continuous quantity for improving homologous video flowing, so as to target video Stream can be forwarded preferentially.
For example, upstream egress bandwidth is 100M, and every video flowing occupies 4M bandwidth, when there are 5 IPC to have simultaneously When 4 tunnel preview, 20 road video flowings have reached preset 80M threshold value, it is assumed that this 20 road video flow priority has been raised to 5, at this point, if improving the preferential of 5 road video flowings of the video flowing when wherein the preview number of the video of 1 IPC increases to 5 tunnel Grade is 6, and it is constant that the priority of remaining video flowing is maintained at 5.
Further, it is contemplated that when Network Abnormal occurs or attack equipment occurs, it is possible that certain road video flowing The excessively high situation of flow leads to the normal transmission for influencing other video flowings, and therefore, the single channel video flowing excessively high for flow needs Its priority is reduced, the normal transmission of other video flowings is influenced to avoid it.
Correspondingly, the application in one embodiment, above-mentioned video flowing transmission control method can also include:
For any video flowing by target switching equipment, when the flow of the video flowing reaches the second preset flow threshold value When, reduce the priority of the video flowing.
In this embodiment, when the flow of monitoring control devices to certain road video flowing reaches the second preset flow threshold value, control Device can determine that the video flowing is anomalous video stream, at this point, controller can reduce the priority of the video flowing, to avoid its shadow Ring the normal transmission of other video flowings.
Preferably, when controller reduces the priority of the video flowing, the priority after the video flowing can be made to reduce is lower than The priority of other each road video flowings.
In the embodiment of the present application, the quantity of the homologous video flowing by counting video flowing, and according to the homologous view of video flowing The quantity of frequency stream determines that the priority of video flowing flows into video according to the priority of video flowing when carrying out video flowing forwarding Row forwarding control does not need complexity compared with the existing QoS implementation by being filtered using ACL strategy to message Configuration, reduce in video flowing repeating process QoS control realization difficulty, and can with the priority of adjust automatically video flowing, Improve the flexibility of QoS realization.
Method provided by the present application is described above.Device provided by the present application is described below:
Fig. 4 is referred to, is a kind of structural schematic diagram of video flowing forwarding controller provided by the embodiments of the present application, In, which can be applied to the network equipment in above method embodiment, as shown in figure 4, the video Flowing forwarding controller may include:
Monitoring unit 410, for being monitored to by the video flowing of the network equipment;
Statistic unit 420, for counting the quantity of the homologous video flowing of the video flowing for any video flowing;Wherein, together Source video stream is the identical video flowing of source IP address;
It is pre- to determine whether the video flowing meets for the quantity according to the homologous video flowing of the video flowing for determination unit 430 Setting priority regularization condition;Wherein, the quantity of the homologous video flowing of video flowing and the priority of video flowing are positively correlated;
Adjustment unit 440, if meeting pre-set priority regularization condition for the video flowing, to the priority of the video flowing It is adjusted;
Control unit 450, for being forwarded control to the video flowing according to priority adjusted;Wherein, priority High video flowing preferentially forwards.
In a kind of optional embodiment, the determination unit 430, specifically for the same source video according to the video flowing The corresponding relationship of homologous video flowing quantity and priority is preset in the quantity inquiry of stream, with the homologous video flowing of the determining video flowing The corresponding priority of quantity;When the current priority of the video flowing is corresponding with the quantity of homologous video flowing of the video flowing preferential When grade is not identical, determine that the video flowing meets pre-set priority regularization condition
The adjustment unit 440, specifically for the current priority of the video flowing is adjusted to homologous with the video flowing The corresponding priority of the quantity of video flowing.
In a kind of optional embodiment, the determination unit 430, specifically for working as the homologous video flowing of the video flowing Quantity by be less than preset threshold increase to greater than equal to the preset threshold when, determine that the video flowing meets pre-set priority tune Shelf-regulating Conditions;
The adjustment unit 440, specifically for improving the priority of the video flowing according to default adjustable strategies.
In a kind of optional embodiment, the determination unit 430, also particularly useful for the same source video for working as the video flowing When the quantity of stream decreases below the preset threshold by being more than or equal to the preset threshold, it is excellent to determine that video flowing satisfaction is preset First grade regularization condition;
The adjustment unit 440, also particularly useful for the priority for reducing the video flowing according to default adjustable strategies.
In a kind of optional embodiment, the adjustment unit 440 is also used to when the video by the network equipment When the total flow of the video flowing of highest priority reaches the first preset flow threshold value in stream, the view by the network equipment is improved The priority of target video stream in frequency stream;Wherein, the target video stream video flowing most for the quantity of homologous video flowing.
In a kind of optional embodiment, the adjustment unit 440 is also used to for any video flowing, when the video When the flow of stream reaches the second preset flow threshold value, the priority of the video flowing is reduced.
Fig. 5 is referred to, is the hardware structural diagram of a kind of electronic equipment provided by the embodiments of the present application.The electronic equipment It may include processor 501, communication interface 502, memory 503 and communication bus 504.Processor 501, communication interface 502 with And memory 503 completes mutual communication by communication bus 504.Wherein, storage has computer program on memory 503; Processor 501 can be realized and be described in embodiment of the method corresponding to Fig. 1 by executing the program stored on memory 503 Video flowing transmission control method.
Memory 503 referred to herein can be any electronics, magnetism, optics or other physical storage devices, can be with Include or store information, such as executable instruction, data, etc..For example, memory 502 may is that RAM (Radom Access Memory, random access memory), volatile memory, nonvolatile memory, flash memory, memory driver (such as hard drive Device), solid state hard disk, any kind of storage dish (such as CD, dvd) perhaps similar storage medium or their group It closes.
The embodiment of the present application also provides a kind of machine readable storage mediums for being stored with computer program, such as in Fig. 5 Memory 503, the computer program processor 501 in electronic equipment can execute as shown in Figure 5 to realize corresponding to Fig. 1 Embodiment of the method described in video flowing transmission control method.
Fig. 6 is referred to, is a kind of structural schematic diagram of video flowing forwarding controller provided by the embodiments of the present application, In, which can be applied to the controller in above method embodiment, as shown in fig. 6, the video flowing Forwarding controller may include:
Monitoring unit 610, for in the networking it is any need to carry out flow forwarding control target switching equipment, It is monitored to by the video flowing of the target switching equipment;
Statistic unit 620, for counting the same of the video flowing for any video flowing by the target switching equipment The quantity of source video stream;Wherein, homologous video flowing is the identical video flowing of source IP address;
It is pre- to determine whether the video flowing meets for the quantity according to the homologous video flowing of the video flowing for determination unit 630 Setting priority regularization condition;Wherein, the quantity of the homologous video flowing of video flowing and the priority of video flowing are positively correlated;
Adjustment unit 640, if meeting pre-set priority regularization condition for the video flowing, to the priority of the video flowing It is adjusted, so that the target switching equipment is forwarded control to the video flowing according to priority adjusted;Wherein, excellent The high video flowing of first grade preferentially forwards.
In a kind of optional embodiment, the adjustment unit 640 is also used to when by the target switching equipment When the total flow of the video flowing of highest priority reaches the first preset flow threshold value in video flowing, improves and exchanged by the target The priority of target video stream in the video flowing of equipment;Wherein, the target video stream is that the quantity of homologous video flowing is most Video flowing.
In a kind of optional embodiment, the adjustment unit 640 is also used to for passing through the target switching equipment Any video flowing reduce the priority of the video flowing when the flow of the video flowing reaches the second preset flow threshold value.
Fig. 7 is referred to, is the hardware structural diagram of a kind of electronic equipment provided by the embodiments of the present application.The electronic equipment It may include processor 701, communication interface 702, memory 703 and communication bus 704.Processor 701, communication interface 702 with And memory 703 completes mutual communication by communication bus 704.Wherein, storage has computer program on memory 703; Processor 701 can be realized and be described in embodiment of the method corresponding to Fig. 3 by executing the program stored on memory 703 Video flowing transmission control method.
Memory 703 referred to herein can be any electronics, magnetism, optics or other physical storage devices, can be with Include or store information, such as executable instruction, data, etc..For example, memory 702 may is that RAM, volatile memory, non- Volatile memory, flash memory, memory driver (such as hard disk drive), solid state hard disk, any kind of storage dish (such as CD, Dvd etc.) perhaps similar storage medium or their combination.
The embodiment of the present application also provides a kind of machine readable storage mediums for being stored with computer program, such as in Fig. 7 Memory 703, the computer program processor 701 in electronic equipment can execute as shown in Figure 7 to realize corresponding to Fig. 3 Embodiment of the method described in video flowing transmission control method.
It should be noted that, in this document, relational terms such as first and second and the like are used merely to a reality Body or operation are distinguished with another entity or operation, are deposited without necessarily requiring or implying between these entities or operation In any actual relationship or order or sequence.Moreover, the terms "include", "comprise" or its any other variant are intended to Non-exclusive inclusion, so that the process, method, article or equipment including a series of elements is not only wanted including those Element, but also including other elements that are not explicitly listed, or further include for this process, method, article or equipment Intrinsic element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that There is also other identical elements in process, method, article or equipment including the element.
The foregoing is merely the preferred embodiments of the application, not to limit the application, all essences in the application Within mind and principle, any modification, equivalent substitution, improvement and etc. done be should be included within the scope of the application protection.

Claims (14)

1. a kind of video flowing transmission control method is applied to the network equipment, which is characterized in that this method comprises:
It is monitored to by the video flowing of the network equipment;
For any video flowing, the quantity of the homologous video flowing of the video flowing is counted;Wherein, homologous video flowing is source IP address phase Same video flowing;
Determine whether the video flowing meets pre-set priority regularization condition according to the quantity of the homologous video flowing of the video flowing;Its In, the quantity of the homologous video flowing of video flowing and the priority of video flowing are positively correlated;
If so, the priority to the video flowing is adjusted;
Control is forwarded to the video flowing according to priority adjusted;Wherein, the high video flowing of priority preferentially forwards.
2. the method according to claim 1, wherein the quantity of the homologous video flowing according to the video flowing is true Whether the fixed video flowing meets pre-set priority regularization condition, comprising:
The corresponding relationship of homologous video flowing quantity and priority is preset according to the inquiry of the quantity of the homologous video flowing of the video flowing, with Determine the corresponding priority of quantity of the homologous video flowing of the video flowing;
When the current priority of video flowing priority corresponding with the quantity of homologous video flowing of the video flowing is not identical, really The fixed video flowing meets pre-set priority regularization condition;
The priority of the described pair of video flowing is adjusted, comprising:
The current priority of the video flowing is adjusted to priority corresponding with the quantity of homologous video flowing of the video flowing.
3. the method according to claim 1, wherein the quantity of the homologous video flowing according to the video flowing is true Whether the fixed video flowing meets pre-set priority regularization condition, comprising:
When the quantity of the homologous video flowing of the video flowing is increased to greater than by being less than preset threshold equal to the preset threshold, really The fixed video flowing meets pre-set priority regularization condition;
The priority of the described pair of video flowing is adjusted, comprising:
The priority of the video flowing is improved according to default adjustable strategies.
4. according to the method described in claim 3, it is characterized in that, the quantity of the homologous video flowing according to the video flowing is true Whether the fixed video flowing meets pre-set priority regularization condition, further includes:
When the quantity of the homologous video flowing of the video flowing decreases below the preset threshold by being more than or equal to the preset threshold When, determine that the video flowing meets pre-set priority regularization condition;
The priority of the described pair of video flowing is adjusted, comprising:
The priority of the video flowing is reduced according to default adjustable strategies.
5. the method according to claim 1, wherein the method also includes:
When the total flow of the video flowing of highest priority in the video flowing by the network equipment reaches the first preset flow threshold When value, the priority of the target video stream in the video flowing by the network equipment is improved;Wherein, the target video stream is The most video flowing of the quantity of homologous video flowing.
6. the method according to claim 1, wherein the method also includes:
The preferential of the video flowing is reduced when the flow of the video flowing reaches the second preset flow threshold value for any video flowing Grade.
7. a kind of video flowing forwarding controller, it is applied to the network equipment, which is characterized in that the device includes:
Monitoring unit, for being monitored to by the video flowing of the network equipment machine;
Statistic unit, for counting the quantity of the homologous video flowing of the video flowing for any video flowing;Wherein, same to source video Stream is the identical video flowing of source IP address;
Determination unit, the quantity for the homologous video flowing according to the video flowing determine whether the video flowing meets pre-set priority Regularization condition;Wherein, the quantity of the homologous video flowing of video flowing and the priority of video flowing are positively correlated;
Adjustment unit adjusts the priority of the video flowing if meeting pre-set priority regularization condition for the video flowing It is whole;
Control unit, for being forwarded control to the video flowing according to priority adjusted;Wherein, the high video of priority The preferential forwarding of stream.
8. device according to claim 7, which is characterized in that
Homologous video flowing quantity is preset in the determination unit, the quantity inquiry specifically for the homologous video flowing according to the video flowing With the corresponding relationship of priority, with determine the video flowing homologous video flowing the corresponding priority of quantity;When the video flowing is worked as When preceding priority priority corresponding with the quantity of homologous video flowing of the video flowing is not identical, it is pre- to determine that the video flowing meets Setting priority regularization condition;
The adjustment unit, specifically for the current priority of the video flowing to be adjusted to and the homologous video flowing of the video flowing The corresponding priority of quantity.
9. device according to claim 7, which is characterized in that
The determination unit, specifically for when the video flowing homologous video flowing quantity by being increased to greater than less than preset threshold When equal to the preset threshold, determine that the video flowing meets pre-set priority regularization condition;
The adjustment unit, specifically for improving the priority of the video flowing according to default adjustable strategies.
10. device according to claim 9, which is characterized in that
The determination unit, also particularly useful for when the video flowing homologous video flowing quantity by be more than or equal to the preset threshold When decreasing below the preset threshold, determine that the video flowing meets pre-set priority regularization condition;
The adjustment unit, also particularly useful for the priority for reducing the video flowing according to default adjustable strategies.
11. device according to claim 7, which is characterized in that
The adjustment unit is also used to the total flow when the video flowing of highest priority in the video flowing by the network equipment When reaching the first preset flow threshold value, the priority of the target video stream in the video flowing by the network equipment is improved;Its In, the target video stream is the most video flowing of the quantity of homologous video flowing.
12. device according to claim 7, which is characterized in that
The adjustment unit is also used to for any video flowing, when the flow of the video flowing reaches the second preset flow threshold value, Reduce the priority of the video flowing.
13. a kind of electronic equipment, which is characterized in that including processor, communication interface, memory and communication bus, wherein processing Device, communication interface, memory complete mutual communication by communication bus;
Memory, for storing computer program;
Processor when for executing the program stored on memory, realizes any method and step of claim 1-6.
14. a kind of computer readable storage medium, which is characterized in that be stored with computer in the computer readable storage medium Program realizes claim 1-6 any method and step when the computer program is executed by processor.
CN201810497471.6A 2018-05-22 2018-05-22 Video stream forwarding control method and device, electronic equipment and readable storage medium Active CN110519553B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810497471.6A CN110519553B (en) 2018-05-22 2018-05-22 Video stream forwarding control method and device, electronic equipment and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810497471.6A CN110519553B (en) 2018-05-22 2018-05-22 Video stream forwarding control method and device, electronic equipment and readable storage medium

Publications (2)

Publication Number Publication Date
CN110519553A true CN110519553A (en) 2019-11-29
CN110519553B CN110519553B (en) 2021-02-26

Family

ID=68622191

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810497471.6A Active CN110519553B (en) 2018-05-22 2018-05-22 Video stream forwarding control method and device, electronic equipment and readable storage medium

Country Status (1)

Country Link
CN (1) CN110519553B (en)

Citations (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5523800A (en) * 1993-11-04 1996-06-04 Dudek; Walter J. Programmable alpha/numeric channel entry translation function for hand held video remote controls
US20050044236A1 (en) * 2003-08-06 2005-02-24 David Stafford Method and apparatus for transmitting keyboard/video/mouse data to and from digital video appliances
CN1719833A (en) * 2004-07-07 2006-01-11 微软公司 Efficient one-to-many content distribution in a peer-to-peer computer network
CN1909487A (en) * 2006-08-24 2007-02-07 华为数字技术有限公司 Method and system for set testing of router
CN101431469A (en) * 2008-10-08 2009-05-13 东南大学 P2P system rate control method based on game theory
CN101491138A (en) * 2006-07-10 2009-07-22 艾利森电话股份有限公司 Compressed delay packet transmission scheduling
CN102201981A (en) * 2011-03-31 2011-09-28 成都飞鱼星科技开发有限公司 Network video conferencing system based on video signal flow acceleration and acceleration method thereof
CN103329515A (en) * 2010-11-30 2013-09-25 株式会社理光 External input apparatus, communication terminal, display data sharing system and computer readable information recording medium
CN103609082A (en) * 2011-06-17 2014-02-26 英特尔公司 Method and system for communicating data packets
CN103986715A (en) * 2014-05-21 2014-08-13 海信集团有限公司 Network traffic control method and device
CN104159086A (en) * 2014-08-22 2014-11-19 安徽皖通科技股份有限公司 A platform for monitoring a digital video of a provincial road network
CN105530204A (en) * 2015-12-18 2016-04-27 重庆邮电大学 Novel structure and method for guaranteeing video service QoS in software-defined wireless network
CN106134147A (en) * 2014-03-18 2016-11-16 高通股份有限公司 Realize the delivery acceleration device of request manager and connection manager function
CN106209675A (en) * 2016-06-15 2016-12-07 浙江宇视科技有限公司 Transmission method, device and the system of a kind of data stream
CN106302377A (en) * 2015-06-29 2017-01-04 华为技术有限公司 Media session processing method method and relevant device and communication system
CN106712899A (en) * 2016-11-25 2017-05-24 浙江宇视科技有限公司 Port rate adjustment method and device

Patent Citations (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5523800A (en) * 1993-11-04 1996-06-04 Dudek; Walter J. Programmable alpha/numeric channel entry translation function for hand held video remote controls
US20050044236A1 (en) * 2003-08-06 2005-02-24 David Stafford Method and apparatus for transmitting keyboard/video/mouse data to and from digital video appliances
CN1719833A (en) * 2004-07-07 2006-01-11 微软公司 Efficient one-to-many content distribution in a peer-to-peer computer network
CN101491138A (en) * 2006-07-10 2009-07-22 艾利森电话股份有限公司 Compressed delay packet transmission scheduling
CN1909487A (en) * 2006-08-24 2007-02-07 华为数字技术有限公司 Method and system for set testing of router
CN101431469A (en) * 2008-10-08 2009-05-13 东南大学 P2P system rate control method based on game theory
CN103329515A (en) * 2010-11-30 2013-09-25 株式会社理光 External input apparatus, communication terminal, display data sharing system and computer readable information recording medium
CN102201981A (en) * 2011-03-31 2011-09-28 成都飞鱼星科技开发有限公司 Network video conferencing system based on video signal flow acceleration and acceleration method thereof
CN103609082A (en) * 2011-06-17 2014-02-26 英特尔公司 Method and system for communicating data packets
CN106134147A (en) * 2014-03-18 2016-11-16 高通股份有限公司 Realize the delivery acceleration device of request manager and connection manager function
CN103986715A (en) * 2014-05-21 2014-08-13 海信集团有限公司 Network traffic control method and device
CN104159086A (en) * 2014-08-22 2014-11-19 安徽皖通科技股份有限公司 A platform for monitoring a digital video of a provincial road network
CN106302377A (en) * 2015-06-29 2017-01-04 华为技术有限公司 Media session processing method method and relevant device and communication system
CN105530204A (en) * 2015-12-18 2016-04-27 重庆邮电大学 Novel structure and method for guaranteeing video service QoS in software-defined wireless network
CN106209675A (en) * 2016-06-15 2016-12-07 浙江宇视科技有限公司 Transmission method, device and the system of a kind of data stream
CN106712899A (en) * 2016-11-25 2017-05-24 浙江宇视科技有限公司 Port rate adjustment method and device

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
李懿雯: "无线网络视频感知机会网络编码协议及其仿真研究", 《系统仿真学报》 *
陶雯: "带宽感知的机会网络编码机制", 《计算机工程与设计》 *

Also Published As

Publication number Publication date
CN110519553B (en) 2021-02-26

Similar Documents

Publication Publication Date Title
EP3044918B1 (en) Network-based adaptive rate limiting
JP6701196B2 (en) Enhancement of quality of experience (QoE) in communication
US9634916B2 (en) Signalling congestion
EP2629554B1 (en) Service control method and system, enodeb and packet data network gateway
US11496399B2 (en) Dynamically balancing traffic in a fabric using telemetry data
WO2012077259A1 (en) Communication system, control device, node controlling method and program
US11368398B2 (en) Systems and methods for identifying candidate flows in data packet networks
US9712443B1 (en) Distributed traffic quota measurement and enforcement
CN110890994B (en) Method, device and system for determining message forwarding path
WO2019137515A1 (en) In-band telemetry with limited extra bytes
KR101650756B1 (en) QoS-Guaranteed Video Stream Method and System, Transmitting Server
US20190327172A1 (en) Forwarding Path Selection Method and Device
CN108234314B (en) Service scheduling method and device
CN105262699A (en) Network adaptive coding adjustment method and device
US20200359255A1 (en) Quality of service (qos) control method and related device
JP4347268B2 (en) Router control device, router, IP-VPN system, and router control method
WO2021136430A1 (en) Path selection method and apparatus, computer device, and computer readable medium
US20170310493A1 (en) Network entity and service policy management method
US9591515B2 (en) Feedback-based profiling for transport networks
WO2021138604A1 (en) Systems and methods for real-time monitoring and optimization of mobile networks
CN110519553A (en) Video flowing transmission control method, device, electronic equipment and readable storage medium storing program for executing
CN113872824B (en) CDN network quality detection method, system, server and storage medium
US20220368639A1 (en) Global policers
Lie et al. On the use of classical control system based AQM for rate adaptive streaming media
JP2010166484A (en) Communication system for performing traffic control in the unit of flow, management apparatus and program to be used in the communication system

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