CN106507215A - One kind adopts the cancellated video stream transmission method of domain service support - Google Patents

One kind adopts the cancellated video stream transmission method of domain service support Download PDF

Info

Publication number
CN106507215A
CN106507215A CN201611053630.0A CN201611053630A CN106507215A CN 106507215 A CN106507215 A CN 106507215A CN 201611053630 A CN201611053630 A CN 201611053630A CN 106507215 A CN106507215 A CN 106507215A
Authority
CN
China
Prior art keywords
domain
client
video
camera
service
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201611053630.0A
Other languages
Chinese (zh)
Inventor
王小虎
王夷
刘其峰
王豪盟
李菲菲
王丹
阮班贵
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
SHANGHAI XILING INFORMATION TECHNOLOGY Co Ltd
Original Assignee
SHANGHAI XILING INFORMATION TECHNOLOGY Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by SHANGHAI XILING INFORMATION TECHNOLOGY Co Ltd filed Critical SHANGHAI XILING INFORMATION TECHNOLOGY Co Ltd
Priority to CN201611053630.0A priority Critical patent/CN106507215A/en
Publication of CN106507215A publication Critical patent/CN106507215A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/60Network structure or processes for video distribution between server and client or between remote clients; Control signalling between clients, server and network components; Transmission of management data between server and client, e.g. sending from server to client commands for recording incoming content stream; Communication details between server and client 
    • H04N21/63Control signaling related to video distribution between client, server and network components; Network processes for video distribution between server and clients or between remote clients, e.g. transmitting basic layer and enhancement layers over different transmission paths, setting up a peer-to-peer communication via Internet between remote STB's; Communication protocols; Addressing
    • H04N21/647Control signaling between network components and server or clients; Network processes for video distribution between server and clients, e.g. controlling the quality of the video stream, by dropping packets, protecting content from unauthorised alteration within the network, monitoring of network load, bridging between two different networks, e.g. between IP and wireless
    • H04N21/64707Control signaling between network components and server or clients; Network processes for video distribution between server and clients, e.g. controlling the quality of the video stream, by dropping packets, protecting content from unauthorised alteration within the network, monitoring of network load, bridging between two different networks, e.g. between IP and wireless for transferring content from a first network to a second network, e.g. between IP and wireless
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/238Interfacing the downstream path of the transmission network, e.g. adapting the transmission rate of a video stream to network bandwidth; Processing of multiplex streams
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/239Interfacing the upstream path of the transmission network, e.g. prioritizing client content requests
    • H04N21/2393Interfacing the upstream path of the transmission network, e.g. prioritizing client content requests involving handling client requests
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N7/00Television systems
    • H04N7/18Closed-circuit television [CCTV] systems, i.e. systems in which the video signal is not broadcast
    • H04N7/181Closed-circuit television [CCTV] systems, i.e. systems in which the video signal is not broadcast for receiving images from a plurality of remote sources

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Computer Security & Cryptography (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

One kind adopts the cancellated video stream transmission method of domain service support, including receiving the request message of this domain client;The request message is parsed, to obtain the camera identification corresponding to the camera that this domain clients request video described is played;Judge whether the camera belongs to this domain based on camera identification;If the camera belongs to this domain, the video code flow for getting is forwarded to by this domain client described by the service of this domain stream media;If the camera is not belonging to this domain, the video code flow got by aiming field streaming media service is received, then the video code flow is forwarded to by this domain client described by the service of this domain stream media.The technical program rationally and effectively reduces the use of core network bandwidth, solve the problems, such as existing network congestion phenomenon and cause video data loss, rationally effectively reduce core network transmission occupied bandwidth, make data transfer reasonable diffluence, it is ensured that video fluency is transmitted.

Description

One kind adopts the cancellated video stream transmission method of domain service support
Technical field
The present invention relates to technical field of video transmission, more particularly to a kind of using the cancellated video flowing of domain service support Transmission method.
Background technology
With the continuous enhancing of the rapid growth, the rapid advances of science and technology and national power of national economy, intelligent video Monitoring technology is also into a brand-new field.Social every field grows with each passing day to the demand of safety precaution, and requires to get over Come higher, be used widely in our productive life, bank, safety check, traffic intersection, market, school, cell etc..
Nowadays, the major project such as " Beijing Olympic " " Shanghai World Expo " is completed, security protection industry present one booming Good momentum.With the rise of security protection industry, each vendor product type and construction scheme are more and more, video monitoring equipment Increasing, on GB/T28181 standard bases, interconnecting for video monitoring system is realized, realize that video image is interconnected Scheduling and resource-sharing.As the period of various places video construction of professional network is different, cause network bandwidth load capacity different, have gigabit , have 100,000,000, or even also have less than 100,000,000, so when concurrent multi-channel video is forwarded, be particularly less than 100,000,000 Network environment in, using current direct forwarding transmission mode, subnet net bandwidth can meet, but core network flow Multiple is increased, and causes core network to block, video data loss, mosaic phenomenon occurs, and more serious situation causes network paralysis Paralysis.
This paper presents a kind of using the cancellated video transmission method of domain service support, solve existing video road The network congestion phenomenon that number is concurrently brought greatly, rationally effectively reduces core network transmission occupied bandwidth, data transfer is rationally divided Stream, it is ensured that video fluency is transmitted.
Content of the invention
The problem that the present invention is solved is existing video transmission method, due to the network congestion that video way is concurrently brought greatly Phenomenon.
For solving the above problems, the embodiment of the present invention provides a kind of video stream transmission method, comprises the steps:
Receive the request message of this domain client;
The request message is parsed, to obtain the shooting corresponding to the camera that this domain clients request video described is played Leader is known;
Judge whether the camera belongs to this domain based on camera identification;
If the camera belongs to this domain, the video code flow for getting is forwarded to described by the service of this domain stream media Domain client;
If the camera is not belonging to this domain, the video code flow got by aiming field streaming media service is received, then is passed through The video code flow is forwarded to this domain client described by the service of this domain stream media.
Optionally, after the step of parsing the request message is executed, and sentenced based on camera identification described in executing Also comprise the steps before the step of whether camera that breaks belongs to this domain:
The client identification of this domain client got after parsing the request message is closed with the request message Connection, and by association after information Store in buffer queue;
The buffer queue is scanned, the information after parsing the association is obtaining the client identification of this domain client The camera identification corresponding to camera that plays with this domain clients request video described.
Optionally, the client identification of this domain client got after parsing the request message is disappeared with the request Breath does association to be included:With the client identification of this domain client as index, the client identification is set up with the request letter Camera identification, client ip in breath, the association between port, command number, command number sequence number, user name and group's name are closed System.
Optionally, described the video code flow for getting is forwarded to by this domain client bag described by the service of this domain stream media Include following steps:
Obtain this domain stream media information on services and set up the first forwarding channel;
The information of this domain client is added first forwarding channel;
Request is sent to subordinate's platform to play signaling to obtain video code flow;
The video code flow for getting is forwarded to this domain client described.
Optionally, the video code flow that the reception is got by aiming field streaming media service, then taken by this domain stream media The video code flow is forwarded to this domain client described and is comprised the steps by business:
Request is sent to central field service to obtain the aiming field belonging to the camera;
Log in aiming field to obtain aiming field streaming media service information and set up the second forwarding channel;
Described domain stream media is added second forwarding channel;
Request is sent to subordinate's platform of aiming field to play signaling to obtain video code flow;
The video code flow forwarded by the aiming field streaming media service is received, and forwards it to this domain client described.
Optionally, also comprised the steps before the step of executing the request message of this domain client of reception:
Reading configuration file information;
The connection of initialization data storehouse and network connection;
Start network monitoring to obtain the request message that this domain client sends.
Compared with prior art, technical solution of the present invention has the advantages that:
In the embodiment of the present invention, domain is serviced after the request message for receiving this domain client, by judging this domain client Whether the camera of end request video playback belongs to this domain to determine the mode for forwarding video code flow to this domain client.
In the case where the camera of asked video playback belongs to this domain, directly regarded by this domain stream media service acquisition Frequency code stream is sent to this domain client, is so only taken up this domain network bandwidth, is not take up core network bandwidth.
In the case where the camera of asked video playback is not belonging to this domain, then by taking the photograph described in central field service acquisition Aiming field as belonging to head, after being forwarded to the service of this domain stream media after obtaining video code flow by aiming field streaming media service, then by The service of this domain stream media is sent to this domain client.
By the cancellated video transmission method of this domain service support, can rationally and effectively reduce core network band Wide use, solves the problems, such as existing network congestion phenomenon and causes video data loss, rationally effectively reduces backbone network Network transmits occupied bandwidth, makes data transfer reasonable diffluence, it is ensured that video fluency is transmitted.
Description of the drawings
Shown in Fig. 1 is a kind of schematic flow sheet of the specific embodiment of video stream transmission method of the present invention;
Shown in Fig. 2 is the schematic diagram of the data structure stored in buffer queue;
Shown in Fig. 3 is a kind of idiographic flow schematic diagram of broadcasting this domain video of the embodiment of the present invention;
Shown in Fig. 4 is a kind of idiographic flow schematic diagram of broadcasting aiming field video of the embodiment of the present invention.
Specific embodiment
Understandable for enabling the above objects, features and advantages of the present invention to become apparent from, below in conjunction with the accompanying drawings to the present invention Specific embodiment be described in detail.
As shown in Fig. 1 the schematic flow sheet of the specific embodiment of a kind of video stream transmission method of the invention.Ginseng Fig. 1 is examined, the video transmission method comprises the steps:
Step S1:Receive the request message of this domain client;
Step S2:The request message is parsed, right with the camera institute for obtaining this domain clients request video broadcasting The camera identification that answers;
Step S3:Judge whether the camera belongs to this domain based on camera identification;
Step S4:If the camera belongs to this domain, the video code flow for getting is forwarded by the service of this domain stream media To this domain client described;
Step S5:If the camera is not belonging to this domain, the video code flow got by aiming field streaming media service is received, The video code flow is forwarded to by this domain client described by the service of this domain stream media again.
In existing video delivery network system, multiple subdomains are cascaded using network structure.In each subnet net Domain service is set, central field service is set in core network.Each domain is serviced for processing the request message of this domain client, Domain service can be communicated with central field service, so that can carry out information transfer between each domain service.Of the invention real Apply the video transmission method described in example to be applied in the service of domain.
In actual applications, domain service before the request message of this domain client is received needed to carry out Initialize installation. Specifically, comprise the steps (not shown in figure 1):
Step 1.1:Reading configuration file information;
Step 1.2:The connection of initialization data storehouse and network connection;In actual applications, also include loading basic data.Bag Include the basic datas such as service list, facility information, product type, partition information.
Step 1.3:Start network monitoring to obtain the request message that this domain client sends.For example, initial queue pond, obtains Serve port is taken, starts listening port etc..In actual applications, also include for basic data being loaded into internal memory, according to data class Type calls initialization interface etc..
Above-mentioned Initialize installation can be configured determine according to the different of domain service in different video networking systems, not It is limited to above-mentioned implementation steps, will not be described here.
Domain is serviced after the request message (as described in step S1) for receiving this domain client, and the request message is carried out Parsing.
Specifically, domain service can be parsed to the request message according to agreement form.Wherein, the request message The camera corresponding to camera that client identification, this domain clients request video described including this domain client is played Mark, client ip, port, command number, command number sequence number, user name and group's name etc..
Further, the client identification of this domain client got after parsing the request message and the request Message is associated, and by association after information Store in buffer queue.
Specifically, the client identification of this domain client got after parsing the request message is disappeared with the request Breath does association to be included:With the client identification of this domain client as index, the client identification is set up with the request letter Camera identification, client ip in breath, the association between port, command number, command number sequence number, user name and group's name are closed System.The schematic diagram of the data structure for as shown in Fig. 2 storing in buffer queue.
Then, after initiation message process task thread, the buffer queue is scanned, the letter after parsing the association Cease to obtain taking the photograph corresponding to the camera that the client identification and this domain clients request video described of this domain client are played As leader is known.
As described in step S3, judge whether the camera belongs to this domain based on camera identification.
Unlike the prior art, in embodiments of the present invention, by judging shooting that this domain clients request video is played Whether head belongs to this domain to determine the mode for forwarding video code flow to this domain client.
Specifically, as described in step S4, if the camera belongs to this domain, will be got by the service of this domain stream media Video code flow be forwarded to this domain client described.
In conjunction with referring to a kind of idiographic flow schematic diagram of broadcasting this domain video of the embodiment of the present invention as shown in Figure 3.Institute State step S4 to comprise the steps:
Step S41:Obtain this domain stream media information on services and set up the first forwarding channel;
Step S42:The information of this domain client is added first forwarding channel;
Step S43:Request is sent to subordinate's platform to play signaling to obtain video code flow;
Step S44:The video code flow for getting is forwarded to this domain client described.
As described in step S5, if the camera is not belonging to this domain, receive by regarding that aiming field streaming media service gets Frequency code stream, then the video code flow is forwarded to by this domain client described by the service of this domain stream media.
Idiographic flow schematic diagram in conjunction with a kind of broadcasting aiming field video of the embodiment of the present invention with reference to shown in Fig. 4.Institute State step S5 to comprise the steps:
Step S51:Request is sent to central field service to obtain the aiming field belonging to the camera;
Step S52:Log in aiming field to obtain aiming field streaming media service information and set up the second forwarding channel;
Step S53:Described domain stream media is added second forwarding channel;Now, this domain stream media service conduct Client, the client receive the video code flow that target streaming media service sends.
Step S54:Request is sent to subordinate's platform of aiming field to play signaling to obtain video code flow;
Step S55:The video code flow forwarded by the aiming field streaming media service is received, and forwards it to this domain described Client.
In sum, using the video transmission method of the technical program, regard by this domain service support is cancellated Transmission method is kept pouring in, can rationally and effectively be reduced the use of core network bandwidth, be solved existing network congestion phenomenon and draw The problem of video data loss is played, is rationally effectively reduced core network transmission occupied bandwidth, is made data transfer reasonable diffluence, it is ensured that Video fluency is transmitted.

Claims (6)

1. a kind of video stream transmission method, it is characterised in that comprise the steps:
Receive the request message of this domain client;
The request message is parsed, to obtain the shooting leader corresponding to the camera that this domain clients request video described is played Know;
Judge whether the camera belongs to this domain based on camera identification;
If the camera belongs to this domain, the video code flow for getting is forwarded to by this domain visitor by the service of this domain stream media Family end;
If the camera is not belonging to this domain, the video code flow got by aiming field streaming media service is received, then passes through this domain The video code flow is forwarded to this domain client described by streaming media service.
2. video stream transmission method as claimed in claim 1, it is characterised in that executing the step of parsing the request message Afterwards, and execute described in the step of whether camera belongs to this domain is judged based on camera identification before also include as follows Step:
The client identification of this domain client got after parsing the request message is associated with the request message, and Information Store after by association is in buffer queue;
The buffer queue is scanned, the information after parsing the association is obtaining client identification and the institute of this domain client State the camera identification corresponding to the camera that this domain clients request video is played.
3. video stream transmission method as claimed in claim 2, it is characterised in that get after the request message being parsed The client identification of this domain client associate with the request message including:
With the client identification of this domain client as index, the shooting that sets up in the client identification and the solicited message Leader knowledge, the incidence relation between client ip, port, command number, command number sequence number, user name and group's name.
4. video stream transmission method as claimed in claim 1, it is characterised in that described will be obtained by the service of this domain stream media To video code flow be forwarded to this domain client described and comprise the steps:
Obtain this domain stream media information on services and set up the first forwarding channel;
The information of this domain client is added first forwarding channel;
Request is sent to subordinate's platform to play signaling to obtain video code flow;
The video code flow for getting is forwarded to this domain client described.
5. video stream transmission method as claimed in claim 1, it is characterised in that the reception is obtained by aiming field streaming media service The video code flow that gets, then the video code flow is forwarded to by this domain client described by the service of this domain stream media includes following step Suddenly:
Request is sent to central field service to obtain the aiming field belonging to the camera;
Log in aiming field to obtain aiming field streaming media service information and set up the second forwarding channel;
Described domain stream media is added second forwarding channel;
Request is sent to subordinate's platform of aiming field to play signaling to obtain video code flow;
The video code flow forwarded by the aiming field streaming media service is received, and forwards it to this domain client described.
6. video stream transmission method as claimed in claim 1, it is characterised in that execute described receive this domain client please Also comprise the steps before the step of seeking message:
Reading configuration file information;
The connection of initialization data storehouse and network connection;
Start network monitoring to obtain the request message that this domain client sends.
CN201611053630.0A 2016-11-25 2016-11-25 One kind adopts the cancellated video stream transmission method of domain service support Pending CN106507215A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611053630.0A CN106507215A (en) 2016-11-25 2016-11-25 One kind adopts the cancellated video stream transmission method of domain service support

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611053630.0A CN106507215A (en) 2016-11-25 2016-11-25 One kind adopts the cancellated video stream transmission method of domain service support

Publications (1)

Publication Number Publication Date
CN106507215A true CN106507215A (en) 2017-03-15

Family

ID=58328530

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611053630.0A Pending CN106507215A (en) 2016-11-25 2016-11-25 One kind adopts the cancellated video stream transmission method of domain service support

Country Status (1)

Country Link
CN (1) CN106507215A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112019563A (en) * 2020-09-11 2020-12-01 成都运达科技股份有限公司 Video data forwarding and transmitting system and method
CN112788368A (en) * 2020-12-23 2021-05-11 杭州海康威视***技术有限公司 Stream taking control method and platform device for providing video streaming media service

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102256113A (en) * 2011-08-03 2011-11-23 杭州华三通信技术有限公司 Control method and control device for forwarding media stream
CN103369308A (en) * 2013-07-10 2013-10-23 浙江宇视科技有限公司 OSD superposition management and superposition execution method and device
CN104113735A (en) * 2014-07-30 2014-10-22 武汉烽火众智数字技术有限责任公司 Distributed video monitoring storing system and method thereof
CN104683736A (en) * 2013-11-27 2015-06-03 中国电信股份有限公司 Method and system for acquiring network video
CN105376226A (en) * 2015-11-04 2016-03-02 浙江宇视科技有限公司 Streaming media server forwarding method and system
US20160088326A1 (en) * 2014-09-23 2016-03-24 Watchcorp Holdings LLC Distributed recording, managing, and accessing of surveillance data within a networked video surveillance system

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102256113A (en) * 2011-08-03 2011-11-23 杭州华三通信技术有限公司 Control method and control device for forwarding media stream
CN103369308A (en) * 2013-07-10 2013-10-23 浙江宇视科技有限公司 OSD superposition management and superposition execution method and device
CN104683736A (en) * 2013-11-27 2015-06-03 中国电信股份有限公司 Method and system for acquiring network video
CN104113735A (en) * 2014-07-30 2014-10-22 武汉烽火众智数字技术有限责任公司 Distributed video monitoring storing system and method thereof
US20160088326A1 (en) * 2014-09-23 2016-03-24 Watchcorp Holdings LLC Distributed recording, managing, and accessing of surveillance data within a networked video surveillance system
CN105376226A (en) * 2015-11-04 2016-03-02 浙江宇视科技有限公司 Streaming media server forwarding method and system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112019563A (en) * 2020-09-11 2020-12-01 成都运达科技股份有限公司 Video data forwarding and transmitting system and method
CN112788368A (en) * 2020-12-23 2021-05-11 杭州海康威视***技术有限公司 Stream taking control method and platform device for providing video streaming media service

Similar Documents

Publication Publication Date Title
CN108632398B (en) A kind of conference access method and system, association turn server and conference management terminal
CN109068186B (en) Method and device for processing packet loss rate
CN110049271B (en) Video networking conference information display method and device
CN110502259B (en) Server version upgrading method, video networking system, electronic equipment and storage medium
CN109996086B (en) Method and device for inquiring service state of video networking
CN102185856B (en) Team organizing video method, device and system used in team organizing game
CN109474715B (en) Resource configuration method and device based on video network
CN110149262A (en) A kind for the treatment of method and apparatus and storage medium of signaling message
CN110381119B (en) Method, system and device for acquiring log information and storage medium
CN110572607A (en) Video conference method, system and device and storage medium
CN110475102A (en) A kind of monitoring data processing method and system based on view networking
CN109819199B (en) Method and device for starting conference appointment
CN110445723A (en) A kind of network data dispatching method and fringe node
CN109788247A (en) A kind of method and apparatus monitoring instruction identification
CN110457575B (en) File pushing method, device and storage medium
CN109768957B (en) Method and system for processing monitoring data
CN106507215A (en) One kind adopts the cancellated video stream transmission method of domain service support
CN111224889A (en) Data transmission method and device
CN109451001B (en) Communication method and system
CN110446058B (en) Video acquisition method, system, device and computer readable storage medium
CN110166742B (en) Video publishing method and device based on video networking
CN107800999A (en) A kind of method and system for mixing access video camera and video platform
CN109922302B (en) Conference reservation information acquisition method, system, device and machine readable medium
CN110012316B (en) Method, device, equipment and storage medium for processing video networking service
CN110049069B (en) Data acquisition method and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20170315