CN106550222A - A kind of video flow sending method and web camera - Google Patents

A kind of video flow sending method and web camera Download PDF

Info

Publication number
CN106550222A
CN106550222A CN201610964303.4A CN201610964303A CN106550222A CN 106550222 A CN106550222 A CN 106550222A CN 201610964303 A CN201610964303 A CN 201610964303A CN 106550222 A CN106550222 A CN 106550222A
Authority
CN
China
Prior art keywords
network
video
path
web camera
address field
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
CN201610964303.4A
Other languages
Chinese (zh)
Other versions
CN106550222B (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.)
Zhejiang Uniview Technologies Co Ltd
Original Assignee
Zhejiang Uniview Technologies 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 Zhejiang Uniview Technologies Co Ltd filed Critical Zhejiang Uniview Technologies Co Ltd
Priority to CN201610964303.4A priority Critical patent/CN106550222B/en
Publication of CN106550222A publication Critical patent/CN106550222A/en
Application granted granted Critical
Publication of CN106550222B publication Critical patent/CN106550222B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N7/00Television systems
    • H04N7/18Closed-circuit television [CCTV] systems, i.e. systems in which the video signal is not broadcast
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/60Network streaming of media packets
    • H04L65/70Media network packetisation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/60Network streaming of media packets
    • H04L65/75Media network packet handling
    • H04L65/762Media network packet handling at the source 

Abstract

The invention discloses a kind of video flow sending method, when the video request message of monitor client transmission is received, web camera by parsing to video request message, obtains the network path that video request message is passed through first;Then the network link information for being provided by network monitoring device judges whether the flow load of network path exceedes default load threshold;If the determination result is YES, web camera selects the paths different from the path of video request message to send video flowing to the monitor client, to guarantee that the flow in video stream path is less than default load threshold.Video flowing can be allowed to bypass the congestion address field in network system so as to ensure that, and then ensure that video flowing rapidly and accurately can be transmitted to monitor client, improve the quality of video monitoring and the viewing experience of user.Simultaneously disclosed herein as well is a kind of web camera.

Description

A kind of video flow sending method and web camera
Technical field
The present invention relates to communication technical field, more particularly to a kind of sending method of video flowing, while the application is also special It is related to a kind of web camera.
Background technology
In monitoring business, if monitor terminal in certain network segment concentrates the monitoring in program request another network address section The video pictures of point position IPC (IP Camera web cameras), may result in the network link between two network address sections There is congestion.When there is such case, video flow will be unable to normally be transmitted.When network go-between congestion causes When packet loss phenomenon occurs in video flow, in monitor client side, viewing monitored picture just occurs the phenomenons such as interim card, Hua Ping, this The quality of video monitoring will be had a strong impact on, the viewing experience of user will be reduced.
In order to solve the above problems, in the prior art, increase media forwarding server using in monitor client side Method.Specifically, the media flow that IPC sends is replicated by media forwarding server, and is distributed to each monitor terminal.
Inventor in finding prior art, is subtracted by disposing media forwarding server during the application is realized , at least there is problems with the method for slow network link blocking:
1st, due to needing extraly media forwarding server to be disposed in each monitor client, undoubtedly increased the monitoring of user Lower deployment cost, is unfavorable for large-scale monitoring deployment.
2nd, the method for disposing media forwarding server, only in the multiple client same IPC of the same network segment of program request simultaneously In the case of can just have effect.As different clients program request difference IPC, any effect is not had.
3rd, media server can only be replicated to media data flow and be distributed, and play certain reduction IPC network load Effect, runs into the problem of link congestion if original, and streaming media server is also helpless.
It can be seen that, how the video flowing for IPC selects suitable transmission path, and then video flowing is bypassed in network system Congestion address field, it is ensured that video flowing rapidly and accurately can be transmitted to monitor client, become those skilled in the art and urgently solved Technical problem certainly.
The content of the invention
The invention provides a kind of video flow sending method, selects suitable transmission path to the video flowing for IPC, enters And making video flowing bypass the congestion address field in network system, it is ensured that video flowing rapidly and accurately can be passed to monitor client It is defeated.The method is applied in the network system comprising web camera, network monitoring device and monitor client, methods described At least include:
When the video request message that the monitor client sends is received, the web camera is by regarding to described Frequency request message is parsed, and obtains the network path that the video request message is passed through;
The web camera judges the network path by the network link information that the network monitoring device is provided Flow load whether exceed default load threshold;
If the determination result is YES, the web camera selects the paths different from the network path to the monitoring visitor Family end sends video flowing, so that the flow load of the transmitting path of the video flowing is less than the load threshold.
Preferably, the video request message includes all-network on the monitor client and the network path The network address information of equipment.
Preferably, the network link information is that the network monitoring device exists in the network system is monitored and gathers around During plug address field, send to the web camera, the flow load on the congestion address field exceedes the load threshold, Information of the network link information comprising all of congestion address field in the network system.
Preferably, the network link information provided by the network monitoring device judges the stream of the network path Whether amount load exceedes default load threshold, specially:
Obtain the network address information of each network equipment on the network path;
The address field that the network path is passed through is determined according to the network address information of each network equipment;
If the address field is identical with the congestion address field, confirm that the flow load of the network path has exceeded institute State load threshold;
If the address field is differed with the congestion address field, confirm the flow load of the network path not less than The load threshold.
Preferably, also include:
If judged result is no, the web camera sends described to the monitor client by the network path Video flowing.
Accordingly, the application proposes a kind of web camera, be applied to comprising web camera, network monitoring device and In the network system of monitor client, the web camera at least includes:
Parsing module, when the video request message that the monitor client sends is received, by asking to the video Ask message to be parsed, obtain the network path that the video request message is passed through;
Judge module, the network link information provided by the network monitoring device judge the flow of the network path Whether load exceedes default load threshold;
Path selection module, when judged result is to be, selects the paths different from the network path to the monitoring Client sends video flowing, so that the flow load of the transmitting path of the video flowing is less than the load threshold.
Preferably, the video request message includes all-network on the monitor client and the network path The network address information of equipment.
Preferably, the network link information is that the network monitoring device exists in the network system is monitored and gathers around During plug address field, send to the web camera, the flow load on the congestion address field exceedes the load threshold, Information of the network link information comprising all of congestion address field in the network system.
Preferably, the judge module specifically for:
Obtain the network address information of each network equipment on the network path;
The address field that the network path is passed through is determined according to the network address information of each network equipment;
If the address field is identical with the congestion address field, confirm that the flow load of the network path has exceeded institute State load threshold;
If the address field is differed with the congestion address field, confirm the flow load of the network path not less than The load threshold.
Preferably, also include:
Sending module, when judged result is no, by regarding described in the network path to monitor client transmission Frequency flows.
By the technical scheme using the application, when the video request message of monitor client transmission is received, network Video camera by parsing to video request message, obtains the network path that video request message is passed through first;Then pass through The network link information that network monitoring device is provided judges whether the flow load of network path exceedes default load threshold;If Judged result is yes, and web camera selects the paths different from the path of video request message to send to the monitor client Video flowing, to guarantee that the flow in video stream path is less than default load threshold.Video flowing can be allowed so as to ensure that The congestion address field in network system is bypassed, and then ensure that video flowing rapidly and accurately can be transmitted to monitor client, carried The quality and the viewing experience of user of high video monitoring.
Description of the drawings
In order to be illustrated more clearly that the technical scheme of the application, embodiment will be described below needed for accompanying drawing to be used It is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the present application, general for this area For logical technical staff, on the premise of not paying creative work, can be with according to these other accompanying drawings of accompanying drawings acquisition.
Fig. 1 is a kind of schematic flow sheet of data flow sending method that the embodiment of the present application is proposed;
Fig. 2 is schematic diagram of the video flowing of the application specific embodiment proposition by congestion link;
Fig. 3 is the schematic diagram that the video flowing that the application specific embodiment is proposed passes through non-congested path;
Fig. 4 is the schematic diagram of the request message that the monitor client that the application specific embodiment is proposed sends;
Fig. 5 is the schematic diagram of the request message of the router B forwardings that the application specific embodiment is proposed;
Fig. 6 is the schematic diagram of the request message of the router F forwardings that the application specific embodiment is proposed;
Fig. 7 is the schematic diagram of the request message of the router E forwardings that the application specific embodiment is proposed;
Fig. 8 is the schematic diagram of the request message of the router A forwardings that the application specific embodiment is proposed;
Fig. 9 is the schematic diagram of the response video stream packet that the IPC1 that the application specific embodiment is proposed sends;
Figure 10 is the schematic diagram of the response video stream packet of the router A forwardings that the application specific embodiment is proposed;
Figure 11 is the schematic diagram of the response video stream packet of the router E forwardings that the application specific embodiment is proposed;
Figure 12 is the schematic diagram of the response video stream packet of the router F forwardings that the application specific embodiment is proposed;
Figure 13 is the schematic diagram of the response video stream packet of the router B forwardings that the application specific embodiment is proposed;
Figure 14 is a kind of structural representation of web camera that the embodiment of the present application is proposed.
Specific embodiment
As stated in the Background Art, existing monitoring video flow sending method, is turned by increasing media in monitor client side Server is sent out, and the video flowing that IPC sends is replicated by media forwarding server, and be distributed to each monitor terminal, subtracted The video stream load of slow IPC.Said method plays the effect for slowing down video stream path congestion to a certain extent.But It is only just to work in the case of the multiple client simultaneously same IPC of the same network segment of program request.Also, media server Prevention can only be played a part of, if originally there is the problem of link congestion, media server will not have and any slow down chain The effect of road congestion.
Therefore, in order to overcome above-mentioned drawback of the prior art, the application to propose a kind of sending method of video flowing, to Video flowing for IPC selects suitable transmission path, and then enables video flowing to bypass the congestion address field in network system, really Protect video flowing rapidly and accurately to transmit to monitor client.In the video request message for receiving monitor client transmission When, web camera by parsing to video request message, obtains the network path that video request message is passed through first;So The network link information for being provided by network monitoring device afterwards judges whether the flow load of network path exceedes default load Threshold value;If the determination result is YES, web camera selects the paths different from the path of video request message to the monitoring visitor Family end sends video flowing, to guarantee that the flow load in video stream path is less than default load threshold.So as to guarantee Video flowing can be allowed to bypass congestion address field in network system, and then ensure that video flowing can rapidly and accurately to monitoring visitor Family end is transmitted, and improves the quality of video monitoring and the viewing experience of user.
As shown in figure 1, a kind of schematic flow sheet of the sending method of the video flowing proposed for the application, needs explanation It is that the method is applied in the network system comprising web camera, network monitoring device and monitor client, network shooting Also there is network router between machine and monitor client, forward to the interaction data to the two.Specifically, the method At least comprise the following steps:
S101, when the video request message of monitor client transmission is received, web camera is by video request Message is parsed, and obtains the network path that video request message is passed through.
In embodiments herein, monitor client first will when video request message is sent to web camera Local network address information is write in the middle of message, then arranges record route option labelling in messages.In network system Network router, will be the filling according to record route option former when the video request message of monitor client transmission is received Then, add route record option in video request message, after the network address information of itself is recorded, by video request message It is transmitted to another router.
In the preferred embodiment of the application, web camera is receiving the video request message of monitor client transmission When, the route record option of the forwarded over all-network router addition of itself is have recorded in video message.That is, please in video In seeking message, not only include the network address information of monitor client, while further comprises the net of video request message process The network address information of all of network equipment on network path.By the method to set up of above network request message, net can be allowed Network video camera quickly and accurately obtains the path of video request message process.
It should be noted that the method to set up of network request message disclosed above, simply the application proposition is a kind of excellent The embodiment of choosing, based on the core concept of the application, those skilled in the art can also adopt other network request messages Method to set up, this can't affect the protection domain of the application.
In embodiments herein, web camera is exactly based on and the route record option in video request message is entered Row parsing, obtains the network address information of the network router that the video request message is passed through, so as to further obtain this The network path that video request message is passed through.
After the network path for obtaining video request message process, web camera is concrete further according to the network path Link congestion situation, judge whether need think from the network path monitor client send video flowing.
By S101 the step of the above, web camera can quickly and accurately obtain the video of monitor client transmission Request message pass through network path, afterwards web camera further according to the network path practical situation judge whether need from The path sends video flowing to monitor client.
By the network link information that network monitoring device is provided, S102, web camera judge that video request message is passed through The flow load of network path whether exceed default load threshold.
In embodiments herein, web camera is passed through in the video request message for obtaining monitor client transmission After network path, the network link information provided according to network monitoring device is judged the flow load on the network path Whether default load threshold is exceeded.
When load threshold mentioned above refers to that network path reaches congestion, the marginal value of flow load works as network path On flow load when exceeding load threshold, then illustrate that network path is state in congestion.Now, if web camera Video flowing is sent to monitor client by the network path, it would be possible to have transmission slowly, or even the phenomenon of error occurs. Meanwhile, watch in monitor client side【Monitored picture the phenomenons such as interim card, Hua Ping just occur, this will have a strong impact on video The quality of monitoring, reduces the viewing experience of user.
When the flow load on network path is not less than load threshold, then illustrate that network path is not at the shape of congestion State.Now, if web camera smooth rapidly can send video flowing to monitor client by the network path.In prison Control client-side viewing monitored picture is not in the phenomenons such as interim card, Hua Ping.
Load threshold can be set based on experience value, naturally it is also possible to by the practical situation calculating of network system , its method for determining can't affect the protection domain of the application.
In the preferred embodiment of the application, the network link between two network routing devices is referred to as into address field, when When flow load on address field exceedes load threshold, then the address field is referred to as into congestion address field.
In the preferred embodiment of the application, it is responsible for entirely monitoring the network topology of network by network monitoring device, The data traffic pressure of monitor in real time whole network, if the front monitoring front-end (web camera) in a certain network address section is to finger When determining the link in network between monitor client and flow congestion occur, network monitoring device will detect network traffic congestion And the warning information of network congestion is sent, and notify front monitoring front-end (web camera).
In the preferred embodiment of the application, when there is congestion address field in network system is monitored, network monitoring sets It is standby to send network link information to web camera.Network link information is that network monitoring device passes through in real time to network system In data traffic be monitored, and obtain after recording to the congestion address field in network system.It can be seen that, in lattice chain In the information of road, the information of all of congestion address field in network system is contained.
Web camera is after the network link information for receiving network monitoring device transmission, it is possible to obtain network system In congestion address field information.Afterwards, web camera judges to regard further according to the information of the congestion address field in network system The network path that frequency request message is passed through whether there is congestion phenomenon.
In the preferred embodiment of the application, web camera can judge video request by following concrete grammar Whether the flow load of the network path that message is passed through exceedes default load threshold.Specifically, the method at least includes following The step of:
(1) obtain the network address information of each network equipment on the network path that video request message is passed through.
Web camera is obtained on the network path that video request message is passed through by parsing to video request message The network address information of all-network equipment (preferably network router).
(2) address field that the network path is passed through is determined according to the network address information of each network equipment.
On network path is obtained after the network address information of all-network equipment, web camera is according to each net The network address information of network equipment, determines the address field that the network path is passed through.
(3) if the address field of network path process is identical with congestion address field, confirm that the flow of the network path is born Load has exceeded load threshold.
If the address field that the network path is passed through is identical with congestion address field, illustrate that network path have passed through network system Congestion address field in system, now then thinks that the flow load of the network path has exceeded load threshold.
(4) if the address field that the network path is passed through is differed with congestion address field, confirm that the flow of network path is born Carry not less than load threshold.
If the address field that the network path is passed through is differed with congestion address field, illustrate that network path not have passed through Congestion address field in network system, now then thinks the flow load of the network path not less than load threshold.
Preferred implementation by more than, web camera can rapidly and accurately judge what video request message was passed through Whether the flow load on network path is super default load threshold.This is the choosing that provides to the Path selection of video flowing afterwards The foundation selected.
It should be noted that whether the disclosed above flow load for judging networking path is super default load threshold Method, a kind of preferred implementation that simply the application is proposed, based on the core concept of the application, those skilled in the art may be used also To take other to judge the whether super method for having default load threshold of the flow load in networking path, this can't affect this Shen Protection domain please.
In the preferred embodiment of the application, if it is determined that the flow for obtaining the network path of video request message process is born Carry not less than default load threshold, web camera sends the video flowing to monitor client by the network path.
If the flow load of the network path that video request message is passed through illustrates this not less than default load threshold There is no the phenomenon of congestion on network path.Now, web camera can be directly by the network path to monitor client Send video flowing.
S103, if it is determined that the flow load for obtaining the network path of video request message process has exceeded default load Threshold value, web camera select the paths different from the network path to send video flowing to monitor client, so that video flowing The flow load of transmitting path is less than load threshold.
If the flow load of the network path that video request message is passed through exceedes default load threshold, the net is illustrated There is no the phenomenon of congestion on network path.Now, regard if web camera is sent to monitor client by the network path Frequency flows, it would be possible to there is transmission slowly, or even the phenomenon of error occurs.Meanwhile, monitored picture is watched in monitor client side The phenomenons such as interim card, Hua Ping just occur, this will have a strong impact on the quality of video monitoring, reduce the viewing experience of user.
Therefore, in embodiments herein, the flow load of the network path passed through in video request message exceedes in advance If load threshold when, web camera selects paths different from the network path to monitor client transmission video flowing, and And the flow load in its path for selecting is less than load threshold.So that web camera is sent to monitor client Video flowing can bypass congestion address field in network system, and then ensure that video flowing can rapidly and accurately to monitoring visitor Family end is transmitted, and improves the quality of video monitoring and the viewing experience of user.
From the description of above idiographic flow, by the technical scheme using the application, monitor client is being received During the video request message of transmission, web camera by parsing to video request message, obtains video request report first The network path that text is passed through;Then the network link information for being provided by network monitoring device judges the flow load of network path Whether default load threshold is exceeded;If the determination result is YES, web camera selects different from the path of video request message Path to the monitor client send video flowing, with guarantee video stream path flow be less than default load threshold Value.Video flowing can be allowed to bypass the congestion address field in network system so as to ensure that, and then ensure that video flowing can be fast Speed is transmitted to monitor client exactly, improves the quality of video monitoring and the viewing experience of user.
In order to the technological thought of the present invention is expanded on further, in conjunction with specific protocol procedures, the technical side to the application Case is illustrated.
Present invention mainly solves during nonbursty network congestion, video flowing is unable to connecing for real-time high-efficiency transmission in video surveillance network The problem of receiving end.The purpose of the present invention is to meet video flowing to network link low time delay, the link requirement of low packet loss ratio.
For the technological thought for more clearly illustrating the application, the first work of the network equipment to being related in the application With illustrating.
(1) IMP (network monitoring device)
IMP is used for the network topology for managing whole monitoring network, and monitor in real time entirely monitors the data traffic pressure of network, If there is flow and gathers around in link of the front monitoring front-end (IPC) in a certain network address section in specified network between monitor client During plug, IMP will detect network traffic congestion and send the warning information of network congestion, and notify IPC (CCTV camera).
(2)IPC
After the order request message for receiving monitor client, parsing first obtains the address pair that request message is passed through to IPC, Then network link between address above mentioned pair whether congestion is judged again, if congestion, is sending video to the monitor client During stream, new path is reselected, so that video flowing avoids the network link of congestion.
(3) monitor client
Monitor client carries " record route option ", and in the information of message internal record local network segment, while by Jing The outgoing interface address information recording for crossing router gets off.
Based on the description of above primary network device, the specific flow process of the application is as follows:
In this flow process, the involved network equipment and interface IP address are as shown in table 1 below
The involved network equipment and interface IP address table in 1. flow processs of table
As shown in Fig. 2 working as in multiple monitor clients (PC1) that address field is 202.15.8.0/24 while at program request When address field is live for multiple IPC1 of 202.15.7.0/24, video flow sequentially passes through the routers such as A, C, D and is sent to road By device B, but as the IPC1 ways of program request are excessive, and the monitor terminal of program request is excessive, causes intermediary routing node A, C, D, B Between link there is interim bursts of traffic, there is the phenomenon of congestion.Now, IMP will send a warning message to IPC1, notify Congestion is occurred in that between IPC1 routing node A, C, D, B, while all network segment addresses pair for occurring link congestion on the link (source address and destination address) notifies all IPC1 that location section is 202.15.7.0/24.The ground for now preserving on IPC1 Location network segment address is as shown in table 2 below to gathering:
Source network segment address Wildcard bits Destination network segment address Destination network segment mask
202.15.7.0 255.255.255.0 202.15.8.0 255.255.255.0
202.15.7.0 255.255.255.0 202.15.100.0 255.255.255.0
202.15.7.0 255.255.255.0 202.15.101.0 255.255.255.0
202.15.7.0 255.255.255.0 202.15.102.0 255.255.255.0
2. congestion address network segment of table correspondence table
If matching monitoring request of the address field to (section containing destination address is 202.15.8.0/24), address field Front monitoring front-end (IPC1) for 202.15.7.0/24 needs routing again when sending video flow, as shown in figure 3, IPC1 according to Strict source routing option carries out video stream, walks other network links.
Under normal circumstances, in catenet, routing node and remote host that the IP messages that main frame sends are passed through The routing node passed through to the response message of the main frame is typically different;Monitor client (PC1) is to front monitoring front-end IPC1 When carrying out video request, first locally making requests on message encapsulation, record route option labelling is set, and by local network ground Location section is write in this request message.The IP address space of 16 bytes is reserved in record route option at most, in monitoring request It is 202.15.8.0 that the data division of message carries the network address, and mask is the network address segment information of 24.Brief information It is illustrated in fig. 4 shown below.
When message enters router B, according to the fill rule of record route option, IP messages are added in route B After route record option, the message format for being forwarded to router F from router B is as shown in Figure 5.
In the same manner, after router F receives the video on-demand request message of monitor client, fill new record route option Afterwards, monitoring request message and router E being forwarded to from router F, the IP message answers of router E are now forwarded to from router F Information is as shown in Figure 6.
In the same manner, through the route selection function of IP options, after filling new record route option, monitoring request message is from road Router A is forwarded to by device E, and the IP message answering informations for now router A being forwarded to from router E are as shown in Figure 7.
After router A receives message as shown in Figure 7, new route record option information is filled, message is sent to IPC1, the message information that now IPC1 is received are as shown in Figure 8.
IPC1 analytic messages, the route option information, the network address segment information of monitor client in extraction IP options.Send out Address field in the monitor client network address Duan Nengyu table 2 for now extracting is to matching.IPC1 then judges current video prison Control request needs carry out routing again, IPC1 with the monitor client carry out all video monitoring service message interactions when Wait, all carry out source station and route selection.Then video stream packets of the IPC1 subsequently to the hair style of monitor client (PC1) must be in advance Routing route option information is filled in IP options.The form answer of video stream packet is illustrated in fig. 9 shown below.
After IP messages reach router A, update through route selection option, message is forwarded to into router from router A E, is now substantially illustrated in fig. 10 shown below from the message format that router A is forwarded to up to router E.
The message that router F, B and destination monitor client (PC1) are received in the same manner is respectively such as the institute of Figure 10,11 and 12 Show.
Through above step, Streaming Media successfully avoids link nodes B, C of flow congestion, it is ensured that video flowing is high in real time What is imitated is sent to monitor client.
From the description of above specific embodiment, by the technical scheme using the application, monitoring visitor is being received During the video request message that family end sends, first by parsing to video request message, obtaining video please for web camera The network path for asking message to pass through;Then the network link information for being provided by network monitoring device judges the flow of network path Whether load exceedes default load threshold;If the determination result is YES, web camera selects the path with video request message Different paths sends video flowing to the monitor client, to guarantee that the flow in video stream path is less than default load Threshold value.Video flowing can be allowed to bypass the congestion address field in network system so as to ensure that, and then ensure that video flowing can Rapidly and accurately transmit to monitor client, improve the quality of video monitoring and the viewing experience of user.
In order to reach above technical purpose, the application proposes a kind of web camera, is applied to comprising web camera, net In the network system of network monitoring device and monitor client, the web camera at least includes:
Parsing module 141, when the video request message that the monitor client sends is received, by the video Request message is parsed, and obtains the network path that the video request message is passed through;
Judge module 142, the network link information provided by the network monitoring device judge the network path Whether flow load exceedes default load threshold;
Path selection module 143, when judged result is to be, selects the paths different from the network path to the prison Control client sends video flowing, so that the flow load of the transmitting path of the video flowing is less than the load threshold.
In specific application scenarios, the video request message includes the monitor client and the network road The network address information of all-network equipment on footpath.
In specific application scenarios, the network link information is that the network monitoring device is monitoring the network When there is congestion address field in system, send to the web camera, the flow load on the congestion address field exceedes The load threshold, information of the network link information comprising all of congestion address field in the network system.
In specific application scenarios, the judge module specifically for:
Obtain the network address information of each network equipment on the network path;
The address field that the network path is passed through is determined according to the network address information of each network equipment;
If the address field is identical with the congestion address field, confirm that the flow load of the network path has exceeded institute State load threshold;
If the address field is differed with the congestion address field, confirm the flow load of the network path not less than The load threshold.
In specific application scenarios, also include:
Sending module, when judged result is no, by regarding described in the network path to monitor client transmission Frequency flows.
From more than, the description of concrete equipment, by the technical scheme using the application, is receiving monitor client During the video request message of transmission, web camera by parsing to video request message, obtains video request report first The network path that text is passed through;Then the network link information for being provided by network monitoring device judges the flow load of network path Whether default load threshold is exceeded;If the determination result is YES, web camera selects different from the path of video request message Path to the monitor client send video flowing, with guarantee video stream path flow be less than default load threshold Value.Video flowing can be allowed to bypass the congestion address field in network system so as to ensure that, and then ensure that video flowing can be fast Speed is transmitted to monitor client exactly, improves the quality of video monitoring and the viewing experience of user.
Through the above description of the embodiments, those skilled in the art can be understood that the present invention can be led to Cross hardware realization, it is also possible to by software plus necessary general hardware platform mode realizing.Based on such understanding, this Bright technical scheme can be embodied in the form of software product, and the software product can be stored in a non-volatile memories Medium (can be CD-ROM, USB flash disk, portable hard drive etc.) in, use so that a computer equipment (can be including some instructions Personal computer, server, or network equipment etc.) perform method described in each implement scene of the invention.
It will be appreciated by those skilled in the art that accompanying drawing is a schematic diagram for being preferable to carry out scene, module in accompanying drawing or Flow process is not necessarily implemented necessary to the present invention.
It will be appreciated by those skilled in the art that module in device in implement scene can according to implement scene describe into Row is distributed in the device of implement scene, it is also possible to carry out one or more dresses that respective change is disposed other than this implement scene In putting.The module of above-mentioned implement scene can merge into a module, it is also possible to be further split into multiple submodule.
The invention described above sequence number is for illustration only, does not represent the quality of implement scene.
Disclosed above is only that the several of the present invention are embodied as scene, but, the present invention is not limited to this, Ren Heben What the technical staff in field can think change should all fall into protection scope of the present invention.

Claims (10)

1. a kind of video flow sending method, it is characterised in that be applied to comprising web camera, network monitoring device and monitoring In the network system of client, methods described at least includes:
When the video request message that the monitor client sends is received, the web camera is by asking to the video Ask message to be parsed, obtain the network path that the video request message is passed through;
The web camera judges the stream of the network path by the network link information that the network monitoring device is provided Whether amount load exceedes default load threshold;
If the determination result is YES, the web camera selects the paths different from the network path to the monitor client Video flowing is sent, so that the flow load of the transmitting path of the video flowing is less than the load threshold.
2. the method for claim 1, it is characterised in that:
The video request message includes the network of all-network equipment on the monitor client and the network path Address information.
3. method as claimed in claim 2, it is characterised in that:
When the network link information is that the network monitoring device has congestion address field in the network system is monitored, Send to the web camera, the flow load on the congestion address field exceedes the load threshold, the lattice chain Information of the road packet containing all of congestion address field in the network system.
4. method as claimed in claim 3, it is characterised in that the network link provided by the network monitoring device Information judges whether the flow load of the network path exceedes default load threshold, specially:
Obtain the network address information of each network equipment on the network path;
The address field that the network path is passed through is determined according to the network address information of each network equipment;
If the address field is identical with the congestion address field, confirm that the flow load of the network path has exceeded described negative Carry threshold value;
If the address field is differed with the congestion address field, confirm the flow load of the network path not less than described Load threshold.
5. the method for claim 1, it is characterised in that also include:
If judged result is no, the web camera sends the video to the monitor client by the network path Stream.
6. a kind of web camera, it is characterised in that be applied to comprising web camera, network monitoring device and monitoring client In the network system at end, the web camera at least includes:
Parsing module, when the video request message that the monitor client sends is received, by the video request report Text is parsed, and obtains the network path that the video request message is passed through;
Judge module, the network link information provided by the network monitoring device judge the flow load of the network path Whether default load threshold is exceeded;
Path selection module, when judged result is to be, selects the paths different from the network path to the monitoring client End sends video flowing, so that the flow load of the transmitting path of the video flowing is less than the load threshold.
7. web camera as claimed in claim 6, it is characterised in that:
The video request message includes the network of all-network equipment on the monitor client and the network path Address information.
8. web camera as claimed in claim 7, it is characterised in that:
When the network link information is that the network monitoring device has congestion address field in the network system is monitored, Send to the web camera, the flow load on the congestion address field exceedes the load threshold, the lattice chain Information of the road packet containing all of congestion address field in the network system.
9. web camera as claimed in claim 8, it is characterised in that the judge module specifically for:
Obtain the network address information of each network equipment on the network path;
The address field that the network path is passed through is determined according to the network address information of each network equipment;
If the address field is identical with the congestion address field, confirm that the flow load of the network path has exceeded described negative Carry threshold value;
If the address field is differed with the congestion address field, confirm the flow load of the network path not less than described Load threshold.
10. web camera as claimed in claim 6, it is characterised in that also include:
Sending module, when judged result is no, sends the video flowing to the monitor client by the network path.
CN201610964303.4A 2016-10-28 2016-10-28 Video stream sending method and network camera Active CN106550222B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610964303.4A CN106550222B (en) 2016-10-28 2016-10-28 Video stream sending method and network camera

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610964303.4A CN106550222B (en) 2016-10-28 2016-10-28 Video stream sending method and network camera

Publications (2)

Publication Number Publication Date
CN106550222A true CN106550222A (en) 2017-03-29
CN106550222B CN106550222B (en) 2020-08-28

Family

ID=58395226

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610964303.4A Active CN106550222B (en) 2016-10-28 2016-10-28 Video stream sending method and network camera

Country Status (1)

Country Link
CN (1) CN106550222B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113259375A (en) * 2021-06-10 2021-08-13 长视科技股份有限公司 Video service response method and electronic equipment

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110110230A1 (en) * 2008-07-16 2011-05-12 Huawei Technologies Co., Ltd. Method and apparatus for controlling congestion of wireless multi-hop network
CN102325270A (en) * 2011-09-13 2012-01-18 北京网康科技有限公司 Network video identification method and network video identification device thereof
CN102647312A (en) * 2012-05-09 2012-08-22 浙江宇视科技有限公司 Method and device for whole network multicast topology
CN103458466A (en) * 2012-05-30 2013-12-18 株式会社日立制作所 Flow control device, flow control method, network flow management system, and network flow management method
CN104010160A (en) * 2013-02-25 2014-08-27 杭州海康威视系统技术有限公司 Mainline management method of video monitoring system and device thereof
CN104410582A (en) * 2014-12-10 2015-03-11 国家电网公司 Traffic balancing method for electric power communication network based on traffic prediction
CN105450732A (en) * 2015-11-06 2016-03-30 北京奇虎科技有限公司 Data transmission method, device and system
CN105991474A (en) * 2015-05-18 2016-10-05 杭州迪普科技有限公司 Traffic scheduling method, traffic scheduling device and network device

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110110230A1 (en) * 2008-07-16 2011-05-12 Huawei Technologies Co., Ltd. Method and apparatus for controlling congestion of wireless multi-hop network
CN102325270A (en) * 2011-09-13 2012-01-18 北京网康科技有限公司 Network video identification method and network video identification device thereof
CN102647312A (en) * 2012-05-09 2012-08-22 浙江宇视科技有限公司 Method and device for whole network multicast topology
CN103458466A (en) * 2012-05-30 2013-12-18 株式会社日立制作所 Flow control device, flow control method, network flow management system, and network flow management method
CN104010160A (en) * 2013-02-25 2014-08-27 杭州海康威视系统技术有限公司 Mainline management method of video monitoring system and device thereof
CN104410582A (en) * 2014-12-10 2015-03-11 国家电网公司 Traffic balancing method for electric power communication network based on traffic prediction
CN105991474A (en) * 2015-05-18 2016-10-05 杭州迪普科技有限公司 Traffic scheduling method, traffic scheduling device and network device
CN105450732A (en) * 2015-11-06 2016-03-30 北京奇虎科技有限公司 Data transmission method, device and system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113259375A (en) * 2021-06-10 2021-08-13 长视科技股份有限公司 Video service response method and electronic equipment

Also Published As

Publication number Publication date
CN106550222B (en) 2020-08-28

Similar Documents

Publication Publication Date Title
ES2670419T3 (en) Method and system for adaptive virtual dissemination of digital content
CN100474819C (en) A deep message detection method, network device and system
US8971324B2 (en) Method, device and system for implementing multicast
US20130272247A1 (en) Methods for establishing and using public path, m2m communication method, and systems thereof
CN106664255A (en) Data flow control method
CN106572017A (en) BIER information transmitting method, receiving method and device
KR102123439B1 (en) CONGESTION MITIGATION METHOD AND APPARATUS TO MAXIMIZE QoE OF VIEOD TRAFFIC IN MOBILE NETWORKS
WO2023284447A1 (en) Cloud-edge collaboration data transmission method, server, and storage medium
WO2011132662A1 (en) Distribution system, distribution control device, and distribution control method
CN110636257B (en) Monitoring video processing method and device, electronic equipment and storage medium
CN109379254B (en) Network connection detection method and system based on video conference
CN103338207A (en) Real-time video multihop relaying method in wireless self-organization network
CN106993014A (en) The method of adjustment of cache contents, apparatus and system
CN102238073A (en) Network service stream management method and equipment
CN111224889A (en) Data transmission method and device
CN106550222A (en) A kind of video flow sending method and web camera
CN112866390B (en) Data transmission method, device, terminal equipment and storage medium
CN106254267B (en) Data forwarding path adjusting method and gateway equipment
US20130254825A1 (en) Enhanced policy control framework for object-based media transmission in evolved packet systems
CN103856489A (en) Achieving method and device for preventing replay attack
US10931718B2 (en) Local breakout-based data interception method and device
CN111131840B (en) Method and device for switching network of video service system
CN111586349B (en) Data outage and continuous transmission method and system for monitoring equipment
CN110798645B (en) Alarm method and system based on video network
CN110139059B (en) Method and device for allocating video networking resources

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