CN104270603B - Obtain the method and monitoring system of video flowing - Google Patents

Obtain the method and monitoring system of video flowing Download PDF

Info

Publication number
CN104270603B
CN104270603B CN201410476984.0A CN201410476984A CN104270603B CN 104270603 B CN104270603 B CN 104270603B CN 201410476984 A CN201410476984 A CN 201410476984A CN 104270603 B CN104270603 B CN 104270603B
Authority
CN
China
Prior art keywords
head end
mobile device
streaming media
monitoring device
media server
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201410476984.0A
Other languages
Chinese (zh)
Other versions
CN104270603A (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.)
Fujian Star Net Joint Information System Co Ltd
Original Assignee
Fujian Star Net Joint Information System 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 Fujian Star Net Joint Information System Co Ltd filed Critical Fujian Star Net Joint Information System Co Ltd
Priority to CN201410476984.0A priority Critical patent/CN104270603B/en
Publication of CN104270603A publication Critical patent/CN104270603A/en
Application granted granted Critical
Publication of CN104270603B publication Critical patent/CN104270603B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

This application discloses a kind of method for obtaining video flowing and a kind of monitoring system, wherein method to include:Mobile device asks the streaming media server of the head end video monitoring device to determine to obtain the mode of the Video stream information before the Video stream information of a head end video monitoring device is checked;The streaming media server is according to the request, according to the preferential principle that information is obtained directly at the head end video monitoring device of the mobile device, determine that the mobile device obtains the mode of the Video stream information, and notify the mobile device to obtain Video stream information in the manner described.Using the present invention, the monitoring effect of mobile device can be improved.

Description

Obtain the method and monitoring system of video flowing
Technical field
The present invention relates to field of video monitoring systems technology, is more particularly to a kind of method for obtaining video flowing and monitoring System.
Background technology
In current video monitoring system, public network is in for a head end video monitoring device (such as IPC, NVR, DVR) Or the video monitoring platform of private network, there is intermediary of the streaming media server as video data, for mobile device (such as Android phone) video flowing from head end video monitoring device is provided, facilitate instant feelings of the user at any time in checking monitoring domain Condition.
Generally, a medium scale video monitoring platform has the camera of hundreds of to thousands of, these picture pick-up devices Video stream data streaming media server can be sent to the speed of 25 two field picture per second, because streaming media server has public network IP address, therefore, mobile device (such as Android phone) by wifi or mobile communication as long as can either be surfed the Net, just It may be coupled to streaming media server and obtain video flowing, so as to realize the real-time monitoring to aiming field.
But due in practical application video stream data it is huge, and cellphone subscriber's quantity is more, therefore, such scheme In all mobile devices all by streaming media server obtain video flowing can cause on streaming media server network bandwidth deficiency, The problems such as machine loading is excessive, and then there may be network congestion, video pictures interim card etc. to cause monitoring mobile phone effect undesirable The problem of.
The content of the invention
In view of this, it is a primary object of the present invention to provide a kind of method and monitoring system for obtaining video flowing, the party Method can improve the monitoring effect of mobile device.
In order to achieve the above object, technical scheme proposed by the present invention is:
A kind of method for obtaining video flowing, including:
Mobile device asks the head end video to monitor before the Video stream information of a head end video monitoring device is checked The streaming media server of equipment determines to obtain the mode of the Video stream information;
The streaming media server is directly supervised according to the request according to the mobile device is preferential from the head end video The principle that information is obtained at equipment is controlled, determines that the mobile device obtains the mode of the Video stream information, and notify the shifting Dynamic equipment obtains Video stream information in the manner described.
A kind of monitoring system, including:Mobile device, head end video monitoring device and streaming media server;Wherein,
The mobile device, for before the Video stream information of a head end video monitoring device is checked, before request is described The streaming media server of video monitoring equipment is held to determine to obtain the mode of the Video stream information;Notified according to streaming media server Mode obtain Video stream information;
The streaming media server, it is preferential directly from the front end according to the mobile device for according to the request The principle of information is obtained at video monitoring equipment, determines that the mobile device obtains the mode of the Video stream information, and notify The mobile device.
In summary, the method and monitoring system proposed by the present invention for obtaining video flowing, a front end is checked in mobile device Before the Video stream information of video monitoring equipment, streaming media server is according to preferentially directly at the head end video monitoring device The principle of information is obtained, the mode of the Video stream information is obtained for its determination.So, mobile device is as much as possible around excessively stream matchmaker Body server directly to video flowing is obtained in front end surveillance device, can mitigate the pressure of Streaming Media device server, so as to Network congestion is avoided to obtain more preferable monitoring effect.
Brief description of the drawings
Fig. 1 is the method flow schematic diagram of the embodiment of the present invention;
Fig. 2 is monitoring system connection diagram when head end video monitoring device has public network IP address;
LAN where Fig. 3 is head end video monitoring device is the immediate superior local of LAN where the mobile device Monitoring system connection diagram during net;
Fig. 4 is the monitoring system structural representation of the embodiment of the present invention.
Embodiment
It is right below in conjunction with the accompanying drawings and the specific embodiments to make the object, technical solutions and advantages of the present invention clearer The present invention is described in further detail.
The present invention core concept be:Before mobile device checks the Video stream information of a head end video monitoring device, Streaming media server obtains institute according to the principle that information is preferentially obtained directly at the head end video monitoring device for its determination State the mode of Video stream information, with avoid all mobile devices all from streaming media server obtain video caused by network congestion, The problems such as mobile device monitoring effect difference.
Fig. 1 is the schematic flow sheet of the acquisition video streaming method of the embodiment of the present invention, as shown in figure 1, the embodiment is main Including:
Step 101, mobile device ask the front end before the Video stream information of a head end video monitoring device is checked The streaming media server of video monitoring equipment determines to obtain the mode of the Video stream information.
This step and traditional scheme except that, mobile device is before Video stream information is checked, it is necessary to ask to flow matchmaker Body server determines that it obtains the mode of Video stream information, to avoid directly obtaining what video flowing occurred from streaming media server The problems such as network congestion.
The mobile device can be the terminal devices such as mobile phone.
It is preferred that can be by the way of following methods ask the determination acquisition Video stream information:
The mobile device determines the road that the streaming media server of this equipment to the head end video monitoring device is passed through The streaming media server is sent to by device, and by the route-map.
So, streaming media server can be the side that its determination obtains the Video stream information according to the route-map Formula.
It is preferred that mobile device can utilize route tracking (traceroute) instrument in the above method, to determine this The router that the streaming media server of equipment to head end video monitoring device is passed through.
Explanation is needed exist for, traceroute is one that operating system (windows, unix, ios, linux) provides Kind route exploration instrument, the machine can be detected to the router passed through of target machine (such as streaming media server) using it. A routing example to be realized using the instrument below:
Key in an operating system:C:\Users\qq>Tracert220.160.91.93 can obtain the machine to target machine The router that device 220.160.91.93 passes through respectively:
Routing example above illustrates to first pass around to this target machine of 220.160.91.93 since the machine IP address be 10.18.72.254 router, followed by 10.255.255.42 routers, followed by 10.255.255.2 roads By device ..., finally reach this target machine of 220.160.91.93, tracking is completed.
Step 102, the streaming media server are preferential directly before described according to the mobile device according to the request The principle that information is obtained at video monitoring equipment is held, determines that the mobile device obtains the mode of the Video stream information, and lead to Know that the mobile device obtains Video stream information in the manner described.
This step is by according to the preferential original that information is obtained directly at the head end video monitoring device of the mobile device Then, determine that the mobile device obtains the mode of the Video stream information, so, mobile device bypasses Streaming Media as much as possible Server directly to video flowing is obtained in front end surveillance device, can mitigate the pressure of Streaming Media device server.
It is preferred that can be by the way of following methods determine the mobile device acquisition Video stream information:
After the streaming media server receives the route-map, if the head end video monitoring device has public affairs Net IP address, it is determined that the mode is that the mobile device obtains the video directly at the head end video monitoring device Stream information;Otherwise, according to the route-map, it is determined whether meet:LAN where the head end video monitoring device with LAN where the mobile device is identical, or LAN where the head end video monitoring device is the mobile device institute Immediate superior LAN or indirect higher level's LAN in LAN, if it is satisfied, then determining that the mode is the movement Equipment obtains the Video stream information directly at the head end video monitoring device, if be unsatisfactory for, determines that the mode is The mobile device obtains the Video stream information by the use of the streaming media server as intermediary.
In the above method, when when front end, video monitoring equipment has public network IP address (as shown in Figure 2), it may be determined that mobile Equipment obtains Video stream information by the mode direct-connected with head end video monitoring device.It is preferred that streaming media server can be pre- First determine whether head end video monitoring device has public network IP address using following methods:
Step x1, described head end video monitoring device predefines the road that this equipment is passed through to the streaming media server The streaming media server is sent to by device, and by the route-map;
Step x2, the router that described streaming media server detection book server is sent with the head end video monitoring device First router in information whether can UNICOM, if it is, judge that the head end video monitoring device has public network IP address, Otherwise, it is determined that the head end video monitoring device does not have public network IP address.
It is preferred that head end video monitoring device can utilize traceroute instruments, to determine that this equipment arrives the stream matchmaker The router that body server is passed through.
It can be regarded it is preferred that streaming media server utilizes with traceroute instruments to detect book server with the front end Whether the first router in the route-map that frequency monitoring device is sent can UNICOM.
In the method for the mode that the above-mentioned determination mobile device obtains the Video stream information, when it is determined that meeting:It is described LAN is identical with LAN where the mobile device where head end video monitoring device, or head end video monitoring is set Standby place LAN is the immediate superior LAN of LAN or indirect higher level's LAN (such as Fig. 3 where the mobile device It is shown) when, mobile device can directly have access to head end video monitoring device, therefore, in this case, it may be determined that mobile device Video stream information is obtained by the mode direct-connected with head end video monitoring device.It is preferred that it can be judged using following methods Currently whether meet the above situation:
By the route-map and the head end video monitoring device that in advance obtains to the streaming media server institute The route-map of process is compared, if two parts of route-maps at least there is an identical to route since afterbody Device, then judge to meet, otherwise, it is determined that being unsatisfactory for.
In the above method, by the way that the route-map that mobile terminal to streaming media server successively passes through and front end are regarded Frequency monitoring device is compared to the route-map that streaming media server successively passes through, if beginning with identical from afterbody Router, then LAN is identical with LAN where the mobile device where illustrating head end video monitoring device, Huo Zhesuo LAN where stating head end video monitoring device is the immediate superior LAN of LAN where the mobile device or indirect Higher level's LAN, therefore, it is possible to determine that meet.If both do not have identical router since afterbody, illustrate mobile whole End and head end video monitoring device can only be coupled by streaming media server, therefore, in this case, the mobile device needs profit The Video stream information is obtained by the use of the streaming media server as intermediary.
Fig. 4 is the monitoring system structural representation corresponding with the above method, as shown in figure 4, the system includes:Movement is set Standby, head end video monitoring device and streaming media server.Wherein,
The mobile device, for before the Video stream information of a head end video monitoring device is checked, before request is described The streaming media server of video monitoring equipment is held to determine to obtain the mode of the Video stream information;Notified according to streaming media server Mode obtain Video stream information;
The streaming media server, it is preferential directly from the front end according to the mobile device for according to the request The principle of information is obtained at video monitoring equipment, determines that the mobile device obtains the mode of the Video stream information, and notify The mobile device.
It is preferred that the mobile device includes a request unit, the request unit is used to determine that this equipment arrives the stream The router that media server is passed through, and the route-map is sent to the streaming media server.
It is preferred that mobile device can utilize route tracking (traceroute) instrument, to determine this equipment to front end The router that the streaming media server of video monitoring equipment is passed through.
It is preferred that the streaming media server includes a mode determining unit, the mode determining unit is used to receive To after the route-map of the mobile device, if the head end video monitoring device has public network IP address, Then determine that the mode obtains the Video stream information for the mobile device directly at the head end video monitoring device;It is no Then, according to the route-map, it is determined whether meet:LAN where the head end video monitoring device is set with the movement Standby place LAN is identical, or LAN where the head end video monitoring device is LAN where the mobile device Immediate superior LAN or indirect higher level's LAN, if it is satisfied, then determine the mode for the mobile device directly from The Video stream information is obtained at the head end video monitoring device, if be unsatisfactory for, determines that the mode sets for the movement It is standby to obtain the Video stream information by the use of the streaming media server as intermediary.
It is preferred that the head end video monitoring device, is further used for this predetermined equipment and arrives the streaming media service The router that device is passed through, and the route-map is sent to the streaming media server;
The mode determining unit of the streaming media server, it is further used for detecting book server and head end video prison Control first router in the route-map that equipment is sent whether can UNICOM, if it is, judging head end video monitoring Equipment has public network IP address, otherwise, it is determined that the head end video monitoring device does not have public network IP address.
It is preferred that the mode determining unit of the streaming media server, be further used for it is determined that it is described whether meet when, The road that the route-map is passed through with the head end video monitoring device obtained in advance to the streaming media server It is compared by device information, if two parts of route-maps at least have an identical router since afterbody, is judged Meet, otherwise, it is determined that being unsatisfactory for.
It is preferred that head end video monitoring device can utilize traceroute instruments, to determine that this equipment arrives the stream matchmaker The router that body server is passed through.
It can be regarded it is preferred that streaming media server utilizes with traceroute instruments to detect book server with the front end Whether the first router in the route-map that frequency monitoring device is sent can UNICOM.
In summary, presently preferred embodiments of the present invention is these are only, is not intended to limit the scope of the present invention. Within the spirit and principles of the invention, any modification, equivalent substitution and improvements made etc., it should be included in the present invention's Within protection domain.

Claims (6)

  1. A kind of 1. method for obtaining video flowing, it is characterised in that including:
    Mobile device asks the head end video monitoring device before the Video stream information of a head end video monitoring device is checked Streaming media server determine to obtain the mode of the Video stream information;The request includes:The mobile device determines originally to set The router that the standby streaming media server to the head end video monitoring device is passed through, and the route-map is sent to The streaming media server;
    The streaming media server is directly set according to the request according to the mobile device is preferential from head end video monitoring Standby place obtains the principle of information, using the route-map, determines that the mobile device obtains the side of the Video stream information Formula, and notify the mobile device to obtain Video stream information in the manner described;The mode for obtaining the Video stream information To obtain Video stream information directly at the head end video monitoring device or being used as intermediary by the use of the streaming media server Obtain Video stream information;
    Wherein, the mode for determining the mobile device acquisition Video stream information includes:
    After the streaming media server receives the route-map, if the head end video monitoring device has public network IP Address, it is determined that the mode is that the mobile device obtains the video flowing letter directly at the head end video monitoring device Breath;Otherwise, according to the route-map, it is determined whether meet:LAN where the head end video monitoring device with it is described LAN where mobile device is identical, or LAN where the head end video monitoring device is office where the mobile device The immediate superior LAN or indirect higher level's LAN of domain net, if it is satisfied, then determining that the mode is the mobile device The Video stream information is obtained directly at the head end video monitoring device, if be unsatisfactory for, it is described to determine the mode Mobile device obtains the Video stream information by the use of the streaming media server as intermediary.
  2. 2. according to the method for claim 1, it is characterised in that the head end video monitoring device has public network IP address The method of determination includes:
    The head end video monitoring device predefines the router that this equipment is passed through to the streaming media server, and should Route-map is sent to the streaming media server;
    Head in the route-map that the streaming media server detection book server is sent with the head end video monitoring device Individual router whether can UNICOM, if it is, judge that the head end video monitoring device has public network IP address, otherwise, it is determined that The head end video monitoring device does not have public network IP address.
  3. 3. according to the method for claim 2, it is characterised in that described to determine whether to meet:The head end video monitoring is set Standby place LAN is identical with LAN where the mobile device, or LAN where the head end video monitoring device is The immediate superior LAN of LAN or indirect higher level's LAN include where the mobile device:
    The route-map is passed through with the head end video monitoring device obtained in advance to the streaming media server Route-map be compared, if two parts of route-maps at least have an identical router since afterbody, Judge to meet, otherwise, it is determined that being unsatisfactory for.
  4. A kind of 4. monitoring system, it is characterised in that including:Mobile device, head end video monitoring device and streaming media server;Its In,
    The mobile device, for before the Video stream information of a head end video monitoring device is checked, asking the front end to regard The streaming media server of frequency monitoring device determines to obtain the mode of the Video stream information;The side notified according to streaming media server Formula obtains Video stream information;The mobile device includes a request unit, and the request unit is used to determine mobile device to institute The router that streaming media server is passed through is stated, and the route-map is sent to the streaming media server;
    The streaming media server, it is preferential directly from the head end video according to the mobile device for according to the request The principle of information is obtained at monitoring device, using the route-map, determines that the mobile device obtains the video flowing letter The mode of breath, and notify the mobile device;The mode for obtaining the Video stream information is directly from the head end video Video stream information is obtained at monitoring device or obtains Video stream information by the use of the streaming media server as intermediary;
    Wherein, the streaming media server includes a mode determining unit, and the mode determining unit is used to come from receiving After the route-map of the mobile device, if the head end video monitoring device has public network IP address, it is determined that The mode is that the mobile device obtains the Video stream information directly at the head end video monitoring device;Otherwise, root According to the route-map, it is determined whether meet:LAN where the head end video monitoring device and the mobile device institute It is identical in LAN, or LAN where the head end video monitoring device is the direct of LAN where the mobile device Higher level's LAN or indirect higher level's LAN, if it is satisfied, then determine the mode for the mobile device directly from described The Video stream information is obtained at head end video monitoring device, if be unsatisfactory for, determines the mode for mobile device profit The Video stream information is obtained by the use of the streaming media server as intermediary.
  5. 5. system according to claim 4, it is characterised in that the head end video monitoring device, be further used in advance The router that this equipment is passed through to the streaming media server is determined, and the route-map is sent to the Streaming Media and taken Business device;
    The mode determining unit of the streaming media server, it is further used for detection book server and is set with head end video monitoring First router in the route-map that preparation is sent whether can UNICOM, if it is, judging the head end video monitoring device With public network IP address, otherwise, it is determined that the head end video monitoring device does not have public network IP address.
  6. 6. system according to claim 5, it is characterised in that the mode determining unit of the streaming media server, enter one Walk for it is determined that it is described whether meet when, the route-map is arrived with the head end video monitoring device obtained in advance The route-map that the streaming media server is passed through is compared, if two parts of route-maps at least have since afterbody There is an identical router, then judge to meet, otherwise, it is determined that being unsatisfactory for.
CN201410476984.0A 2014-09-18 2014-09-18 Obtain the method and monitoring system of video flowing Active CN104270603B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410476984.0A CN104270603B (en) 2014-09-18 2014-09-18 Obtain the method and monitoring system of video flowing

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410476984.0A CN104270603B (en) 2014-09-18 2014-09-18 Obtain the method and monitoring system of video flowing

Publications (2)

Publication Number Publication Date
CN104270603A CN104270603A (en) 2015-01-07
CN104270603B true CN104270603B (en) 2018-03-06

Family

ID=52162085

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410476984.0A Active CN104270603B (en) 2014-09-18 2014-09-18 Obtain the method and monitoring system of video flowing

Country Status (1)

Country Link
CN (1) CN104270603B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105376226B (en) * 2015-11-04 2020-04-10 浙江宇视科技有限公司 Forwarding method and system of streaming media server
CN105656913B (en) * 2016-01-29 2019-07-09 福建星网锐捷通讯股份有限公司 A kind of method of adaptive network when intelligent terminal broadcasting video
CN108040219A (en) * 2017-11-03 2018-05-15 江西高创保安服务技术有限公司 A kind of video monitoring streaming media transmission method based on subnet detection
CN112087596B (en) * 2019-06-14 2023-03-14 杭州海康威视系统技术有限公司 Method for determining media stream transmission mode and media stream transmission system
CN113301311A (en) * 2021-06-01 2021-08-24 四川野马科技有限公司 Video monitoring data transmission method, device, equipment and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101110811A (en) * 2006-07-18 2008-01-23 北京华纬讯电信技术有限公司 Method for controlling media data transmission of video system
CN102215276A (en) * 2011-06-20 2011-10-12 中兴通讯股份有限公司 Video monitoring system and method of media traverse of network address translation equipment
CN103888734A (en) * 2014-03-26 2014-06-25 浙江宇视科技有限公司 Method and device for controlling media stream under two layers of private networks

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1556956B1 (en) * 2002-06-26 2018-03-07 Yahoo Holdings, Inc. System and method for communicating images between intercommunicating users

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101110811A (en) * 2006-07-18 2008-01-23 北京华纬讯电信技术有限公司 Method for controlling media data transmission of video system
CN102215276A (en) * 2011-06-20 2011-10-12 中兴通讯股份有限公司 Video monitoring system and method of media traverse of network address translation equipment
CN103888734A (en) * 2014-03-26 2014-06-25 浙江宇视科技有限公司 Method and device for controlling media stream under two layers of private networks

Also Published As

Publication number Publication date
CN104270603A (en) 2015-01-07

Similar Documents

Publication Publication Date Title
CN104270603B (en) Obtain the method and monitoring system of video flowing
KR101018892B1 (en) Dynamic service information for the access network
CN102843442B (en) Method for configuring networked cameras
US10992769B2 (en) Data transmission method, apparatus and system
WO2019084972A1 (en) Streaming media live broadcast method and system
CN104618195B (en) Bandwidth estimation method and apparatus
CN108353004A (en) Method, system and computer-readable medium for test network virtualization of function (NFV)
CN110213129B (en) Forwarding path time delay detection method, controller and forwarding equipment
EP2819407B1 (en) System for automatic connection between NVR and IP camera
US9742627B2 (en) System for automatic connection between NVR and IP camera
WO2020088166A1 (en) Video wireless transmission method, apparatus, and system, and device
CN108650467A (en) Control method, control system and the camera system of camera
JP2011071956A (en) Policy-based video quality assessment
CN105794258B (en) Congestion notification method, relevant device and system
WO2018121741A1 (en) Streaming data cross-domain transmission method and device
WO2023109524A1 (en) Information leakage monitoring method and system, and electronic device
CN107766430A (en) A kind of file search method and system
CN109587687A (en) Base station equipment and its network-building method
JP2018078634A5 (en)
CN102075588B (en) Method and system for realizing network address translation (NAT) transversing and equipment
CN106453026B (en) Logical loops detection method and device based on VXLAN network
CN109698932B (en) Data transmission method, camera and electronic equipment
US9992073B2 (en) Network status measuring system and a method for measuring status of a network
KR101432039B1 (en) Method for remote monitoring using IP camera
CN105847241A (en) Data interception method based on local unloading, local gateway and interception gateway

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information
CB02 Change of applicant information

Address after: 350108, No. 2, building 9, 7 hi tech Avenue, Fuzhou Town, Minhou County, Fujian, China

Applicant after: Fujian star net joint information system Co., Ltd.

Address before: 350108, No. 2, building 9, 7 hi tech Avenue, Fuzhou Town, Minhou County, Fujian, China

Applicant before: Fujian Star-Net Security Technology Co., Ltd.

GR01 Patent grant
GR01 Patent grant