CN102195884A - Video stream control method and video stream controller - Google Patents

Video stream control method and video stream controller Download PDF

Info

Publication number
CN102195884A
CN102195884A CN2011101386693A CN201110138669A CN102195884A CN 102195884 A CN102195884 A CN 102195884A CN 2011101386693 A CN2011101386693 A CN 2011101386693A CN 201110138669 A CN201110138669 A CN 201110138669A CN 102195884 A CN102195884 A CN 102195884A
Authority
CN
China
Prior art keywords
video
video flowing
router
source node
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.)
Pending
Application number
CN2011101386693A
Other languages
Chinese (zh)
Inventor
张仁海
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Digital Technologies Chengdu Co Ltd
Huawei Digital Technologies Co Ltd
Original Assignee
Huawei Digital Technologies Chengdu 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 Huawei Digital Technologies Chengdu Co Ltd filed Critical Huawei Digital Technologies Chengdu Co Ltd
Priority to CN2011101386693A priority Critical patent/CN102195884A/en
Publication of CN102195884A publication Critical patent/CN102195884A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The embodiment of the invention discloses a video stream control method and a video stream controller. The video stream control method comprises the following steps of: acquiring data streams currently forwarded by a router by using a video stream controller; judging whether the data streams are video streams; and if the data streams are video streams and the router is in a heavy-load state currently, transmitting video adjusting information to a video source node of the video streams and instructing the video source node of the video streams to reduce a network bandwidth occupied by the video streams. By adopting the technical scheme provided by the invention, the occurrence probability of network congestion can be lowered effectively.

Description

A kind of video flowing control method and video flowing controller
Technical field
The present invention relates to the communications field, relate in particular to a kind of video flowing control method and video flowing controller.
Background technology
Video stream application on the current internet is in the period of a fast development, although face a lot of problems, but irrefragable is the hot spot application pattern that network video stream has become current internet, and, with regard to the network bandwidth used, network video stream has surpassed text message became the second largest bandwidth occupancy person who is only second to the file download.
Fast development along with the network video stream application, the video stream data amount of carrying on the network heightens, the carrier network bandwidth has been brought huge consumption, and the network video stream transmission generally requires big bandwidth and low delay, to guarantee the continuity of video receiver displaying video, for making the user can experience the video resource of real-time smoothness, need manage control to the transmission of the video flowing in the network.And for the Internet video flow transmission, use the service quality (QoS of end-to-end reserved resource, Quality of Service) ensure that the video flowing transmission quality is undoubtedly best scheme, but this scheme cost is too high, and is not suitable for most video stream application.
At present stream router technologies that adopt come network video stream is controlled more.The stream router is discerned processing with stream for the least unit convection current, abandons technology by video flowing network congestion is controlled.There are six video flowings to transmit as hypothesis by the stream router, to adopt two kinds to abandon mode when congested time stream router takes place network, first kind is random drop, and each video flowing all is dropped some messages, and the video quality of each video flowing all is affected like this; Second kind is adopted intelligent stream to abandon, and takes place when congested at network, only abandons the message of certain video flowing, and other video flowings are uninfluenced.
Though above-mentioned video flowing abandons technology alleviating network congestion situation to a certain extent, but because this method is to occur just video flowing being carried out discard processing when congested at network, it is not suitable for the higher video flowing of time delay index request, on the other hand, in case congested and packet loss appears in network, certainty also can be to influencing user's video tastes.
Summary of the invention
The embodiment of the invention provides a kind of video flowing control method and video flowing controller, is used to reduce the probability of happening of network congestion.
For solving the problems of the technologies described above, the embodiment of the invention provides following technical scheme:
A kind of video flowing control method is characterized in that, comprising:
The video flowing controller obtains the data flow of the current forwarding of router;
Judge whether above-mentioned data flow is video flowing;
If, and the current heavy condition that is in of above-mentioned router, then the video source node to above-mentioned video flowing sends the video adjustment information, indicates the video source node of above-mentioned video flowing to reduce the network bandwidth that above-mentioned video flowing takies.
A kind of video flowing controller is characterized in that, comprising:
Acquiring unit is used to obtain the data flow of the current forwarding of router;
Judging unit is used to judge whether the above-mentioned data flow that gets access to is video flowing;
Transmitting element, being used for when above-mentioned judgment unit judges goes out above-mentioned data flow is video flowing, and above-mentioned router is current when being in heavy condition, video source node to above-mentioned video flowing sends the video adjustment information, indicates the video source node of above-mentioned video flowing to reduce the network bandwidth that above-mentioned video flowing takies.
Therefore, in the embodiment of the invention by obtaining the data flow that router is transmitted, and when the data flow that this router is in heavy condition and its forwarding is video flowing, video source node to this video flowing sends the video adjustment information, the network bandwidth that the video flowing of indicating this video source node to reduce transmission takies, thereby reduced the video flowing load pressure of this router, and then effectively reduced the probability of happening of network congestion phenomenon.
Description of drawings
In order to be illustrated more clearly in the embodiment of the invention or technical scheme of the prior art, to do to introduce simply to the accompanying drawing of required use in embodiment or the description of the Prior Art below, apparently, accompanying drawing in describing below only is some embodiments of the present invention, for those of ordinary skills, under the prerequisite of not paying creative work, can also obtain other accompanying drawing according to these accompanying drawings.
Fig. 1 is embodiment schematic flow sheet of video flowing control method in the embodiment of the invention;
Fig. 2 is another embodiment schematic flow sheet of video flowing control method in the embodiment of the invention;
Fig. 3 is another embodiment schematic flow sheet of video flowing control method in the embodiment of the invention;
Fig. 4 is the example structure schematic diagram of video flowing controller in the embodiment of the invention.
Embodiment
The embodiment of the invention provides a kind of video flowing control method and video flowing controller.
For make goal of the invention of the present invention, feature, advantage can be more obvious and understandable, below in conjunction with the accompanying drawing in the embodiment of the invention, technical scheme in the embodiment of the invention is clearly and completely described, obviously, described embodiment only is the present invention's part embodiment, but not whole embodiment.The every other embodiment that the enlightenment of those of ordinary skills embodiment is in the present invention obtained down belongs to the scope of protection of the invention.
Below video flowing control method in the embodiment of the invention is described, sees also Fig. 1, embodiment of video flowing control method comprises in the embodiment of the invention:
101, the video flowing controller obtains the data flow of the current forwarding of router;
In actual applications, the video flowing controller can be arranged in network edge, with router in the network by direct link connection, the video flowing controller can detect the router that it connected in real time, extract the data flow of the current forwarding of this router from this router, perhaps also can only extract the partial data message that this data flow begins, the number of the data message that can extract according to actual set; Certainly, also can initiatively send to the video flowing controller that links to each other with this router when transmitting data flow, not limit herein by the partial data message that router begins this data flow or data flow.
Certainly, also the video flowing controller can be integrated in the router, promptly this video flowing controller can be a module of this router, does not limit herein.
102, judge whether the data flow that gets access to is video flowing;
The video flowing controller can be by carrying out to the data flow that gets access to whether the data flow that analysis judgment goes out to get access to is video flowing.In actual applications, all there is specific encapsulation format in the encapsulation of every kind of video flowing, and the encapsulation format of most of video flowings is disclosed, for example for the Web video flowing of FLV encapsulation, the FLV encapsulation format has following special characteristic: it comprises a global header, this global header is made up of 9 bytes: preceding 3 bytes are file format sign (as 464C56), the 4th byte is version number (as 0x01), preceding 5 bit of the 5th byte keep, its value is necessary for 0, the 6th bit of the 5th byte is the audio types sign, the 7th bit of the 5th byte also keeps, and whether the 8th bit that its value is necessary for 0, the 5 byte comprises the sign of video for indicating this video flowing, four bytes of 6-9 keep, and its value is 00000009.Therefore, the encapsulation format of various video flowings can be defined as the identifying signature of this video flowing, and the identifying signature of in the video flowing controller, storing various video flowings in advance, the video flowing controller is resolved the data flow that gets access to, if parse the corresponding encapsulation format of identifying signature that there is certain video flowing of storing with this locality in this data flow, then this data flow of decidable is a video flowing, further goes back the type that decidable goes out this video flowing.
If the data flow that gets access to is a video flowing, then execution in step 103, if the data flow that gets access to is then returned step 101 not for video flowing.
103, judge the current heavy condition that whether is in of router of transmitting this video flowing;
Judging the data flow that gets access to when the video flowing controller is video flowing, and the video flowing controller can further be judged the current heavy condition that whether is in of router of transmitting this video flowing, if then execution in step 104, if not, then returns step 101.
In actual applications, the video flowing controller can carry out communication with the Network Management Equipment in the network, know the present load state of the router at the router that links to each other with the video flowing controller or video flowing controller place with this, the data traffic of the i.e. current forwarding of this router, and can preset maximum threshold, the network bandwidth that takies when this router present load presets maximum threshold above this, then judge the current heavy condition that is in of this router, similarly, the video flowing controller also can preset minimum threshold, the network bandwidth that takies when this router present load is lower than this and presets minimum threshold, then judges the current light condition that is in of this router.Illustrate, the maximum interface bandwidth of supposing this router is 10G, then above-mentioned maximum threshold can be predisposed to 8G, above-mentioned minimum threshold is predisposed to 2G, the video flowing controller obtains this router present load state, if the network bandwidth that this router present load takies surpasses 8G, the then current heavy condition that is in of this router of decidable, if the network bandwidth that this router present load takies is lower than 2G, then the current light condition that is in of this router of decidable; Perhaps also above-mentioned maximum threshold can be predisposed to value less than 1, as 0.8, above-mentioned minimum threshold is predisposed to value less than 1, as 0.2, the video flowing controller is after obtaining this router present load state, ratio that the network bandwidth that the present load of this router can be taken obtains divided by the maximum interface bandwidth of this router and above-mentioned maximum threshold and minimum threshold compare, if this ratio surpasses 0.8, the current heavy condition that is in of this router of decidable then, if this ratio is lower than 0.2, the current light condition that is in of this router of decidable then, certainly, also can judge the current heavy condition that whether is in of router of transmitting this video flowing, not limit herein by alternate manner.Above-mentioned maximum threshold and minimum threshold can be set according to actual conditions, do not limit herein.
In actual applications, the video flowing controller also can obtain the present load state of this router by the link that detects coupled router; Certainly, the video flowing controller also can by with network in Network Management Equipment carry out communication, inform the video flowing controller after judging that this router is current and whether be in heavy condition by Network Management Equipment, do not limit herein.
Under a kind of application scenarios, judging the data flow that gets access to when the video flowing controller is video flowing, but the current light condition that is in of the router of transmitting this video flowing, then the video flowing controller also can further notify the video source node of this video flowing to improve the quality of this video flowing, as resolution by this video flowing of raising, and/or improve the frame per second of this video flowing, and/or the coded system of adjusting this video flowing improves the quality of this video flowing etc., with guaranteeing that network does not occur under the congested situation, make the user can obtain higher-quality video tastes.
104, the video source node to video flowing sends the video adjustment information, indicates the video source node of this video flowing to reduce the network bandwidth that this video flowing takies;
Judging the data flow that gets access to when the video flowing controller is video flowing, and the current heavy condition that is in of the router of transmitting this video flowing, then the video source node to this video flowing sends the video adjustment information, indicates the video source node of this video flowing to reduce the network bandwidth that this video flowing takies.The video flowing controller can directly send above-mentioned video adjustment information to the video source node, also can send above-mentioned video adjustment information to the video source node by above-mentioned router, does not limit herein.
The video source node of this video flowing is after receiving above-mentioned video adjustment information, can adjust the network bandwidth that this video flowing takies according to actual conditions, such as the resolution that can pass through to reduce this video flowing, and/or reduce the frame per second of this video flowing, and/or the coded system of adjusting this video flowing reduces the network bandwidth that this video flowing takies.
In actual applications, the video flowing controller also can be by discerning the video flowing that gets access to, analyze the type of this video flowing, coded system, resolution or frame per second, and in the video adjustment information, carry video flowing according to actual conditions and adjust strategy, as reduce the resolution of this video flowing, and/or reduce the frame per second of this video flowing, and/or the present encoding mode of this video flowing is adjusted into strategies such as another kind of prescribed coding mode, the video source node is after receiving this video flowing adjustment information, video flowing adjustment strategy according to this video flowing adjustment information indication is made corresponding adjustment to this video flowing, does not limit herein.
Further, at the video flowing controller after the video source node of above-mentioned video flowing sends the video adjustment information, also can judge whether this video flowing is adjusted under above-mentioned video adjustment information by the front and back situation of change of discerning this video flowing, if adjust, can indicate the router of transmitting this video flowing preferentially to transmit this video flowing.
Will be understood that, in actual applications, the video flowing controller can carry the iso-ip Internetworking protocol ISO-IP (IP of video reception node of the video flowing of pre-adjustment in the video adjustment information, Internet Protocol) address and/or port numbers, the video reception IP addresses of nodes of this video flowing and/or port numbers can uniquely indicate this video flowing, and the video source node can be known the video flowing of pre-adjustment by this IP address and/or port numbers.
Therefore, video flowing controller in the embodiment of the invention is by obtaining the data flow that router is transmitted, and when the data flow that this router is in heavy condition and its forwarding is video flowing, video source node to this video flowing sends the video adjustment information, the network bandwidth that the video flowing of indicating this video source node to reduce transmission takies, thereby reduced the video flowing load pressure of this router, and then effectively reduced the probability of happening of network congestion phenomenon.
For ease of better understanding the technical scheme of the embodiment of the invention, below video flowing control method in the embodiment of the invention further is described, see also Fig. 2, another embodiment of video flowing control method comprises in the embodiment of the invention:
201, the video flowing controller obtains the data flow of the current forwarding of router;
In actual applications, the video flowing controller can be arranged in network edge, with router in the network by direct link connection, the video flowing controller can detect the router that it connected in real time, extract the data flow of the current forwarding of this router from this router, perhaps also can only extract the partial data message that this data flow begins, the number of the data message that can extract according to actual set; Certainly, also can initiatively send to the video flowing controller that links to each other with this router when transmitting data flow, not limit herein by the partial data message that router begins this data flow or data flow.
Certainly, also the video flowing controller can be integrated in the router, promptly this video flowing controller can be a module of this router, does not limit herein.
202, judge whether the data flow that gets access to is video flowing;
The video flowing controller can be by carrying out to the data flow that gets access to whether the data flow that analysis judgment goes out to get access to is video flowing, if this data flow is a video flowing, then execution in step 203, if this data flow is not a video flowing, then return step 201.
203, obtain the present load situation of above-mentioned router;
The video flowing controller can by with network in Network Management Equipment carry out the present load situation that the router of transmitting above-mentioned video flowing is obtained in communication, the i.e. data traffic of the current forwarding of this router; Perhaps, the video flowing controller can obtain the current load state of this router by the link that detects the router of transmitting above-mentioned video flowing, does not limit herein.
204, judging whether the network bandwidth that above-mentioned router present load takies surpasses presets maximum threshold;
The video flowing controller can judge whether the network bandwidth that above-mentioned router present load takies surpasses and preset maximum threshold, if, then determine the current heavy condition that is in of above-mentioned router, execution in step 205 if not, is then returned step 201.
Above-mentioned maximum threshold can be set according to actual conditions, does not limit herein.
205, the video source node to video flowing sends the video adjustment information, indicates the video source node of this video flowing to reduce the network bandwidth that this video flowing takies.
Judging the data flow that gets access to when the video flowing controller is video flowing, and the current heavy condition that is in of the router of transmitting this video flowing, then the video source node to this video flowing sends the video adjustment information, indicates the video source node of this video flowing to reduce the network bandwidth that this video flowing takies.The video flowing controller can directly send above-mentioned video adjustment information to the video source node, also can send above-mentioned video adjustment information to the video source node by above-mentioned router, does not limit herein.
The video source node of this video flowing is after receiving above-mentioned video adjustment information, can adjust the network bandwidth that this video flowing takies according to actual conditions, such as the resolution that can pass through to reduce this video flowing, and/or reduce the frame per second of this video flowing, and/or the coded system of adjusting this video flowing reduces the network bandwidth that this video flowing takies.
In actual applications, the video flowing controller also can be by discerning the video flowing that gets access to, analyze the type of this video flowing, coded system, resolution or frame per second, and in the video adjustment information, carry video flowing according to actual conditions and adjust strategy, as reduce the resolution of this video flowing, and/or reduce the frame per second of this video flowing, and/or the present encoding mode of this video flowing is adjusted into strategies such as another kind of prescribed coding mode, the video source node is after receiving this video flowing adjustment information, video flowing adjustment strategy according to this video flowing adjustment information indication is made corresponding adjustment to this video flowing, does not limit herein.
206, whether the video quality of judging the current video flowing that gets access to is adjusted under the indication of above-mentioned video adjustment information;
The video flowing controller is after the video source node of above-mentioned video flowing sends the video adjustment information, can judge whether this video flowing is adjusted under above-mentioned video adjustment information by the front and back situation of change of discerning this video flowing, if adjust, then execution in step 207, if adjust, returning step 201.
207, send preferential forwarding information to the router of transmitting above-mentioned video flowing, indicate this router preferentially to transmit this video flowing;
The video flowing controller sends preferential forwarding information to the router of transmitting the video flowing that has adjusted, indicates this router preferentially to transmit this video flowing.
Therefore, video flowing controller in the embodiment of the invention is by obtaining the data flow that router is transmitted, and when the data flow that this router is in heavy condition and its forwarding is video flowing, video source node to this video flowing sends the video adjustment information, the network bandwidth that the video flowing of indicating this video source node to reduce transmission takies, thereby reduced the video flowing load pressure of this router, and then effectively reduced the probability of happening of network congestion phenomenon.
For ease of better understanding the technical scheme of the embodiment of the invention, below video flowing control method in the embodiment of the invention further is described, see also Fig. 3, another embodiment of video flowing control method comprises in the embodiment of the invention:
301, the video flowing controller obtains the data flow of the current forwarding of router;
In actual applications, the video flowing controller can be arranged in network edge, with router in the network by direct link connection, the video flowing controller can detect the router that it connected in real time, extract the data flow of the current forwarding of this router from this router, perhaps also can only extract the partial data message that this data flow begins, the number of the data message that can extract according to actual set; Certainly, also can initiatively send to the video flowing controller that links to each other with this router when transmitting data flow, not limit herein by the partial data message that router begins this data flow or data flow.
Certainly, also the video flowing controller can be integrated in the router, promptly this video flowing controller can be a module of this router, does not limit herein.
302, judge whether the data flow that gets access to is video flowing;
The video flowing controller can be by carrying out to the data flow that gets access to whether the data flow that analysis judgment goes out to get access to is video flowing, if this data flow is a video flowing, then execution in step 303, if this data flow is not a video flowing, then return step 301.
303, obtain the present load situation of above-mentioned router;
The video flowing controller can by with network in Network Management Equipment carry out the present load situation that the router of transmitting above-mentioned video flowing is obtained in communication; Perhaps, the video flowing controller can obtain the current load state of this router by the link that detects the router of transmitting above-mentioned video flowing, does not limit herein.
304, judging whether the network bandwidth that above-mentioned router present load takies surpasses presets maximum threshold;
The video flowing controller can judge whether the network bandwidth that above-mentioned router present load takies surpasses and preset maximum threshold, if, then determine the current heavy condition that is in of above-mentioned router, execution in step 305, if not, then execution in step 306.
305, the video source node to video flowing sends the video adjustment information, indicates the video source node of this video flowing to reduce the network bandwidth that this video flowing takies.
Judging the data flow that gets access to when the video flowing controller is video flowing, and the current heavy condition that is in of the router of transmitting this video flowing, then the video source node to this video flowing sends the video adjustment information, indicates the video source node of this video flowing to reduce the network bandwidth that this video flowing takies.The video flowing controller can directly send above-mentioned video adjustment information to the video source node, also can send above-mentioned video adjustment information to the video source node by above-mentioned router, does not limit herein.
The video source node of this video flowing is after receiving above-mentioned video adjustment information, can adjust the network bandwidth that this video flowing takies according to actual conditions, such as the resolution that can pass through to reduce this video flowing, and/or reduce the frame per second of this video flowing, and/or the coded system of adjusting this video flowing reduces the quality of this video flowing.
In actual applications, the video flowing controller can be by discerning the video flowing that gets access to, analyze the type of this video flowing, coded system, resolution or frame per second, and in the video adjustment information, carry video flowing according to actual conditions and adjust strategy, as reduce the resolution of this video flowing, and/or reduce the frame per second of this video flowing, and/or the present encoding mode of this video flowing is adjusted into strategies such as another kind of prescribed coding mode, the video source node is after receiving this video flowing adjustment information, video flowing adjustment strategy according to this video flowing adjustment information indication is made corresponding adjustment to this video flowing, does not limit herein.
306, judging whether the network bandwidth that above-mentioned router present load takies is lower than presets minimum threshold;
The video flowing controller can judge whether the network bandwidth that above-mentioned router present load takies is lower than and preset minimum threshold, if, then determine the current light condition that is in of above-mentioned router, execution in step 307 if not, is then returned step 301.
Above-mentioned minimum threshold can be set according to actual conditions, does not limit herein.
307, the video source node to video flowing sends video optimized information, indicates the video source node of this video flowing to improve the video quality of this video flowing.
Judging the data flow that gets access to when the video flowing controller is video flowing, and the current light condition that is in of the router of transmitting this video flowing, then the video source node to this video flowing sends video optimized information, indicates the video source node of this video flowing to improve the video quality of this video flowing.The video flowing controller can directly send above-mentioned video optimized whole information to the video source node, also can send above-mentioned video optimized information to the video source node by above-mentioned router, does not limit herein.
The video source node of this video flowing is after receiving above-mentioned video optimized information, can adjust the video quality of this video flowing according to actual conditions, such as the resolution that can pass through to improve this video flowing, and/or improve the frame per second of this video flowing, and/or the coded system of adjusting this video flowing improves the quality of this video flowing.
In actual applications, the video flowing controller also can be by discerning the video flowing that gets access to, analyze the type of this video flowing, coded system, resolution or frame per second, and in the video adjustment information, carry the video flowing optimisation strategy according to actual conditions, as improve the resolution of this video flowing, and/or improve the frame per second of this video flowing, and/or the present encoding mode of this video flowing is adjusted into strategies such as another kind of prescribed coding mode, the video source node is after receiving this video flowing optimization information, video flowing optimisation strategy according to this video flowing optimization information indication is made corresponding adjustment to this video flowing, does not limit herein.
308, judge whether the current video flowing that gets access to is adjusted under the indication of above-mentioned video adjustment information or above-mentioned video optimized information;
The video flowing controller is after the video source node of above-mentioned video flowing sends video adjustment information or video optimized information, can judge whether this video flowing is adjusted under above-mentioned video adjustment information or video optimized information by the front and back situation of change of discerning this video flowing, if adjust, then execution in step 309, if not, then return step 301.
309, send preferential forwarding information to the router of transmitting above-mentioned video flowing, indicate this router preferentially to transmit this video flowing;
The video flowing controller sends preferential forwarding information to the router of transmitting the video flowing that has adjusted, indicates this router preferentially to transmit this video flowing.
Therefore, video flowing controller in the embodiment of the invention is by obtaining the data flow that router is transmitted, and when the data flow that this router is in heavy condition and its forwarding is video flowing, video source node to this video flowing sends the video adjustment information, the network bandwidth that the video flowing of indicating this video source node to reduce transmission takies, thereby reduced the video flowing load pressure of this router, and then effectively reduced the probability of happening of network congestion phenomenon.Further, when the data flow that the embodiment of the invention is in light condition and its forwarding at this router is video flowing, video source node to this video flowing sends video optimized information, indicate this video source node to improve the video quality of the video flowing that sends, can make the user obtain higher-quality video tastes guaranteeing that network does not occur under the congested situation.
Below the video flowing controller in the embodiment of the invention is described, sees also Fig. 4, the video flowing controller 400 in the embodiment of the invention comprises:
Acquiring unit 401 is used to obtain the data flow of the current forwarding of router;
In actual applications, video flowing controller 400 can be arranged in network edge, with router in the network by direct link connection, acquiring unit 401 can initiatively obtain the data flow of the current forwarding of this router from this router, perhaps also can only extract the partial data message that this data flow begins, the number of the data message that can extract according to actual set; Certainly, also can initiatively send to the acquiring unit 401 of video flowing controller by the partial data message that router begins this data flow or data flow when transmitting data flow, acquiring unit 401 obtains the data flow of this router transmission or the partial data message that data flow begins by the mode that receives, and does not limit herein.
Judging unit 402 is used to judge whether the data flow that acquiring unit 401 gets access to is video flowing;
Judging unit 402 can carry out analysis judgment by the data flow that acquiring unit 401 is got access to and go out whether the data flow that acquiring unit 401 gets access to is video flowing.
In actual applications, all there is specific encapsulation format in the encapsulation of every kind of video flowing, and the encapsulation format of most of video flowings is disclosed, for example for the Web video flowing of FLV encapsulation, the FLV encapsulation format has following special characteristic: it comprises a global header, this global header is made up of 9 bytes: preceding 3 bytes are file format sign (as 464C56), the 4th byte is version number (as 0x01), preceding 5 bit of the 5th byte keep, its value is necessary for 0, the 6th bit of the 5th byte is the audio types sign, the 7th bit of the 5th byte also keeps, and whether the 8th bit that its value is necessary for 0, the 5 byte comprises the sign of video for indicating this video flowing, four bytes of 6-9 keep, and its value is 00000009.Therefore, the encapsulation format of various video flowings can be defined as the identifying signature of this video flowing, and the identifying signature of in video flowing controller 400, storing various video flowings in advance, 402 pairs of data flow that get access to of judging unit are resolved, if parse the corresponding encapsulation format of identifying signature that there is certain video flowing of storing with this locality in this data flow, then this data flow of decidable is a video flowing, further goes back the type that decidable goes out this video flowing.
Under a kind of application scenarios, judging unit 402 can be used for also judging whether the network bandwidth that above-mentioned router present load takies surpasses presets maximum threshold, if surpass, then determines the current heavy condition that is in of router.
Can obtain the present load situation of the router of transmitting above-mentioned video flowing by acquiring unit 401, in actual applications, acquiring unit for example can by with network in Network Management Equipment carry out the present load situation that the router of transmitting above-mentioned video flowing is obtained in communication; Perhaps, also can obtain the current load state of this router, not limit herein by the link that detects the router of transmitting above-mentioned video flowing.
Under a kind of application scenarios, judging unit 402 can be used for also judging whether the network bandwidth that above-mentioned router present load takies is lower than presets minimum threshold, if be lower than, then determines the current light condition that is in of router.
Transmitting element 403, being used for judging the data flow that acquiring unit 401 gets access to when judging unit 402 is video flowing, and the router of transmitting this video flowing is current when being in heavy condition, video source node to this video flowing sends the video adjustment information, indicates the video source node of this video flowing to reduce the network bandwidth that this video flowing takies.
Transmitting element 403 can directly send above-mentioned video adjustment information to the video source node, also can send above-mentioned video adjustment information to the source video stream node by above-mentioned router, does not limit herein.
Under a kind of application scenarios, if it is video flowing that judging unit 402 is judged the data flow that gets access to, and the current light condition that is in of the router of transmitting this video flowing, then transmitting element 403 also can be further sends video optimized information to the video source node of this video flowing, indicate this video source node to improve the quality of this video flowing, as indicating this video source node by improving the resolution of this video flowing, and/or improve the frame per second of this video flowing, and/or the coded system of adjusting this video flowing improves the quality of this video flowing etc., with guaranteeing that network does not occur under the congested situation, make the user can obtain higher-quality video tastes.Transmitting element 403 can directly send above-mentioned video optimized information to the video source node, also can send above-mentioned video optimized information to the source video stream node by above-mentioned router, does not limit herein.
In actual applications, judging unit 402 can be used for also judging whether the video quality of the acquiring unit 401 current video flowings that get access to is adjusted under the indication of above-mentioned video adjustment information or above-mentioned video optimized information; Transmitting element 403 also is used for when judging unit 402 is judged the current video flowing that gets access to and adjusted under the indication of above-mentioned video adjustment information or above-mentioned video optimized information, send preferential forwarding information to the router of transmitting this video flowing, indicate this router preferentially to transmit this video flowing.
Will be understood that video flowing controller 400 can be a separate equipment, can be arranged in network edge, with router in the network by direct link connection, certainly, video flowing controller 400 also can be a module of above-mentioned router, can be integrated in the above-mentioned router, not limit herein.
Need to prove, the video flowing controller 400 of present embodiment can be as the video flowing controller among the above-mentioned method embodiment, can be used for realizing whole technical schemes of said method embodiment, the function of its each functional module can be according to the method specific implementation among the said method embodiment, its specific implementation process can repeat no more with reference to the associated description in the foregoing description herein.
Therefore, video flowing controller in the embodiment of the invention is by obtaining the data flow that router is transmitted, and when the data flow that this router is in heavy condition and its forwarding is video flowing, video source node to this video flowing sends the video adjustment information, the network bandwidth that the video flowing of indicating this video source node to reduce transmission takies, thereby reduced the video flowing load pressure of this router, and then effectively reduced the probability of happening of network congestion phenomenon.
One of ordinary skill in the art will appreciate that all or part of step that realizes in the foregoing description method is to instruct relevant hardware to finish by program, described program can be stored in a kind of computer-readable recording medium, the above-mentioned storage medium of mentioning can be a read-only memory, random asccess memory, disk or CD etc.
More than a kind of video flowing control method provided by the present invention and video flowing controller are described in detail, for one of ordinary skill in the art, thought according to the embodiment of the invention, part in specific embodiments and applications all can change, to sum up, this description should not be construed as limitation of the present invention.

Claims (16)

1. a video flowing control method is characterized in that, comprising:
The video flowing controller obtains the data flow of the current forwarding of router;
Judge whether described data flow is video flowing;
If, and the current heavy condition that is in of described router, then the video source node to described video flowing sends the video adjustment information, indicates the video source node of described video flowing to reduce the network bandwidth that described video flowing takies.
2. method according to claim 1 is characterized in that,
After described video source node to described video flowing sent the step of video adjustment information, described method also comprised:
Judge whether the current video flowing that gets access to is adjusted under the indication of described video adjustment information, if, then send preferential forwarding information to the router of transmitting described video flowing, indicate the described video flowing of the preferential forwarding of described router.
3. method according to claim 1 and 2 is characterized in that,
Before described video source node to described video flowing sent the step of video adjustment information, described method also comprised:
Obtain the present load situation of described router;
Judge whether the network bandwidth that described router present load takies surpasses and preset maximum threshold, if then determine the current heavy condition that is in of described router.
4. want 3 described methods according to right, it is characterized in that,
Described video source node to described video flowing sends the video adjustment information and is specially:
Send the video adjustment information by described router to the video source node of described video flowing.
5. method according to claim 1 is characterized in that,
Described judge whether described data flow is the step of video flowing after, described method also comprises:
If to judge described data flow is video flowing, and the current light condition that is in of described router, then the video source node to described video flowing sends video optimized information, indicates the video source node of described video flowing to improve the video quality of described video flowing.
6. method according to claim 5 is characterized in that,
After described video source node to described video flowing sent the step of video adjustment information, described method also comprised:
Judge whether the video quality of the current video flowing that gets access to is adjusted under the indication of described video optimized information, if, then send preferential forwarding information to the router of transmitting described video flowing, indicate the described video flowing of the preferential forwarding of described router.
7. according to claim 5 or 6 described methods, it is characterized in that,
Before described video source node to described video flowing sent the step of video optimized information, described method also comprised:
Obtain the present load situation of described router;
Judge whether the network bandwidth that the present load of described router takies is lower than and preset minimum threshold, if then determine the current light condition that is in of described router.
8. method according to claim 7 is characterized in that,
Described video source node to described video flowing sends video optimized information and is specially:
Send video optimized information by described router to the video source node of described video flowing.
9. a video flowing controller is characterized in that, comprising:
Acquiring unit is used to obtain the data flow of the current forwarding of router;
Judging unit is used to judge whether the described data flow that gets access to is video flowing;
Transmitting element, being used for when described judgment unit judges goes out described data flow is video flowing, and described router is current when being in heavy condition, video source node to described video flowing sends the video adjustment information, indicates the video source node of described video flowing to reduce the network bandwidth that described video flowing takies.
10. video flowing controller according to claim 9 is characterized in that,
Described judging unit is used to also judge whether the current video flowing that gets access to of described acquiring unit is adjusted under the indication of described video adjustment information;
Described transmitting element also is used for when described judgment unit judges goes out the current video flowing that gets access to and adjusted under the indication of described video adjustment information, send preferential forwarding information to the router of transmitting described video flowing, indicate the described video flowing of the preferential forwarding of described router.
11. according to claim 9 or 10 described video flowing controllers, it is characterized in that,
Described acquiring unit also is used to obtain the present load situation of described router,
Described judging unit is used to also to judge whether the network bandwidth that described router present load takies surpasses presets maximum threshold, if surpass, then determines the current heavy condition that is in of described router.
12. video flowing controller according to claim 11 is characterized in that
Described transmitting element specifically sends the video adjustment information by described router to the video source node of described video flowing.
13. video flowing controller according to claim 9 is characterized in that,
The data flow that described transmitting element also is used for going out to get access in described judgment unit judges is a video flowing, and the current light condition that is in of described router, then the video source node to described video flowing sends video optimized information, indicates the video source node of described video flowing to improve the video quality of described video flowing.
14. video flowing controller according to claim 13 is characterized in that,
Described judging unit is used to also judge whether the video quality of the current video flowing that gets access to of described acquiring unit is adjusted under the indication of described video optimized information;
Described transmitting element also is used for when adjusting under the video quality that described judgment unit judges goes out the current video flowing that the gets access to indication in described video optimized information, send preferential forwarding information to the router of transmitting described video flowing, indicate the described video flowing of the preferential forwarding of described router.
15., it is characterized in that according to claim 13 or 14 described video flowing controllers
Described acquiring unit also is used to obtain the present load situation of described router,
Described judging unit is used to also to judge whether the network bandwidth that the present load of described router takies is lower than presets minimum threshold, if be lower than, then determines the current light condition that is in of described router.
16. video flowing controller according to claim 15 is characterized in that,
Described transmitting element specifically sends video optimized information by described router to the video source node of described video flowing.
CN2011101386693A 2011-05-26 2011-05-26 Video stream control method and video stream controller Pending CN102195884A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2011101386693A CN102195884A (en) 2011-05-26 2011-05-26 Video stream control method and video stream controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2011101386693A CN102195884A (en) 2011-05-26 2011-05-26 Video stream control method and video stream controller

Publications (1)

Publication Number Publication Date
CN102195884A true CN102195884A (en) 2011-09-21

Family

ID=44603292

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2011101386693A Pending CN102195884A (en) 2011-05-26 2011-05-26 Video stream control method and video stream controller

Country Status (1)

Country Link
CN (1) CN102195884A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103812832A (en) * 2012-11-08 2014-05-21 上海心动企业发展有限公司 Control method and control device for publishing multimedia data according to bandwidth
CN103812831A (en) * 2012-11-08 2014-05-21 上海心动企业发展有限公司 Control method and control device for downloading and updating multimedia data according to bandwidth
CN104507119A (en) * 2014-11-26 2015-04-08 无锡儒安科技有限公司 Concurrent transmission based wireless sensor network data collection method
CN110519119A (en) * 2019-07-31 2019-11-29 视联动力信息技术股份有限公司 Bandwidth management method, device and storage medium based on view networking
CN111224888A (en) * 2018-11-27 2020-06-02 华为技术有限公司 Method for sending message and message forwarding equipment

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101075960A (en) * 2007-06-22 2007-11-21 清华大学 Method for controlling fluid based on router virtual display load feedback in high-speed network
CN101232462A (en) * 2008-02-25 2008-07-30 杭州华三通信技术有限公司 Apparatus and method for regulating service quality of real time business

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101075960A (en) * 2007-06-22 2007-11-21 清华大学 Method for controlling fluid based on router virtual display load feedback in high-speed network
CN101232462A (en) * 2008-02-25 2008-07-30 杭州华三通信技术有限公司 Apparatus and method for regulating service quality of real time business

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103812832A (en) * 2012-11-08 2014-05-21 上海心动企业发展有限公司 Control method and control device for publishing multimedia data according to bandwidth
CN103812831A (en) * 2012-11-08 2014-05-21 上海心动企业发展有限公司 Control method and control device for downloading and updating multimedia data according to bandwidth
CN104507119A (en) * 2014-11-26 2015-04-08 无锡儒安科技有限公司 Concurrent transmission based wireless sensor network data collection method
CN104507119B (en) * 2014-11-26 2018-09-14 无锡儒安科技有限公司 A kind of radio sensor network data collection method based on concurrent transmission
CN111224888A (en) * 2018-11-27 2020-06-02 华为技术有限公司 Method for sending message and message forwarding equipment
CN110519119A (en) * 2019-07-31 2019-11-29 视联动力信息技术股份有限公司 Bandwidth management method, device and storage medium based on view networking
CN110519119B (en) * 2019-07-31 2020-11-13 视联动力信息技术股份有限公司 Bandwidth management method and device based on video network and storage medium

Similar Documents

Publication Publication Date Title
US7978698B2 (en) Terminal for performing multiple access transmission suitable to a transmission path having varied characteristics
CN101483909B (en) Reverse power control method based on multi-carrier
CN101043618B (en) Apparatus and method for controlling frame rate in multi-way video communication
CN109391614B (en) Method and device for calling monitoring data based on video network
CN112702274B (en) Cross-layer congestion control method based on routing stability in tactical targeting network technology
WO2007067851B1 (en) Method and system for improving a wireless communication route
CN102195884A (en) Video stream control method and video stream controller
CN107846706B (en) Congestion-avoiding code-aware wireless mesh network multi-path routing method
CN109495326B (en) Network bandwidth allocation method and system
CN111555974B (en) Data packet processing method and device, terminal equipment and storage medium
CN101707568B (en) Method and system for controller user multicast service and multicast main control device
CN104486690B (en) A kind of mobile video transmission optimization method based on Transmission Control Protocol
CN102075437A (en) Communication method, gateway and network
CN101582839A (en) Method, device and system for regulating data traffic
EP3547690B1 (en) Real-time video transmission method of multipath network
CN102238073A (en) Network service stream management method and equipment
CN106130925A (en) Link scheduling method, equipment and the system of a kind of SDN
KR20090068138A (en) Communication method in a network comprising a primary network and a secondary network
CN111224889A (en) Data transmission method and device
CN114363739A (en) Service application method and device based on optical service unit
SE546013C2 (en) Edge node control
CN113612698A (en) Data packet sending method and device
CN104363138A (en) Interface backup method and device
CN102098198B (en) Ethernet protection method and device
CN101772072A (en) Method and device for controlling rate of multi-service wireless network

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C53 Correction of patent of invention or patent application
CB02 Change of applicant information

Address after: 100085 Beijing, Haidian District on the road, No. 3

Applicant after: Beijing Huawei Digital Technology Co.,Ltd.

Address before: 100085 Beijing, Haidian District on the road, No. 3

Applicant before: Huawei Digit Technology Co., Ltd.

COR Change of bibliographic data

Free format text: CORRECT: APPLICANT; FROM: HUAWEI DIGIT TECHNOLOGY CO., LTD. TO: BEIJING HUAWEI DIGITAL TECHNOLOGY CO., LTD.

C12 Rejection of a patent application after its publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20110921