CN101448148A - Method for controlling video forwarding in multistage architecture video monitoring system - Google Patents

Method for controlling video forwarding in multistage architecture video monitoring system Download PDF

Info

Publication number
CN101448148A
CN101448148A CNA2008102407801A CN200810240780A CN101448148A CN 101448148 A CN101448148 A CN 101448148A CN A2008102407801 A CNA2008102407801 A CN A2008102407801A CN 200810240780 A CN200810240780 A CN 200810240780A CN 101448148 A CN101448148 A CN 101448148A
Authority
CN
China
Prior art keywords
video
request
vtdu
forwarding process
cms
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
CNA2008102407801A
Other languages
Chinese (zh)
Other versions
CN101448148B (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.)
Beijing Jiaxun Feihong Electrical Co Ltd
Original Assignee
Beijing Jiaxun Feihong Electrical 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 Beijing Jiaxun Feihong Electrical Co Ltd filed Critical Beijing Jiaxun Feihong Electrical Co Ltd
Priority to CN2008102407801A priority Critical patent/CN101448148B/en
Publication of CN101448148A publication Critical patent/CN101448148A/en
Application granted granted Critical
Publication of CN101448148B publication Critical patent/CN101448148B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Closed-Circuit Television Systems (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

The invention discloses a method for controlling the video forwarding in a multistage architecture video monitoring system and belongs to the technical field of the video monitoring. The technical scheme is as follows: the control over a video transfer and dispatch unit VTDU imposed by the central manager server CMS is enhanced; when the VTDU starts and does not establish the video forwarding process and a client successfully logs on the CMS, a video request is firstly sent to the CMS, and the CMS forwards the video request to the VTDU; after the video request is received, the VTDU queries whether the video exists or not, and informs a forwarding process that the video should be sent to a client side sending a request; when the video is found not existing, a corresponding forwarding process should be established so as to realize the dynamic establishment of the forwarding process; and when the output of the forwarding process is idle, the forwarding process automatically ends. The invention realizes the dynamic establishment and the demand assignment of the video forwarding process, solves the problem that the system volume is limited, and saves the hardware cost.

Description

The video transmission control method of multistage architecture video monitoring system
Technical field
The invention belongs to technical field of video monitoring, relate in particular to a kind of video transmission control method of multistage architecture video monitoring system.
Background technology
The multistage architecture video monitoring system is divided into access platform and junction platform.Fig. 1 is the general frame figure of multistage architecture video monitoring system.Among Fig. 1, the module that each platform comprised is: CMS (CentralManager Server), NRU (Network Record Unit) and VTDU (Video Transfer andDispatch Unit).CMS is Network Video Surveillance central platform system centre management service unit; NRU is the network video recording server of Network Video Surveillance central platform system; VTDU is the media processing units of Network Video Surveillance central platform system, is responsible for the forwarding management of video flowing.The solid line of no arrow is represented professional control channel, and the solid line of band arrow is represented data channel, and dotted line represents to manage control channel.Manager and controller manage and control each module in the platform.Under the limited environment of the network bandwidth, the video flowing transmission need effectively be managed, and could guarantee the capacity of the quality and the system of image.
Fig. 2 is a media processing units VTDU internal module structure chart in the multistage architecture video monitoring system.Among Fig. 2, VTDU mainly comprises XtreamServer module, XtreamChannel module, Proxyobject module, Xtreamstub module as media processing units.XtreamServer module: be responsible for management, equipment state management, video resource management to headend equipment; XtreamChannel module: access, the configuration information management of being responsible for DVR/DVS; The ProxyObject module: the circulation of being responsible for video flowing is sent out; XtreamStub module: provide adaptation layer to insert; Solid line is represented professional control channel, and dotted line is represented the Data Control passage, and pecked line represents to manage control channel.These several modules are worked in coordination, and finish the management of video flowing jointly.
At present the control of video flowing is general in the multistage architecture video monitoring system adopts following method: promptly according to this equipment network input distribution ProxyObject resource to these passages is arranged in what video channels and the database when front end equipment connects when going up XtreamServer, be ProxyObject of every road video distribution, these resources take always during this equipment is online.When landing CMS, Controller promptly obtained all line node ProxyObject network output parameters, when the user wants to browse certain road video, controller Controller directly passes to the ProxyObject that XtreamDecoder connects correspondence with the relevant parameter of this road video, obtains video data.
Junction platform in the multistage architecture can insert a plurality of subordinates platform.Adopt as above pattern to carry out the flow management meeting and bring following problem:
1, the managing video way was a lot of after junction platform connected a plurality of subordinates platform, allocated resource in advance and caused the junction platform load very big.
2, the video way limited (being not more than 500 tunnel) of Single-Server support if the resource of allocating in advance just needs the multiple servers support, increases cost.
3, static configuration needs the keeper that every road video is all needed to carry out the parameter setting, and is bigger to keeper's operating pressure.
Summary of the invention
The objective of the invention is to, a kind of video transmission control method of multistage architecture video monitoring system is provided, by transforming VTDU, make VTDU mainly receive CMS video is transmitted the request of inquiry, application and the release of resource, thereby realize dynamic foundation and the distribution according to need of video forwarding process ProxyObject.
Technical scheme of the present invention is that a kind of video transmission control method of multistage architecture video monitoring system is characterized in that described method comprises the following steps:
Step 101: media processing units VTDU starts, and creates port and monitors, and waits for that centre management service unit CMS connects;
Step 102: centre management service unit CMS connects media processing units VTDU, sends register requirement and registers to media processing units VTDU;
Step 103: after centre management service unit CMS succeeds in registration, user's request is sent to media processing units VTDU;
Step 104: media processing units VTDU judges the request type that centre management service unit CMS sends; If process requested is transmitted in inquiry, then execution in step 105; If one road video is transmitted request, then execution in step 106; If finish to transmit process requested, then execution in step 116;
Step 105: the forwarding process that inquiry media processing units VTDU is using at present, jump to step 117;
Step 106: media processing units VTDU judges whether the road video that request is transmitted has the forwarding process of distributing;
Step 107: if existing, notice forwarding process is transmitted this road video, jumps to step 117;
Step 108: if do not have, media processing units VTDU judges whether subordinate's server reaches maximum number of connections;
Step 109: if subordinate's server does not reach maximum number of connections, then create the forwarding process, jump to step 117;
Step 110:, then judge whether to be in the forwarding process the waiting period of release if subordinate's server reaches maximum number of connections;
Step 111: if having, then discharge this and be in forwarding process waiting period of release, and redistribute the forwarding process and ask, jump to step 117 to this;
Step 112:, current all Permission Levels of transmitting the user of process users' Permission Levels and this request are compared if do not have;
Step 113: the Permission Levels that judge whether current forwarding process user are lower than the user's of this request Permission Levels;
Step 114: if having, deprive this process user's forwarding process, it is distributed to the user of this request, and notify this process user, jump to step 117;
Step 115: if do not have, step 117 is jumped in this request failure of notice CMS;
Step 116: finish the forwarding process;
Step 117: CMS returns corresponding result to the centre management service unit, jumps to step 103, prepares to receive next request.
When described forwarding process does not detect network output, notice media processing units VTDU, media processing units VTDU do not receive when this forwarding state of a process is upgraded in waiting for setting-up time once more, finish this forwarding process, and notice centre management service unit CMS.
The content that described one road video is transmitted request comprises subordinate's server, the maximum number of connections of this road video correspondence, this request user's Permission Levels.
Described media processing units VTDU when the request that receiving center management service unit CMS sends over, produces a token, and this token is provided with to the forwarding process; By centre management service unit CMS, with the user that the request of informing of this token is transmitted, the user that the forwarding process utilizes this token that request is transmitted carries out legitimate verification simultaneously.
Described setting-up time is 15 seconds.
Effect of the present invention is that CMS effectively controls the forwarding of the video flowing among the media processing units VTDU by the centre management service unit, realizes the dynamic foundation and the distribution according to need of video forwarding process; Solve the capacity limits problem, saved hardware cost.
Description of drawings
Fig. 1 is the general frame figure of multistage architecture video monitoring system.
Fig. 2 is a media processing units VTDU internal module structure chart in the multistage architecture video monitoring system.
Fig. 3 is the video transmission control method flow chart of multistage architecture video monitoring system.
Embodiment
Below in conjunction with accompanying drawing, preferred embodiment is elaborated.Should be emphasized that following explanation only is exemplary, rather than in order to limit the scope of the invention and to use.
Fig. 3 is the video transmission control method flow chart of multistage architecture video monitoring system.Among Fig. 3, step 101: media processing units VTDU starts, and creates port and monitors the ListenSocket thread, waits for that centre management service unit CMS connects;
Step 102: centre management service unit CMS connects media processing units VTDU, sends login request message to media processing units VTDU, and the add-on systems relevant parameter mainly is this VTDU maximum load (being specified when adding the VTDU server by the keeper).Afterwards, CMS registers.
Step 103: after centre management service unit CMS succeeds in registration, user's request is sent to media processing units VTDU.The request that the CMS that VTDU receives sends mainly contains three classes: process requested is transmitted in inquiry, video is transmitted request and finished to transmit process requested.
Step 104: media processing units VTDU judges the request type that centre management service unit CMS sends; If process requested is transmitted in inquiry, then execution in step 105; If one road video is transmitted request, then execution in step 106; If finish to transmit process requested, then execution in step 116;
Step 105: the forwarding process that inquiry media processing units VTDU is using at present.All send this application automatically after each CMS succeeds in registration, just started CMS for VTDU and connected for the first time, do not have the process of use that accounts for to VTDU; If but broken at the link of VTDU run duration CMS and VTDU, when CMS reconnected, CMS need obtain the process of all uses of VTDU.Afterwards, jump to step 117.
Step 106: media processing units VTDU judges whether the road video that request is transmitted has the forwarding process of distributing;
Step 107: if existing, notice forwarding process is transmitted this road video, jumps to step 117;
Step 108: if do not have, media processing units VTDU judges whether subordinate's server reaches maximum number of connections.
Step 109: if subordinate's server does not reach maximum number of connections, then create the forwarding process, jump to step 117.
Step 110:, then judge whether to be in the forwarding process the waiting period of release if subordinate's server reaches maximum number of connections.
Step 111: if having, then discharge this and be in forwarding process waiting period of release, and redistribute the forwarding process and ask, jump to step 117 to this.
Step 112:, current all Permission Levels of transmitting the user of process users' Permission Levels and this request are compared if do not have;
Step 113: the Permission Levels that judge whether current forwarding process user are lower than the user's of this request Permission Levels;
Step 114: if having, deprive this process user's forwarding process, it is distributed to the user of this request, and notify this process user, jump to step 117.
Step 115: if do not have, step 117 is jumped in this request failure of notice CMS.
Step 116: finish the forwarding process, jump to step 117.The forwarding process can also finish except can finishing according to the request of CMS automatically.
When the forwarding process does not detect network output, notice media processing units VTDU, media processing units VTDU do not receive when this forwarding state of a process is upgraded in waiting for setting-up time (generally being made as 15 seconds) once more, finish this forwarding process, and notice centre management service unit CMS.
Step 117: CMS returns corresponding result to the centre management service unit, jumps to step 3, prepares to receive next request.
In addition, when transmitting process creation, meeting dynamic assignment resource, that is to say, same serve port (such as IP:10002) is different videos in difference constantly possibly, in order to prevent that unwarranted user from checking video, VTDU can produce a token Token when the user asks video at every turn, VTDU informs CMS with this token, CMS informs the client user again, and VTDU also is provided with this token to the forwarding process, must be with this token when the user asks video data, and the forwarding process will be done validity checking.
By dynamic foundation and distribution according to need that above method realization video is transmitted process and resource, the junction platform load capacity that efficiently solves the multistage architecture video monitoring system is big, and the video way that Single-Server is supported is limited, the problem that the multiserver cost is too high.
The above; only for the preferable embodiment of the present invention, but protection scope of the present invention is not limited thereto, and anyly is familiar with those skilled in the art in the technical scope that the present invention discloses; the variation that can expect easily or replacement all should be encompassed within protection scope of the present invention.Therefore, protection scope of the present invention should be as the criterion with the protection range of claim.

Claims (5)

1, a kind of video transmission control method of multistage architecture video monitoring system is characterized in that described method comprises the following steps:
Step 101: media processing units VTDU starts, and creates port and monitors, and waits for that centre management service unit CMS connects;
Step 102: centre management service unit CMS connects media processing units VTDU, sends register requirement and registers to media processing units VTDU;
Step 103: after centre management service unit CMS succeeds in registration, user's request is sent to media processing units VTDU;
Step 104: media processing units VTDU judges the request type that centre management service unit CMS sends; If process requested is transmitted in inquiry, then execution in step 105; If one road video is transmitted request, then execution in step 106; If finish to transmit process requested, then execution in step 116;
Step 105: the forwarding process that inquiry media processing units VTDU is using at present, jump to step 117;
Step 106: media processing units VTDU judges whether the road video that request is transmitted has the forwarding process of distributing;
Step 107: if existing, notice forwarding process is transmitted this road video, jumps to step 117;
Step 108: if do not have, media processing units VTDU judges whether subordinate's server reaches maximum number of connections;
Step 109: if subordinate's server does not reach maximum number of connections, then create the forwarding process, jump to step 117;
Step 110:, then judge whether to be in the forwarding process the waiting period of release if subordinate's server reaches maximum number of connections;
Step 111: if having, then discharge this and be in forwarding process waiting period of release, and redistribute the forwarding process and ask, jump to step 117 to this;
Step 112:, current all Permission Levels of transmitting the user of process users' Permission Levels and this request are compared if do not have;
Step 113: the Permission Levels that judge whether current forwarding process user are lower than the user's of this request Permission Levels;
Step 114: if having, deprive this process user's forwarding process, it is distributed to the user of this request, and notify this process user, jump to step 117;
Step 115: if do not have, step 117 is jumped in this request failure of notice CMS;
Step 116: finish the forwarding process;
Step 117: CMS returns corresponding result to the centre management service unit, jumps to step 103, prepares to receive next request.
2, the video transmission control method of a kind of multistage architecture video monitoring system according to claim 1, when it is characterized in that described forwarding process does not detect network output, notice media processing units VTDU, media processing units VTDU is in waiting for setting-up time, do not receive once more when this forwarding state of a process is upgraded, finish this forwarding process, and notice centre management service unit CMS.
3, the video transmission control method of a kind of multistage architecture video monitoring system according to claim 1 is characterized in that subordinate's server that described one road video transmits the content of request and comprise this road video correspondence, maximum number of connections, this request user's Permission Levels.
4, the video transmission control method of a kind of multistage architecture video monitoring system according to claim 1, it is characterized in that described media processing units VTDU, when the request that receiving center management service unit CMS sends over, produce a token, and this token is provided with to the forwarding process; By centre management service unit CMS, with the user that the request of informing of this token is transmitted, the user that the forwarding process utilizes this token that request is transmitted carries out legitimate verification simultaneously.
5, the video transmission control method of a kind of multistage architecture video monitoring system according to claim 2 is characterized in that described setting-up time is 15 seconds.
CN2008102407801A 2008-12-25 2008-12-25 Method for controlling video forwarding in multistage architecture video monitoring system Expired - Fee Related CN101448148B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2008102407801A CN101448148B (en) 2008-12-25 2008-12-25 Method for controlling video forwarding in multistage architecture video monitoring system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2008102407801A CN101448148B (en) 2008-12-25 2008-12-25 Method for controlling video forwarding in multistage architecture video monitoring system

Publications (2)

Publication Number Publication Date
CN101448148A true CN101448148A (en) 2009-06-03
CN101448148B CN101448148B (en) 2010-09-08

Family

ID=40743496

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2008102407801A Expired - Fee Related CN101448148B (en) 2008-12-25 2008-12-25 Method for controlling video forwarding in multistage architecture video monitoring system

Country Status (1)

Country Link
CN (1) CN101448148B (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101883104A (en) * 2010-06-29 2010-11-10 杭州华三通信技术有限公司 Alternative switch monitoring method as well as device and system thereof
CN102223570A (en) * 2011-06-17 2011-10-19 北京互信互通信息技术股份有限公司 Multi-stage real-time video streaming media distribution method and system
CN103220498A (en) * 2012-12-29 2013-07-24 广东志成冠军集团有限公司 Method and system of video surveillance network platform cascading
CN110336986A (en) * 2019-08-08 2019-10-15 杭州阿启视科技有限公司 Video big data cloud platform stream media service method
CN110971986A (en) * 2018-09-29 2020-04-07 杭州阿启视科技有限公司 Cloud video exchange system
CN114449311A (en) * 2021-12-27 2022-05-06 济南超级计算技术研究院 Network video exchange system and method based on high-efficiency video stream forwarding

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101883104A (en) * 2010-06-29 2010-11-10 杭州华三通信技术有限公司 Alternative switch monitoring method as well as device and system thereof
CN102223570A (en) * 2011-06-17 2011-10-19 北京互信互通信息技术股份有限公司 Multi-stage real-time video streaming media distribution method and system
CN103220498A (en) * 2012-12-29 2013-07-24 广东志成冠军集团有限公司 Method and system of video surveillance network platform cascading
CN110971986A (en) * 2018-09-29 2020-04-07 杭州阿启视科技有限公司 Cloud video exchange system
CN110336986A (en) * 2019-08-08 2019-10-15 杭州阿启视科技有限公司 Video big data cloud platform stream media service method
CN114449311A (en) * 2021-12-27 2022-05-06 济南超级计算技术研究院 Network video exchange system and method based on high-efficiency video stream forwarding
CN114449311B (en) * 2021-12-27 2023-11-10 济南超级计算技术研究院 Network video exchange system and method based on efficient video stream forwarding

Also Published As

Publication number Publication date
CN101448148B (en) 2010-09-08

Similar Documents

Publication Publication Date Title
CN101448148B (en) Method for controlling video forwarding in multistage architecture video monitoring system
CN113615142B (en) Method and apparatus for providing authentication in a network-based media processing (NBMP) system
US8291504B2 (en) Enforcing single stream per sign-on from a content delivery network (CDN) media server
CN101415007B (en) Multi-platform unification access method and system
US8112781B2 (en) Content delivery system having an edge resource manager performing bandwidth reclamation
US8935313B2 (en) Quick session setup for video on demand with information caching
CN101286887B (en) Method, device and system for realizing terminal registry
US20110093607A1 (en) Method, device, and apparatus for providing media stream service
US10171850B2 (en) Trunk management method and apparatus for video surveillance systems
CN101534204A (en) Streaming media information distribution system and method thereof and user end
JPH10307783A (en) Site access control system and recording medium
CN102333081B (en) Authentication method, equipment and system
CN101459836A (en) Service processing method and system for content distributing network of interactive network television
CN102035660A (en) Internet data center (IDC) network-based service processing method, equipment and system
WO2011026370A1 (en) Method, device for running internet protocol television service system, and internet protocol television service system
CN111131443B (en) Task pushing method and system
US8145757B2 (en) Method for changing service quality of a content adaptively
CN104254129B (en) Close on the resource allocation method and device of service discovering
CN101764832A (en) Streaming media broadcast realizing method based on peer-to-peer network
CN101656723A (en) A multimedia conference capacity-expanding system, realization method and WEB server
CN101997931A (en) Position information acquiring method and equipment
US20110200043A1 (en) Resource initialization method and system, and network access server
CN105376226B (en) Forwarding method and system of streaming media server
CN102143000A (en) Method for controlling data recovery, node, control device and disaster-recovery system
WO2008151491A1 (en) A p2p network system and application method thereof

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20100908

Termination date: 20181225

CF01 Termination of patent right due to non-payment of annual fee